Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04.1 LTS support #35

Open
MartinThoma opened this issue Jan 5, 2019 · 2 comments
Open

Ubuntu 18.04.1 LTS support #35

MartinThoma opened this issue Jan 5, 2019 · 2 comments

Comments

@MartinThoma
Copy link

I've installed elitech:

$ pip3 install elitech-datareader

and tried

$  elitech-datareader --command simple-set --interval=10 /dev/tty.SLAB_USBtoUART

but got

serial.serialutil.SerialException: [Errno 2] could not open port /dev/tty.SLAB_USBtoUART: [Errno 2] No such file or directory: '/dev/tty.SLAB_USBtoUART'

Looking at the diff of ls /dev, I found that plugging the Elitech RC-5 in gives the following additional devices:

  • hidraw1
  • sdb
  • sg1

Could you please help me? How do I configure the device?

@alex-gee
Copy link
Contributor

I have a Ubuntu 18.04.1 LTS and a RC-5 at hand and could not reproduce your error.
But mine gets mounted at /dev/ttyUSB0. Sounds like some strange hardware related issue to me.

@ik8vrq
Copy link

ik8vrq commented May 26, 2019

Hi,

the RC5+ device from Elitech behaves like a mass store device (for pdf report, like a pendrive) and as a Human Interface Device for data flow. It has not a USBtty interface anymore.

So, with this device to read and write data It's necessary to use HIDDRAW interface not TTYUSBn way of communication.

The DMESG output on my linux box:

[ 7449.105879] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[ 7449.520899] usb 5-1: New USB device found, idVendor=04d8, idProduct=3005
[ 7449.520902] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7449.523956] usb-storage 5-1:1.0: USB Mass Storage device detected
[ 7449.527388] hid-generic 0003:04D8:3005.0004: input,hidraw2: USB HID v1.11 Device [www. DataLog] on usb-0000:00:1d.3-1/input1

So, imho, another approach is necessary.

Anyone can advice about this?

Regards, Angelo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants