Pre neki dan sam kupio novog Logitech RX300 miša i sad imam nekoliko pitanja/problema?:
Ovako, za miša imam UDEV pravilo koje mi pravi uređaj u /dev/input/rx300 i kada u /etc/X11/xorg.conf-u podesim sledeće parametre za InputDevice, X odbije da se podigne
Kod: Xorg.conf Section "InputDevice"
Identifier "RX300"
Driver "evdev"
Option "Name" "Logitech USB-PS/2 Optical Mouse" #Ovo sam izvuk'o iz /proc/bus/input/devices
EndSection
takođe sam probao i sa sledećim opcijama i ništa od ovoga ne radi.
Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
Option "Device" "/dev/input/rx300" -> Ovo ne može da radi ako je preko udev-a podešeno ime uređaja drugačije od eventX (pogledati man u nastavku).
U logu piše sledeće:
Kod: /var/log/Xorg.0.log (II) evdev brain: Rescanning devices (1).
(EE) PreInit returned NULL for "RX300"
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
Probao sam da izključim UDEV pravilo koje mi pravi rx300 uređaj i da Xorg.conf podesim ovako
Kod: Xorg.conf Section "InputDevice"
Identifier "RX300"
Driver "evdev"
Option "Device" "/dev/input/event1" #Takođe iz /proc/bus/input/devices
EndSection
i sve radi normalno!
Iz `man evdev` sam izvukao sledeće
Citat: Option "Device" "string"
Specifies the device note through which the device can be accessed. At this time ONLY /dev/input/event<N>, where <N> is an inte-
ger, are matched against this this field.
This option uses globbing.
Please note that use of this option is strongly discouraged.
Option "Name" "string"
Specifies the device name for the device you wish to use.
The device name is generally the only consistent identifier for devices that are commonly unplugged and plugged back into differ-
ent ports.
A list of currently plugged in devices and associated device names can be obtained by typing "cat /proc/bus/input/devices", the
"Name" field is the value you want for this option.
This option uses globbing.
i sudeći po ovome, moje prvo podešavanje Xorg.conf-a bi trebalo da je dobro, a ne radi ?!
Imam iskopajliran i učitan evdev kernel modul i emergovan xorg-server driver (xf86-input-evdev).
F1 Gde grešim?
|