View previous topic :: View next topic |
Author |
Message |
=X¥®µ§= n00b
Joined: 19 Jul 2002 Posts: 53 Location: Belgium
|
Posted: Thu Aug 08, 2002 1:15 pm Post subject: /dev/mouse: device not found |
|
|
while configuring XFRee4.2 I ran into the following problem with my mouse (I ALWAYS have mouse problems with *nix *sigh*)
in fbsd I only got my mouse working under protocol:auto and device: /dev/ums0: no such device in linux
in suse it works find with protocol:imps/2 device:/dev/mouse
so I tried imps/2 and /dev/mouse in gentoo but he doesn't find that device
after looking around, I found some confusing things as ln -s, mknod, psaux and I tried those but failed miserably
in fbsd I'd say ./MAKEDEV mouse but in gentoo even /usr/sbin/makedev mouse didn't work
can anyone put me on the right path? thx |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Thu Aug 08, 2002 3:37 pm Post subject: |
|
|
What kind of mouse is it? Are you using devfsd? |
|
Back to top |
|
|
=X¥®µ§= n00b
Joined: 19 Jul 2002 Posts: 53 Location: Belgium
|
Posted: Thu Aug 08, 2002 9:01 pm Post subject: |
|
|
Logitech Optical MouseMan Wheel
I don't know if I'm using devfsd, but I read that it was there standard with the current release?? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Fri Aug 09, 2002 1:21 am Post subject: |
|
|
It is standard, but it does cause a few problems with the mouse setup sometimes. I'm not entirely sure if it's the same for a ps/2 mouse, but devfsd put my USB mouse on /dev/input/mouse0.
I went ahead and used that address in my XF86Config and gpm.conf simply because I didn't feel like trying to fix the devfsd borkage. However I did finally go in and fix the problem by using these lines in my /dev/devfsd.conf:
Code: |
# Create /dev/mouse
LOOKUP ^mouse$ CFUNCTION GLOBAL mksymlink input/mouse0 mouse
REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname mouse
UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink mouse
|
and then rebooting....
HTH |
|
Back to top |
|
|
=X¥®µ§= n00b
Joined: 19 Jul 2002 Posts: 53 Location: Belgium
|
Posted: Fri Aug 09, 2002 1:17 pm Post subject: |
|
|
it didn't work
using /dev/input/mouse0 didn't work because I don't even have a /dev/input folder, and so changing the devfsd file didn't work either...
how can I create the /dev/input/mouse0 file then???
and why is this so hard? I'm using a standard mouse and all I get is problems: in fbsd I had to DISABLE usb support to make my USB mouse working and it only worked on protocol auto and device ums0 (I don't know who tries all the device/protocol combinations to get his mouse working, but fortunatily someone did it)
Then in a standard suse install it worked during the installation, but when loading suse it gave module errors so I had to fix those before my mouse worked, and now this!!!
is there some database with all the hardware and wich device you should use for it or something? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Sat Aug 10, 2002 6:57 am Post subject: |
|
|
Are you sure you have devfsd running? A quick should tell you for sure. Also double check that devfs support is compiled in your kernel.
Also, I am assuming you have enabled usb in the kernel. Check and see if the kernel is even recognizing the device: Code: | cat /proc/bus/usb/devices |
Quote: | is there some database with all the hardware and wich device you should use for it or something? |
Actually, I did find [url=lhd.zdnet.com]The Linux Hardware Database[/url]. Did a quick search for your mouse and came up with this info. |
|
Back to top |
|
|
=X¥®µ§= n00b
Joined: 19 Jul 2002 Posts: 53 Location: Belgium
|
Posted: Sat Aug 10, 2002 10:43 am Post subject: |
|
|
yes! it finally works
devfsd was working, but /proc/bus/usb/devices this didn't exist
also the lhd tip didn't work
so I went into my kernel and both usb and devfsd were enabled, but a lot of other options that had to do with those weren't enabled, so I enabled them and the /dev/input/mice and /dev/input/mouse0 files were created!
the /proc/bus/usb/devices file is created too
I'm using the mice device now and everything is working great, in fact I'm posting this in gentoo
thx for all the help _________________ unzip;strip;touch;finger;mount;fsck;more;yes;unmount;sleep |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Sat Aug 10, 2002 6:44 pm Post subject: |
|
|
Very Cool!
Glad to to hear ya got it up and running! |
|
Back to top |
|
|
|