HP Calculator
Nov 14, 2011·
·
2 min read
Julio Batista Silva
Installation of HPtalx to connect the calculator to the computer via USB:
Download and install
Ckermit(available at AUR)julio@julio-acer ~> yaourt ckermitDownload and install
Hptalx(available at AUR)julio@julio-acer ~> yaourt hptalxHptalxgives a segmentation fault if/usr/bin/kermitdoes not exist, so create a symbolic link:julio@julio-acer ~> sudo ln -s /usr/bin/ckermit /usr/bin/kermitStart the
hp4xmodulejulio@julio-acer ~> modprobe hp4x ```Find out which
ttyUSBis being used (ttyUSB0here):julio@julio-acer ~> dmesg | tail [51169.091990] hp4X 5-1:1.0: device disconnected [51563.975003] usb 5-1: new full speed USB device number 4 using uhci_hcd [51564.139674] hp4X 5-1:1.0: hp4X converter detected [51564.139816] usb 5-1: hp4X converter now attached to ttyUSB0To avoid using as root, add your user to the group that has access to
/dev/ttyUSB0julio@julio-acer ~> ls -al /dev/ttyUSB0 crw-rw---- 1 root uucp 188, 0 Nov 14 03:48 /dev/ttyUSB0 julio@julio-acer ~> sudo gpasswd -a julio uucp Adding user julio to group uucpRemember to log in again for the settings to take effect.
In
Apps -> I/O-Functions -> Transfer, set the calculator’s transfer type toKermit.Start the Kermit server on the calculator (
Right_Shift + Right_Arrow)"Awaiting Server Cmd."Start
Hptalx. InFile -> Setup… (Ctrl+N)leave it as:Connection settings: USB (ttyUSB) Set ttyUSB port: 0Connect -> Connect (Ctrl+B)