Hello, This is the second attempt to post my question. Sorry about that. I try to connect to a PDA over USB and it just does not work. I am using Suse 8.2 with a 2.4.21 Kernel. What I did so far: I changed the necessary settings in /etc/sysconfig/hotplug. I put CDCEther and acm on the blacklist in /etc/hotplug/blacklist. I created a USB network device with Yast which appears as eth-usb. There is a ifcfg-eth-usb in /etc/sysconfig/network. In /etc/hotplug/usb.handmap, I include the following passage so that hotplug knows about which driver belongs to a USB gadged that comes in with 04dd/9031: # Sharp Zaurus usbnet 0x0003 0x04dd 0x9031 0x0000 0x0000 0x02 0x00 0x00 0x02 0x06 0x00 0x00000000 Finally, I tried to insert into /etc/modules.conf alias eth-usb usbnet ...but I do not think that this helped. Now what happens is this: The hotplug service realizes that there is a new gadget attached. usbnet is loaded. Hotplug tries to fuss around with acm but seems to realize that it is blacklisted. However, I do not get a usb network device! At least, this is my interpretation of the following /var/log/messages section: Aug 9 18:49:04 melissandra kernel: hub.c: new USB device 00:04.2-2, assigned address 9 Aug 9 18:49:04 melissandra kernel: usb.c: USB device 9 (vend/prod 0x4dd/0x9031) is not claimed by any active driver. Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: /sbin/hotplug usb Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: HOME=/ Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: PATH=/bin:/sbin:/usr/sbin:/usr/bin Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: ACTION=add Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: INTERFACE= Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: DEVFS=/proc/bus/usb Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: DEVICE=/proc/bus/usb/002/009 Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: PRODUCT=4dd/9031/0 Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: TYPE=2/0/0 Aug 9 18:49:04 melissandra /sbin/hotplug[4325]: LOCAL_USBLOCK usblock-1060447744-_proc_bus_usb_002_009.lock sleeps 3 Aug 9 18:49:07 melissandra /sbin/hotplug[4325]: invoke /etc/hotplug/usb.agent Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: Setup usbnet from usb.handmap for USB product 4dd/9031/0 Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: BeepInfo: TYPE=usb ACTION=add DRIVERS=usbnet DEVICE=/proc/bus/usb/002/009 Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: Setup acm from modules.usbmap for USB product 4dd/9031/0 Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: ... blacklisted module: acm Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: BeepInfo: TYPE=usb ACTION=add DRIVERS=acm DEVICE=/proc/bus/usb/002/009 Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: writing usb-2-9 to /var/run/hotplug/net Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: Wrote remover script '/var/run/hotplug/usb-remover-%4dd%9031%0%2%0%0' with following content: Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: remover script: COUNT=1 Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: remover script: echo usb-2-9 > /var/run/hotplug/net Aug 9 18:49:07 melissandra /etc/hotplug/usb.agent[4341]: remover script: test $COUNT -gt 1 && exit Does anyone know what is missing? In theory, when I plug the PDA into the USB I should receive a usb0 network device. Any help is welcome :-) tia, einar
On Saturday 09 August 2003 01:29 pm, einar wrote:
Hello,
This is the second attempt to post my question. Sorry about that. I try to connect to a PDA over USB and it just does not work.
I am using Suse 8.2 with a 2.4.21 Kernel.
What I did so far:
Hi einar, I'm not sure if you simply want to connect to the desktop or hangout on the lan. This should verify the ability to connect to the desktop prior to making anything permanent. Zaurus IP address will be: 192.168.129.201 To determine if usb is up: ifconfig -a The usbnet module appears to have some problems with the zaurus so I always 'ls mod usbdnet'. It should load with warnings. Make sure usbdnet is loaded: lsmod If not, than: modprobe usbdnet Setup usb0: ifconfig usb0 192.168.129.1 netmask 255.255.255.0 up route add -host 192.168.129.201 usb0 Test by: ping 192.168.129.201 NOTE: The Zaurus may have to be rebooted 1) Open up console 2) type 'reboot' and hit enter -- SuSE 8.2 - KDE 3.1.3
On Saturday 09 August 2003 03:24 pm, columbo wrote:
The usbnet module appears to have some problems with the zaurus so I always 'ls mod usbdnet'. It should load with warnings.
::sigh:: Ignore that sentence. I just meant to write that I always 'modprobe usbdnet'. -- Crime doesn't pay... does that mean my job is a crime? ---------------------------------------------------------------- SuSE 8.2 - KDE 3.1.3
Hello, Thanks for the hint! Other people recommended the usbnet. And since I already had a 2.4.21 kernel I gave that one a try first... The curse of the early adaptor :-) I shall try with a 2.4.20 kernel and with using usbdnet instead of usbnet. thanks, einar
participants (2)
-
columbo
-
einar