Re: gpm with USB mouse and devfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ciao Alessandro (& Hi to all on the list),
 
Thanks for you reply and apologies for my double send of the email (accident) and the text-only email suggestion you made is happily taken on board! :)
 
Unfortunately I still have the problem and after looking over my configuration files and doing some testing of other modules autoloading, they appear fine; (but then i'm a nOOb, so what would I know =)
 
A modprobe -c (for my default settings) shows the following relevant lines:
alias char-major-13 input
alias char-major-13-32 mousedev
 
My devfsd.conf file has the following changed from it's defaults:
1. Full compatibility mode for old device names Disabled (Using native devfs device names only)
2. USB Mouse section has /dev/input/mice$ REGISTER/UNREGISTER enabled (/dev/input/mouse* disabled)
3. Module Autoloading setting is on by default so that has been left as is
 
The autogenerated modules.devfs has the relevant entry:
    # Input Devices
    alias /dev/input/mouse* mousedev
 
My /etc/mouse/sysconfig file has the MDEVICE set to /dev/input/mice
 
I have created a modules.conf to make the correct modules for my mouse autoload in time for gpm to pick it up as follows:
    alias char-major-13-63 mousedev (<----don't even think this is needed if I have the alias /dev/input/mice mousedev?)
    alias /dev/input/mice mousedev
    pre-install mousedev modprobe usb-uhci && modprobe hid
 
The error I get is:
    oops(): [/usr/src/gpm-1.20.0/src/gpm.c(936)]: Could not open /dev/input/mice.
 
If I modprobe mousedev it works, but if I just let the system boot up (& gpm is in the startup script just before login) the devices don't get autoloaded when the gpm program calls for /dev/input/mice.
 
I hope someone has some suggestions!
 
Cheers,
 
Frank
 
 
 
 
----- Original Message -----
From: "Alessandro Rubini" <rubini@xxxxxxx>
Sent: Sunday, December 01, 2002 8:03 PM
Subject: Re: gpm with USB mouse and devfs

>
> > to "imps2"). The error I get is a "Device /dev/input/mice not found".
>
> I'd better like to see errno used, so the message is more specific and
> standardized in language (Nico, do you agree?).
>
> Regardless, the error is in the open() call, because there is no such
> device registered in the kernel.  However, how could the system
> know what device is associated to /dev/input/mice?
>
> > 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,
>
> Good. Then you just need to load those modules automatically. But this
> is better done when the USB device is plugged than at open time.  In
> any case, what you need is setting up /etc/modules.conf with the right
> information for autoload to happen.
>
> It's not a gpm problem. Still, if anyone has a reply, that is welcome.
>
> /alessandro, not autoloading modules to keep his life simple
>
> > ------=_NextPart_000_0060_01C298CB.F2D19640
> > Content-Type: text/html;
>
> PS: please avoid sending two copies of your mail message. The html is
> definitely unneeded and exceedingly long. You should configure your mailer
> to only send the text version of your messages.
>
> --
> Alessandro Rubini, free software specialist.
> Device drivers, embedded systems, courses.
>
http://ar.linux.it/
> _______________________________________________
> gpm mailing list
>
gpm@xxxxxxxxxxxxxx
> http://lists.linux.it/listinfo/gpm
>
 

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

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]