Open 2ndBillGates opened 1 year ago
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!
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) I've found that /dev/hidraw4 cannot access by user except root
If I run cat /dev/hidraw4 | xxd
without sudo, it gives me permission denied
When I run it with root, and move the wheel I received input
ahhh. I fixed that issue by udev rules. But now I get another error from Haptics
I'm trying to find a way to disable haptics module
surface-dial-daemon
Started
haptics worker is waiting...
haptics worker is ready
Dial Connected
Unexpected haptics worker error! HID API Error: hidapi error: No such device
the haptics worker died!
Might have something to do with the hardcoded hwid values on this line:
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. Now the daemon won't exit without error.
The scroll is a little bit too sensitive though. especially for "Zoom" & "Media" Scroll (Fake Mutli-touch) works perfectly.
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 #1 SMP PREEMPT_DYNAMIC Thu Dec 8 16:58:47 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxService Logs