DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.17k stars 173 forks source link

Huion H950P has a new product ID #308

Open sornen opened 5 years ago

sornen commented 5 years ago

Recent purchase of Huion H950P did not work. The product ID has changed and the device was being assigned to hid-generic.

The device ID 256c:006d whereas previously it was ID 256c:006e.

After changing this in hids-ids.h in the driver source #define USB_DEVICE_ID_HUION_TABLET 0x006d and recompiling

make clean
make
sudo make install

and rebooting the PC, it works.

mauriciomarinho commented 4 years ago

@sornen Thank you. This fixed the issue after updating firmware on my H1060P. Should be noted that changing 0x006e to 0x006d can cause an error because the key already exists. I just swap them, not sure if it is the best way of doing it.

Edit: My cursor randomly jumps around now and I don't know how to get the old firmware back :cry:

Edit 2: Fortunately, it was possible to downgrade the firmware with the tool Huion provides on their website. The reason I upgraded it was to have tilt support, thinking firmware was the issue, even though it worked on krita in w10. Anyway, both digimend 9 and master will not work with the new firmware. Version 9 has the same issue as master with the cursor jumping around. Also, master version conflicts with HS64 ID. Upgrading the firmware changes de ID to the same digimend master uses for the HS64 added in #288 , tilt support for the old firmware was added in #269 so no need to upgrade the firmware as it will not work with either version. Buying directly from them you get the version with upgraded firmware though, that might be a problem for some people in the future. Sweet spot: Firmware 180808, digimend master. Bad: Firmware 190325, digiment master or v9.

Lvaskz commented 4 years ago

The device ID 256c:006d whereas previously it was ID 256c:006e.

Hi I have the same problem, How can I fix it, I have no idea. Some help ?

Lvaskz commented 4 years ago

May be, can some one make some appimage package, flatpak or snap for divers and settings?

kedodrill commented 4 years ago

Is this still an issue? I saw that this commit was pushed: https://github.com/DIGImend/digimend-kernel-drivers/commit/89e4d3fe977119fa30ca72a23d51a89e61d4a798#diff-c67b231c379204ac6146dea2ef7517d5

Seems like it added another variable there for 0x006d...does that work fine now?

kedodrill commented 4 years ago

Just an update, got my H950P in today, right off the bat without digimend things worked including levels of pressure, but the buttons did not. I installed digimend by installing from source (not using dkms) and pulling directly from master and have had no issues.

Lvaskz commented 4 years ago

Is this still an issue? I saw that this commit was pushed: 89e4d3f#diff-c67b231c379204ac6146dea2ef7517d5

Seems like it added another variable there for 0x006d...does that work fine now?

it seems now is working.

but the buttons did not.

It is a shame, but some one is try to solved, the problem is has a long long time, and we don't know if will solved.

ajboni commented 4 years ago

Just an update, got my H950P in today, right off the bat without digimend things worked including levels of pressure, but the buttons did not. I installed digimend by installing from source (not using dkms) and pulling directly from master and have had no issues.

Hey thanks for the report! How was your experience so far? Im planning to buy a tablet but want to make sure it works on Linux, is 950 or the intuos S.

Any problemas so far?

Thanks!

kedodrill commented 4 years ago

@ajboni Everything works really well as far as I can tell. Again, even without the digimend driver everything seemed to work fine except for the buttons. Once I got digimend working the buttons started working as well. I haven't messed around with button mapping, but I assume that's possible somehow.

ajboni commented 4 years ago

I can confirm I had to do the same procedure as kedodrill.

Tried the .deb at first but it would not work. After cloning the repo and building from source it works flawlessly.

jrw77 commented 4 years ago

I am having a difficulty with the new version (006d id): the x-values range from 0 to 65535, but apparently my setup only accepts values up to 32767 (2^15-1). So I can only use the left half of the tablet or only access the left half of the screen, depending on the setting I can control with xsetwacom. Does anyone have this problem? What is your result for xsetwacom --get 9 Area


Edit: I neglegted to read the manual: Sometime you need to turn the Tablet into PC mode by pressing buttons 1 and 5 at the same time!

ajboni commented 4 years ago

I am having a difficulty with the new version (006d id): the x-values range from 0 to 65535, but apparently my setup only accepts values up to 32767 (2^15-1). So I can only use the left half of the tablet or only access the left half of the screen, depending on the setting I can control with xsetwacom. Does anyone have this problem? What is your result for xsetwacom --get 9 Area

xsetwacom --get 13 Area 12:46:55 0 0 44200 27600

jlj77 commented 4 years ago

Yeah, me too: > xsetwacom --get 10 area 0 0 44200 27600

spbnick commented 4 years ago

@ajboni, @jlj77, please try using the latest development version of the driver. Your symptoms show the kernel driver is not handling the tablet. The latest version can help.

ajboni commented 4 years ago

@ajboni, @jlj77, please try using the latest development version of the driver. Your symptoms show the kernel driver is not handling the tablet. The latest version can help.

I'm not having any issues! Just showed that info for @jrw77 . It's working perfectly on my end. Will upgrade the driver anyway and report back tonight though.

arichiardi commented 4 years ago

I received the Huion 610p v2 (256c:006d), compiled the kernel driver and I can confirm the tablet works. I haven't tried soft and hard button, I wonder how do I test?

joergfoertsch commented 4 years ago

I am having a difficulty with the new version (006d id): the x-values range from 0 to 65535, but apparently my setup only accepts values up to 32767 (2^15-1). So I can only use the left half of the tablet or only access the left half of the screen, depending on the setting I can control with xsetwacom. Does anyone have this problem? What is your result for xsetwacom --get 9 Area

I do have the same issue on an Debian system with kernel 4.9.0-13-amd64 with the :006d HUION H950P The standard setting for Area is 0 0 32767 32767 which results in only half the tablet being mapped to my full screen. If I type ... set Area 0 0 65535 32767 the following get returns "0 0 65535 32767". However still only half of the tablet is usable, as now half of my tablet are correctly mapped to half of my screen but I can not move my curser into the other screen-half using the tablet. Maybe this should go into a new bug report, I just stumbled across this comment through google.

jrw77 commented 3 years ago

Don´t forget to put the Huion 950p Tablet into PC mode! Button 1 and 5 simultaneously put the tablet into PC mode. In smartphone mode, only the left half is usable.