Thread: [DIGImend-devel] HUION H58L diagnostics
Brought to you by:
spb_nick
|
From: yoquesé n. <por...@gm...> - 2015-07-12 19:32:21
|
Bus 003 Device 004: ID 256c:006e
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x256c
idProduct 0x006e
bcdDevice 0.00
iManufacturer 5 HUION
iProduct 6 H58L
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 84
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
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.0b
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 177
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 0x0010 1x 16 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
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 244
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.0b
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 92
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 8
Device Status: 0x0000
(Bus Powered) |
|
From: Nikolai K. <sp...@gm...> - 2015-07-15 12:09:10
|
Hello Yoquesé, On 07/12/2015 10:31 PM, yoquesé nosecomo wrote: > Is there any way to configure the key mapping on a non-wacom tablet? > The tablet works fine (great work on that!), but i would rather reassign the 6 buttons in the huion H58L. > > I have tried to use xinput but it doesn't work, I even tried xsetwacom but then the buttons wouldn't work at all. > > ( actually, using xsetwacom to change the buttons gave me this error: > Invalid offset into Wacom Button Actions property ) > > The keycodes i get from pressing the buttons from top to bottom are: > > 26 > 37,52 > 37,50,57 > 2 > 3 > 4 The diagnostics (frame_buttons.txt file) looks really weird: the tablet is sending different buttons over three different interfaces. I haven't seen anything like that from Huion before. How was that dump taken? Was it on a system the driver already installed? > I have attached the result from the diagnostics and uclogic-probe. Thanks for the diagnostics! One thing though: could you please send raw uclogic-probe data, not decoded with uclogic-decode? Thank you. > EDIT: Seems I have mistakenly sent this to the support forum with the attachments and made a mess, sorry for that :P No problem :) Nick P.S. Please keep maillist in the CC - use "Reply to All" when replying. |
|
From: yoquesé n. <por...@gm...> - 2015-07-15 14:02:58
Attachments:
ucProbe
|
Hello Nikolai, The system is a recently installed linux mint 17.2, with linux kernel version 3.16.0-38-generic. I followed the instructions on your web, between different command I had to reconnect the tablet though, it said the resource was busy, but this didn't have any effect in the results as far as i know. modinfo hid-huion gave me this: filename: /lib/modules/3.16.0-38-generic/extra/hid-huion.ko version: 5 license: GPL description: Huion HID driver author: Nikolai Kondrashov author: Martin Rusko srcversion: AA341FE887649B154C7BB63 alias: hid:b0003g*v00005543p0000004D alias: hid:b0003g*v00005543p0000006E alias: hid:b0003g*v0000256Cp0000006E depends: hid vermagic: 3.16.0-38-generic SMP mod_unload modversions The three interfaces appeared after installing digimend, previously there was only one, but it only recognised the stylus. /dev/input/event16: HUION H58L /dev/input/event17: HUION H58L /dev/input/event18: HUION H58L And xinput (IDs vary): ↳ HUION H58L id=11 [slave pointer (2)] ↳ HUION H58L id=12 [slave pointer (2)] ↳ HUION H58L id=13 [slave pointer (2)] Thanks for the reply! 2015-07-15 14:08 GMT+02:00 Nikolai Kondrashov <sp...@gm...>: > Hello Yoquesé, > > On 07/12/2015 10:31 PM, yoquesé nosecomo wrote: > >> Is there any way to configure the key mapping on a non-wacom tablet? >> The tablet works fine (great work on that!), but i would rather reassign >> the 6 buttons in the huion H58L. >> >> I have tried to use xinput but it doesn't work, I even tried xsetwacom >> but then the buttons wouldn't work at all. >> >> ( actually, using xsetwacom to change the buttons gave me this error: >> Invalid offset into Wacom Button Actions property ) >> >> The keycodes i get from pressing the buttons from top to bottom are: >> >> 26 >> 37,52 >> 37,50,57 >> 2 >> 3 >> 4 >> > > The diagnostics (frame_buttons.txt file) looks really weird: the tablet is > sending different buttons over three different interfaces. I haven't seen > anything like that from Huion before. How was that dump taken? Was it on a > system the driver already installed? > > I have attached the result from the diagnostics and uclogic-probe. >> > > Thanks for the diagnostics! One thing though: could you please send raw > uclogic-probe data, not decoded with uclogic-decode? Thank you. > > EDIT: Seems I have mistakenly sent this to the support forum with the >> attachments and made a mess, sorry for that :P >> > > No problem :) > > Nick > > P.S. Please keep maillist in the CC - use "Reply to All" when replying. > |
|
From: Nikolai K. <sp...@gm...> - 2015-07-22 08:00:44
|
On 07/20/2015 06:37 PM, yoquesé nosecomo wrote: > Hi, > > Since last week I've tested the v5 release in another computer with elementary OS with the same effect. Today, I've tested the current development version in a fresh install of mint, and it worked! The stylus input goes to a pen device and the frame buttons go to a pad device, as they should. However, now I have 6 HUION devices, 4 of which don't give any events, I dont know if that is necessarily bad, it just looks a little strange to me. > > The thing is, I want to assign the frame buttons to specific actions in krita but I can't. Is that because they are slave to "Virtual core pointer" in xinput? Would they work if they were slave to the core keyboard and I gave them a keycode (not sure if it is the correct term) which isn't in my keyboard? I tried but it seems you cant assign any device as slave. Maybe I could use xbindkeys and xte as a workaround to this as in here <http://forums.logitech.com/t5/Mice-and-Pointing-Devices/Guide-for-setup-Performance-MX-mouse-on-Linux-with-KDE/td-p/517167>, but I don't want to throw in too many things. > > I will paste here the output of xinput, I can run the diagnostics again, If you would like to. > > xinput: > > ⎡ Virtual core pointer id=2 [master pointer (3)] > ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] > ⎜ ↳ HUION H58L Pen id=11 [slave pointer (2)] > ⎜ ↳ HUION H58L Pad id=12 [slave pointer (2)] > ⎜ ↳ HUION H58L Mouse id=13 [slave pointer (2)] > ⎜ ↳ HUION H58L Consumer Control id=15 [slave pointer (2)] > ⎜ ↳ Logitech USB Receiver id=17 [slave pointer (2)] > ⎜ ↳ Logitech USB Receiver id=18 [slave pointer (2)] > ⎜ ↳ AlpsPS/2 ALPS GlidePoint id=21 [slave pointer (2)] > ⎜ ↳ ALPS PS/2 Device id=22 [slave pointer (2)] > ⎣ Virtual core keyboard id=3 [master keyboard (2)] > ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] > ↳ Power Button id=6 [slave keyboard (3)] > ↳ Video Bus id=7 [slave keyboard (3)] > ↳ Video Bus id=8 [slave keyboard (3)] > ↳ Power Button id=9 [slave keyboard (3)] > ↳ Sleep Button id=10 [slave keyboard (3)] > ↳ HUION H58L Keyboard id=14 [slave keyboard (3)] > ↳ HUION H58L System Control id=16 [slave keyboard (3)] > ↳ Laptop_Integrated_Webcam_HD id=19 [slave keyboard (3)] > ↳ AT Translated Set 2 keyboard id=20 [slave keyboard (3)] > ↳ Dell WMI hotkeys id=23 [slave keyboard (3)] Ah, I somehow assumed you were running latest master already. Glad to hear it works. From your xinput output I can see that you're using the xf86-input-evdev driver. To get the configurable buttons to work, please try using the xf86-input-wacom driver. Use xsetwacom to configure the bindings. The pad device appears under "Virtual core pointer" to cater to the Wacom driver for now. Nick |