My apologies for raising my head above the parapet without immediately
being able to contribute a formatted patch, but I'm a complete virgin as
far as git is concerned.
I'm getting a great deal of grief here from an arthritic colleague with
a selection of Elecom devices that he's bought so that he can use
whichever is least uncomfortable at the time. He'd first like to thank
everybody for getting the 0x00ff (DEFT) and 0x010d (HUGE) mice into the
kernel, which he can confirm work well on 4.14.
He's also got an 0x00fc (EX-G M-XT3DR) which I believe will be supported
in 4.16, although I've yet to test that.
He's also got an 0x00fd (EX-G M-XT4DR) which is the left-handed
equivalent of 0x00fc, we'd very much appreciate it if somebody could add
that ID to hid-ids.h, hid-elecom.c and hid-quirks.c.
$ sudo dmesg
[416389.482709] usb 1-1.2.3.4.4: new low-speed USB device number 72
using dwc_otg
[416389.623186] usb 1-1.2.3.4.4: New USB device found, idVendor=056e,
idProduct=00fd
[416389.623204] usb 1-1.2.3.4.4: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
[416389.623213] usb 1-1.2.3.4.4: Product: ELECOM TrackBall Mouse
[416389.623221] usb 1-1.2.3.4.4: Manufacturer: ELECOM
[416389.641790] input: ELECOM ELECOM TrackBall Mouse as
/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3.4/1-1.2.3.4.4/1-1.2.3.4.4:1.0/0003:056E:00FD.00F1/input/input240
[416389.704659] hid-generic 0003:056E:00FD.00F1: input,hiddev0,hidraw12:
USB HID v1.11 Mouse [ELECOM ELECOM TrackBall Mouse] on
usb-3f980000.usb-1.2.3.4.4/input0
$ sudo lsusb -vd 056e:00fd
[sudo] password for markMLl:
Bus 001 Device 064: ID 056e:00fd Elecom Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x056e Elecom Co., Ltd
idProduct 0x00fd
bcdDevice 1.10
iManufacturer 1 ELECOM
iProduct 2 ELECOM TrackBall Mouse
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 213
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
/sys/devices/ ... 0003:056E:00FD.00F1# xxd report_descriptor
0000000: 0501 0902 a101 0901 a100 8501 9505 7501 ..............u.
0000010: 0509 1901 2905 1500 2501 8102 9501 7503 ....)...%.....u.
0000020: 8101 7510 9502 0501 0930 0931 1600 8026 ..u......0.1...&
0000030: ff7f 8106 c0a1 0095 0175 0805 0109 3815 .........u....8.
0000040: 8125 7f81 06c0 a100 9501 7508 050c 0a38 .%........u....8
0000050: 0215 8125 7f81 06c0 c006 01ff 0900 a101 ...%............
0000060: 8502 0900 1500 26ff 0075 0895 0781 02c0 ......&..u......
0000070: 050c 0901 a101 8505 1900 2a3c 0215 0026 ..........*<...&
0000080: 3c02 9501 7510 8100 c005 0109 80a1 0185 <...u...........
0000090: 0319 8129 8315 0025 0175 0195 0381 0295 ...)...%.u......
00000a0: 0581 01c0 06bc ff09 88a1 0185 0495 0175 ...............u
00000b0: 0815 0026 ff00 1900 2aff 0081 00c0 0602 ...&....*.......
00000c0: ff09 02a1 0185 0609 0215 0026 ff00 7508 ...........&..u.
00000d0: 9507 b102 c0 .....
Please let me know if there's additional information I can provide to
help with this, and again I apologise for not providing a
correctly-formatted patch. Knowing the user's fondness for gadgets, he'd
not be averse to buying additional models for testing if he spots any
affordable.
On list, cc not necessary.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html