Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.