Re: 2.4.21 detects eth1 instead of usb0 when connecting a second time

"David A. Cafaro" <[email protected]> 02 Dec 2003 13:41:10 -0500
Newsgroups gmane.comp.handhelds.zaurus.general
Message-ID <[email protected]>
Disable ACM and CDCEther in your /etc/modules.conf file like this:

alias CDCEther off
alias ACM off

That should stop CDCEther and ACM being loaded when your zaurus is
plugged in and stop eth1 from showing up and instead let usb0 show up.

-David

On Tue, 2003-12-02 at 13:13, Ekkard Gerlach wrote:
> I'm running Suse 8.2 with 2.4.21 (vanillia-Kernel) on my desktop 
> and want to connect my Zaurus 5500g. I reach my goal only once. 
> A second time I connect Z. to my desktop the kernel tries to 
> detect a eth (eth1) device! ... and can't reach it, of course!
> Does somebody know why?
> 
> Here is what /var/log/messages prints: 
> 
> 1. first time I connect Z. after rebooting my desktop PC: 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Dec  2 16:35:06 rex2 kernel: hub.c: new USB device 00:07.2-1, assigned address 3
> Dec  2 16:35:06 rex2 kernel: usb0: register usbnet usb-00:07.2-1, Sharp Zaurus SL-5x00
> Dec  2 16:35:07 rex2 /etc/hotplug/net.agent[23813]: Using HW description usb-usb-1-2
> Dec  2 16:35:12 rex2 kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb d19f0940, burb d19f00c0
> Dec  2 16:35:12 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 73 ret -6
> Dec  2 16:35:12 rex2 kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb d19f0940, burb d19f00c0
> Dec  2 16:35:12 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 73 ret -6
> Dec  2 16:35:12 rex2 kernel: usb-uhci.c: ENXIO 80000380, flags 0, urb d19f0940, burb d19f00c0
> Dec  2 16:35:12 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -6
> Dec  2 16:35:12 rex2 /etc/hotplug/usb.agent[23952]: cannot get config descriptor 0, No such device or address (6)
> Dec  2 16:35:12 rex2 /etc/hotplug/usb.agent[23952]: cannot get config descriptor 0, No such device or address (6)
> Dec  2 16:35:12 rex2 /etc/hotplug/usb.agent[23952]: cannot get config descriptor: No such device or address
> Dec  2 16:35:12 rex2 kernel: usb.c: registered new driver acm
> Dec  2 16:35:12 rex2 kernel: acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
> Dec  2 16:35:12 rex2 insmod: Using /lib/modules/2.4.21/kernel/drivers/usb/acm.o
> Dec  2 16:35:12 rex2 insmod: Symbol version prefix ''
> Dec  2 16:35:12 rex2 kernel: CDCEther.c: CDCEther.c: 0.98.6 7 Jan 2002 Brad Hards and another
> Dec  2 16:35:12 rex2 kernel: usb.c: registered new driver CDCEther
> Dec  2 16:35:12 rex2 insmod: Using /lib/modules/2.4.21/kernel/drivers/usb/CDCEther.o
> Dec  2 16:35:12 rex2 insmod: Symbol version prefix ''
> Dec  2 16:35:13 rex2 /etc/hotplug/usb.agent[23958]: writing usb-1-3 to /var/run/hotplug/net
> Dec  2 16:35:13 rex2 /etc/hotplug/net.agent[23853]: Using HW description usb-usb-1-3
> 
> 
> 2. second time I connect Z. after rebooting my desktop PC: 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Dec  2 18:24:38 rex2 kernel: hub.c: new USB device 00:07.2-1, assigned address 4
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: Found Header descriptor, CDC version 110.
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: Imperfect filtering support - need sw hashing
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: Can't use SetEthernetMulticastFilters request
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: detected BULK OUT packets of size 64
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: eth1: Sharp SL Series
> Dec  2 18:24:38 rex2 kernel: CDCEther.c: eth1: 40:00:02:00:00:01
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb d45707c0, burb cf2fc4c0
> Dec  2 18:24:42 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -6
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb de5f7cc0, burb d45707c0
> Dec  2 18:24:42 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 73 ret -6
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb d45707c0, burb cf2fc1c0
> Dec  2 18:24:42 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 18 ret -6
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24843]: cannot get config descriptor: No such device or address
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24843]: cannot get config descriptor 0, No such device or address (6)
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24843]: cannot get config descriptor: No such device or address
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cf2fc1c0, burb d45707c0
> Dec  2 18:24:42 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 73 ret -6
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb cf2fc4c0, burb d45707c0
> Dec  2 18:24:42 rex2 kernel: usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 73 ret -6
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24848]: cannot get config descriptor 0, No such device or address (6)
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24843]: cannot get config descriptor 0, No such device or address (6)
> Dec  2 18:24:42 rex2 kernel: usb-uhci.c: ENXIO 80000480, flags 0, urb d45707c0, burb cf2fc1c0
> Dec  2 18:24:42 rex2 last message repeated 5 times
> Dec  2 18:24:42 rex2 /etc/hotplug/usb.agent[24848]: writing usb-1-4 to /var/run/hotplug/net
> Dec  2 18:24:43 rex2 /etc/hotplug/net.agent[24802]: Using HW description eth-usb-1-4
> Dec  2 18:24:43 rex2 ifup: No configuration found for eth-usb-1-4 eth1
> 
> 
> Anybody some ideas how to repair so that I needn't reboot? 
> 
> BTW: it's not so easy a I told above. BEFORE connection Z. to my desktop by 
>     USB I have to plug in my  NetLink USB-Kabel. (My NetLink usb-to-usb cable
>     is recognized wonderfully each time.) I have to plug it out and plug in 
>     Z. Only in this case Z. is recognized by 2.4.21!!!!! But not only once, 
>     not twice, like already described above. My NetLink cable is always
>     recognized correctly by the kernel, but Z. never again. I have to 
>     reboot my desktop and repeat the procedure. 
> 
> BTW2: the modules loaded are always the same ones, in state of 
>     correct recognition of Z. or not. lsmod: 
> CDCEther               12732   0  (unused)
> acm                     6368   0  (unused)
> usbnet                 14078   1
> nfsd                   76464   4  (autoclean)
> usbserial              19836   0  (autoclean) (unused)
> videodev                6176   0  (autoclean)
> parport_pc             28456   2  (autoclean)
> lp                      6912   0  (autoclean)
> parport                25608   2  (autoclean) [parport_pc lp]
> ipv6                  162900  -1  (autoclean)
> ipt_TOS                 1016   9  (autoclean)
> ipt_MASQUERADE          1368   2  (autoclean)
> ipt_LOG                 3384   1  (autoclean)
> ipt_TCPMSS              2392   1  (autoclean)
> ipt_state                568  15  (autoclean)
> sg                     28892   0  (autoclean) (unused)
> mousedev                4532   0  (unused)   
> joydev                  6240   0  (unused)   
> evdev                   4768   0  (unused)
> input                   3232   0  [mousedev joydev evdev]
> usb-uhci               23920   0  (unused)   
> usbcore                63788   1  [CDCEther acm usbnet usbserial usb-uhci]
> [...]
>  
> 
> thx
> Ekkard
> _______________________________________________
> Zaurus-general mailing list
> [email protected]
> http://lists.zaurus.com/mailman/listinfo/zaurus-general
-- 
David A. Cafaro <dac(at)cafaro.net>
Sys Admin to User: "You did what?!?"