Thread (10 messages) flat view 10 messages, 2 authors, 2014-01-31

Re: Sony Vaio Duo 11: getting middle mouse button to work

From: Stephan Mueller <hidden>
Date: 2014-01-29 14:59:24
Also in: platform-driver-x86

Am Mittwoch, 29. Januar 2014, 09:53:03 schrieb Benjamin Tissoires:

Hi Benjamin,
On Fri, Jan 24, 2014 at 11:51 PM, Stephan Mueller [off-list ref] 
wrote:
quoted
Am Samstag, 25. Januar 2014, 12:17:13 schrieb Mattia Dongili:

Hi Mattia,
quoted
I'd try with the input subsystem and the synaptics_usb driver first
but it's just a wild guess. Your kernel log should give you more
hints about which driver is bound to the device and the sysfs tree
under
/sys/class/input/event*/device/* has all the capabilities and
identifiers.
The following did not help:

modprobe synaptics_usb
cd /sys/bus/usb/drivers/usbhid
echo -n "1-1.3:1.0" > unbind
#now the mouse is without driver, does not move, and
#/sys/class/input/event2/device/device is without driver
cd /sys/bus/usb/drivers/synaptics_usb
echo -n "1-1.3:1.0" > bind
#error: no such device, mouse does not work, nothing in dmesg
cd /sys/bus/usb/drivers/usbhid
echo -n "1-1.3:1.0" > bind
#mouse works again without middle button
Hi Stephan,

in this case, you definitively want to talk to HID (and input) folks.
Adding Jiri, the HID maintainer in the discussion.

Your mouse does not seem to be handled properly by the hid subsystem
and needs quirks, or fix.

Can you send us some hid-recorder[1] traces of your device? We should
then be able to check what's wrong and hopefully fix the problem.
Thanks a lot for the helping hand. I will try your suggestion tonight 
and report back.

But please allow me to point out that I have doubts that HID or input is 
at fault, because when sniffing on the USB bus with usbmon, I do *not* 
see any information transported when pressing the middle button. 
Therefore, I would suspect it is rather the base USB driver that somehow 
needs a quirk to access the mouse properly.

Thanks a lot
Stephan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help