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

Raspberry Pi & Huion New1060Plus #418

Open pisimpson opened 4 years ago

pisimpson commented 4 years ago

I have installed digimend-dkms_9_all.deb on my RaspberryPi 4 Model2 Kernel 4.19.50-v7l+ the install was error free and i plugged my USB based Huion New 1060 Plus into the USB3 port. I checked with xinput that the tablet and pen stylus were present, all seemed well.

My prefered graphics app is MyPaint version 1.20 and using edit>edit preferences>devices all looks fine with the Pen Stylus and Tablet shown as input devices with Any Task and scroll 'zoom' available. Exactly the same as my optical mouse.

However when I try to use the graphics tablet and Pen, Nothing happens!!

I checked the tablet by connecting it to my Windows 10 laptop, and it's fine working with MS paint 3d.

It just seems to totally dead when plugged into the debian Raspberry 4.

Any suggestions on where to go next?

jplloyd commented 4 years ago

Now I wasn't 100% clear on this when we discussed it in the MyPaint forum, but I think it's important to clarify.

When you say "totally dead" and "nothing happens" - does that mean:

1) Moving the stylus across the tablet does not move the cursor (not in MyPaint, or not anywhere)?

2) Placing/tapping the stylus on the tablet does not produce a click - i.e. you cannot open a menu or click on an icon using the stylus?

pisimpson commented 4 years ago

Yes it means ... Nothing moving the stylus doesn't do anything no cursor movement in MyPaint or anywhere else. Placing tapping the stylus does not produce a click or any kind of control.

It's as if it wasn't there.

Pi

On Sun, Jun 14, 2020 at 7:18 PM Jesper Lloyd notifications@github.com wrote:

Now I wasn't 100% clear on this when we discussed it in the MyPaint forum https://community.mypaint.org/t/which-graphic-tablets-models-work-on-mypaint-1-2-0/269/39, but I think it's important to clarify.

When you say "totally dead" and "nothing happens" - does that mean:

1.

Moving the stylus across the tablet does not move the cursor (not in MyPaint, or not anywhere)? 2.

Placing/tapping the stylus on the tablet does not produce a click - i.e. you cannot open a menu or click on an icon using the stylus?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-643802698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZTCO4YMQZV77OMWUF3RWUH6XANCNFSM4N5QWAWA .

pisimpson commented 4 years ago

I see my tablet is registered under the supported tablet with version 8, I've got version -9 installed I'm assuming that's not the problem?

pisimpson commented 4 years ago

I've obviously installed something wrong I get no output from the tablet?

20200616_115957

spbnick commented 4 years ago

@pisimpson, do you get anything out of sudo evtest with the Pen device selected, when moving your stylus?

pisimpson commented 4 years ago

Hi Nikolai no I dont' get anything from evtest with either the stylus/pen or the pad selected.

The mouse is fine and gives plenty of feedback.

Pi

On Tue, Jun 16, 2020 at 12:28 PM Nikolai Kondrashov < notifications@github.com> wrote:

@pisimpson https://github.com/pisimpson, do you get anything out of sudo evtest with the Pen device selected, when moving your stylus?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-644704937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZXWI43FZA2QXVMLSX3RW5JONANCNFSM4N5QWAWA .

pisimpson commented 4 years ago

I've been incorporation a SNES Gameboy handset and noticed that occasionally the system needs rebooting to to get evtest to work on the USB Gameboy port, could my tablet not giving an output be related?

On Tue, Jun 16, 2020 at 1:54 PM Pi Simpson pi.simpsonjnr@gmail.com wrote:

Hi Nikolai no I dont' get anything from evtest with either the stylus/pen or the pad selected.

The mouse is fine and gives plenty of feedback.

Pi

On Tue, Jun 16, 2020 at 12:28 PM Nikolai Kondrashov < notifications@github.com> wrote:

@pisimpson https://github.com/pisimpson, do you get anything out of sudo evtest with the Pen device selected, when moving your stylus?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-644704937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZXWI43FZA2QXVMLSX3RW5JONANCNFSM4N5QWAWA .

pisimpson commented 4 years ago

Looking into this problem further, the Huion Pad and Stylus are certainly doing something. If I move the stylus over the pad the two light green LEDS under the "Huion" tablet-top id, flicker, and the strength of the LEDS is dependent upon the pressure I put on the stylus.. They also respond if I press any of the buttons.

On the computer screen I can see both the stylus pen and the pad on either evtest or xinput

However neither evtest or xinput --test id shows any incoming responses.

I just don't know enough about tablet drivers or how the data is transmitted to know where to look next.

Is there someway i can check for raw data?

spbnick commented 4 years ago

Is there someway i can check for raw data?

Yes. Try running sudo usbhid-dump -es -m VID:PID, where VID is your tablet's vendor ID and PID is its product ID.

pisimpson commented 4 years ago

[image: 20200617_181302.jpg]

absolutly nothing coming in ........ i tried pressing the pen on the pad etc. nothing.

spbnick commented 4 years ago

This looks like a hardware failure. Does the same command work e.g. for a USB mouse or a USB keyboard? Does the tablet work on any other computer? Is the pen charged?

pisimpson commented 4 years ago

The pen is fully charged and when I plug the pad into my windows 10 laptop it works perfectly using MS Paint 3D.....There's nothing wrong with the Huion hardware.

It must be something getting in the way on the Linux box. I've tried different USB ports, I can swap the mouse and the pad over and the mouse consistently works fine, the pad never works.

So I can only assume the Raspberry Pi hardware is also fine. It is a software fault.

I'm musing on my next move.

On Thu, Jun 18, 2020 at 7:24 AM Nikolai Kondrashov notifications@github.com wrote:

This looks like a hardware failure. Does the same command work e.g. for a USB mouse or a USB keyboard? Does the tablet work on any other computer? Is the pen charged?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-645805681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZXXCWENTR335RXGEDLRXGXILANCNFSM4N5QWAWA .

spbnick commented 4 years ago

Is there anything strange in dmesg output?

pisimpson commented 4 years ago

It does mention the pen andd pad: 4.712725] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 4.849461] input: HID 256c:006e Pen as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.1/1-1.4.4.1:1.0/0003:256C:006E.0005/input/input4 [ 4.851175] input: HID 256c:006e Pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.1/1-1.4.4.1:1.0/0003:256C:006E.0005/input/input5 [ 4.864094] uclogic 0003:256C:006E.0005: input,hidraw4: USB HID v1.11 Keypad [HID 256c:006e] on usb-0000:01:00.0-1.4.4.1/input0 [ 4.865004] uclogic 0003:256C:006E.0006: No inputs registered, leaving

On Thu, Jun 18, 2020 at 8:55 AM Nikolai Kondrashov notifications@github.com wrote:

Is there anything strange in dmesg output?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-645848308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZUKRQMQRKV3R6QEGPLRXHB7VANCNFSM4N5QWAWA .

pisimpson commented 4 years ago

lsusb -t looks interesting? pi@raspberrypi:~ $ lsusb -t /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M | Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M | Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M | Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M | Port 4: Dev 8, If 0, Class=Mass Storage, Driver=usb-storage, 480M | Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M | Port 1: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M

On Thu, Jun 18, 2020 at 9:07 AM Pi Simpson pi.simpsonjnr@gmail.com wrote:

It does mention the pen andd pad: 4.712725] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 4.849461] input: HID 256c:006e Pen as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.1/1-1.4.4.1:1.0/0003:256C:006E.0005/input/input4 [ 4.851175] input: HID 256c:006e Pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.1/1-1.4.4.1:1.0/0003:256C:006E.0005/input/input5 [ 4.864094] uclogic 0003:256C:006E.0005: input,hidraw4: USB HID v1.11 Keypad [HID 256c:006e] on usb-0000:01:00.0-1.4.4.1/input0 [ 4.865004] uclogic 0003:256C:006E.0006: No inputs registered, leaving

On Thu, Jun 18, 2020 at 8:55 AM Nikolai Kondrashov < notifications@github.com> wrote:

Is there anything strange in dmesg output?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DIGImend/digimend-kernel-drivers/issues/418#issuecomment-645848308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6QZZUKRQMQRKV3R6QEGPLRXHB7VANCNFSM4N5QWAWA .

noob117 commented 4 years ago

How did you install the digimend driver? Is there a special version for arm processors?