On Wed, 2005-06-29 at 15:35 +0100, Declan Moriarty wrote: > Useful to know. So the /dev/input thing is simply specifying the > protocol, and the device node can vary.
As I understand it, the kernel provides a standard input framework,
where any mouse on the system shows up as /dev/input/mouse0, mouse1,
etc. Additionally, it provides a device /dev/input/mice which represents
all mice simultaneously - a mixer, if you like, which is represented as
an emulated Intellimouse PS/2. So with an xorg.conf entry something
like:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
...any mouse should "just work".
> >
> > But as I said before, there are also some options for serial mice
> > under the same section in make menuconfig, so they might also be
> > supported under the same interface. Lacking a serial mouse though, I'm
> > unable to test it. If you try it, let me know, since I'm curious now.
>
> Get specific, and I will. Which section? BTW, can one copy & paste from
> a standard console to an X application with that setup?
>
>
> The kernel tarballs I have here are
> 2.4.22; 2.6.9 (Not deleted yet); 2.6.10; 2.6.12.1
I'm looking at 2.6.11.10, since that's what I'm running - the options
are under "Device Drivers -> Input device support". The one I was
referring to is "Serial mouse", which appears when "Mice" is enabled.
No idea how you'd set up copying between console and X - if I'm working
on the console, it's usually because X isn't installed yet.
> > On the other hand, if using the mouse directly through the serial port
> > works, then that's all you need. Having things work is the first
> > priority, afterall...
>
> No, I really need to go to usb now... unfortunately
Ok, if you want to use USB input devices, you'll need a couple of
options under "Device Drivers -> USB support". In particular, "USB Human
Interface Device (full HID) support" and "HID input layer support"
provide the USB support for /dev/input.
Simon.
signature.asc
Description: This is a digitally signed message part
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
