-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Daemon not working with emulate Surface Dial #10
Comments
Happened to see this before I was about to head off to bed... That's yet another permissions error, and those extra recv errors are just downstream errors (other threads dying because one thread died). Check the source of the error in the code and try to deduce which file / perms need to be changed. Not sure if I'll be able to be much more help, but best of luck! |
Thank you for the tips, I'm debugging myself. /dev/hidraw4 (I confirmed is Surface Dial) If I run When I run it with root, and move the wheel |
ahhh. I fixed that issue by udev rules. I'm trying to find a way to disable haptics module
|
Might have something to do with the hardcoded hwid values on this line:
|
I managed to make it working, since I'm not so sure what line "64~76" codes are for from haptics.rs. The scroll is a little bit too sensitive though. especially for "Zoom" & "Media" I'm not sure why you put KEY_SHIFT in volume mod, so I removed it. |
Describe the bug
Hello Sir,
I'm trying to combine your project with this, it's a android app to emulate Surface Dial bluetooth HID device. It works great on Windows. (Meaning I don't own a Surface Dial)
https://github.com/tumuyan/Kontroller
I know it's a old project of yours but I want to make it available to more users.
Thank you for making it possible.
1. Surface Dial is not recognise
When I was running the daemon first time, it stuck at "haptics worker is waiting..."
I guess the daemon does not recognise the Dial (Phone) is paired and connected
because your project rely on reading the bluetooth device name "Surface Dial"
While my phone bluetooth hostname is something else.
then I change it to "Surface Dial"
Now it recognise
2. Error when the Dial sending commands
but then, whenever I try to use the Dial
the daemon gave me
I think it's because of "hidraw4" "uinput" is not given permission.
Despite the udev rules was set.
then, I run
this time it gives me another error.
3. Error at .upwarp()
Desktop (please complete the following information):
uname -a
: 6.0.12-300.fc37.x86_64 Flaky /dev/hidraw causing haptics worker panic #1 SMP PREEMPT_DYNAMIC Thu Dec 8 16:58:47 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxService Logs
The text was updated successfully, but these errors were encountered: