linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: /dev/input/mice doesn't work in test9?
@ 2003-10-31  8:03 "Andrey Borzenkov" 
  2003-10-31 14:27 ` Shawn Willden
  2003-11-01 20:56 ` DervishD
  0 siblings, 2 replies; 8+ messages in thread
From: "Andrey Borzenkov"  @ 2003-10-31  8:03 UTC (permalink / raw)
  To: "Shawn Willden" ; +Cc: linux-kernel


> I'm sure I'm just missing something stupid, but google doesn't seem to turn 
> up anything, so...

> I'm trying to use 2.6.0-test9 on a machine with a USB mouse.  With 2.4, I 
> have X configured to use /dev/input/mice (c 13 63) as my mouse pointer, 
> and it works great.  With test9, XFree86 fails to start because it can't 
> open the mouse.  The error is "xf86OpenSerial: Cannot open device /dev/
> input/mice  No such device.".

> 'cat /dev/input/mice' also gives me "No such device".

> /dev/input/mouse0 (c 13 32) doesn't work either.

> I believe all of the relevant modules are loaded and the light on my 
> optical mouse is lit, indicating that it has been powered by the usbmouse 
> driver (as I understand it).

You are missing mousedev that is the driver that actually provides
/dev/input/mice. usbmouse (which is actually redundand with hid) speaks
with hardware and mousedev speaks with user :)

The whole input subsystem has changed between 2.4 and 2.6. Unfortunately,
input sysbsystem hotplugging is not currently implemented. Your best bet
is to forcibly load mousedev during boot. Alternatively look into hotplug
for usermap, it allows provide fake mapping for modules - you could add
mapping from UDB IDs of oyur mouse to mousedev. Loading it statically is
likely to be more simple.

regards

-andrey

^ permalink raw reply	[flat|nested] 8+ messages in thread
* /dev/input/mice doesn't work in test9?
@ 2003-10-30 18:32 Shawn Willden
  0 siblings, 0 replies; 8+ messages in thread
From: Shawn Willden @ 2003-10-30 18:32 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

I'm sure I'm just missing something stupid, but google doesn't seem to turn 
up anything, so...

I'm trying to use 2.6.0-test9 on a machine with a USB mouse.  With 2.4, I 
have X configured to use /dev/input/mice (c 13 63) as my mouse pointer, 
and it works great.  With test9, XFree86 fails to start because it can't 
open the mouse.  The error is "xf86OpenSerial: Cannot open device /dev/
input/mice  No such device.".

'cat /dev/input/mice' also gives me "No such device".

/dev/input/mouse0 (c 13 32) doesn't work either.

I believe all of the relevant modules are loaded and the light on my 
optical mouse is lit, indicating that it has been powered by the usbmouse 
driver (as I understand it).

Any suggestions as to what might be wrong or how I could investigate it?

I'm attaching the output of lsmod, in case it's useful.  The test9 build 
I'm using is the one packaged by Debian.

Thanks,

Shawn.

[-- Attachment #2: lsmod --]
[-- Type: text/plain, Size: 2365 bytes --]

Module                  Size  Used by
md5                     3968  1 
ipv6                  234688  8 
sd_mod                 15776  0 
sg                     34840  0 
sr_mod                 15396  0 
scsi_mod              110136  3 sd_mod,sg,sr_mod
ide_cd                 38020  0 
cdrom                  32416  2 sr_mod,ide_cd
usbmouse                5376  0 
hid                    30528  0 
smbfs                  61944  0 
uhci_hcd               30224  0 
ohci_hcd               17536  0 
ehci_hcd               22532  0 
usbcore               101980  7 usbmouse,hid,uhci_hcd,ohci_hcd,ehci_hcd
parport_pc             34220  1 
lp                     10560  0 
parport                40552  2 parport_pc,lp
via82cxxx_audio        27144  0 
uart401                11460  1 via82cxxx_audio
sound                  77996  2 via82cxxx_audio,uart401
soundcore               9152  2 via82cxxx_audio,sound
ac97_codec             17292  1 via82cxxx_audio
rtc                    12344  0 
ext3                  107688  2 
jbd                    56728  1 ext3
ide_disk               16384  4 
via82cxxx              13596  1 [unsafe]
trm290                  4996  0 
triflex                 5508  0 
slc90e66                8200  0 
sis5513                15496  0 
siimage                13028  0 
serverworks            12308  0 
sc1200                  8584  0 
rz1000                  3200  0 
piix                   11936  0 
pdc202xx_old           15388  0 
opti621                 4740  0 
ns87415                 5064  0 
hpt366                 19396  0 
hpt34x                  5504  0 
generic                 4096  0 
cy82c693                4996  0 
cs5530                  6792  0 
cs5520                  6280  0 
ide_probe_mod          16384  1 cs5520,[unsafe]
cmd64x                 11676  0 
amd74xx                12312  0 
alim15x3               11404  0 
aec62xx                 9756  0 
pdc202xx_new           11548  0 
ide_mod               137260  27 ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,ide_probe_mod,cmd64x,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix                   26928  22 
font                    8576  0 
cfbcopyarea             4096  0 
cfbimgblt               3456  0 
cfbfillrect             3968  0 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-11-02 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-31  8:03 /dev/input/mice doesn't work in test9? "Andrey Borzenkov" 
2003-10-31 14:27 ` Shawn Willden
2003-11-01 20:56 ` DervishD
2003-11-02 10:12   ` Andrey Borzenkov
2003-11-02 12:08     ` DervishD
2003-11-02 17:45       ` Andrey Borzenkov
2003-11-02 20:37         ` DervishD
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 18:32 Shawn Willden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).