You are not logged in.

#1 2011-10-31 23:15:34

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

[SOLVED] Apple Magic Trackpad issue

UPD: solution is in the 6th message of this thread. Also, this seems to be fixed upstream (I'm not sure, though)... Anyway, I had this line by default on my new setup. So no manual work needed.

Hi, I've just bought Apple Magic Trackpad which I'm going to use with my Arch installation.
I've tried to make this thing to work for more than 5 hours, but succeed with it's setup only twice. And seems, like it succeeds with no explicit reason. Thing works only on approximately every 50'th reboot .

Here is my xorg.conf.d/60-magictrackpad.conf file

Section "InputClass"
 Identifier "Magic Trackpad"
 MatchUSBID "05ac:030e"
 Driver "synaptics"
 Option "SHMConfig" "True"
EndSection

Here is dmesg output

[   38.892503] input: \xffffffd0\xffffffa2\xffffffa2\xffffffd1\xffffff80\xffffff80\xffffffd0\xffffffb5\xffffffb5\xffffffd0\xffffffba\xffffffba\xffffffd0\xffffffbf\xffffffbf\xffffffd0\xffffffb0\xffffffb0\xffffffd0\xffffffb4\xffffffb4 \xffffffd0\xffffffbf\xffffffbf\xffffffd0\xffffffbe\xffffffbe\xffffffd0\xffffffbb\xffffffbb\xffffffd1\xffffff8c\xffffff8c\xffffffd0\xffffffb7\xffffffb7\xffffffd0\xffffffbe\xffffffbe\xffffffd0\xffffffb2\xffffffb2\xffffffd0\xffffffb0\xffffffb0\xffffffd1\xffffff82\xffffff82\xffffffd0\xffffffb5\xffffffb5\xffffffd0\xffffffbb\xffffffbb\xffffffd1\xffffff8f\xffffff8f \xffffffc2\xffffffab\xffffffabcitycity\xffffffc2\xffffffbb\xffffffbb as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/bluetooth/hci0/hci0:11/input6
[   38.892676] magicmouse 0005:05AC:030E.0003: input,hidraw2: BLUETOOTH HID v1.60 Mouse [\xffffffd0\xffffffa2\xffffffa2\xffffffd1\xffffff80\xffffff80\xffffffd0\xffffffb5\xffffffb5\xffffffd0\xffffffba\xffffffba\xffffffd0\xffffffbf\xffffffbf\xffffffd0\xffffffb0\xffffffb0\xffffffd0\xffffffb4\xffffffb4 \xffffffd0\xffffffbf\xffffffbf\xffffffd0\xffffffbe\xffffffbe\xffffffd0\xffffffbb\xffffffbb\xffffffd1\xffffff8c\xffffff8c\xffffffd0\xffffffb7\xffffffb7\xffffffd0\xffffffbe\xffffffbe\xffffffd0\xffffffb2\xffffffb2\xffffffd0\xffffffb0\xffffffb0\xffffffd1\xffffff82\xffffff82\xffffffd0\xffffffb5\xffffffb5\xffffffd0\xffffffbb\xffffffbb\xffffffd1\xffffff8f\xffffff8f \xffffffc2\xffffffab\xffffffabcitycity\xffffffc2\xffffffbb\xffffffbb] on 00:02:72:15:5B:C7
[   38.993692] magicmouse 0005:05AC:030E.0003: unable to request touch data (-5)
[   39.030209] magicmouse: probe of 0005:05AC:030E.0003 failed with error -5

And here is Xorg.0.log (Трекпад пользователя «citycity» is localized name set by local dealer I guess. Anyway, it is my Apple Magic Trackpad)

[    38.894] (II) config/udev: Adding input device Трекпад пользователя «citycity» (/dev/input/event6)
[    38.894] (**) Трекпад пользователя «citycity»: Applying InputClass "evdev touchpad catchall"
[    38.894] (**) Трекпад пользователя «citycity»: Applying InputClass "touchpad catchall"
[    38.894] (**) Трекпад пользователя «citycity»: Applying InputClass "Magic Trackpad"
[    38.894] (II) LoadModule: "synaptics"
[    38.894] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    38.909] (II) Module synaptics: vendor="X.Org Foundation"
[    38.909] 	compiled for 1.11.0, module version = 1.5.0
[    38.909] 	Module class: X.Org XInput Driver
[    38.909] 	ABI class: X.Org XInput driver, version 13.0
[    38.909] (II) Using input driver 'synaptics' for 'Трекпад пользователя «citycity»'
[    38.909] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    38.909] (**) Трекпад пользователя «citycity»: always reports core events
[    38.909] (**) Option "Device" "/dev/input/event6"
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: x-axis range -2909 - 3167
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: y-axis range -2456 - 2565
[    38.986] (II) synaptics: Трекпад пользователя «citycity»: device does not report pressure, will use touch data.
[    38.986] (II) synaptics: Трекпад пользователя «citycity»: device does not report finger width.
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: buttons: left right double triple scroll-buttons
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: Vendor 0x5ac Product 0x30e
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: invalid pressure range.  defaulting to 0 - 255
[    38.986] (--) synaptics: Трекпад пользователя «citycity»: invalid finger width range.  defaulting to 0 - 15
[    38.986] (**) Option "SHMConfig" "False"
[    38.986] (**) Option "TapButton1" "1"
[    38.986] (**) Option "TapButton2" "2"
[    38.986] (**) Option "TapButton3" "3"
[    39.013] (--) synaptics: Трекпад пользователя «citycity»: touchpad found
[    39.013] (**) Трекпад пользователя «citycity»: always reports core events
[    39.023] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/bluetooth/hci0/hci0:11/input6/event6"
[    39.023] (II) XINPUT: Adding extended input device "Трекпад пользователя «citycity»" (type: TOUCHPAD, id 10)
[    39.023] (**) synaptics: Трекпад пользователя «citycity»: (accel) MinSpeed is now constant deceleration 2.5
[    39.023] (**) synaptics: Трекпад пользователя «citycity»: MaxSpeed is now 1.75
[    39.023] (**) synaptics: Трекпад пользователя «citycity»: AccelFactor is now 0.025
[    39.023] (**) Трекпад пользователя «citycity»: (accel) keeping acceleration scheme 1
[    39.023] (**) Трекпад пользователя «citycity»: (accel) acceleration profile 1
[    39.023] (**) Трекпад пользователя «citycity»: (accel) acceleration factor: 2.000
[    39.023] (**) Трекпад пользователя «citycity»: (accel) acceleration threshold: 4
[    39.023] (EE) xf86OpenSerial: Cannot open device /dev/input/event6
	No such file or directory.
[    39.023] (WW) synaptics: Трекпад пользователя «citycity»: cannot open input device
[    39.023] [dix] couldn't enable device 10
[    39.023] (EE) Couldn't init device "Трекпад пользователя «citycity»"
[    39.023] (II) UnloadModule: "synaptics"
[    39.023] (II) Unloading synaptics

Seems like /dev/input/event* is not created when needed. Perhaps there is some configuration issue with udev?

Please, help me to resolve this issue.

Thanks in advance.

Last edited by eDio (2011-11-29 20:50:24)

Offline

#2 2011-11-02 09:38:21

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [SOLVED] Apple Magic Trackpad issue

All works great in Ubuntu 11.10. Touchpad remains connected after reboot and also Ubuntu recognizes up to 4-finger taps (I only had to install latest updates to eliminate known bug with pairing over bt).
Here is Xorg.0.log from Ubuntu

[   125.721] (II) config/udev: Adding input device Трекпад пользователя «citycity» (/dev/input/event5)
[   125.721] (**) Трекпад пользователя «citycity»: Applying InputClass "evdev touchpad catchall"
[   125.721] (**) Трекпад пользователя «citycity»: Applying InputClass "touchpad catchall"
[   125.721] (II) LoadModule: "synaptics"
[   125.722] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   125.740] (II) Module synaptics: vendor="X.Org Foundation"
[   125.740] 	compiled for 1.10.4, module version = 1.4.1
[   125.740] 	Module class: X.Org XInput Driver
[   125.740] 	ABI class: X.Org XInput driver, version 12.3
[   125.740] (II) Using input driver 'synaptics' for 'Трекпад пользователя «citycity»'
[   125.740] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   125.740] (**) Трекпад пользователя «citycity»: always reports core events
[   125.740] (**) Option "Device" "/dev/input/event5"
[   125.740] (--) Трекпад пользователя «citycity»: x-axis range -2909 - 3167
[   125.740] (--) Трекпад пользователя «citycity»: y-axis range -2456 - 2565
[   125.740] (II) Трекпад пользователя «citycity»: device does not report pressure, will use touch data.
[   125.740] (--) Трекпад пользователя «citycity»: buttons: left right double triple scroll-buttons
[   125.740] (--) Трекпад пользователя «citycity»: invalid pressure range.  defaulting to 0 - 256
[   125.740] (--) Трекпад пользователя «citycity»: invalid finger width range.  defaulting to 0 - 16
[   125.740] (--) Трекпад пользователя «citycity»: touchpad found
[   125.740] (**) Трекпад пользователя «citycity»: always reports core events
[   125.740] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.0/bluetooth/hci0/hci0:11/input5/event5"
[   125.740] (II) XINPUT: Adding extended input device "Трекпад пользователя «citycity»" (type: TOUCHPAD)
[   125.741] (**) Трекпад пользователя «citycity»: (accel) MinSpeed is now constant deceleration 2.5
[   125.741] (**) Трекпад пользователя «citycity»: MaxSpeed is now 1.75
[   125.741] (**) Трекпад пользователя «citycity»: AccelFactor is now 0.025
[   125.741] (**) Трекпад пользователя «citycity»: (accel) keeping acceleration scheme 1
[   125.741] (**) Трекпад пользователя «citycity»: (accel) acceleration profile 1
[   125.741] (**) Трекпад пользователя «citycity»: (accel) acceleration factor: 2.000
[   125.741] (**) Трекпад пользователя «citycity»: (accel) acceleration threshold: 4
[   125.744] (--) Трекпад пользователя «citycity»: touchpad found

Also I've tried mtrack driver under arch and found that udev removes device right after corresponding module is loaded

[   370.577] (II) config/udev: Adding input device Трекпад пользователя «citycity» (/dev/input/event6)
[   370.577] (**) Трекпад пользователя «citycity»: Applying InputClass "evdev touchpad catchall"
[   370.577] (**) Трекпад пользователя «citycity»: Applying InputClass "Touchpads"
[   370.577] (**) Трекпад пользователя «citycity»: Applying InputClass "touchpad catchall"
[   370.577] (**) Трекпад пользователя «citycity»: Applying InputClass "Apple Magic Trackpad"
[   370.577] (II) Using input driver 'mtrack' for 'Трекпад пользователя «citycity»'
[   370.577] (II) Loading /usr/lib/xorg/modules/input/mtrack_drv.so
[   370.577] (**) Трекпад пользователя «citycity»: always reports core events
[   370.577] (**) Трекпад пользователя «citycity»: always reports core events
[   370.577] (**) Option "TapButton1" "1"
[   370.577] (**) Option "TapButton2" "3"
[   370.577] (**) Option "TapButton3" "2"
[   370.577] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9/event6"
[   370.577] (II) XINPUT: Adding extended input device "Трекпад пользователя «citycity»" (type: TOUCHPAD, id 10)
[   370.577] (II) device control: init
[   370.577] (**) Option "Device" "/dev/input/event6"
[   370.577] (II) mtrack: devname: Трекпад пользова
[   370.577] (II) mtrack: devid: 5ac 30e 160
[   370.577] (II) mtrack: caps: left right mtdata ibt
[   370.577] (II) mtrack: 0: min: 0 max: 255
[   370.577] (II) mtrack: 1: min: 0 max: 255
[   370.577] (II) mtrack: 4: min: -31 max: 32
[   370.577] (II) mtrack: 5: min: -2909 max: 3167
[   370.577] (II) mtrack: 6: min: -2456 max: 2565
[   370.577] (II) mtrack: 9: min: 0 max: 15
[   370.603] (**) Трекпад пользователя «citycity»: (accel) keeping acceleration scheme 1
[   370.603] (**) Трекпад пользователя «citycity»: (accel) acceleration profile 0
[   370.603] (**) Трекпад пользователя «citycity»: (accel) acceleration factor: 2.000
[   370.603] (**) Трекпад пользователя «citycity»: (accel) acceleration threshold: 4
[   370.603] (II) device control: on
[   370.603] (II) Touchpad supports regular touches.
[   370.603] (II)   touch_min = 0, touch_max = 255
[   370.603] (II) Touchpad supports minor touch widths.
[   370.843] (II) config/udev: removing device Трекпад пользователя «citycity»
[   370.843] (II) device control: off
[   370.854] (II) device control: close
[   370.854] (II) UnloadModule: "mtrack"
[   370.854] (II) Unloading mtrack

So seems like there is some udev issue. Here is udev monitoring output

KERNEL[368.916983] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12 (bluetooth)
UDEV  [368.917338] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12 (bluetooth)
KERNEL[370.573008] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006 (hid)
KERNEL[370.574141] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9 (input)
KERNEL[370.574165] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9/event6 (input)
KERNEL[370.574180] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006/hidraw/hidraw2 (hidraw)
UDEV  [370.576236] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006 (hid)
UDEV  [370.576265] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006/hidraw/hidraw2 (hidraw)
UDEV  [370.576415] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9 (input)
UDEV  [370.577385] add      /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9/event6 (input)
KERNEL[370.842879] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9/event6 (input)
UDEV  [370.843188] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9/event6 (input)
KERNEL[370.853405] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9 (input)
KERNEL[370.853439] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006/hidraw/hidraw2 (hidraw)
UDEV  [370.854023] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/0005:05AC:030E.0006/hidraw/hidraw2 (hidraw)
UDEV  [370.854055] remove   /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/bluetooth/hci0/hci0:12/input9 (input)

Any ideas, what could be the cause of that issue?

P.S. btw, is there any way to change name of bluetooth hid device under linux? These Cyrillic symbols in console drive me insane >_<

Offline

#3 2011-11-02 11:37:52

Pjoter
Member
Registered: 2010-10-05
Posts: 16

Re: [SOLVED] Apple Magic Trackpad issue

Hello,

if it comes to such message:

[   38.993692] magicmouse 0005:05AC:030E.0003: unable to request touch data (-5)
[   39.030209] magicmouse: probe of 0005:05AC:030E.0003 failed with error -5

I have the same once I switch to kernel 3.X. So the mouse doesn't work. But, if I reconnect mouse through KDE bluetooth setting it works well. I think this is an issue with pairing or udev ...?

Kr.,

Piotr.

Offline

#4 2011-11-03 10:20:06

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [SOLVED] Apple Magic Trackpad issue

Pjoter,
connecting via KDE gui works from time to time. Sometimes it works, and sometimes not. That's the problem wink I have to spent up to 2 hours for my trackpad to start functioning accidentally.

I will try to make thorough comparison of Ubuntu's and Arch's udev rules. Perhaps will find the cause of such weird behavior of Arch's udev.

BTW, If no luck, will try Ubuntu as the primary OS. The latest Ubuntu seemed to be very stable for me and also Unity provides great experience!

Offline

#5 2011-11-05 21:28:19

Pjoter
Member
Registered: 2010-10-05
Posts: 16

Re: [SOLVED] Apple Magic Trackpad issue

Good luck !

Offline

#6 2011-11-06 09:34:02

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [SOLVED] Apple Magic Trackpad issue

Thanks, Pjoter smile

I've already migrated to Ubuntu, and only after that found magic line in xorg.conf that perhaps could resolve my issue

      MatchDevicePath "/dev/input/event*"

Here is a blogpost which explains necessity of that line
http://who-t.blogspot.com/2010/11/how-t … rrors.html

I don't know if it actually works, but worth to try if someone has the same issue.

Last edited by eDio (2011-11-06 09:35:19)

Offline

Board footer

Powered by FluxBB