Author Topic: Ajzaurus Usb Driver On 12" Powerbook  (Read 17415 times)

mtfbwy

  • Newbie
  • *
  • Posts: 14
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« on: September 02, 2005, 02:28:34 pm »
I installed this driver but the additional network adapter does not show up in the preferences. I am running Tiger and installed the proper version. Any ideas?

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Ajzaurus Usb Driver On 12" Powerbook
« Reply #1 on: September 02, 2005, 05:16:57 pm »
Quote
I installed this driver but the additional network adapter does not show up in the preferences. I am running Tiger and installed the proper version. Any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94295\"][{POST_SNAPBACK}][/a][/div]
Please open the Console application and watch for messages from the driver (org.lucid-cake.ajzaurus). If there are none, something went wrong with the installation. Did you reboot?

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

mtfbwy

  • Newbie
  • *
  • Posts: 14
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #2 on: September 02, 2005, 10:33:25 pm »
I rebooted and even tried to reinstall it but it just asked me to upgrade. There are no messages in the console.


Quote
Quote
I installed this driver but the additional network adapter does not show up in the preferences. I am running Tiger and installed the proper version. Any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94295\"][{POST_SNAPBACK}][/a][/div]
Please open the Console application and watch for messages from the driver (org.lucid-cake.ajzaurus). If there are none, something went wrong with the installation. Did you reboot?

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94321\"][{POST_SNAPBACK}][/a][/div]

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Ajzaurus Usb Driver On 12" Powerbook
« Reply #3 on: September 05, 2005, 04:15:09 pm »
Quote
but it just asked me to upgrade.
Hm. There is no part of the Zaurus driver that asks for upgrades. Must be something else. Strange...

-- hns
« Last Edit: September 06, 2005, 01:57:45 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Ajzaurus Usb Driver On 12" Powerbook
« Reply #4 on: September 05, 2005, 09:22:26 pm »
Use Onyx to carry out  the maintenance of hard drive followed by the reinstallation.

The driver should work and my OS is Tiger 10.4.2.

mtfbwy

  • Newbie
  • *
  • Posts: 14
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #5 on: September 06, 2005, 08:58:24 am »
Hmm....

Reinstalled the driver and used Onyx to repair permissions. Rebooted and still nothing. No new device is shown in the network preferences and I can't see one with an ifconfig command at a shell prompt. No messages at all in dmesg or in /var/log/system.log.

I am running 10.4.2.

Quote
Use Onyx to carry out  the maintenance of hard drive followed by the reinstallation.

The driver should work and my OS is Tiger 10.4.2.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94628\"][{POST_SNAPBACK}][/a][/div]

mtfbwy

  • Newbie
  • *
  • Posts: 14
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #6 on: September 06, 2005, 10:23:45 am »
Okay, more info. When I plug the Zaurus into the PB w/the USB cable, I get the following messages:

org_lucidcake_driver_AJZaurusUSB:        0        1 Enumerating configurations ...
org_lucidcake_driver_AJZaurusUSB:        0        0   Config found
org_lucidcake_driver_AJZaurusUSB:        0        0     Interface found
org_lucidcake_driver_AJZaurusUSB:        9        4       bLength, bDescriptorType
org_lucidcake_driver_AJZaurusUSB:        0        0       bInterfaceNumber, bAlternateSetting
org_lucidcake_driver_AJZaurusUSB:        3        0       bNumEndpoints
org_lucidcake_driver_AJZaurusUSB:        8        6       bInterfaceClass, bInterfaceSubClass
org_lucidcake_driver_AJZaurusUSB:       50        4       bInterfaceProtocol, iInterface
org_lucidcake_driver_AJZaurusUSB: e000404e        0 org_lucidcake_driver_AJZaurusUSB::initDevice - No CDC interface found this configuration
org_lucidcake_driver_AJZaurusUSB:        0        0 org_lucidcake_driver_AJZaurusUSB::configureDevice - initDevice failed
org_lucidcake_driver_AJZaurusUSB:        0        0 org_lucidcake_driver_AJZaurusUSB::start - failed                                                            

I also get some pop-ups on the Zaurus that say "AlertUSB"

I configure the PC Link application for USB - TCP/IP. Is this correct? It never seems to let me exit the application and just gives me these pop ups.

thanks,
Bill

Quote
Hmm....

Reinstalled the driver and used Onyx to repair permissions. Rebooted and still nothing. No new device is shown in the network preferences and I can't see one with an ifconfig command at a shell prompt. No messages at all in dmesg or in /var/log/system.log.

I am running 10.4.2.

Quote
Use Onyx to carry out  the maintenance of hard drive followed by the reinstallation.

The driver should work and my OS is Tiger 10.4.2.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94628\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94680\"][{POST_SNAPBACK}][/a][/div]

mtfbwy

  • Newbie
  • *
  • Posts: 14
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #7 on: September 06, 2005, 10:32:08 am »
I figured out my issue. I had to configure PC Link before plugging the Zaurus in.

Quote
Okay, more info. When I plug the Zaurus into the PB w/the USB cable, I get the following messages:

org_lucidcake_driver_AJZaurusUSB:        0        1 Enumerating configurations ...
org_lucidcake_driver_AJZaurusUSB:        0        0   Config found
org_lucidcake_driver_AJZaurusUSB:        0        0     Interface found
org_lucidcake_driver_AJZaurusUSB:        9        4       bLength, bDescriptorType
org_lucidcake_driver_AJZaurusUSB:        0        0       bInterfaceNumber, bAlternateSetting
org_lucidcake_driver_AJZaurusUSB:        3        0       bNumEndpoints
org_lucidcake_driver_AJZaurusUSB:        8        6       bInterfaceClass, bInterfaceSubClass
org_lucidcake_driver_AJZaurusUSB:       50        4       bInterfaceProtocol, iInterface
org_lucidcake_driver_AJZaurusUSB: e000404e        0 org_lucidcake_driver_AJZaurusUSB::initDevice - No CDC interface found this configuration
org_lucidcake_driver_AJZaurusUSB:        0        0 org_lucidcake_driver_AJZaurusUSB::configureDevice - initDevice failed
org_lucidcake_driver_AJZaurusUSB:        0        0 org_lucidcake_driver_AJZaurusUSB::start - failed                                                           

I also get some pop-ups on the Zaurus that say "AlertUSB"

I configure the PC Link application for USB - TCP/IP. Is this correct? It never seems to let me exit the application and just gives me these pop ups.

thanks,
Bill

Quote
Hmm....

Reinstalled the driver and used Onyx to repair permissions. Rebooted and still nothing. No new device is shown in the network preferences and I can't see one with an ifconfig command at a shell prompt. No messages at all in dmesg or in /var/log/system.log.

I am running 10.4.2.

Quote
Use Onyx to carry out  the maintenance of hard drive followed by the reinstallation.

The driver should work and my OS is Tiger 10.4.2.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94628\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94680\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94695\"][{POST_SNAPBACK}][/a][/div]

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #8 on: June 05, 2007, 09:54:24 am »
I've been trying it out with macbookpro 15.4", driver loaded ok but no usb0 or similar in "ifconfig -a", here's dmesg

AJZaurusUSB::getFunctionalDescriptors - Header Functional Descriptor - type=36 subtype=0
AJZaurusUSB::getFunctionalDescriptors - Union Functional Descriptor - type=36 subtype=6
AJZaurusUSB::getFunctionalDescriptors - Ethernet Functional Descriptor - type=36 subtype=15
AJZaurusUSB::getFunctionalDescriptors - Ethernet address (string 3): 33.36.44.34.33.00
AJZaurusUSB::getFunctionalDescriptors - Maximum segment size 1514
AJZaurusUSB::configureDevice - comm interface 0x5074200
AJZaurusUSB::configureDevice -   ConfigValue 1
AJZaurusUSB::configureDevice -   AlternateSetting 0
AJZaurusUSB::configureDevice -   InterfaceClass 2
AJZaurusUSB::configureDevice -   InterfaceSubClass 6
AJZaurusUSB::configureDevice -   InterfaceProtocol 0
AJZaurusUSB::configureDevice -   InterfaceNumber 0
AJZaurusUSB::configureDevice -   NumEndpoints 1
AJZaurusUSB::configureDevice -   BusyState 0
AJZaurusUSB::configureDevice -   Inactive 0
AJZaurusUSB::configureDevice -   Open(any) 1
AJZaurusUSB::configureDevice -   Open(this) 0
AJZaurusUSB::configureDevice - open comm interface failed 0x5074200
AJZaurusUSB::configureDevice - forced close of interfering comm interface for client 0x50ac800
AJZaurusUSB::configureDevice - 0 Data Class interfaces
AJZaurusUSB::configureDevice - Standard interface 0 DOESN'T work
AJZaurusUSB::configureDevice - No endpoints this alternate 0x50b0f30
AJZaurusUSB::configureDevice - Data Class interface (alternate) found: 1
AJZaurusUSB::configureDevice - Alternate set
AJZaurusUSB::createNetworkInterface
AJZaurusUSB::getWorkLoop (0x4a729c0)
AJZaurusUSB::createNetworkInterface - attaching and registering interface
AJZaurusUSB::newVendorString Linux 2.6.20.6/pxa27x_udc
AJZaurusUSB::newModelString RNDIS/Ethernet Gadget
AJZaurusUSB::newRevisionString
AJZaurusUSB::getPacketFilters - group=0x44f29c0 filters=0x25a43bcc
AJZaurusUSB::getHardwareAddress
AJZaurusUSB::getPacketFilters - group=0x44f29a0 filters=0x25a43c1c
AJZaurusUSB::configureInterface threadself=0x4e72fe4 netif=0x4eca200
AJZaurusUSB::createNetworkInterface - Exiting, successful
AJZaurusUSB::setPowerState state:1
AJZaurusUSB::setPowerState - power 1
AJZaurusUSB::start - successful
WARNING: ether_attach_inet can't attach ip to en3
rtinit: wrong ifa (0x50b1d84) was (0x502a984)


any ideas?
thanks!


--edit--
I should add I'm running the very latest OSX with all patches (the machine is not even a week old) and I downloaded the latest AJZ driver/
« Last Edit: June 05, 2007, 06:30:09 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Ajzaurus Usb Driver On 12" Powerbook
« Reply #9 on: June 10, 2007, 11:07:13 pm »
Quote
WARNING: ether_attach_inet can't attach ip to en3
rtinit: wrong ifa (0x50b1d84) was (0x502a984)

any ideas?
thanks!
Looks more like a bug in the driver. It does not find the interface in the first try but then successfully uses an alternate interface.

The message

forced close of interfering comm interface for client 0x50ac800

comes because some unknown Apple USB driver already connects to the Zaurus. But this is an intentional workaround.
Quote
I should add I'm running the very latest OSX with all patches (the machine is not even a week old) and I downloaded the latest AJZ driver/
That should not be the problem. At least it works for the Zaurus with Sharp/Cacko ROM, an Acer n30 with Letux (i.e. Familiar Distribution) and others have reported that it works with e.g. the Motoroal A780.

So, it looks like something in your Zaurus config is different so that the driver does not recognize/handle it properly.

On the other hand the rtinit call is not part of the AJZaurusUSB driver but appears to be part of Darwin: http://lists.apple.com/archives/Darwin-dev...n/msg00068.html

I think I can analyse a little next week - this week I am attending WWDC. But maybe I can discuss it in one of the lab sessions.

-- hns
« Last Edit: June 10, 2007, 11:17:51 pm by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Ajzaurus Usb Driver On 12" Powerbook
« Reply #10 on: June 19, 2007, 07:50:40 am »
sorry for delay... new job keeping me busy!

OK, after varous reboots and latest OSX patches, the driver creates en5 and tells me it's started...


Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - manufacturer=Linux 2.6.20.6/pxa27x_udc
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - product=RNDIS/Ethernet Gadget
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - serial number= idx=0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors - Header Functional Descriptor - type=36 subtype=0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors - Union Functional Descriptor - type=36 subtype=6
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors - Ethernet Functional Descriptor - type=36 subtype=15
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors - Ethernet address (string 3): 36.41.37.34.46.00
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getFunctionalDescriptors - Maximum segment size 1514
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - comm interface 0x5892700
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   ConfigValue 1
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   AlternateSetting 0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   InterfaceClass 2
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   InterfaceSubClass 6
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   InterfaceProtocol 0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   InterfaceNumber 0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   NumEndpoints 1
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   BusyState 0  
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   Inactive 0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   Open(any) 1  
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice -   Open(this) 0  
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - open comm interface failed 0x5892700
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - forced close of interfering comm interface for client 0x65c8e00
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - 0 Data Class interfaces
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - Standard interface 0 DOESN'T work
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - No endpoints this alternate 0x565afb0
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - Data Class interface (alternate) found: 1
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureDevice - Alternate set
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::createNetworkInterface
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getWorkLoop (0x5ed14c0)
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::createNetworkInterface - attaching and registering interface
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::newVendorString Linux 2.6.20.6/pxa27x_udc
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::newModelString RNDIS/Ethernet Gadget
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::newRevisionString
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getPacketFilters - group=0x45c7700 filters=0x25a13bcc
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getHardwareAddress
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::getPacketFilters - group=0x45c76e0 filters=0x25a13c1c
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::configureInterface threadself=0x52e01cc netif=0x5839900
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::createNetworkInterface - Exiting, successful
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::setPowerState state:1
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::setPowerState - power 1
Jun 19 12:53:21 macbookpro kernel[0]: AJZaurusUSB::start - successful


I can then assign an ether to en5, but I cannot ping the Z... tcpdump suggests that an arp goes out, and nothing back; pinging the Mac from Z doesn't make the mac see any traffic. The Mac's arp table says incomplete, the Z's (cat /proc/net/arp) says all zeroes.

Hmmm. so close!
« Last Edit: June 19, 2007, 07:53:13 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Ajzaurus Usb Driver On 12" Powerbook
« Reply #11 on: July 27, 2007, 02:48:21 am »
Quote
I can then assign an ether to en5, but I cannot ping the Z... tcpdump suggests that an arp goes out, and nothing back; pinging the Mac from Z doesn't make the mac see any traffic. The Mac's arp table says incomplete, the Z's (cat /proc/net/arp) says all zeroes.

Hmmm. so close!
Sorry for my delay...

I have the driver now running really well for the Acer n30 with Letux Linux distribution. It also has an 2.6 kernel with RNDIS like your device.

How did you configure the en5 interface?

The router address should be the IP of the device and vice versa, e.g.

Mac:
Address    192.168.129.1
Gateway   192.168.129.201

Device:
Address    192.168.129.201
Gateway   192.168.129.1

Netmask: 255.255.255.0

-- hns
« Last Edit: July 27, 2007, 02:50:09 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com