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 recenly went to the trouble of recompiling my kernel but i have run into some problems. Most of them i have gotten ironed out but i am still having problems with my USB mouse. when i boot i get the message :
/dev/mouse: No such device
when i try to cat /dev/mouse and /dev/input/mice I get a message:
root@hotbox [/]# cat /dev/mouse
cat: /dev/mouse: No such device
root@hotbox [/]# cat /dev/input/mice
cat: /dev/input/mice: No such device
My boot messages regarding usb are similar to the following:
root@hotbox [/]# dmesg | grep USB
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
uhci.c: USB UHCI at I/O 0xd400, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
uhci.c: USB UHCI at I/O 0xd000, IRQ 10
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
hub.c: new USB device 00:1d.1-1, assigned address 2
: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb2:2.0
apparently it finds the mouse but isn't mapping it to /dev/mouse correctly, any ideas? I made sure i compiled usb hid into the kernel, perhaps there was something else i neglected to comile in?
I tried to reinstall the kernel from the cd, but to no avail.
/dev/mouse is a symlink to another device usually, you probably either compiled in support for usb devfs or compiled it out, I can't remember Slack's default, I've got too much PS/2 kit. What's the symlink on /dev/mouse point to:
i've recompiled a couple of things in again, and i modprobe mousedev in at boot. Now /dev/input/mice and /dev/mouse exist but produce no output. 'cat'ting them produces no output.
i presume the usb devfs flag i'm looking for is the 'preliminary usb device fs' under usb support-----> (kernel 2.4.20)
OK, i'm one step closer to getting this thing solved. I browsed throught he kernel config help file a little and found that for usb mice to work, i had to compile in 'usb hid support' and 'usb hid input layer support.'
so i select them from the make menudonfig list. and compile
make dep
make clean
make bzImage
and i get these errors when it gets to the usb section:
dirvers/usb/esbdrv.o(,text+0x153cd): In fucntion 'hidinput_hid_event':
: undefined reference to 'input_event'
[...]
make: *** [vmlinux] Error 1
Alriight! i finally got it working, Thanks for all the help...
It turns out that 'usb hid support' requires the 'input core support' to be compiled the same way as it is. I had usb support compiled into the kernel and input core compiled as a module, that was producing the comile-time errors. when i changed them both to compile into the kernel it worked like a dream.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.