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

Re: ps/2 mouse support ?



Rob Weir wrote:
On Sat, May 10, 2003 at 03:04:34AM +0200, Eric wrote:

Hi,

Is there any kernel module to load in order to add support to a ps/2 mouse?

My problem: while trying to add support for my ps/2 mouse in my system running a 2.4.18-686-smp kernel (woody+security updates), the only way I found to get it was to load the usb-ohci kernel module :-/

Indeed, [...]

Any way (other than using USB kernel code) to add support to my ps/2 mouse (a simple Logitech 3btns+wheelscroll with 6 pins ps/2 connector)?


That's odd.  I'd bet that usb-ohci is loading another module, though,
like 'psaux' or 'mouse'...run 'lsmod' to see, and then just loading that
should be enough in the future.


I did suspect that also, but could not find anything special with lsmod. Below is some shell output:

$ lsmod
Module                  Size  Used by    Not tainted
nfsd                   65632   8  (autoclean)
lockd                  47136   1  (autoclean) [nfsd]
sunrpc                 63860   1  (autoclean) [nfsd lockd]
rtc                     6104   0  (autoclean)
unix                   15236   5  (autoclean)
sd_mod                 10556  12  (autoclean)
aic7xxx               104672   6  (autoclean)
scsi_mod               87320   2  (autoclean) [sd_mod aic7xxx]
ext2                   31840   3  (autoclean)
ext3                   58848   2  (autoclean)
jbd                    38056   2  (autoclean) [ext3]
$
$ modprobe usb-ohci
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe08fd000, IRQ 19
usb-ohci.c: usb-02:00.0, Advanced Micro Devices [AMD] AMD-768 [??] USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
usb-ohci.c: USB OHCI at membase 0xe08ff000, IRQ 17
usb-ohci.c: usb-02:06.0, NEC Corporation USB
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB new device connect on bus2/1, assigned device number 2
hub.c: USB hub found
usb-ohci.c: USB OHCI at membase 0xe0901000, IRQ 18
usb-ohci.c: usb-02:06.1, NEC Corporation USB (#2)
hub.c: 4 ports detected
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
$
$ lsmod
Module                  Size  Used by    Not tainted
usb-ohci               18368   0  (unused)
usbcore                50272   0  [usb-ohci]
nfsd                   65632   8  (autoclean)
lockd                  47136   1  (autoclean) [nfsd]
sunrpc                 63860   1  (autoclean) [nfsd lockd]
rtc                     6104   0  (autoclean)
unix                   15236   5  (autoclean)
sd_mod                 10556  12  (autoclean)
aic7xxx               104672   6  (autoclean)
scsi_mod               87320   2  (autoclean) [sd_mod aic7xxx]
ext2                   31840   3  (autoclean)
ext3                   58848   2  (autoclean)
jbd                    38056   2  (autoclean) [ext3]

Once again, if then I unload usb-ohci and usbcore, 'cat /dev/psaux' prints some characters (until I reboot my system of course!).

Thanks
Eric




Reply to: