LibPhidget22 on Raspberry Pi 4 (buster) issues as normal user despite udev/99-libphidget22.rules
Posted: Mon Jan 11, 2021 2:22 pm
I’m using Phidgets on a Rapspberry Pi 4 running Buster for a coffee roaster running the software Artisan-scope (It’s been running great for a few years now).
Doing some cleaning on the raspberry pi to save some space, I ended up having an issue with the libphidget22 (my roasting software could not connect to the Phidgets anymore. So I tried to reinstall it.
As described in:
https://www.phidgets.com/docs/OS_-_Linux
After testing I found out that it was an issue where I can’t see the Phidgets as a normal user. This is confirmed when running the Phidget “HelloWorld” test:
./HelloWorld Does not see anything
sudo ./HelloWorld Works fine
I have of course done the udev part:
# sudo cp plat/linux/udev/99-libphidget22.rules /etc/udev/rules.d
Rebooted, but it hasn’t solved it.
I wondered if anything else had gone during my cleanup (probably should not have done it…) . So I reinstalled Raspian Buster from scratch, installed a fresh libphidget22 and I still get the same.
Of course I could run my software suing sudo but it’s not the way it should work and it was working fine up to now.
Any idea how to force phidget to be accessible as normal user and not as root? Did I miss something?
Regards
Nico
Doing some cleaning on the raspberry pi to save some space, I ended up having an issue with the libphidget22 (my roasting software could not connect to the Phidgets anymore. So I tried to reinstall it.
As described in:
https://www.phidgets.com/docs/OS_-_Linux
After testing I found out that it was an issue where I can’t see the Phidgets as a normal user. This is confirmed when running the Phidget “HelloWorld” test:
./HelloWorld Does not see anything
sudo ./HelloWorld Works fine
I have of course done the udev part:
# sudo cp plat/linux/udev/99-libphidget22.rules /etc/udev/rules.d
Rebooted, but it hasn’t solved it.
I wondered if anything else had gone during my cleanup (probably should not have done it…) . So I reinstalled Raspian Buster from scratch, installed a fresh libphidget22 and I still get the same.
Of course I could run my software suing sudo but it’s not the way it should work and it was working fine up to now.
Any idea how to force phidget to be accessible as normal user and not as root? Did I miss something?
Regards
Nico