openHab2 on pine64 - tomekr - 04-15-2016
Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
RE: openHab2 on pine64 - rahlquist - 04-15-2016
(04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Maybe this post will be of assistance. http://forum.pine64.org/showthread.php?tid=648&pid=5760#pid5760
RE: openHab2 on pine64 - tomekr - 04-15-2016
(04-15-2016, 05:54 AM)rahlquist Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Maybe this post will be of assistance. http://forum.pine64.org/showthread.php?tid=648&pid=5760#pid5760 Nothing changed I still get "Port /dev/ttyS2 does not exist" i try /dev/ttyS1 with the same result
RE: openHab2 on pine64 - rahlquist - 04-15-2016
(04-15-2016, 07:45 AM)tomekr Wrote: (04-15-2016, 05:54 AM)rahlquist Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Maybe this post will be of assistance. http://forum.pine64.org/showthread.php?tid=648&pid=5760#pid5760 Nothing changed I still get "Port /dev/ttyS2 does not exist" i try /dev/ttyS1 with the same result Afraid you are outside my element, perhaps ; https://groups.google.com/forum/#!topic/openhab/epGh6SCqI6w
http://askubuntu.com/questions/334784/dev-ttyusb0-doesnt-exists
http://askubuntu.com/questions/595896/how-to-allow-software-access-to-any-usb-devices/632428#632428
RE: openHab2 on pine64 - umiddelb - 04-15-2016
(04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Could you provide a dmesg output after inserting the Z-Wave USB stick? Do you have another Linux box which supports the Z-Wave stick? Another dmesg output from there would be helpful as well.
/dev/ttySX is used by the pine64 UART on board connectors (and not relevant here as long as you are using an USB device)
/dev/ttyUSBX is used by USB->UART connectors but your Linux kernel needs to be compiled with support for this kind of devices
Having the dmesg output mentioned above helps to identify the right device driver.
RE: openHab2 on pine64 - tomekr - 04-15-2016
(04-15-2016, 09:45 AM)umiddelb Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Could you provide a dmesg output after inserting the Z-Wave USB stick? Do you have another Linux box which supports the Z-Wave stick? Another dmesg output from there would be helpful as well.
/dev/ttySX is used by the pine64 UART on board connectors (and not relevant here as long as you are using an USB device)
/dev/ttyUSBX is used by USB->UART connectors but your Linux kernel needs to be compiled with support for this kind of devices
Having the dmesg output mentioned above helps to identify the right device driver.
here is output damsel |grep usb from pine64
[ 6.729404] usbcore: registered new interface driver usbfs
[ 6.729623] usbcore: registered new interface driver hub
[ 6.729908] usbcore: registered new device driver usb
[ 8.707419] usbcore: registered new interface driver usb-storage
[ 8.720583] usbcore: registered new interface driver ums-alauda
[ 8.733583] usbcore: registered new interface driver ums-cypress
[ 8.746612] usbcore: registered new interface driver ums-datafab
[ 8.759605] usbcore: registered new interface driver ums_eneub6250
[ 8.772761] usbcore: registered new interface driver ums-freecom
[ 8.785705] usbcore: registered new interface driver ums-isd200
[ 8.798499] usbcore: registered new interface driver ums-jumpshot
[ 8.811387] usbcore: registered new interface driver ums-karma
[ 8.823952] usbcore: registered new interface driver ums-onetouch
[ 8.836810] usbcore: registered new interface driver ums-realtek
[ 8.849501] usbcore: registered new interface driver ums-sddr09
[ 8.862082] usbcore: registered new interface driver ums-sddr55
[ 8.874593] usbcore: registered new interface driver ums-usbat
[ 8.954865] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
[ 9.900607] usbcore: registered new interface driver usbhid
[ 9.911503] usbhid: USB HID core driver
[ 9.922715] usbcore: registered new interface driver snd-usb-audio
[ 10.911281] [ehci0-controller]: sunxi_usb_disable_ehci
[ 10.958581] usb usb1: USB disconnect, device number 1
[ 10.982245] [ohci0-controller]: sunxi_usb_disable_ohci
[ 11.030133] usb usb3: USB disconnect, device number 1
[ 11.040687] usb 3-1: USB disconnect, device number 2
[ 11.092760] [ehci0-controller]: sunxi_usb_enable_ehci
[ 11.233251] [ohci0-controller]: sunxi_usb_enable_ohci
[ 12.034782] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
and output from cubietrunck
[ 3.203110] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 3.203143] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 3.203173] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 3.205581] usbcore: registered new interface driver usbfs
[ 3.205650] usbcore: registered new interface driver hub
[ 3.205737] usbcore: registered new device driver usb
[ 3.283305] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[ 3.387526] usbcore: registered new interface driver usb-storage
[ 3.489744] usbcore: registered new interface driver usbhid
[ 3.489754] usbhid: USB HID core driver
[ 3.570025] ehci-platform 1c14000.usb: EHCI Host Controller
[ 3.570073] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 3.570337] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[ 3.587858] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 3.588208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.588223] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.588233] usb usb1: Product: EHCI Host Controller
[ 3.588243] usb usb1: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.588252] usb usb1: SerialNumber: 1c14000.usb
[ 3.590108] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.590155] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 3.590401] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 3.607862] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.608155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.608170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.608180] usb usb2: Product: EHCI Host Controller
[ 3.608190] usb usb2: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.608199] usb usb2: SerialNumber: 1c1c000.usb
[ 3.609798] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 3.609838] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 3.610076] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[ 3.672162] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.672177] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.672187] usb usb3: Product: Generic Platform OHCI controller
[ 3.672197] usb usb3: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.672206] usb usb3: SerialNumber: 1c14400.usb
[ 3.673842] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.673883] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 3.674100] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 3.732129] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.732145] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.732155] usb usb4: Product: Generic Platform OHCI controller
[ 3.732164] usb usb4: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.732173] usb usb4: SerialNumber: 1c1c400.usb
[ 3.739868] usb0-vbus: disabling
[ 4.267995] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 4.490435] usb 4-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 4.490460] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.490471] usb 4-1: Product: CP2102 USB to UART Bridge Controller
[ 4.490481] usb 4-1: Manufacturer: Silicon Labs
[ 4.490490] usb 4-1: SerialNumber: 0001
[ 5.215163] usbcore: registered new interface driver usbserial
[ 5.217339] usbcore: registered new interface driver usbserial_generic
[ 5.217458] usbserial: USB Serial support registered for generic
[ 5.222859] usbcore: registered new interface driver cp210x
[ 5.223010] usbserial: USB Serial support registered for cp210x
[ 5.223799] usb 4-1: cp210x converter now attached to ttyUSB0
RE: openHab2 on pine64 - umiddelb - 04-15-2016
(04-15-2016, 10:22 AM)tomekr Wrote: (04-15-2016, 09:45 AM)umiddelb Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Could you provide a dmesg output after inserting the Z-Wave USB stick? Do you have another Linux box which supports the Z-Wave stick? Another dmesg output from there would be helpful as well.
/dev/ttySX is used by the pine64 UART on board connectors (and not relevant here as long as you are using an USB device)
/dev/ttyUSBX is used by USB->UART connectors but your Linux kernel needs to be compiled with support for this kind of devices
Having the dmesg output mentioned above helps to identify the right device driver.
here is output damsel |grep usb from pine64
[ 6.729404] usbcore: registered new interface driver usbfs
[ 6.729623] usbcore: registered new interface driver hub
[ 6.729908] usbcore: registered new device driver usb
[ 8.707419] usbcore: registered new interface driver usb-storage
[ 8.720583] usbcore: registered new interface driver ums-alauda
[ 8.733583] usbcore: registered new interface driver ums-cypress
[ 8.746612] usbcore: registered new interface driver ums-datafab
[ 8.759605] usbcore: registered new interface driver ums_eneub6250
[ 8.772761] usbcore: registered new interface driver ums-freecom
[ 8.785705] usbcore: registered new interface driver ums-isd200
[ 8.798499] usbcore: registered new interface driver ums-jumpshot
[ 8.811387] usbcore: registered new interface driver ums-karma
[ 8.823952] usbcore: registered new interface driver ums-onetouch
[ 8.836810] usbcore: registered new interface driver ums-realtek
[ 8.849501] usbcore: registered new interface driver ums-sddr09
[ 8.862082] usbcore: registered new interface driver ums-sddr55
[ 8.874593] usbcore: registered new interface driver ums-usbat
[ 8.954865] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
[ 9.900607] usbcore: registered new interface driver usbhid
[ 9.911503] usbhid: USB HID core driver
[ 9.922715] usbcore: registered new interface driver snd-usb-audio
[ 10.911281] [ehci0-controller]: sunxi_usb_disable_ehci
[ 10.958581] usb usb1: USB disconnect, device number 1
[ 10.982245] [ohci0-controller]: sunxi_usb_disable_ohci
[ 11.030133] usb usb3: USB disconnect, device number 1
[ 11.040687] usb 3-1: USB disconnect, device number 2
[ 11.092760] [ehci0-controller]: sunxi_usb_enable_ehci
[ 11.233251] [ohci0-controller]: sunxi_usb_enable_ohci
[ 12.034782] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
and output from cubietrunck
[ 3.203110] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 3.203143] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 3.203173] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 3.205581] usbcore: registered new interface driver usbfs
[ 3.205650] usbcore: registered new interface driver hub
[ 3.205737] usbcore: registered new device driver usb
[ 3.283305] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[ 3.387526] usbcore: registered new interface driver usb-storage
[ 3.489744] usbcore: registered new interface driver usbhid
[ 3.489754] usbhid: USB HID core driver
[ 3.570025] ehci-platform 1c14000.usb: EHCI Host Controller
[ 3.570073] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 3.570337] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[ 3.587858] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 3.588208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.588223] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.588233] usb usb1: Product: EHCI Host Controller
[ 3.588243] usb usb1: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.588252] usb usb1: SerialNumber: 1c14000.usb
[ 3.590108] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.590155] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 3.590401] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 3.607862] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.608155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.608170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.608180] usb usb2: Product: EHCI Host Controller
[ 3.608190] usb usb2: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.608199] usb usb2: SerialNumber: 1c1c000.usb
[ 3.609798] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 3.609838] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 3.610076] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[ 3.672162] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.672177] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.672187] usb usb3: Product: Generic Platform OHCI controller
[ 3.672197] usb usb3: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.672206] usb usb3: SerialNumber: 1c14400.usb
[ 3.673842] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.673883] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 3.674100] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 3.732129] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.732145] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.732155] usb usb4: Product: Generic Platform OHCI controller
[ 3.732164] usb usb4: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.732173] usb usb4: SerialNumber: 1c1c400.usb
[ 3.739868] usb0-vbus: disabling
[ 4.267995] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 4.490435] usb 4-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 4.490460] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.490471] usb 4-1: Product: CP2102 USB to UART Bridge Controller
[ 4.490481] usb 4-1: Manufacturer: Silicon Labs
[ 4.490490] usb 4-1: SerialNumber: 0001
[ 5.215163] usbcore: registered new interface driver usbserial
[ 5.217339] usbcore: registered new interface driver usbserial_generic
[ 5.217458] usbserial: USB Serial support registered for generic
[ 5.222859] usbcore: registered new interface driver cp210x
[ 5.223010] usbserial: USB Serial support registered for cp210x
[ 5.223799] usb 4-1: cp210x converter now attached to ttyUSB0
You need to compile a new kernel and enable support for "USB CP210x family of UART Bridge Controllers"
(> Device Drivers > USB support > USB Serial Converter support), see here how to compile a custom kernel.
If you feel uncomfortable with this, go to https://github.com/longsleep/linux-pine64/issues and open a new issue requesting support for USB Serial Converters, especially the CP210x.
RE: openHab2 on pine64 - tomekr - 04-16-2016
(04-15-2016, 02:56 PM)umiddelb Wrote: (04-15-2016, 10:22 AM)tomekr Wrote: (04-15-2016, 09:45 AM)umiddelb Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Could you provide a dmesg output after inserting the Z-Wave USB stick? Do you have another Linux box which supports the Z-Wave stick? Another dmesg output from there would be helpful as well.
/dev/ttySX is used by the pine64 UART on board connectors (and not relevant here as long as you are using an USB device)
/dev/ttyUSBX is used by USB->UART connectors but your Linux kernel needs to be compiled with support for this kind of devices
Having the dmesg output mentioned above helps to identify the right device driver.
here is output damsel |grep usb from pine64
[ 6.729404] usbcore: registered new interface driver usbfs
[ 6.729623] usbcore: registered new interface driver hub
[ 6.729908] usbcore: registered new device driver usb
[ 8.707419] usbcore: registered new interface driver usb-storage
[ 8.720583] usbcore: registered new interface driver ums-alauda
[ 8.733583] usbcore: registered new interface driver ums-cypress
[ 8.746612] usbcore: registered new interface driver ums-datafab
[ 8.759605] usbcore: registered new interface driver ums_eneub6250
[ 8.772761] usbcore: registered new interface driver ums-freecom
[ 8.785705] usbcore: registered new interface driver ums-isd200
[ 8.798499] usbcore: registered new interface driver ums-jumpshot
[ 8.811387] usbcore: registered new interface driver ums-karma
[ 8.823952] usbcore: registered new interface driver ums-onetouch
[ 8.836810] usbcore: registered new interface driver ums-realtek
[ 8.849501] usbcore: registered new interface driver ums-sddr09
[ 8.862082] usbcore: registered new interface driver ums-sddr55
[ 8.874593] usbcore: registered new interface driver ums-usbat
[ 8.954865] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
[ 9.900607] usbcore: registered new interface driver usbhid
[ 9.911503] usbhid: USB HID core driver
[ 9.922715] usbcore: registered new interface driver snd-usb-audio
[ 10.911281] [ehci0-controller]: sunxi_usb_disable_ehci
[ 10.958581] usb usb1: USB disconnect, device number 1
[ 10.982245] [ohci0-controller]: sunxi_usb_disable_ohci
[ 11.030133] usb usb3: USB disconnect, device number 1
[ 11.040687] usb 3-1: USB disconnect, device number 2
[ 11.092760] [ehci0-controller]: sunxi_usb_enable_ehci
[ 11.233251] [ohci0-controller]: sunxi_usb_enable_ohci
[ 12.034782] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
and output from cubietrunck
[ 3.203110] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 3.203143] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 3.203173] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 3.205581] usbcore: registered new interface driver usbfs
[ 3.205650] usbcore: registered new interface driver hub
[ 3.205737] usbcore: registered new device driver usb
[ 3.283305] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[ 3.387526] usbcore: registered new interface driver usb-storage
[ 3.489744] usbcore: registered new interface driver usbhid
[ 3.489754] usbhid: USB HID core driver
[ 3.570025] ehci-platform 1c14000.usb: EHCI Host Controller
[ 3.570073] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 3.570337] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[ 3.587858] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 3.588208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.588223] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.588233] usb usb1: Product: EHCI Host Controller
[ 3.588243] usb usb1: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.588252] usb usb1: SerialNumber: 1c14000.usb
[ 3.590108] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.590155] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 3.590401] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 3.607862] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.608155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.608170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.608180] usb usb2: Product: EHCI Host Controller
[ 3.608190] usb usb2: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.608199] usb usb2: SerialNumber: 1c1c000.usb
[ 3.609798] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 3.609838] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 3.610076] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[ 3.672162] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.672177] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.672187] usb usb3: Product: Generic Platform OHCI controller
[ 3.672197] usb usb3: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.672206] usb usb3: SerialNumber: 1c14400.usb
[ 3.673842] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.673883] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 3.674100] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 3.732129] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.732145] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.732155] usb usb4: Product: Generic Platform OHCI controller
[ 3.732164] usb usb4: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.732173] usb usb4: SerialNumber: 1c1c400.usb
[ 3.739868] usb0-vbus: disabling
[ 4.267995] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 4.490435] usb 4-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 4.490460] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.490471] usb 4-1: Product: CP2102 USB to UART Bridge Controller
[ 4.490481] usb 4-1: Manufacturer: Silicon Labs
[ 4.490490] usb 4-1: SerialNumber: 0001
[ 5.215163] usbcore: registered new interface driver usbserial
[ 5.217339] usbcore: registered new interface driver usbserial_generic
[ 5.217458] usbserial: USB Serial support registered for generic
[ 5.222859] usbcore: registered new interface driver cp210x
[ 5.223010] usbserial: USB Serial support registered for cp210x
[ 5.223799] usb 4-1: cp210x converter now attached to ttyUSB0
You need to compile a new kernel and enable support for "USB CP210x family of UART Bridge Controllers"
(> Device Drivers > USB support > USB Serial Converter support), see here how to compile a custom kernel.
If you feel uncomfortable with this, go to https://github.com/longsleep/linux-pine64/issues and open a new issue requesting support for USB Serial Converters, especially the CP210x.
many thanks
RE: openHab2 on pine64 - tomekr - 04-16-2016
(04-16-2016, 07:03 AM)tomekr Wrote: (04-15-2016, 02:56 PM)umiddelb Wrote: (04-15-2016, 10:22 AM)tomekr Wrote: (04-15-2016, 09:45 AM)umiddelb Wrote: (04-15-2016, 01:35 AM)tomekr Wrote: Hi All
I have installed openhab2 on pine64 ( Debian Mate) with success. Openhab2 works pretty good ( but there are a lot of java errors in logs)
I connect Aeon Z-Wave USB stick but I can't find usb port in /dev/
/dev/ttyUSB0 does not exist.
Any idea which device I should use?
regards
tomek
Could you provide a dmesg output after inserting the Z-Wave USB stick? Do you have another Linux box which supports the Z-Wave stick? Another dmesg output from there would be helpful as well.
/dev/ttySX is used by the pine64 UART on board connectors (and not relevant here as long as you are using an USB device)
/dev/ttyUSBX is used by USB->UART connectors but your Linux kernel needs to be compiled with support for this kind of devices
Having the dmesg output mentioned above helps to identify the right device driver.
here is output damsel |grep usb from pine64
[ 6.729404] usbcore: registered new interface driver usbfs
[ 6.729623] usbcore: registered new interface driver hub
[ 6.729908] usbcore: registered new device driver usb
[ 8.707419] usbcore: registered new interface driver usb-storage
[ 8.720583] usbcore: registered new interface driver ums-alauda
[ 8.733583] usbcore: registered new interface driver ums-cypress
[ 8.746612] usbcore: registered new interface driver ums-datafab
[ 8.759605] usbcore: registered new interface driver ums_eneub6250
[ 8.772761] usbcore: registered new interface driver ums-freecom
[ 8.785705] usbcore: registered new interface driver ums-isd200
[ 8.798499] usbcore: registered new interface driver ums-jumpshot
[ 8.811387] usbcore: registered new interface driver ums-karma
[ 8.823952] usbcore: registered new interface driver ums-onetouch
[ 8.836810] usbcore: registered new interface driver ums-realtek
[ 8.849501] usbcore: registered new interface driver ums-sddr09
[ 8.862082] usbcore: registered new interface driver ums-sddr55
[ 8.874593] usbcore: registered new interface driver ums-usbat
[ 8.954865] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
[ 9.900607] usbcore: registered new interface driver usbhid
[ 9.911503] usbhid: USB HID core driver
[ 9.922715] usbcore: registered new interface driver snd-usb-audio
[ 10.911281] [ehci0-controller]: sunxi_usb_disable_ehci
[ 10.958581] usb usb1: USB disconnect, device number 1
[ 10.982245] [ohci0-controller]: sunxi_usb_disable_ohci
[ 11.030133] usb usb3: USB disconnect, device number 1
[ 11.040687] usb 3-1: USB disconnect, device number 2
[ 11.092760] [ehci0-controller]: sunxi_usb_enable_ehci
[ 11.233251] [ohci0-controller]: sunxi_usb_enable_ohci
[ 12.034782] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
and output from cubietrunck
[ 3.203110] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 3.203143] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 3.203173] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 3.205581] usbcore: registered new interface driver usbfs
[ 3.205650] usbcore: registered new interface driver hub
[ 3.205737] usbcore: registered new device driver usb
[ 3.283305] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[ 3.387526] usbcore: registered new interface driver usb-storage
[ 3.489744] usbcore: registered new interface driver usbhid
[ 3.489754] usbhid: USB HID core driver
[ 3.570025] ehci-platform 1c14000.usb: EHCI Host Controller
[ 3.570073] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 3.570337] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[ 3.587858] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 3.588208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.588223] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.588233] usb usb1: Product: EHCI Host Controller
[ 3.588243] usb usb1: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.588252] usb usb1: SerialNumber: 1c14000.usb
[ 3.590108] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.590155] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 3.590401] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 3.607862] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.608155] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.608170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.608180] usb usb2: Product: EHCI Host Controller
[ 3.608190] usb usb2: Manufacturer: Linux 4.4.1-sunxi ehci_hcd
[ 3.608199] usb usb2: SerialNumber: 1c1c000.usb
[ 3.609798] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 3.609838] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 3.610076] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[ 3.672162] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.672177] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.672187] usb usb3: Product: Generic Platform OHCI controller
[ 3.672197] usb usb3: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.672206] usb usb3: SerialNumber: 1c14400.usb
[ 3.673842] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.673883] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 3.674100] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 3.732129] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.732145] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.732155] usb usb4: Product: Generic Platform OHCI controller
[ 3.732164] usb usb4: Manufacturer: Linux 4.4.1-sunxi ohci_hcd
[ 3.732173] usb usb4: SerialNumber: 1c1c400.usb
[ 3.739868] usb0-vbus: disabling
[ 4.267995] usb 4-1: new full-speed USB device number 2 using ohci-platform
[ 4.490435] usb 4-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 4.490460] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.490471] usb 4-1: Product: CP2102 USB to UART Bridge Controller
[ 4.490481] usb 4-1: Manufacturer: Silicon Labs
[ 4.490490] usb 4-1: SerialNumber: 0001
[ 5.215163] usbcore: registered new interface driver usbserial
[ 5.217339] usbcore: registered new interface driver usbserial_generic
[ 5.217458] usbserial: USB Serial support registered for generic
[ 5.222859] usbcore: registered new interface driver cp210x
[ 5.223010] usbserial: USB Serial support registered for cp210x
[ 5.223799] usb 4-1: cp210x converter now attached to ttyUSB0
You need to compile a new kernel and enable support for "USB CP210x family of UART Bridge Controllers"
(> Device Drivers > USB support > USB Serial Converter support), see here how to compile a custom kernel.
If you feel uncomfortable with this, go to https://github.com/longsleep/linux-pine64/issues and open a new issue requesting support for USB Serial Converters, especially the CP210x.
many thanks I get new kernel with USB CP210x
lsmod shows
Module Size Used by
cp210x 9804 0
vfe_v4l2 744506 0
mali 190931 0
vfe_io 30149 1 vfe_v4l2
videobuf2_dma_contig 8772 1 vfe_v4l2
videobuf2_memops 1730 1 videobuf2_dma_contig
ss 31983 0
videobuf2_core 24032 1 vfe_v4l2
cedar_ve 13192 0
8723bs 1343324 0
cfg80211 357983 1 8723bs
dmesg |grep tty shows
0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=7a:6e:63:ac:21:f1 root=/dev/mmcblk0p2 ro rootwait
[ 0.000000] console [tty0] enabled
[ 7.449938] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[ 8.413678] console [ttyS0] enabled
[ 8.418387] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[ 12.489985] systemd[1]: Expecting device dev-ttyS0.device...
[ 13.220907] systemd[1]: Starting system-getty.slice.
[ 13.247595] systemd[1]: Created slice system-getty.slice.
[ 13.259246] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 13.286948] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 17.152014] usb 3-1: cp210x converter now attached to ttyUSB0
in /dev i get
crw-rw---- 1 root dialout 188, 0 Apr 16 17:50 ttyUSB0
but i still get
COMMUNICATION_ERROR): Serial Error: Port /dev/ttyUSB0 does not exist
any ideas ?
RE: openHab2 on pine64 - drag00n - 04-16-2016
Are you trying with root user? May it be a permissions issue now if using another user...
|