2009-04-04 04:45:36 UTC
Just wanting to document this here. If the owner is still alive, maybe he'll take this into the readme in a future release:
1. hptalx segfaults if it can not find the executable "kermit" while trying to connect. Solution: make sure /usr/bin/kermit exists
2. Don't have permissions to access e.g. /dev/ttyUSB0
Sol'n depends on your OS, but most Linux have udev & pam-console-perms. If so:
a) /etc/udev/rules.d/10-hpcalc.rules:
BUS=="usb", DRIVERS=="hp4X", KERNEL=="ttyUSB[0-9]",SYMLINK+="hpcalc"
b) /etc/security/console.perms.d/70-hpcalc.perms:
<hpcalc>=/dev/hpcalc
<console> 0600 <hpcalc> 0660 root.uucp
If this doesn't work, do a ls -la /dev/ttyUSB0. Is the group uucp? If yes, add the users who should access the calc to group uccp.