Page 1 of 1

PhidgetSBC4 3003_0

Posted: Wed Jan 06, 2021 8:00 am
by neamul
Hello,
I am new to Phidget. My os in ubuntu 20.04. I have installed libusb-1.0-0-dev and all the other libraries. My problem is When I run the 'Helloworld.c' it stuck and shows these three lines:
''Opening...
Phidget Simple Playground (plug and unplug managers)
Press Enter to end anytime...''

I tried with the web interface, Did not work. Although I install all the packages. And in the control panel, my Humidity sensor seems to work.

Thanks in advance.

Re: PhidgetSBC4 3003_0

Posted: Wed Jan 06, 2021 8:54 am
by mparadis
Did you run Helloworld.c as root? You need to either use sudo on all programs that use Phidgets, or set up your udev rules as outlined here:
https://www.phidgets.com/docs/OS_-_Linu ... nformation

Re: PhidgetSBC4 3003_0

Posted: Thu Jan 07, 2021 10:21 am
by neamul
mparadis wrote:Did you run Helloworld.c as root? You need to either use sudo on all programs that use Phidgets, or set up your udev rules as outlined here:
https://www.phidgets.com/docs/OS_-_Linu ... nformation
Thank you for your answer. Yes I run as root, I copied the Udev rules to rules.d, But nothing worked. Do you have any other suggestions ?

Re: PhidgetSBC4 3003_0

Posted: Thu Jan 07, 2021 11:20 am
by mparadis
I just noticed the thread title- If you're trying to access Phidgets connected to the PhidgetSBC from your linux machine, it means you'd be opening remotely (and helloworld.c just lists local Phidgets). You can modify helloworld.c by adding code as described on the Network Server page and starting the network server though the SBC's admin page.