Re: mouse USB
Il Wed, Apr 28, 2004 at 03:18:06PM +0100, alberto ha scritto:
>
> I moduli ci sono. Sui device non sono sicuro: ecco cio' che ho:
>
> crw-rw---- 1 root root 13, 63 Mar 14 2002 /dev/input/mice
> crw------- 1 root root 10, 1 Apr 28 15:07 /dev/psaux
> Se faccio cat /dev/input/mice, mi dice, pero', che "no such device!"
> Il log di X, riporta la stessa cosa:
> (EE) xf86OpenSerial: Cannot open device /dev/input/mice
> No such device.
> (EE) Intelli Mouse: cannot open input device
> (EE) PreInit failed for input device "Intelli Mouse"
>
> Che sta succedendo?
Che kernel hai? L'hai compilato tu?
Sembrerebbe che manchi qualcosa nella sezione input layer, ricordo che
nei primi 2.6.x non era presente nei menu per via di qualche pasticcio
nello script di configurazione.
Verifica se hai, o crea con MAKEDEV, questi device:
crw------- 1 root root 10, 150 2003-09-15 15:40 /dev/input/keyboard
crw------- 1 root root 13, 63 2003-09-15 15:40 /dev/input/mice
crw------- 1 root root 10, 149 2003-09-15 15:40 /dev/input/mouse
crw------- 1 root root 13, 32 2003-09-15 15:40 /dev/input/mouse0
crw------- 1 root root 13, 33 2003-09-15 15:40 /dev/input/mouse1
crw------- 1 root root 13, 42 2003-09-15 15:40 /dev/input/mouse10
crw------- 1 root root 13, 43 2003-09-15 15:40 /dev/input/mouse11
crw------- 1 root root 13, 44 2003-09-15 15:40 /dev/input/mouse12
crw------- 1 root root 13, 45 2003-09-15 15:40 /dev/input/mouse13
crw------- 1 root root 13, 46 2003-09-15 15:40 /dev/input/mouse14
crw------- 1 root root 13, 47 2003-09-15 15:40 /dev/input/mouse15
crw------- 1 root root 13, 48 2003-09-15 15:40 /dev/input/mouse16
crw------- 1 root root 13, 49 2003-09-15 15:40 /dev/input/mouse17
crw------- 1 root root 13, 50 2003-09-15 15:40 /dev/input/mouse18
crw------- 1 root root 13, 51 2003-09-15 15:40 /dev/input/mouse19
crw------- 1 root root 13, 34 2003-09-15 15:40 /dev/input/mouse2
crw------- 1 root root 13, 52 2003-09-15 15:40 /dev/input/mouse20
crw------- 1 root root 13, 53 2003-09-15 15:40 /dev/input/mouse21
crw------- 1 root root 13, 54 2003-09-15 15:40 /dev/input/mouse22
crw------- 1 root root 13, 55 2003-09-15 15:40 /dev/input/mouse23
crw------- 1 root root 13, 56 2003-09-15 15:40 /dev/input/mouse24
crw------- 1 root root 13, 57 2003-09-15 15:40 /dev/input/mouse25
crw------- 1 root root 13, 58 2003-09-15 15:40 /dev/input/mouse26
crw------- 1 root root 13, 59 2003-09-15 15:40 /dev/input/mouse27
crw------- 1 root root 13, 60 2003-09-15 15:40 /dev/input/mouse28
crw------- 1 root root 13, 61 2003-09-15 15:40 /dev/input/mouse29
crw------- 1 root root 13, 35 2003-09-15 15:40 /dev/input/mouse3
crw------- 1 root root 13, 62 2003-09-15 15:40 /dev/input/mouse30
crw------- 1 root root 13, 36 2003-09-15 15:40 /dev/input/mouse4
crw------- 1 root root 13, 37 2003-09-15 15:40 /dev/input/mouse5
crw------- 1 root root 13, 38 2003-09-15 15:40 /dev/input/mouse6
crw------- 1 root root 13, 39 2003-09-15 15:40 /dev/input/mouse7
crw------- 1 root root 13, 40 2003-09-15 15:40 /dev/input/mouse8
crw------- 1 root root 13, 41 2003-09-15 15:40 /dev/input/mouse9
Ricorda che /dev/input/mice gestisce tutti i mouse insieme, ed è comodo
per usare insieme mouse e tavoletta, o mouse e touchpad.
e poi, nella configurazione del kernel (2.6.5 nel mio caso, con un
singolo mouse USB):
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
CONFIG_INPUT_UINPUT=m
#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
--
Registered user at http://counter.li.org # 170453
Jabber JID: silvio@jabber.linux.it
GnuPG Key fingerprint = 10E0 2B05 0B0A 3525 8760 788B 59B6 C74A 250E 65B6
Reply to: