* Re: [Comm] Интерактивная доска
2015-02-02 23:48 [Comm] Интерактивная доска Писковой Иванъ
@ 2015-02-07 13:42 ` Писковой Иванъ
2015-02-07 22:42 ` Michael Shigorin
0 siblings, 1 reply; 3+ messages in thread
From: Писковой Иванъ @ 2015-02-07 13:42 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 5993 bytes --]
В сообщении от Вторник, 03-фев-2015 07:48:40 вы написали:
> Здравствуйте.
> Есть у нас в школе интерактивная доска, без опознавательных знаков, но с
> надписью Classic solution. Ещё есть диск к ней с программой Whiteboard
> v2.5 и инструкция к программе со ссылкой на www.classic-solution.com.
> На виндах доска работает, но хотелось бы в альте. Определяется так:
>
> [16138.344062] usb 2-2: new full-speed USB device number 94 using uhci_hcd
> [16139.683174] input: RIOTOUH CO., LTD RioTouch IRTouchscreen as
> /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/0003:10C4:8003.0006/input/
> input21 [16139.684084] hid-multitouch 0003:10C4:8003.0006:
> input,hiddev0,hidraw1: USB HID v1.10 Mouse [RIOTOUH CO., LTD RioTouch
> IRTouchscreen] on
> usb-0000:00:1d.0-2/input0
>
> А чего делать дальше, не пойму.
Добился видимости устройства иксами. Однако, всё равно не работает.
Что сделал: загрузил модули ядра cy8ctmg110_ts, cyttsp_core, cyttsp_i2c,
cyttsp_spi (не знаю, какой из них правильный, пока все грузятся), и создал в
/etc/X11/xorg.conf.d/91input-whiteboard.conf:
Section "InputClass"
Identifier "whb"
MatchIsTouchscreen "true"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "whb1"
MatchIsTouchscreen "true"
MatchDevicePath "/dev/input/mouse*"
Driver "evdev"
EndSection
После этого иксы в логе пишут следующее:
[ 39.324]
X.Org X Server 1.14.5
Release Date: 2013-12-12
[ 39.324] X Protocol Version 11, Revision 0
[ 39.324] Build Operating System: ALT Linux Sisyphus (20081222) x86_64
[ 39.324] Current Operating System: Linux host-101.localdomain 3.10.30-std-
def-alt1 #1 SMP Fri Feb 14 10:33:49 UTC 2014 x86_64
[ 39.324] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=UUID=d91d9be8-
e19e-4d56-94a8-34655f89792b ro quiet=1 resume=/dev/disk/by-
uuid/63d130a9-2519-4d86-8257-c81dfe53beeb panic=30 splash
[ 39.324] Build Date: 29 January 2014 10:51:02PM
[ 39.324]
[ 39.324] Current version of pixman: 0.28.2
[ 39.325] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 39.325] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
...
[ 40.313] (II) config/udev: Adding input device RIOTOUH CO., LTD RioTouch
IRTouchscreen (/dev/input/event9)
[ 40.313] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: Applying InputClass
"evdev touchscreen catchall"
[ 40.313] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: Applying InputClass
"whb"
[ 40.313] (II) Using input driver 'evdev' for 'RIOTOUH CO., LTD RioTouch
IRTouchscreen'
[ 40.313] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: always reports core
events
[ 40.313] (**) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Device:
"/dev/input/event9"
[ 40.314] (II) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Using mtdev
for this device
[ 40.314] (--) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Vendor
0x10c4 Product 0x8003
[ 40.314] (--) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Found
absolute axes
[ 40.314] (--) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Found
absolute multitouch axes
[ 40.314] (II) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: No buttons
found, faking one.
[ 40.314] (--) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Found x and
y absolute axes
[ 40.314] (--) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Found
absolute touchscreen
[ 40.314] (II) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Configuring
as touchscreen
[ 40.314] (**) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen:
YAxisMapping: buttons 4 and 5
[ 40.314] (**) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen:
EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 40.314] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:12.0/usb1/1-2/1-2:1.0/input/input9/event9"
[ 40.314] (II) XINPUT: Adding extended input device "RIOTOUH CO., LTD
RioTouch IRTouchscreen" (type: TOUCHSCREEN, id 9)
[ 40.315] (II) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: initialized
for absolute axes.
[ 40.315] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: (accel) keeping
acceleration scheme 1
[ 40.315] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: (accel)
acceleration profile 0
[ 40.315] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: (accel)
acceleration factor: 2.000
[ 40.315] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: (accel)
acceleration threshold: 4
[ 40.316] (II) config/udev: Adding input device RIOTOUH CO., LTD RioTouch
IRTouchscreen (/dev/input/mouse1)
[ 40.316] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: Applying InputClass
"whb1"
[ 40.316] (II) Using input driver 'evdev' for 'RIOTOUH CO., LTD RioTouch
IRTouchscreen'
[ 40.316] (**) RIOTOUH CO., LTD RioTouch IRTouchscreen: always reports core
events
[ 40.316] (**) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: Device:
"/dev/input/mouse1"
[ 40.316] (EE) evdev: RIOTOUH CO., LTD RioTouch IRTouchscreen: ioctl
EVIOCGBIT for bitmask in EvdevOpenMTDev failed: Inappropriate ioctl for device
[ 40.316] (EE) RIOTOUH CO., LTD RioTouch IRTouchscreen: Couldn't open mtdev
device
[ 40.376] (EE) PreInit returned 2 for "RIOTOUH CO., LTD RioTouch
IRTouchscreen"
[ 40.376] (II) UnloadModule: "evdev"
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread