Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Genius EasyPen m406 #321

Open
TPb1HDELj opened this issue Nov 2, 2019 · 10 comments · May be fixed by #566
Open

Support for Genius EasyPen m406 #321

TPb1HDELj opened this issue Nov 2, 2019 · 10 comments · May be fixed by #566

Comments

@TPb1HDELj
Copy link

TPb1HDELj commented Nov 2, 2019

Hello!
Add support for the topic, please.
the mouse is lost =(
digimendPage
3dnews

descritpors.txt
frame_buttons.txt
frame_dials.txt
hid_report_descritors.txt
pen_buttons.txt
pen_coords.txt
pen_pressure.txt
probe.txt

@Christian2006-Dex
Copy link

What Linux and version do you use? I have a similar problem.

@MrPancakes39
Copy link

I have same problem, I use Ubuntu 200.04

It doesn't seem to be supported yet, will it ever get support? and how to help?

@nic3-14159
Copy link

Hello! Correct, this tablet isn't supported yet. I'm mostly familiar with uclogic based tablets, but looking at the kye code and the dumps, it looks like it should be fairly simple to add supoort for.

I'm a bit busy right now, but I'll see if I can add support soon.

@Christian2006-Dex @MrPancakes39 By the way, if either of you has the mouse that comes with this tablet, could you also post raw input samples for that? Instructions for doing that are here, under the section "Collect raw input samples" > Mouse

@MrPancakes39
Copy link

Oh thanks for the response! Unfortunately my tablet didn't come with a mouse so I can't help with that... sorry.
By the way, thanks for writing drivers you're a life saver!

nic3-14159 added a commit to nic3-14159/digimend-kernel-drivers that referenced this issue Sep 25, 2021
nic3-14159 added a commit to nic3-14159/digimend-kernel-drivers that referenced this issue Sep 25, 2021
@nic3-14159
Copy link

nic3-14159 commented Sep 25, 2021

@TPb1HDELj, @Christian2006-Dex, @MrPancakes39 Could you test the following branch and report if it works? I noticed that the pen input samples didn't seem to be reporting pressure, but I did see that the existing DIGImend code sends an initialization message for some of the EasyPen tablets, which seems like it might enable the pressure. I just assumed this tablet operates similarly to those tablets and just copied and tweaked that code, so I'm not 100% sure if this will actually match the reports the tablet sends after initializing it (assuming the same init procedure applies)

https://github.com/nic3-14159/digimend-kernel-drivers/tree/easypen-m406

Also, I did a bit of digging and it seems like the mouse was just another one of Genius's products that came packaged with the tablet as a bonus. I think some tablets had mice that only worked on top of the tablet, but since the one packaged with the M406 is a standalone product, it should just work as a normal USB mouse without the tablet, and thus retrieving input samples for it doesn't actually need to be done.

@MrPancakes39
Copy link

Hello again @nic3-14159, I installed the drivers from source and the tablet now works. I tested the pressure sensitivity in Krita (since it supports this tablet) and it works too! Thank you for your help and support ♥♥

@nic3-14159
Copy link

@MrPancakes39 Great! The tablet buttons are currently hard mapped to Redo, Undo, Zoom in, and Zoom out application buttons, as that's what was done for many of the other Genius tablets, probably because the buttons are labeled with specific functions on the tablet itself. However, application support for those seems a little flaky. You should be able to remap them to whatever shortcut you want using a tool like key-mapper though.

If you don't mind, could you also post raw input samples while using the driver I wrote? That way there is some reference for the input reports after performing the initialization procedure.

nic3-14159 added a commit to nic3-14159/digimend-kernel-drivers that referenced this issue Sep 25, 2021
@nic3-14159 nic3-14159 linked a pull request Sep 25, 2021 that will close this issue
@MrPancakes39
Copy link

@nic3-14159 I forgot to test the buttons but (for me) they don't seem to work, I'm okay with that thou.
And for raw input samples I'll send them sure thing.

@MrPancakes39
Copy link

Hello again @nic3-14159, I didn't forget about the raw input samples only been super busy with university loads.
❤️ Thanks again, you're a life saver! ❤️
(Note: My pen's tip is slightly broken, so I tried my best with pen_tilt sample);

raw input samples:
frame_buttons.txt
frame_dials.txt
pen_buttons.txt
pen_coords.txt
pen_pressure.txt
pen_tilt.txt
(Note: I don't have the mouse for mouse samples; Also really nice documentation 👍🏻;)

@MrPancakes39
Copy link

You should be able to remap them to whatever shortcut you want using a tool like key-mapper though.

Thanks also @nic3-14159 for this suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants