View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-06-2003, 02:10 AM   #1
Registered: Oct 2003
Distribution: RH9
Posts: 38

Rep: Reputation: 15
USB Mouse - USB works, but still nothing

I recently completed (sucessfully) a linux from scratch build. I have subsequently moved on to beyond linux from scratch and have gotten DHCP to work correctly. Now I am working on installing X. One step in this is getting my mouse to work.

I have:

USB Logitech 2 button/wheel mouse
Working USB kernel (2.4.22)(usb is enabled and recognized) - built in mousedev and usb hid

The kernel recognizes the mouse (/proc/bus/usb/devices)

The problem is that when I try to make a /dev/input/mice device file, it doesn't do anything when I cat it (the way to test it) - I am following the directions from and they just don't seem to be working.

On the plus side, when I generate the node and cat it, it doesn't complain, it just doesn't retrun anything. It sits there at a blank line. I tried making the node with another Major/Minor number and when I run cat on it, it says 'no such device' or something of that nature.

So, any ideas of why my mouse would not be sending information up through the device file?

Thank you,

Last edited by BlurredWeasel; 11-06-2003 at 03:01 AM.
Old 11-06-2003, 03:10 PM   #2
Registered: Oct 2003
Distribution: Debian/unstable
Posts: 85

Rep: Reputation: 15
When you cat the device, let it sit there and move your mouse, click buttons, etc. If there's still no output, the mouse isn't being recognized correctly.
Old 11-06-2003, 03:22 PM   #3
Registered: Oct 2003
Distribution: RH9
Posts: 38

Original Poster
Rep: Reputation: 15
Correct, when I cat the device I created with mknod (c 13 63 as options) - nothing happens. I get no output. I tried it on my redhat box which I am using as the LFS host and it does work there, so I know what it is supposed to be looking like.

Any ideas on what I should do to make the mouse get the data to the node/device file?

It is recognized in /proc/bus/usb/devices - so I know the computer knows about it, the light on the mouse is on, and also when I plug it in/out the kernel lets me know.

It just isn't making that last jump into the device file.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mknod minor shanenin Linux - Hardware 2 04-01-2005 11:34 PM
devfs max major/minor numbers devershetty Linux - Newbie 1 06-17-2003 10:37 PM
usb mouse major/minor number raven Linux - Hardware 6 12-07-2002 07:19 AM
major/minor number zyan Linux - Newbie 2 06-25-2001 07:57 PM
major /minor number zyan Linux - General 0 06-22-2001 03:26 AM

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration