Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: DyL 30 Srpna 2007, 20:20:40
-
Mam touchscreen LG L1730SF po dlhsom case sa mi podarilo nainstalovat ovladac.
Pouzil som evtouch driver.
Prikazom cat /proc/bus/input/devices si zistim aky event ma touchscreen
I: Bus=0003 Vendor=0403 Product=f9e9 Version=0100
N: Name="ITM Inc USB Touch Panel"
P: Phys=/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
Cize je to event3. Do xorg.conf som nahodil toto
Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event3"
Option "DeviceName" "touchscreen"
Option "MinX" "3850"
Option "MinY" "3980"
Option "MaxX" "300"
Option "MaxY" "220"
Option "Rotate" "cw"
Option "SwapX" "1"
Option "ReportingMode" "Raw"
Option "SendCoreEvents"
EndSection
potom ctrl alt backspace a funguje.
Ale mam problem ze len do najblizsieho rebootu. Pretoze po restarte sa touchscreen naload-uje pod inym eventom.
Malo by sa to dat vyriesit pomocou pravidiel local rules
Vytvoril som pomocou sudo gedit /etc/udev/rules.d/10-local.rules
nahodil som tam:
SUBSYSTEMS=="usb", DRIVERS=="touchscreen",
KERNEL=="event*", SYMLINK+="input/touchscreen"
a do xorg.conf namiesto:
Option "Device" "/dev/input/event3"
som dal
Option "Device" "/dev/input/touchscreen"
Ale bohuzial nefunguje. Som z toho na vetvy. Nevie niekto poradit kde robim chybu?
-
Skus toto, mne to funguje:
KERNEL=="event[0-9]*", SYSFS{idVendor}=="0403", SYSFS{idProduct}=="f9e9", SYMLINK+="input/touchscreen"
-
Super, vyriesene. Dakujem