Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:08 PM
Mark Hobley
 
Posts: n/a
Default I don't appear to have a mouse device on my Gentoo based computer

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 04:08 PM
Aragorn
 
Posts: n/a
Default Re: I don't appear to have a mouse device on my Gentoo based computer

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 04:08 PM
AZ Nomad
 
Posts: n/a
Default Re: I don't appear to have a mouse device on my Gentoo based computer

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 04:08 PM
AZ Nomad
 
Posts: n/a
Default Re: I don't appear to have a mouse device on my Gentoo based computer

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])
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 04:08 PM
Vladimir Florinski
 
Posts: n/a
Default Re: I don't appear to have a mouse device on my Gentoo basedcomputer

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-17-2008, 04:08 PM
Mark Hobley
 
Posts: n/a
Default Re: I don't appear to have a mouse device on my Gentoo based computer

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145