Post Reply 
libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
12-14-2013, 02:37 AM
Post: #3
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
I was able to get test_hpcalcs working for regular users on Ubuntu (12.04) by doing two things:

1. Add the user to the 'dialout' group

2. Create a new udev rule in /etc/udev/rules.d/80-hp-prime.rules:
Code:

# HP Prime Calculator
SUBSYSTEM=="usb",  ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0441", ACTION=="add", GROUP="dialout", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0441", ACTION=="add", GROUP="dialout", MODE="0666"

Notes: Using the group is probably not necessary. If you are in the group, you can use 664 for permissions, if you are not, 666 means everyone can read/write the port, including you. So if you are doing this on your own laptop, no group and MODE="0666" should be fine. Otherwise use the group approach shown here with MODE="0664".

-Jonathan
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library - Jonathan Cameron - 12-14-2013 02:37 AM



User(s) browsing this thread: 4 Guest(s)