eq-3 / occu

200 stars 57 forks source link

HmIP-RFUSB not working on Linux #88

Open dizastarone opened 5 years ago

dizastarone commented 5 years ago

Hi,

im trying to get the hmip-rfusb stick working on linux.

OS: Debian 9.6

commands to init: modprobe cp210x echo "1b1f c020" >/sys/bus/usb-serial/drivers/cp210x/new_id

lsusb -t: /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M <----- /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M

dmesg: 2.881111] usb 3-1: New USB device found, idVendor=1b1f, idProduct=c020 [ 2.881112] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.881113] usb 3-1: Product: eQ-3 HmIP-RFUSB [ 2.881114] usb 3-1: Manufacturer: Silicon Labs [ 2.881114] usb 3-1: SerialNumber: 3014F711A061A7C00010CECF [ 2.951326] usbcore: registered new interface driver usbserial [ 2.951332] usbcore: registered new interface driver usbserial_generic [ 2.951337] usbserial: USB Serial support registered for generic [ 2.952362] usbcore: registered new interface driver cp210x [ 2.952368] usbserial: USB Serial support registered for cp210x [ 2.952783] cp210x 3-1:1.0: cp210x converter detected [ 2.961192] usb 3-1: cp210x converter now attached to ttyUSB0

ls -all /dev: crw-rw---- 1 root dialout 4, 65 Dez 29 14:45 ttyS1 crw-rw---- 1 root dialout 4, 66 Dez 29 14:45 ttyS2 crw-rw---- 1 root dialout 4, 67 Dez 29 14:45 ttyS3 crw-rw---- 1 root dialout 188, 0 Dez 29 15:03 ttyUSB0 <---- crw------- 1 root root 10, 239 Dez 29 14:45 uhid crw------- 1 root root 10, 223 Dez 29 14:45 uinput crw-rw-rw- 1 root root 1, 9 Dez 29 14:45 urandom

tried to get version: java -jar hmip-copro-update.jar -p /dev/ttyUSB0 -v no response so need to cancel

Test same Stick under windows with same hmip-copro-update.jar success, stick is ok. Firmeware update to 2.8.6 done successful under windows. On Linux see above.

Any Idea what i can do to get it work?

agrimpelhuber commented 5 years ago

May be a permission problem. Make sure that you run the program with a user who is either root oder a member of the group "dialout".