[gpm]gpm with USB mouse and devfs in Native device naming mode

Flavio Bagnato fbagnato@bigpond.com
Sat, 30 Nov 2002 23:52:49 +1100


This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C298CB.9697A9A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,

I have just built a "Linux from Scratch" system which so far seems to =
have worked well. (yes I am a bit of a newbie so be gentle!)

I have gpm (1.20.0) startup in my sysvinit scripts and my =
/etc/sysconfig/mouse has the MDEVICE set to /dev/input/mice.

For device management, I solely use devfs (the latest version) (ie. I do =
not use /dev/pts at all).

The problem I seem to be having is gpm program doesn't seem to trigger =
the devfs program to automatically load the appropriate mouse drivers. =
(I have a Microsoft USB Optical Wheel Mouse and the gpm PROTOCOL is set =
to "imps2"). The error I get is a "Device /dev/input/mice not found".=20

If I have modprobe usb-uhci, input, hid and mousedev statements =
somewhere in my rc startup scripts, the mouse driver loads and gpm works =
perfectly, however the way my newbie Linux mind expected it would work =
is that since gpm would want the mouse device, then devfs would get a =
call for it and load the appropriate driver modules by itself?

Is gpm fully devfs "compliant"? ie. would this be a problem with gpm or =
devfs? (or is it my lack of knowledge meaning that all is ok and I do =
have to leave the modprobes in the startups to load the drivers =
manually? hmm....doesn't sound right to me).=20

PS: I have tested my modules setup by mounting my windows drive and =
lsmod shows new modules loaded, so there doesn't seem to be a problem in =
the way I have setup my modules as they are auto sensing and loading =
properly for other things.

Regards,

Frank





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 13/11/2002

------=_NextPart_000_002D_01C298CB.9697A9A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have just built a "Linux from =
Scratch" system=20
which so far seems to have worked well. (yes I am a bit of a newbie so =
be=20
gentle!)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I </FONT><FONT face=3DArial =
size=3D2>have gpm=20
(1.20.0)&nbsp;startup in my sysvinit scripts and my /etc/sysconfig/mouse =
has the=20
MDEVICE set to /dev/input/mice.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For device management, I&nbsp;solely =
use devfs (the=20
latest version)&nbsp;(ie. I do not use /dev/pts at all).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The problem I seem to be having is gpm =
program=20
doesn't seem to trigger the devfs program to automatically load the =
appropriate=20
mouse drivers. (I have a Microsoft USB Optical Wheel Mouse and the gpm =
PROTOCOL=20
is set to "imps2"). The error I get is a "Device /dev/input/mice not =
found".=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I have modprobe usb-uhci, input, hid =
and=20
mousedev statements somewhere in my rc startup scripts, the mouse driver =
loads=20
and gpm works perfectly, however the way my newbie Linux =
mind&nbsp;expected it=20
would work is that since gpm would want the mouse device, then devfs =
would get a=20
call for it and load the appropriate driver modules by =
itself?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is gpm fully devfs "compliant"? ie. =
would this be a=20
problem with gpm or devfs? (or is it my lack of knowledge meaning that =
all is ok=20
and&nbsp;I do have to leave the modprobes in the startups to load the =
drivers=20
manually? hmm....doesn't sound right to me). </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PS: I have tested my modules setup by =
mounting my=20
windows drive and lsmod shows new modules loaded, so there doesn't seem =
to be a=20
problem in the way I have setup my modules as they are auto sensing and =
loading=20
properly for other things.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Frank</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>---<BR>Outgoing mail is certified =
Virus=20
Free.<BR>Checked by AVG anti-virus system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.419 /=20
Virus Database: 235 - Release Date: =
13/11/2002</FONT></DIV></BODY></HTML>

------=_NextPart_000_002D_01C298CB.9697A9A0--