LINUX.ORG.RU

Китайский аналог apple magic trackpad

 , , ,


0

1

Есть китайский «внешний» трекпад, аналог «apple magic trackpad». И openSUSE Tumbleweed.Трекпад подключается по USB или Bluetooth.

При подключении по проводу система его видит, в «параметры системы» - «сенсорная панель» появляются настройки, но курсор не ездит, жесты не работают. Про подключении по блютуз курсор ездит, жесты работают, но определяется как мышь. В «сенсороная панель» соотсветственно настроек нет.

Есть у кого идеи, как заставить его по проводу работать? Пробовал ставить драйвер synaptics - то же самое. Настроек больше появляется в параметрах системы, но не работает. в dmesg отображается как magicmouse:

[ 3021.860803] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[ 3021.958531] usb 1-1.3: New USB device found, idVendor=05ac, idProduct=0265, bcdDevice= 1.08
[ 3021.958545] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3021.960443] input: HID 05ac:0265 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:05AC:0265.0007/input/input21
[ 3021.960610] magicmouse 0003:05AC:0265.0007: input,hiddev97,hidraw1: USB HID v1.00 Mouse [HID 05ac:0265] on usb-0000:00:1a.0-1.3/input0
[ 3021.964453] input: HID 05ac:0265 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:05AC:0265.0008/input/input22
[ 3021.964657] magicmouse 0003:05AC:0265.0008: input,hiddev98,hidraw3: USB HID v1.00 Mouse [HID 05ac:0265] on usb-0000:00:1a.0-1.3/input1
В «xinput --list» отображается как «HID 05ac:0265»:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ HID 05ac:0265                             id=8    [slave  pointer  (2)]
⎜   ↳ HID 05ac:0265                             id=9    [slave  pointer  (2)]
в xinput --list-props отображается как трекпад - много свойств со словом «tapping»:
Device 'HID 05ac:0265':
        Device Enabled (156):   1
        Coordinate Transformation Matrix (158): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (287): 1
        libinput Tapping Enabled Default (288): 0
        libinput Tapping Drag Enabled (289):    1
        libinput Tapping Drag Enabled Default (290):    1
        libinput Tapping Drag Lock Enabled (291):       0
        libinput Tapping Drag Lock Enabled Default (292):       0
        libinput Tapping Button Mapping Enabled (293):  1, 0
        libinput Tapping Button Mapping Default (294):  1, 0
        libinput Natural Scrolling Enabled (295):       1
        libinput Natural Scrolling Enabled Default (296):       1
        libinput Scroll Methods Available (297):        1, 1, 0
        libinput Scroll Method Enabled (298):   1, 0, 0
        libinput Scroll Method Enabled Default (299):   1, 0, 0
        libinput Click Methods Available (300): 1, 1
        libinput Click Method Enabled (301):    0, 1
        libinput Click Method Enabled Default (302):    0, 1
        libinput Middle Emulation Enabled (303):        0
        libinput Middle Emulation Enabled Default (304):        0
        libinput Accel Speed (305):     0.000000
        libinput Accel Speed Default (306):     0.000000
        libinput Accel Profiles Available (307):        1, 1, 1
        libinput Accel Profile Enabled (308):   1, 0, 0
        libinput Accel Profile Enabled Default (309):   1, 0, 0
        libinput Accel Custom Fallback Points (310):    <no items>
        libinput Accel Custom Fallback Step (311):      0.000000
        libinput Accel Custom Motion Points (312):      <no items>
        libinput Accel Custom Motion Step (313):        0.000000
        libinput Accel Custom Scroll Points (314):      <no items>
        libinput Accel Custom Scroll Step (315):        0.000000
        libinput Left Handed Enabled (316):     0
        libinput Left Handed Enabled Default (317):     0
        libinput Send Events Modes Available (272):     1, 0
        libinput Send Events Mode Enabled (273):        0, 0
        libinput Send Events Mode Enabled Default (274):        0, 0
        Device Node (275):      "/dev/input/event6"
        Device Product ID (276):        1452, 613
        libinput Drag Lock Buttons (318):       <no items>
        libinput Horizontal Scroll Enabled (319):       1
        libinput Scrolling Pixel Distance (320):        15
        libinput Scrolling Pixel Distance Default (321):        15
        libinput High Resolution Wheel Scroll Enabled (322):    1
в lsusb определяется как «Bus 001 Device 005: ID 05ac:0265 Apple, Inc»

evtest нажатия видит. В Windows работает.

Что ещё можно попробовать?

При подключении в /var/log/Xorg.0.log появляются строки:

[   574.446] (II) config/udev: Adding input device HID 05ac:0265 (/dev/input/mouse1)
[   574.446] (II) No input driver specified, ignoring this device.
[   574.446] (II) This device may have been added with another device file.
[   574.448] (II) config/udev: Adding input device HID 05ac:0265 (/dev/input/mouse2)
[   574.449] (**) HID 05ac:0265: Applying InputClass "system-keyboard"
[   574.449] (II) No input driver specified, ignoring this device.
[   574.449] (II) This device may have been added with another device file.
[   574.584] (II) config/udev: Adding input device HID 05ac:0265 (/dev/input/event14)
[   574.584] (**) HID 05ac:0265: Applying InputClass "evdev keyboard catchall"
[   574.584] (**) HID 05ac:0265: Applying InputClass "evdev touchpad catchall"
[   574.584] (**) HID 05ac:0265: Applying InputClass "libinput keyboard catchall"
[   574.585] (**) HID 05ac:0265: Applying InputClass "libinput touchpad catchall"
[   574.585] (**) HID 05ac:0265: Applying InputClass "system-keyboard"
[   574.585] (II) Using input driver 'libinput' for 'HID 05ac:0265'
[   574.585] (**) HID 05ac:0265: always reports core events
[   574.585] (**) Option "Device" "/dev/input/event14"
[   574.586] (II) event14 - HID 05ac:0265: is tagged by udev as: Keyboard Touchpad
[   574.587] (II) event14 - HID 05ac:0265: device is a touchpad
[   574.587] (II) event14 - HID 05ac:0265: device removed
[   574.603] (**) Option "Tapping" "On"
[   574.603] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.603] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.603] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.603] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:05AC:0265.0009/input/input26/event14"
[   574.603] (II) XINPUT: Adding extended input device "HID 05ac:0265" (type: TOUCHPAD, id 16)
[   574.605] (**) Option "AccelerationScheme" "none"
[   574.606] (**) HID 05ac:0265: (accel) selected scheme none/0
[   574.606] (**) HID 05ac:0265: (accel) acceleration factor: 2.000
[   574.606] (**) HID 05ac:0265: (accel) acceleration threshold: 4
[   574.607] (II) event14 - HID 05ac:0265: is tagged by udev as: Keyboard Touchpad
[   574.609] (II) event14 - HID 05ac:0265: device is a touchpad
[   574.747] (II) config/udev: Adding input device HID 05ac:0265 (/dev/input/event13)
[   574.747] (**) HID 05ac:0265: Applying InputClass "evdev touchpad catchall"
[   574.747] (**) HID 05ac:0265: Applying InputClass "libinput touchpad catchall"
[   574.747] (II) Using input driver 'libinput' for 'HID 05ac:0265'
[   574.747] (**) HID 05ac:0265: always reports core events
[   574.747] (**) Option "Device" "/dev/input/event13"
[   574.804] (II) event13 - HID 05ac:0265: is tagged by udev as: Touchpad
[   574.806] (II) event13 - HID 05ac:0265: device is a touchpad
[   574.806] (II) event13 - HID 05ac:0265: device removed
[   574.836] (**) Option "Tapping" "On"
[   574.836] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.836] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.836] (II) libinput: HID 05ac:0265: Step value 0 was provided, libinput Fallback acceleration function is used.
[   574.837] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:05AC:0265.0008/input/input25/event13"
[   574.837] (II) XINPUT: Adding extended input device "HID 05ac:0265" (type: TOUCHPAD, id 17)
[   574.839] (**) Option "AccelerationScheme" "none"
[   574.839] (**) HID 05ac:0265: (accel) selected scheme none/0
[   574.839] (**) HID 05ac:0265: (accel) acceleration factor: 2.000
[   574.839] (**) HID 05ac:0265: (accel) acceleration threshold: 4
[   574.897] (II) event13 - HID 05ac:0265: is tagged by udev as: Touchpad
[   574.898] (II) event13 - HID 05ac:0265: device is a touchpad
BityjPixel
() автор топика

Оригинал купи и не епи людям мозг.

Старый маджик трекпад (на батарейках) стоит 2-3к рублей на лохвито. Бт модуль еще рублей 300 (если у тебя его встроенного нет).

harbinger
()