vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am running Gentoo using udev to manage devices. My computer is a generic IBM compatible computer using an ATX type motherboard with a PS/2 mouse attached to a port on the motherboard. lsmod reveals: psmouse 14920 0 However, I do not appear to have any mouse device listed in /dev ls /dev/psaux ls: cannot access /dev/psaux: No such file or directory ls /dev/mouse ls: cannot access /dev/mouse: No such file or directory ls /dev/input/mice ls: cannot access /dev/input/mice: No such file or directory Have I forgotten to configure something? Mark. -- Mark Hobley, 393 Quinton Road West, Quinton, BIRMINGHAM. B32 1QE. |
| |||
| Mark Hobley wrote: > I am running Gentoo using udev to manage devices. My computer is a > generic IBM compatible computer using an ATX type motherboard with a > PS/2 mouse attached to a port on the motherboard. > > lsmod reveals: > > psmouse 14920 0 > > However, I do not appear to have any mouse device listed in /dev > > ls /dev/psaux > ls: cannot access /dev/psaux: No such file or directory > > ls /dev/mouse > ls: cannot access /dev/mouse: No such file or directory > > ls /dev/input/mice > ls: cannot access /dev/input/mice: No such file or directory > > Have I forgotten to configure something? As /udev/ has already been on the block for a couple of years, I'd doubt that it would be a goof-up by the Gentoo developers in the /udev/ scripts - it cannot be excluded as a possibility, but I deem it unlikely - so a few other things need to be looked at first. ;-) The most obvious question would be whether you have /sysfs/ mounted on */sys.* Normally, the answer would be yes, since */dev,* /sysfs/ and /procfs/ are mounted by the /init/ scripts in Gentoo - I believe I got this information from Art Hagen. ;-) The next thing to check is your kernel configuration. I'm not sure exactly where in the configuration the pertaining options are to be found, but you should double-check your Input/Output sections and Human Input Devices (HID). There is also an option there to create a */dev/psaux* character device, and my guess is that you've forgotten to say "Y" there. Just my 2 Eurocents, but that should be better than if they were US Dollarcents at this moment in time. -- Aragorn (registered GNU/Linux user #223157) |
| |||
| On Wed, 16 Apr 2008 04:08:08 GMT, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote: >I am running Gentoo using udev to manage devices. My computer is a >generic IBM compatible computer using an ATX type motherboard with a >PS/2 mouse attached to a port on the motherboard. On my system, /etc/X11/xorg.conf's pointer section uses /dev/psaux /dev/psaux is a link to /dev/misc/psaux |
| |||
| On Wed, 16 Apr 2008 08:31:08 -0500, AZ Nomad <aznomad.3@PremoveOBthisOX.COM> wrote: >On Wed, 16 Apr 2008 04:08:08 GMT, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote: >>I am running Gentoo using udev to manage devices. My computer is a >>generic IBM compatible computer using an ATX type motherboard with a >>PS/2 mouse attached to a port on the motherboard. >On my system, /etc/X11/xorg.conf's pointer section uses /dev/psaux >/dev/psaux is a link to /dev/misc/psaux which isn't on your system..... looking further: ( man -k udev ... play around with udevinfo ... ) $ udevinfo --query=name --name=/dev/misc/psaux --attribute-walk Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/class/misc/psaux': KERNEL=="psaux" SUBSYSTEM=="misc" DRIVER=="" ATTR{dev}=="10:1" No driver; looks like it's built into the kernel. <become root> # cd /usr/src/linux # make menuconfig # /psaux <-- foward slash in menuconfig to search Symbol: INPUT_MOUSEDEV_PSAUX [=y] ? ? Prompt: Provide legacy /dev/psaux device ? ? Defined at drivers/input/Kconfig:72 ? ? Depends on: !S390 && INPUT && INPUT_MOUSEDEV ? ? Location: ? ? -> Device Drivers ? ? -> Input device support ? ? -> Generic input layer (needed for keyboard, mouse, ...) (INPUT ? ? -> Mouse interface (INPUT_MOUSEDEV [=y]) ? Yup, it was built into the kernel. (A module would have [=m]) |
| |||
| On Wed, 16 Apr 2008 04:08:08 +0000, Mark Hobley wrote: > I am running Gentoo using udev to manage devices. My computer is a > generic IBM compatible computer using an ATX type motherboard with a > PS/2 mouse attached to a port on the motherboard. > > lsmod reveals: > > psmouse 14920 0 > > However, I do not appear to have any mouse device listed in /dev > > ls /dev/psaux > ls: cannot access /dev/psaux: No such file or directory > > ls /dev/mouse > ls: cannot access /dev/mouse: No such file or directory > > ls /dev/input/mice > ls: cannot access /dev/input/mice: No such file or directory > > Have I forgotten to configure something? > > Mark. Modern systems use the 'evdev' X driver to accesses the '/dev/input/ event<X>' devices. Check with 'cat /proc/bus/input/devices'. -- Vladimir |
| ||||
| In alt.os.linux.gentoo AZ Nomad <aznomad.3@premoveobthisox.com> wrote: > ? -> Mouse interface (INPUT_MOUSEDEV [=y]) ? Ok. Mine is a module. modprobe mousedev ls -l /dev/input/mice crw-r--r-- 1 root root 13, 63 Apr 16 19:18 /dev/input/mice Ok, that fixed it. Cheers. Mark. -- Mark Hobley, 393 Quinton Road West, Quinton, BIRMINGHAM. B32 1QE. |