Z-wave Aeotec change device on openhabian

Hello,
on my new installation on openhabian (7.05.170509) I have this problem.
My Aeotec stick change device (next my dmesg)

    [    6.336115] usb 1-1.1: new high-speed USB device number 6 using dwc_otg 
    [    6.466385] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [    6.466396] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    6.656124] usb 1-1.4: new full-speed USB device number 7 using dwc_otg
    [    6.789390] usb 1-1.4: New USB device found, idVendor=0658, idProduct=0200
    [    6.789401] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    6.790566] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
    [   96.094022] usb 1-1.4: USB disconnect, device number 7
    [   96.396567] usb 1-1.4: new full-speed USB device number 8 using dwc_otg
    [   96.529909] usb 1-1.4: New USB device found, idVendor=0658, idProduct=0200
    [   96.529920] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [   96.531088] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device

For arginate this problem, I have try to add this rule on udev:

SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", GROUP="dialout", MODE="0777", SYMLINK+="USB_zwave"

But the device can be create with group root instead of dialout and openhab doesn’t link it.

# ls -al /dev/USB_zwave 
lrwxrwxrwx 1 root root 7 Aug  5 08:48 /dev/USB_zwave -> ttyACM1

After few minute of use, in this mode, openhab has this error:

[ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Input/output error in writeArray during sending. exiting thread.

Do you can help me?

With openhabian-config, serial option, I have try to:

  • [*] Disable serial console
  • [*] Disable Bluetooth mode
  • [*] Add common serial ports to openHAB JVM

I did not success

this evening I have Aeotec stick with ttyACM0 device.
I have configured this port on openhab and the thing go online.
After, the device change to ttyACM1.
I have extract this dmesg:

[72011.553170] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device

[115082.215838] HZ 100, MSEC_PER_JIFFIE 10, loops_per_jiffy 192000
[115082.908815] grxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.908918] srpcapable_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909163] hptxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909414] mode_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909584] hsic_connect_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909671] gsnpsid_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909909] gotgctl_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.909993] gpvndctl_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.910080] hnpcapable_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.910320] gnptxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.910407] guid_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.910493] Core Global Registers
[115082.910500] GOTGCTL	 @0xBE940000 : 0x001C0001
[115082.910505] GOTGINT	 @0xBE940004 : 0x00000000
[115082.910510] GAHBCFG	 @0xBE940008 : 0x00000031
[115082.910515] GUSBCFG	 @0xBE94000C : 0x20001700
[115082.910520] GRSTCTL	 @0xBE940010 : 0x80000000
[115082.910525] GINTSTS	 @0xBE940014 : 0x04000021
[115082.910530] GINTMSK	 @0xBE940018 : 0xF301080E
[115082.910535] GRXSTSR	 @0xBE94001C : 0x00050042
[115082.910540] GRXFSIZ	 @0xBE940024 : 0x00000306
[115082.910545] GNPTXFSIZ @0xBE940028 : 0x01000306
[115082.910550] GNPTXSTS	 @0xBE94002C : 0x00080100
[115082.910555] GI2CCTL	 @0xBE940030 : 0x00000000
[115082.910559] GPVNDCTL	 @0xBE940034 : 0x00000000
[115082.910564] GGPIO	 @0xBE940038 : 0x00000000
[115082.910571] GUID		 @0xBE94003C : 0x2708A000
[115082.910575] GSNPSID	 @0xBE940040 : 0x4F54280A
[115082.910580] GHWCFG1	 @0xBE940044 : 0x00000000
[115082.910585] GHWCFG2	 @0xBE940048 : 0x228DDD50
[115082.910590] GHWCFG3	 @0xBE94004C : 0x0FF000E8
[115082.910595] GHWCFG4	 @0xBE940050 : 0x1FF00020
[115082.910600] GLPMCFG	 @0xBE940054 : 0x75736230
[115082.910605] GPWRDN	 @0xBE940058 : 0x00000000
[115082.910610] GDFIFOCFG	 @0xBE94005C : 0x00000000
[115082.910615] ADPCTL	 @0xBE940060 : 0x00000000
[115082.910619] HPTXFSIZ	 @0xBE940100 : 0x02000406
[115082.910626] DIENPTXF[1] @0xBE940104 : 0x02000406
[115082.910632] DIENPTXF[2] @0xBE940108 : 0x02000406
[115082.910637] DIENPTXF[3] @0xBE94010C : 0x02000406
[115082.910643] DIENPTXF[4] @0xBE940110 : 0x02000406
[115082.910648] DIENPTXF[5] @0xBE940114 : 0x02000406
[115082.910654] DIENPTXF[6] @0xBE940118 : 0x02000406
[115082.910659] DIENPTXF[7] @0xBE94011C : 0x02000406
[115082.910664] PCGCCTL	 @0xBE940E00 : 0x00000000
[115082.910669] Host Global Registers
[115082.910673] HCFG		 @0xBE940400 : 0x00000000
[115082.910678] HFIR		 @0xBE940404 : 0x00001D4B
[115082.910683] HFNUM	 @0xBE940408 : 0x0332357A
[115082.910688] HPTXSTS	 @0xBE940410 : 0xB1080200
[115082.910693] HAINT	 @0xBE940414 : 0x00000000
[115082.910699] HAINTMSK	 @0xBE940418 : 0x00000000
[115082.910704] HPRT0	 @0xBE940440 : 0x00001005
[115082.910708] Host Channel 0 Specific Registers
[115082.910713] HCCHAR	 @0xBE940500 : 0x219C9810
[115082.910718] HCSPLT	 @0xBE940504 : 0x00000000
[115082.910723] HCINT	 @0xBE940508 : 0x00000000
[115082.910727] HCINTMSK	 @0xBE94050C : 0x00000000
[115082.910732] HCTSIZ	 @0xBE940510 : 0x80080010
[115082.910737] HCDMA	 @0xBE940514 : 0xF9DD05C0
[115082.910741] Host Channel 1 Specific Registers
[115082.910746] HCCHAR	 @0xBE940520 : 0x219C9810
[115082.910751] HCSPLT	 @0xBE940524 : 0x00000000
[115082.910755] HCINT	 @0xBE940528 : 0x00000000
[115082.910760] HCINTMSK	 @0xBE94052C : 0x00000000
[115082.910765] HCTSIZ	 @0xBE940530 : 0x80080010
[115082.910769] HCDMA	 @0xBE940534 : 0xF9DD05C0
[115082.910773] Host Channel 2 Specific Registers
[115082.910778] HCCHAR	 @0xBE940540 : 0x219C9810
[115082.910783] HCSPLT	 @0xBE940544 : 0x00000000
[115082.910787] HCINT	 @0xBE940548 : 0x00000000
[115082.910792] HCINTMSK	 @0xBE94054C : 0x00000000
[115082.910797] HCTSIZ	 @0xBE940550 : 0x80080010
[115082.910801] HCDMA	 @0xBE940554 : 0xF9DD05C0
[115082.910805] Host Channel 3 Specific Registers
[115082.910810] HCCHAR	 @0xBE940560 : 0x219C9810
[115082.910815] HCSPLT	 @0xBE940564 : 0x00000000
[115082.910820] HCINT	 @0xBE940568 : 0x00000000
[115082.910825] HCINTMSK	 @0xBE94056C : 0x00000000
[115082.910830] HCTSIZ	 @0xBE940570 : 0x80080010
[115082.910835] HCDMA	 @0xBE940574 : 0xF9DD05C0
[115082.910838] Host Channel 4 Specific Registers
[115082.910843] HCCHAR	 @0xBE940580 : 0x219C9810
[115082.910848] HCSPLT	 @0xBE940584 : 0x00000000
[115082.910852] HCINT	 @0xBE940588 : 0x00000000
[115082.910857] HCINTMSK	 @0xBE94058C : 0x00000000
[115082.910862] HCTSIZ	 @0xBE940590 : 0x80080010
[115082.910867] HCDMA	 @0xBE940594 : 0xF9DD05C0
[115082.910871] Host Channel 5 Specific Registers
[115082.910876] HCCHAR	 @0xBE9405A0 : 0x219C9810
[115082.910880] HCSPLT	 @0xBE9405A4 : 0x00000000
[115082.910885] HCINT	 @0xBE9405A8 : 0x00000000
[115082.910889] HCINTMSK	 @0xBE9405AC : 0x00000000
[115082.910894] HCTSIZ	 @0xBE9405B0 : 0x80080010
[115082.910899] HCDMA	 @0xBE9405B4 : 0xF9DD05C0
[115082.910903] Host Channel 6 Specific Registers
[115082.910908] HCCHAR	 @0xBE9405C0 : 0x219C9810
[115082.910912] HCSPLT	 @0xBE9405C4 : 0x00000000
[115082.910917] HCINT	 @0xBE9405C8 : 0x00000000
[115082.910921] HCINTMSK	 @0xBE9405CC : 0x00000000
[115082.910926] HCTSIZ	 @0xBE9405D0 : 0x80080010
[115082.910931] HCDMA	 @0xBE9405D4 : 0xF9DD05C0
[115082.910935] Host Channel 7 Specific Registers
[115082.910940] HCCHAR	 @0xBE9405E0 : 0x015C8801
[115082.910945] HCSPLT	 @0xBE9405E4 : 0x00000000
[115082.910950] HCINT	 @0xBE9405E8 : 0x00000000
[115082.910954] HCINTMSK	 @0xBE9405EC : 0x00000000
[115082.910959] HCTSIZ	 @0xBE9405F0 : 0xC0080001
[115082.910964] HCDMA	 @0xBE9405F4 : 0xFC3A4B80
[115082.911050] hprt0_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.911213] Core is not in hibernation
[115082.911302] dwc_otg 3f980000.usb: Invalid offset (0xffffffff)
[115082.911387] gusbcfg_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.911556] busconnected_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.911657] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115082.911731] devspeed_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115082.911746] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115082.911838] HZ 100, MSEC_PER_JIFFIE 10, loops_per_jiffy 384000
[115084.581209] enumspeed_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115084.581254] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115084.581429] inv_sel_hsic_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115084.581517] ggpio_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115158.909532] HZ 100, MSEC_PER_JIFFIE 10, loops_per_jiffy 192000
[115159.602505] grxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.602993] srpcapable_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.603717] hptxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.604279] mode_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.604641] hsic_connect_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.604736] gsnpsid_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605101] gotgctl_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605188] gpvndctl_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605276] hnpcapable_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605513] gnptxfsiz_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605599] guid_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.605681] Core Global Registers
[115159.605688] GOTGCTL	 @0xBE940000 : 0x001C0001
[115159.605693] GOTGINT	 @0xBE940004 : 0x00000000
[115159.605698] GAHBCFG	 @0xBE940008 : 0x00000031
[115159.605703] GUSBCFG	 @0xBE94000C : 0x20001700
[115159.605708] GRSTCTL	 @0xBE940010 : 0x80000000
[115159.605713] GINTSTS	 @0xBE940014 : 0x04000021
[115159.605718] GINTMSK	 @0xBE940018 : 0xF301080E
[115159.605723] GRXSTSR	 @0xBE94001C : 0x000F0001
[115159.605728] GRXFSIZ	 @0xBE940024 : 0x00000306
[115159.605733] GNPTXFSIZ @0xBE940028 : 0x01000306
[115159.605738] GNPTXSTS	 @0xBE94002C : 0x28080100
[115159.605743] GI2CCTL	 @0xBE940030 : 0x00000000
[115159.605747] GPVNDCTL	 @0xBE940034 : 0x00000000
[115159.605752] GGPIO	 @0xBE940038 : 0x00000000
[115159.605757] GUID		 @0xBE94003C : 0x2708A000
[115159.605762] GSNPSID	 @0xBE940040 : 0x4F54280A
[115159.605767] GHWCFG1	 @0xBE940044 : 0x00000000
[115159.605772] GHWCFG2	 @0xBE940048 : 0x228DDD50
[115159.605777] GHWCFG3	 @0xBE94004C : 0x0FF000E8
[115159.605781] GHWCFG4	 @0xBE940050 : 0x1FF00020
[115159.605786] GLPMCFG	 @0xBE940054 : 0x75736230
[115159.605791] GPWRDN	 @0xBE940058 : 0x00000000
[115159.605878] GDFIFOCFG	 @0xBE94005C : 0x00000000
[115159.605884] ADPCTL	 @0xBE940060 : 0x00000000
[115159.605889] HPTXFSIZ	 @0xBE940100 : 0x02000406
[115159.605896] DIENPTXF[1] @0xBE940104 : 0x02000406
[115159.605920] DIENPTXF[2] @0xBE940108 : 0x02000406
[115159.605925] DIENPTXF[3] @0xBE94010C : 0x02000406
[115159.605931] DIENPTXF[4] @0xBE940110 : 0x02000406
[115159.605937] DIENPTXF[5] @0xBE940114 : 0x02000406
[115159.605943] DIENPTXF[6] @0xBE940118 : 0x02000406
[115159.605948] DIENPTXF[7] @0xBE94011C : 0x02000406
[115159.605953] PCGCCTL	 @0xBE940E00 : 0x00000000
[115159.605958] Host Global Registers
[115159.605962] HCFG		 @0xBE940400 : 0x00000000
[115159.605968] HFIR		 @0xBE940404 : 0x00001D4B
[115159.606015] HFNUM	 @0xBE940408 : 0x0D671235
[115159.606040] HPTXSTS	 @0xBE940410 : 0x99080200
[115159.606045] HAINT	 @0xBE940414 : 0x00000000
[115159.606050] HAINTMSK	 @0xBE940418 : 0x00000000
[115159.606055] HPRT0	 @0xBE940440 : 0x00001005
[115159.606059] Host Channel 0 Specific Registers
[115159.606064] HCCHAR	 @0xBE940500 : 0x01900040
[115159.606069] HCSPLT	 @0xBE940504 : 0x00000000
[115159.606085] HCINT	 @0xBE940508 : 0x00000000
[115159.606090] HCINTMSK	 @0xBE94050C : 0x00000000
[115159.606094] HCTSIZ	 @0xBE940510 : 0x20000008
[115159.606099] HCDMA	 @0xBE940514 : 0xF7A33748
[115159.606103] Host Channel 1 Specific Registers
[115159.606108] HCCHAR	 @0xBE940520 : 0x01908040
[115159.606113] HCSPLT	 @0xBE940524 : 0x00000000
[115159.606117] HCINT	 @0xBE940528 : 0x00000000
[115159.606122] HCINTMSK	 @0xBE94052C : 0x00000000
[115159.606127] HCTSIZ	 @0xBE940530 : 0x8000003C
[115159.606132] HCDMA	 @0xBE940534 : 0xF7A33204
[115159.606136] Host Channel 2 Specific Registers
[115159.606141] HCCHAR	 @0xBE940540 : 0x01908040
[115159.606145] HCSPLT	 @0xBE940544 : 0x00000000
[115159.606150] HCINT	 @0xBE940548 : 0x00000000
[115159.606154] HCINTMSK	 @0xBE94054C : 0x00000000
[115159.606159] HCTSIZ	 @0xBE940550 : 0x80000040
[115159.606164] HCDMA	 @0xBE940554 : 0xFD903000
[115159.606168] Host Channel 3 Specific Registers
[115159.606173] HCCHAR	 @0xBE940560 : 0x01900040
[115159.606177] HCSPLT	 @0xBE940564 : 0x00000000
[115159.606182] HCINT	 @0xBE940568 : 0x00000000
[115159.606186] HCINTMSK	 @0xBE94056C : 0x00000000
[115159.606191] HCTSIZ	 @0xBE940570 : 0x00000000
[115159.606196] HCDMA	 @0xBE940574 : 0xFD903000
[115159.606200] Host Channel 4 Specific Registers
[115159.606204] HCCHAR	 @0xBE940580 : 0x01900040
[115159.606209] HCSPLT	 @0xBE940584 : 0x00000000
[115159.606214] HCINT	 @0xBE940588 : 0x00000000
[115159.606218] HCINTMSK	 @0xBE94058C : 0x00000000
[115159.606223] HCTSIZ	 @0xBE940590 : 0x20000008
[115159.606228] HCDMA	 @0xBE940594 : 0xF7A33748
[115159.606232] Host Channel 5 Specific Registers
[115159.606237] HCCHAR	 @0xBE9405A0 : 0x01908040
[115159.606241] HCSPLT	 @0xBE9405A4 : 0x00000000
[115159.606246] HCINT	 @0xBE9405A8 : 0x00000000
[115159.606250] HCINTMSK	 @0xBE9405AC : 0x00000000
[115159.606255] HCTSIZ	 @0xBE9405B0 : 0x8000003C
[115159.606260] HCDMA	 @0xBE9405B4 : 0xF7A33204
[115159.606264] Host Channel 6 Specific Registers
[115159.606269] HCCHAR	 @0xBE9405C0 : 0x01900040
[115159.606273] HCSPLT	 @0xBE9405C4 : 0x00000000
[115159.606278] HCINT	 @0xBE9405C8 : 0x00000000
[115159.606282] HCINTMSK	 @0xBE9405CC : 0x00000000
[115159.606287] HCTSIZ	 @0xBE9405D0 : 0x00000000
[115159.606292] HCDMA	 @0xBE9405D4 : 0xFD903000
[115159.606296] Host Channel 7 Specific Registers
[115159.606301] HCCHAR	 @0xBE9405E0 : 0x01900040
[115159.606305] HCSPLT	 @0xBE9405E4 : 0x00000000
[115159.606310] HCINT	 @0xBE9405E8 : 0x00000000
[115159.606314] HCINTMSK	 @0xBE9405EC : 0x00000000
[115159.606319] HCTSIZ	 @0xBE9405F0 : 0x00000004
[115159.606345] HCDMA	 @0xBE9405F4 : 0xF9DD05C0
[115159.626077] hprt0_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.626256] Core is not in hibernation
[115159.626348] dwc_otg 3f980000.usb: Invalid offset (0xffffffff)
[115159.626433] gusbcfg_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.626601] busconnected_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.626703] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115159.626805] devspeed_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115159.626821] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115159.626935] HZ 100, MSEC_PER_JIFFIE 10, loops_per_jiffy 384000
[115161.289844] enumspeed_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115161.289873] WARN::dwc_otg_handle_mode_mismatch_intr:68: Mode Mismatch Interrupt: currently in Host mode

[115161.289952] inv_sel_hsic_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115161.290043] ggpio_show(bca1fc10) -> platform_dev bca1fc00, otg_dev bc068740
[115250.038640] usb 1-1.4: USB disconnect, device number 10
[115250.356388] usb 1-1.4: new full-speed USB device number 11 using dwc_otg
[115250.509645] usb 1-1.4: New USB device found, idVendor=0658, idProduct=0200
[115250.509661] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[115250.514143] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device

do you have any suggestion?