requesting advice about Ugee 2150/pressure sensitivity

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
Deleted User 2781

requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 17 Jul 2018 18:27

Hello :) Everything's working so well, throughout the live try, install and setting things up. The only thing I can't fix is about the Ugee 2150. I can see all the necessary packages are already installed. I've installed the Digimend drivers (v7) and rebooted. Evtest shows that the Ugee is seen. But the pen isn't recognised. I'm not sure how to update the kernel, incase that's relevant. Many thanks for any advice.

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 17 Jul 2018 19:18

Plug it in, open a terminal, run this command lsusb and post the output.

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 17 Jul 2018 19:20

Thanks for such a quick response. :) I can see the UC-Logic is seen as device 3.

Code: Select all

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 1058:1230 Western Digital Technologies, Inc. My Book (WDBFJK0030HBK)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 009: ID 04d8:0b29 Microchip Technology, Inc. 
Bus 003 Device 008: ID 0416:a0f8 Winbond Electronics Corp. 
Bus 003 Device 006: ID 1058:0827 Western Digital Technologies, Inc. 
Bus 003 Device 004: ID 0424:2137 Standard Microsystems Corp. 
Bus 003 Device 003: ID 5543:0047 UC-Logic Technology Corp. 
Bus 003 Device 007: ID 0bda:0821 Realtek Semiconductor Corp. 
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 17 Jul 2018 20:16

So it is recognised but still not working? Or just pressure sensitivity not working?

Did you go through the trouble shooting in http://digimend.github.io/support/howto ... g_failure/ and http://digimend.github.io/support/howto ... agnostics/? Especially the stuff following the command sudo usbhid-dump -es -m <VID:PID>. If you found out exactly where your tablet failed your best bet would be to open an issue on the project https://github.com/DIGImend/digimend-ke ... ers/issues or to join their IRC. You can refer to your system as Debian 9.

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 17 Jul 2018 20:23

Hi, it's recognised by evtest (not xinput), but putting the pen on the screen brings no response. Thank you for the links; sorry, but I'm only able to do the basics like install Digimend deb, see if Ugee is initially seen etc ... brain goes to mush about building/making a file for a device, lol. I did find a post saying how to update to EE version of K; have done that, and am running kernel 4.16. I've run sudo update-grub, reinstalled the Digimend deb v7 then the v8 I discovered has been released recently, but can't seem to link things up so the Ugee works. I'm running intel with Radeon R9 255.

EDIT: have tried best to make sense of all the Digimend information, but I can't make sense of results after copy pasting a couple of things. I'd tried to follow the dkms install, after the v8 deb not working. Message said linux-headers-4.16.0-2-amd64 is already the newest version (4.16.16-2). Wasn't able to access the dkms driver pack. Installed nemo, but could only get so far in to things, with the only result unfortunately being:

Code: Select all

make -C /lib/modules/4.16.0-2-amd64/build SUBDIRS=/home/cat/Downloads/digi extracted/digimend-kernel-drivers-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.16.0-2-amd64'
make[3]: *** No rule to make target 'extracted/digimend-kernel-drivers-master'.  Stop.
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.16.0-2-amd64'
make: *** [Makefile:19: modules] Error 2

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 18 Jul 2018 20:31

You are going too fast. Or too mixed up. I understood that you installed the Digimend packages. Now you are saying, the deb package install did not work? The deb package is the right choice. If that doesn't install, stop fumbling around, copy the error message and report the issue here. "Doesn't work" is not a report anybody can make sense of.
The dkms method is not for you since you are on a debian system.

I don't know why you upgraded to EE. Did anybody advise you to do so (link please)? EE is generally ok, if you are able to solve problems which might arise (see https://forums.solydxk.com/viewtopic.php?f=78&t=6917), but I'm not sure how mixed up your system is at this point.

Try to go step by step and report exactly which step failed with which exact error message.

After correct installation of the deb package go to troubleshooting:
1. Did you do the sudo usbhid-dump -es -m <VID:PID> stuff and did you get an output or does the tablet not respond at all?
2. Did you check ls -l /sys/kernel/debug/hid for your tablet according to the troubleshooting guide with positive results?
3. Check that evtest results look ok.
4. But xinput list doesn't show your device?
5. Or xinput test <DEVNO> doesn't show anything?

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 19 Jul 2018 04:32

Thanks ilu. Much appreciate response. Yes, I'd installed the Digimend deb and rebooted. All I can think is that I'd installed the AMD driver, which affected a few graphics things eg main menu button froze, black screen for a game etc. I then unchecked it and rebooted, and then saw another thread saying it's best not to have installed the driver. I really like SolydK, so thought, before a reformat, I may as well update to EE, which I'd noticed on the SolydK site, and then seen a post about ... it's fixed all issues, except about the Ugee, and I really like it; very impressive. Am used to a high kernel/mesa/xorg etc, and it's running very stably.

Good learning curve, and I'll first do a fresh install and basic updates, then install the Digimend deb and reboot, without adding any extra AMD driver or doing anything else.

EDIT: installed SolydK9, did couple of kernel updates that came up and rebooted. Installed Digimend deb v8 and rebooted again. Unfortunately didn't work. I'll follow the list you've posted as best I can. Thank you very much again.

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 19 Jul 2018 06:44

Hello again. I've followed through the Digimend pages and here are the answers to 5 questions. A lot of text; sorry. Pen's fully charged and have checked wires.

Code: Select all

1. 
sudo usbhid-dump -es -m 5543:0047
... loads of output, saved to text file, showing pen responding. 

2.
ls -l /sys/kernel/debug/hid
total 0
drwxr-xr-x 2 root root 0 Jul 19 06:57 0003:0416:A0F8.0004
drwxr-xr-x 2 root root 0 Jul 19 06:57 0003:0416:A0F8.0005
drwxr-xr-x 2 root root 0 Jul 19 06:57 0003:046D:C077.0001
drwxr-xr-x 2 root root 0 Jul 19 06:57 0003:04D8:0B29.0006
drwxr-xr-x 2 root root 0 Jul 19 07:36 0003:5543:0047.0013
drwxr-xr-x 2 root root 0 Jul 19 07:36 0003:5543:0047.0014

Had done fresh install at 06:57 and installed Digimend v8 at 07:36.

3.
sudo evtest
/dev/input/event3:      UC-Logic 21.5" Tablet Monitor
/dev/input/event4:      UC-Logic 21.5" Tablet Monitor
Chose number 3 ... 

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x5543 product 0x47 version 0x111
Input device name: "UC-Logic 21.5" Tablet Monitor"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 275 (BTN_SIDE)
    Event code 276 (BTN_EXTRA)
    Event code 320 (BTN_TOOL_PEN)
    Event code 321 (BTN_TOOL_RUBBER)
    Event code 330 (BTN_TOUCH)
    Event code 331 (BTN_STYLUS)
  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 6 (REL_HWHEEL)
    Event code 8 (REL_WHEEL)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max     2048
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max     2048
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max     2047
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
NB there's no Event type 2.

sudo evtest
Chose number 4 ... 
looks same but includes extra 4 lines ... 
Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 6 (REL_HWHEEL)
    Event code 8 (REL_WHEEL)
    
Neither show anything after 'Testing ... (interrupt to exit). Result doesn't look like the Digimend page's example. Never has on any distro where pen works though. 

4. 
xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=8    [slave  pointer  (2)]
⎜   ↳ Drevo keyboard Drevo keyboard             id=10   [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)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Drevo keyboard Drevo keyboard             id=9    [slave  keyboard (3)]
    ↳ Drevo keyboard Drevo keyboard             id=11   [slave  keyboard (3)]
    
5.     
xinput test 
nothing to test?
Not sure if it's relevant, but in Displays, I'd set Unify just after reinstall, but the settings revert to appearing as if not unified each time, while showing one (united) monitor (labelled Dell Inc). The Ugee is seen as HDMI, before originally clicked Unify. I'm thinking this must be cosmetic, as the desktops always look mirrored.

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 20 Jul 2018 01:28

As far as I can see the tablet is recognized and reacts up until test no. 4 - xinput list. It seems that the tablet is not mentioned there. Right? So xinput test will also not work since this command needs the device number.

I found this bug report https://github.com/DIGImend/digimend-ke ... issues/149, unfortunately the reporter just said "doesn't work" which is stupid. Two open pull requests #73 and #133 also refer to your device 5543:0047. Since the issue specifically says that the tablet stopped working on 'buntu 18 I would really reconsider your decision for EE.

If you have enough space (if not, make space using gparted) I would now do a second install of solydk9 non-ee and try the same steps there.

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 20 Jul 2018 01:32

Hi ilu and thank you again. :) Unfortunately, all those test results were from a fresh SolydK 9 install. I've since updated to EE again, as I know I can only run SolydK also for gaming via EE, plus Krita opens unbelievably fast and should see difference for painting also.

I'll look at the links (thank you very much for taking the time to find those), plus have just opened an irc chat 20 minutes ago ... nobody is there at the moment, so have left the window open.

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 20 Jul 2018 07:23

Great news; the Digimend developer on IRC was really helpful, like yourself, and it now works! I've done the workaround, after he explained that the issue was a DKMS fix being missed from the kernel ... he said to ask distro support about a permanent DKMS fix being included if possible.

Message done, and now painting commences, lol. :lol:

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 21 Jul 2018 04:10

Since we get the kernel from upstream debian there is nothing we can do about the permanent solution - it has to be reported to debian.

Please post exactly what you did to get it to work so others could come here and find the fix without asking on IRC!

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 21 Jul 2018 05:20

With respect, my normal distro, Neptune, incorporate the fix and latest Digimend deb. I understand maintainers make their own choices. Thankfully, with me not being very tech, it had been great that Nicholas clarified further via IRC what was wrong and pointed me to what to do. I'd not posted details because I thought it was my lack of tech ability and having not seen the clear solution on the site (half way down the page). It ended up that the fix was to remove the Digimend deb install, run

Code: Select all

sudo sed -i -e 's/\<unset res$/res=()/' /usr/sbin/dkms
in the terminal, install latest Digimend deb, reboot. https://github.com/DIGImend/digimend-ke ... stallation

User avatar
ilu
Posts: 2072
Joined: 09 Oct 2013 12:45

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby ilu » 22 Jul 2018 12:00

It seems that up to now nobody saw the need to incorporate any fixes for draw tablet use - I never used one and most probably others around here also don't have one. But I was asking specifically what you did so maybe we can improve the SolydXK in that regard. Anyway, at least we now know where to look.

Maybe Arjen or grizzler (sed! sed! :lol: ) could have a look at the command and check what it does?

Deleted User 2781

Re: requesting advice about Ugee 2150/pressure sensitivity

Postby Deleted User 2781 » 22 Jul 2018 12:30

Hi ilu :-) I understand. I wasn't sure, as I saw a few threads about Gimp/Krita/MyPaint (old threads?) and had just thought I was the technically-challenged token dunce, lol, whereas the others had easily sorted their devices. It's great that your advice to go to the IRC, and Nicholas's help there, brought a clear fix.

I see many using the cheaper devices now eg Ugee, Huion, XP-Pen, etc, and if people can try Solydx and find their device works, I can bet they'd stay, as Solydk runs so well. Very good distro. The Ugee working was certainly the decider for me, and I was really hoping it would work out; very happy it works. I can write a mini-tutorial in the tutorials section now.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 3 guests