nvdweem/PCPanel

Linux: detects device, but doesn't change volume

Closed this issue · 1 comments

Describe the bug:

Tried v1.6 and v1.7 and having the same issue.
PulseAudio installed.
I completed all the steps from Linux setup. When I start the app normally, it doesn't detect my device. It detects fine if I start as root, however I cannot see any apps in the pick list and specifying just a name doesn't affect the volume. I also don't have any devices listed in audio device dropdown. Focus volume doesn't work either. The only thing that works is setting up knob to control device's lighting.

I went through the issues that were closed here, but didn't find anything that helped me.

It actually worked fine after I did first install and restart (using 1.6). I think I launched as non-root and it detected the device and volume control was working. The issue I had is that saving lighting/app config wasn't working (if I pressed OK it would do nothing). Next day I started the app and it didn't detect the device and all settings were reset (it probably never saved), so I restarted as root. That's when the issues with control started, however saving config is working.

Steps to reproduce:

  • dpkg as root
  • allow device access
  • restart
  • launch PCpanel

The log from the app states that the device is found

INFO 66978 --- [va event worker] com.getpcpanel.hid.DeviceScanner         : FOUND PCPANEL : HidDevice [path=0007:000e:00, vendorId=0x483, productId=0xa3c5, serialNumber=5C43E5343638, releaseNumber=0x200, manufacturer=PCPanel Holdings LLC, product=PCPanel Pro 1.0, usagePage=0x0, usage=0x0, interfaceNumber=0

where vendorId and productId match the udev rules.

However, it throws an error:

ERROR 66978 --- [va event worker] com.getpcpanel.hid.DeviceScanner         : Unable to handle device added

Additional context:

Debian 12 Plasma Desktop, X11
PCpanel Pro

I have resolved the issue. It looks like having 'Show icons in main UI' was causing an exception leading to malfunction of everything else. I also added GROUP="plugdev" to my udev rules as well as making sure my user has plugdev group assigned. Running fine without root privileges.