Plugging USB device
Hello Everybody !!
I need your help. I have a problem with USB, and I would like to know how I can see what kernel does when I plug a USB device. So I might know what the problem is . Is it exist a command to see the "log messages" or anything similar? Thanks in advance. |
tail -100 /var/log/messages | less
Cheers-- Charles |
do you know "dmesg" command ?
|
ReRe Plugging USB device
Hello!!
Thank you very much for your replies. it has been very useful for see the errors. But I can't correct them. I hope you could please help me again. I have a Ethernet Adaptor that I am developing. it uses CDC Ethernet. I have kernel 2.4.19-16mdk I have USB support, ... like modules. in etc/modules I have usbcore usb-uhci When I plug the device I can't use ifconfig eth0 due to the following: If I don't load CDCEther at first (modprobe CDCEther), when I plug and put dmesg I get the following: hub.c: USB new device connect on bus1/2, assigned device number 4 usb.c: USB device 4 (vend/prod 0x58b/0x4) is not claimed by any active driver. usb.c: registered new driver acm acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters If I load CDCEther before I plug, I obtain (since I put modprobe CDCEther) CDCEther.c: CDCEther.c: 0.98.6 7 Jan 2002 Brad Hards and another usb.c: registered new driver CDCEther hub.c: USB new device connect on bus1/2, assigned device number 5 CDCEther.c: Imperfect filtering support - need sw hashing CDCEther.c: Not all required functional descriptors present 0x00000003. CDCEther.c: No ethernet information found. CDCEther.c: No ethernet information found. usb.c: USB device 5 (vend/prod 0x58b/0x4) is not claimed by any active driver. usb.c: registered new driver acm CDCEther.c: Imperfect filtering support - need sw hashing CDCEther.c: Not all required functional descriptors present 0x00000003. CDCEther.c: No ethernet information found. CDCEther.c: No ethernet information found. acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters If I use uhci instead of usb-uhci it happens exactly the same. I don't know why the kernel load acm instead of CDCEther, because I use Networking Ethernet Control model. Could you please help me?? Thanks very much again for your help. Pablo |
Re Plugging USB OK
Thank you to everybody!!
dmesg was very useful to solve the problem. It was a problem of descriptors. I need to load CDCEther, and when I plug I only have to put: ifconfig eth0 10.0.0.1 And all is OK, I can do pings.... But I would like to ask for another favour, Can I get the stadistics, or change the Multicast filters... Does it exist any commands, or anythig like this ?? Thanks a lot. Pablo |
All times are GMT -5. The time now is 02:44 PM. |