Re: [DIGImend-devel] [DIGImend-users] Huion Official Patch
Brought to you by:
spb_nick
|
From: Nikolai K. <sp...@gm...> - 2013-09-27 15:13:17
|
Hi Maxim, Please use "Reply to all" when replying, so others get posted as well. On 09/27/2013 10:45 AM, Maxim L wrote: > В общем попробовал я этот драйвер на ядре 3.0.96. > Работает вроде нормально, но evdev/wizardpen(?)/wacom не правильно > определяют разрешение, в итоге курсор перемещается лишь в небольшом > прямоугольнике слева вверху. > wacdump определяет силу нажатия от 0 до 1024, но всё равно при нажатии пишет > 2047(как я понимаю так и было задумано в этом драйвере?). > Разрешение не помню какое, но даже в wacdump не правильно отобразило. > И конечно самое главное - все кнопки работают!! А в целом без этого драйвера > сейчас кажется намного лучше. Проблема только в не работающих кнопках... Да > и с evdev невозможно пользоваться, зато с wizardpen и wacom вроде бы > идеально. > И на всякий случай я сделал их hexdump (первая половина текстового файла - > нажатие, вторая - отпускание кнопки). > Скажите если что-нибудь ещё нужно. > > Sorry for the Russian, but that it is difficult to translate in google translate m(__)m I'll give a summary in English for others. Maxim has tried the official Huion driver and found that cursor only moves in a small rectangle at the top left of the screen. Wacdump has determined its pressure range to be 0-1024, whereas the actual reported pressure goes up to 2047. He doesn't remember the specific reported resolution, but remembers that it was incorrect. He noticed that all the buttons work (I assume he means the ones on the frame). He comments that the tablet works better without the official driver (I assume that Martin's driver works instead in that case), with the exception that buttons don't work. I'm not sure which kernel driver he means, but he says that it works well with wizardpen and wacom drivers, but not with evdev. Maxim, could you please clarify this? On my part I can say that I anticipated the "small rectangle" problem, but wasn't sure if the driver could be that broken. This happens because the driver specifies coordinate range much bigger than actually reported. This is also the reason for incorrectly reported resolution. The pressure range is set incorrectly by the driver as well. The buttons don't work with the current kernel driver because Huion 580 which we targeted doesn't use additional interfaces used by Huion H610 for button reports, and we haven't anticipated Huion reusing product IDs in other tablet models. I plan to handle that in the new version. Maxim, could you please run the new version of huion-probe with your tablet and send me the results? You can use one of the binary packages: https://github.com/DIGImend/huion-tools/releases/download/v2/huion-tools_2_amd64.deb or https://github.com/DIGImend/huion-tools/releases/download/v2/huion-tools-2-1.fc18.x86_64.rpm Or compile it from source: https://github.com/DIGImend/huion-tools/releases/download/v2/huion-tools-2.tar.gz Thank you. Sincerely, Nick |