Sonoff Dongle on Asustor (/dev/tty USB location?)

Moderator: Lillian.W@AST

Post Reply
_evilpanda_
Posts: 7
youtube meble na wymiar Warszawa
Joined: Sun Jul 05, 2020 3:44 pm

Sonoff Dongle on Asustor (/dev/tty USB location?)

Post by _evilpanda_ »

Hi,

I'm trying to set up a Sonoff Zigbee USB 3.0 Dongle (CC2652P+CP2102N) with Home Assistant (via Docker) on an AS5304T. I've seen others on here have managed to get Conbee and ZWave sticks working with Domoticz etc, hoping this can work also as it is becoming one of the more predominant and popular Zigbee controllers within the Home Automation market.

Essentially I need to map the device into Docker etc from it's /dev location, but I can't determine where the device is being mounted within here (if at all).

It's showing up through various commands (listed below), hope someone can help!



dmesg:

Code: Select all

[ 4338.112956] usb 1-1: new full-speed USB device number 3 using xhci_hcd
[ 4338.240649] usb 1-1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 4338.240654] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4338.240656] usb 1-1: Product: Sonoff Zigbee 3.0 USB Dongle Plus
[ 4338.240658] usb 1-1: Manufacturer: ITead
[ 4338.240659] usb 1-1: SerialNumber: 2cd10afc5729ec118de56f7840c9ce8d

ls -lt /dev:

Code: Select all

total 0
crwxrwxrwx    1 root     root        5,   2 May 25 10:34 ptmx
crwxrwxrwx    1 root     root      189,   2 May 25 10:30 usbdev1.3
crwxrwxrwx    1 root     root        7,  12 May 25 09:47 vcs12
crwxrwxrwx    1 root     root        7, 140 May 25 09:47 vcsa12
crwxrwxrwx    1 root     root        7,  76 May 25 09:47 vcsu12
crwxrwxrwx    1 root     root        4,  64 May 25 09:47 ttyS0
drwxr-xr-x    2 root     root           220 May 25 09:19 snd
crwxrwxrwx    1 root     root        5,   1 May 25 09:19 console
srw-rw-rw-    1 root     root             0 May 25 09:19 log
crwxrwxrwx    1 root     root       10,  61 May 25 09:18 crypto
crw-------    1 root     root      242,   0 May 25 09:18 iscsi-scst-ctl
drwxr-xr-x    2 root     root           240 May 25 09:18 input
crw-r--r--    1 root     root      226,   0 May 25 09:18 card0
drwxr-xr-x    2 root     root            80 May 25 09:18 dri
crwxrwxrwx    1 root     root       10, 240 May 25 09:18 fnotify
crwxrwxrwx    1 root     root       89,  10 May 25 09:18 i2c-10
crwxrwxrwx    1 root     root       89,  11 May 25 09:18 i2c-11
crwxrwxrwx    1 root     root       89,  12 May 25 09:18 i2c-12
crwxrwxrwx    1 root     root       89,   9 May 25 09:18 i2c-9
brwxrwxrwx    1 root     root        9,   2 May 25 09:18 md2
brwxrwxrwx    1 root     root        9,   1 May 25 09:18 md1
brwxrwxrwx    1 root     root        9, 126 May 25 09:18 md126
brwxrwxrwx    1 root     root        8,   3 May 25 09:18 sda3
brwxrwxrwx    1 root     root        8,  19 May 25 09:18 sdb3
brwxrwxrwx    1 root     root        8,  35 May 25 09:18 sdc3
brwxrwxrwx    1 root     root        8,  51 May 25 09:18 sdd3
brwxrwxrwx    1 root     root        7,  10 May 25 09:18 loop10
brwxrwxrwx    1 root     root        7,  11 May 25 09:18 loop11
brwxrwxrwx    1 root     root        7,  12 May 25 09:18 loop12
brwxrwxrwx    1 root     root        7,  13 May 25 09:18 loop13
brwxrwxrwx    1 root     root        7,  14 May 25 09:18 loop14
brwxrwxrwx    1 root     root        7,  15 May 25 09:18 loop15
brwxrwxrwx    1 root     root        7,  16 May 25 09:18 loop16
brwxrwxrwx    1 root     root        7,  17 May 25 09:18 loop17
brwxrwxrwx    1 root     root        7,  18 May 25 09:18 loop18
brwxrwxrwx    1 root     root        7,  19 May 25 09:18 loop19
brwxrwxrwx    1 root     root        7,  20 May 25 09:18 loop20
brwxrwxrwx    1 root     root        7,  21 May 25 09:18 loop21
brwxrwxrwx    1 root     root        7,  22 May 25 09:18 loop22
brwxrwxrwx    1 root     root        7,  23 May 25 09:18 loop23
brwxrwxrwx    1 root     root        7,  24 May 25 09:18 loop24
brwxrwxrwx    1 root     root        7,  25 May 25 09:18 loop25
brwxrwxrwx    1 root     root        7,  26 May 25 09:18 loop26
brwxrwxrwx    1 root     root        7,  27 May 25 09:18 loop27
brwxrwxrwx    1 root     root        7,  28 May 25 09:18 loop28
brwxrwxrwx    1 root     root        7,  29 May 25 09:18 loop29
brwxrwxrwx    1 root     root        7,  30 May 25 09:18 loop30
brwxrwxrwx    1 root     root        7,  31 May 25 09:18 loop31
brwxrwxrwx    1 root     root        7,   8 May 25 09:18 loop8
brwxrwxrwx    1 root     root        7,   9 May 25 09:18 loop9
brwxrwxrwx    1 root     root        7,   0 May 25 09:18 loop0
brwxrwxrwx    1 root     root        9,   0 May 25 09:18 md0
brwxrwxrwx    1 root     root      179,   2 May 25 09:18 mmcblk0p2
drwxr-xr-x    2 root     root           140 May 25 09:18 bsg
crwxrwxrwx    1 root     root       10, 234 May 25 09:18 btrfs-control
drwxr-xr-x    3 root     root            60 May 25 09:18 bus
drwxr-xr-x    2 root     root            60 May 25 09:18 cpu
crwxrwxrwx    1 root     root       10,  62 May 25 09:18 cpu_dma_latency
crwxrwxrwx    1 root     root        1,   7 May 25 09:18 full
crwxrwxrwx    1 root     root       10, 229 May 25 09:18 fuse
crwxrwxrwx    1 root     root      254,   0 May 25 09:18 gpiochip0
crwxrwxrwx    1 root     root      254,   1 May 25 09:18 gpiochip1
crwxrwxrwx    1 root     root      254,   2 May 25 09:18 gpiochip2
crwxrwxrwx    1 root     root      254,   3 May 25 09:18 gpiochip3
crwxrwxrwx    1 root     root       10, 228 May 25 09:18 hpet
crwxrwxrwx    1 root     root       10, 183 May 25 09:18 hwrng
crwxrwxrwx    1 root     root       89,   0 May 25 09:18 i2c-0
crwxrwxrwx    1 root     root       89,   1 May 25 09:18 i2c-1
crwxrwxrwx    1 root     root       89,   2 May 25 09:18 i2c-2
crwxrwxrwx    1 root     root       89,   3 May 25 09:18 i2c-3
crwxrwxrwx    1 root     root       89,   4 May 25 09:18 i2c-4
crwxrwxrwx    1 root     root       89,   5 May 25 09:18 i2c-5
crwxrwxrwx    1 root     root       89,   6 May 25 09:18 i2c-6
crwxrwxrwx    1 root     root       89,   7 May 25 09:18 i2c-7
crwxrwxrwx    1 root     root       89,   8 May 25 09:18 i2c-8
crwxrwxrwx    1 root     root        1,  11 May 25 09:18 kmsg
crwxrwxrwx    1 root     root       10, 237 May 25 09:18 loop-control
brwxrwxrwx    1 root     root        7,   1 May 25 09:18 loop1
brwxrwxrwx    1 root     root        7,   2 May 25 09:18 loop2
brwxrwxrwx    1 root     root        7,   3 May 25 09:18 loop3
brwxrwxrwx    1 root     root        7,   4 May 25 09:18 loop4
brwxrwxrwx    1 root     root        7,   5 May 25 09:18 loop5
brwxrwxrwx    1 root     root        7,   6 May 25 09:18 loop6
brwxrwxrwx    1 root     root        7,   7 May 25 09:18 loop7
drwxr-xr-x    2 root     root            60 May 25 09:18 mapper
crwxrwxrwx    1 root     root        1,   1 May 25 09:18 mem
brwxrwxrwx    1 root     root      179,   0 May 25 09:18 mmcblk0
brwxrwxrwx    1 root     root      179,   8 May 25 09:18 mmcblk0boot0
brwxrwxrwx    1 root     root      179,  16 May 25 09:18 mmcblk0boot1
brwxrwxrwx    1 root     root      179,   1 May 25 09:18 mmcblk0p1
brwxrwxrwx    1 root     root      179,   3 May 25 09:18 mmcblk0p3
crwxrwxrwx    1 root     root      245,   0 May 25 09:18 mmcblk0rpmb
crwxrwxrwx    1 root     root        1,   3 May 25 09:18 null
crwxrwxrwx    1 root     root        1,   4 May 25 09:18 port
crwxrwxrwx    1 root     root       10,   1 May 25 09:18 psaux
drwxr-xr-x    2 root     root             0 May 25 09:18 pts
brwxrwxrwx    1 root     root        1,   0 May 25 09:18 ram0
brwxrwxrwx    1 root     root        1,   1 May 25 09:18 ram1
brwxrwxrwx    1 root     root        1,  10 May 25 09:18 ram10
brwxrwxrwx    1 root     root        1,  11 May 25 09:18 ram11
brwxrwxrwx    1 root     root        1,  12 May 25 09:18 ram12
brwxrwxrwx    1 root     root        1,  13 May 25 09:18 ram13
brwxrwxrwx    1 root     root        1,  14 May 25 09:18 ram14
brwxrwxrwx    1 root     root        1,  15 May 25 09:18 ram15
brwxrwxrwx    1 root     root        1,   2 May 25 09:18 ram2
brwxrwxrwx    1 root     root        1,   3 May 25 09:18 ram3
brwxrwxrwx    1 root     root        1,   4 May 25 09:18 ram4
brwxrwxrwx    1 root     root        1,   5 May 25 09:18 ram5
brwxrwxrwx    1 root     root        1,   6 May 25 09:18 ram6
brwxrwxrwx    1 root     root        1,   7 May 25 09:18 ram7
brwxrwxrwx    1 root     root        1,   8 May 25 09:18 ram8
brwxrwxrwx    1 root     root        1,   9 May 25 09:18 ram9
crwxrwxrwx    1 root     root        1,   8 May 25 09:18 random
crwxrwxrwx    1 root     root      252,   0 May 25 09:18 rtc0
brwxrwxrwx    1 root     root        8,   0 May 25 09:18 sda
brwxrwxrwx    1 root     root        8,   1 May 25 09:18 sda1
brwxrwxrwx    1 root     root        8,   2 May 25 09:18 sda2
brwxrwxrwx    1 root     root        8,   4 May 25 09:18 sda4
brwxrwxrwx    1 root     root        8,  16 May 25 09:18 sdb
brwxrwxrwx    1 root     root        8,  17 May 25 09:18 sdb1
brwxrwxrwx    1 root     root        8,  18 May 25 09:18 sdb2
brwxrwxrwx    1 root     root        8,  20 May 25 09:18 sdb4
brwxrwxrwx    1 root     root        8,  32 May 25 09:18 sdc
brwxrwxrwx    1 root     root        8,  33 May 25 09:18 sdc1
brwxrwxrwx    1 root     root        8,  34 May 25 09:18 sdc2
brwxrwxrwx    1 root     root        8,  36 May 25 09:18 sdc4
brwxrwxrwx    1 root     root        8,  48 May 25 09:18 sdd
brwxrwxrwx    1 root     root        8,  49 May 25 09:18 sdd1
brwxrwxrwx    1 root     root        8,  50 May 25 09:18 sdd2
brwxrwxrwx    1 root     root        8,  52 May 25 09:18 sdd4
brwxrwxrwx    1 root     root        8,  64 May 25 09:18 sde
brwxrwxrwx    1 root     root        8,  65 May 25 09:18 sde1
crwxrwxrwx    1 root     root       21,   0 May 25 09:18 sg0
crwxrwxrwx    1 root     root       21,   1 May 25 09:18 sg1
crwxrwxrwx    1 root     root       21,   2 May 25 09:18 sg2
crwxrwxrwx    1 root     root       21,   3 May 25 09:18 sg3
crwxrwxrwx    1 root     root       21,   4 May 25 09:18 sg4
crwxrwxrwx    1 root     root       10, 231 May 25 09:18 snapshot
crwxrwxrwx    1 root     root        5,   0 May 25 09:18 tty
crwxrwxrwx    1 root     root        4,   0 May 25 09:18 tty0
crwxrwxrwx    1 root     root        4,   1 May 25 09:18 tty1
crwxrwxrwx    1 root     root        4,  10 May 25 09:18 tty10
crwxrwxrwx    1 root     root        4,  11 May 25 09:18 tty11
crwxrwxrwx    1 root     root        4,  12 May 25 09:18 tty12
crwxrwxrwx    1 root     root        4,  13 May 25 09:18 tty13
crwxrwxrwx    1 root     root        4,  14 May 25 09:18 tty14
crwxrwxrwx    1 root     root        4,  15 May 25 09:18 tty15
crwxrwxrwx    1 root     root        4,  16 May 25 09:18 tty16
crwxrwxrwx    1 root     root        4,  17 May 25 09:18 tty17
crwxrwxrwx    1 root     root        4,  18 May 25 09:18 tty18
crwxrwxrwx    1 root     root        4,  19 May 25 09:18 tty19
crwxrwxrwx    1 root     root        4,   2 May 25 09:18 tty2
crwxrwxrwx    1 root     root        4,  20 May 25 09:18 tty20
crwxrwxrwx    1 root     root        4,  21 May 25 09:18 tty21
crwxrwxrwx    1 root     root        4,  22 May 25 09:18 tty22
crwxrwxrwx    1 root     root        4,  23 May 25 09:18 tty23
crwxrwxrwx    1 root     root        4,  24 May 25 09:18 tty24
crwxrwxrwx    1 root     root        4,  25 May 25 09:18 tty25
crwxrwxrwx    1 root     root        4,  26 May 25 09:18 tty26
crwxrwxrwx    1 root     root        4,  27 May 25 09:18 tty27
crwxrwxrwx    1 root     root        4,  28 May 25 09:18 tty28
crwxrwxrwx    1 root     root        4,  29 May 25 09:18 tty29
crwxrwxrwx    1 root     root        4,   3 May 25 09:18 tty3
crwxrwxrwx    1 root     root        4,  30 May 25 09:18 tty30
crwxrwxrwx    1 root     root        4,  31 May 25 09:18 tty31
crwxrwxrwx    1 root     root        4,  32 May 25 09:18 tty32
crwxrwxrwx    1 root     root        4,  33 May 25 09:18 tty33
crwxrwxrwx    1 root     root        4,  34 May 25 09:18 tty34
crwxrwxrwx    1 root     root        4,  35 May 25 09:18 tty35
crwxrwxrwx    1 root     root        4,  36 May 25 09:18 tty36
crwxrwxrwx    1 root     root        4,  37 May 25 09:18 tty37
crwxrwxrwx    1 root     root        4,  38 May 25 09:18 tty38
crwxrwxrwx    1 root     root        4,  39 May 25 09:18 tty39
crwxrwxrwx    1 root     root        4,   4 May 25 09:18 tty4
crwxrwxrwx    1 root     root        4,  40 May 25 09:18 tty40
crwxrwxrwx    1 root     root        4,  41 May 25 09:18 tty41
crwxrwxrwx    1 root     root        4,  42 May 25 09:18 tty42
crwxrwxrwx    1 root     root        4,  43 May 25 09:18 tty43
crwxrwxrwx    1 root     root        4,  44 May 25 09:18 tty44
crwxrwxrwx    1 root     root        4,  45 May 25 09:18 tty45
crwxrwxrwx    1 root     root        4,  46 May 25 09:18 tty46
crwxrwxrwx    1 root     root        4,  47 May 25 09:18 tty47
crwxrwxrwx    1 root     root        4,  48 May 25 09:18 tty48
crwxrwxrwx    1 root     root        4,  49 May 25 09:18 tty49
crwxrwxrwx    1 root     root        4,   5 May 25 09:18 tty5
crwxrwxrwx    1 root     root        4,  50 May 25 09:18 tty50
crwxrwxrwx    1 root     root        4,  51 May 25 09:18 tty51
crwxrwxrwx    1 root     root        4,  52 May 25 09:18 tty52
crwxrwxrwx    1 root     root        4,  53 May 25 09:18 tty53
crwxrwxrwx    1 root     root        4,  54 May 25 09:18 tty54
crwxrwxrwx    1 root     root        4,  55 May 25 09:18 tty55
crwxrwxrwx    1 root     root        4,  56 May 25 09:18 tty56
crwxrwxrwx    1 root     root        4,  57 May 25 09:18 tty57
crwxrwxrwx    1 root     root        4,  58 May 25 09:18 tty58
crwxrwxrwx    1 root     root        4,  59 May 25 09:18 tty59
crwxrwxrwx    1 root     root        4,   6 May 25 09:18 tty6
crwxrwxrwx    1 root     root        4,  60 May 25 09:18 tty60
crwxrwxrwx    1 root     root        4,  61 May 25 09:18 tty61
crwxrwxrwx    1 root     root        4,  62 May 25 09:18 tty62
crwxrwxrwx    1 root     root        4,  63 May 25 09:18 tty63
crwxrwxrwx    1 root     root        4,   7 May 25 09:18 tty7
crwxrwxrwx    1 root     root        4,   8 May 25 09:18 tty8
crwxrwxrwx    1 root     root        4,   9 May 25 09:18 tty9
crwxrwxrwx    1 root     root        4,  65 May 25 09:18 ttyS1
crwxrwxrwx    1 root     root        4,  74 May 25 09:18 ttyS10
crwxrwxrwx    1 root     root        4,  75 May 25 09:18 ttyS11
crwxrwxrwx    1 root     root        4,  76 May 25 09:18 ttyS12
crwxrwxrwx    1 root     root        4,  77 May 25 09:18 ttyS13
crwxrwxrwx    1 root     root        4,  78 May 25 09:18 ttyS14
crwxrwxrwx    1 root     root        4,  79 May 25 09:18 ttyS15
crwxrwxrwx    1 root     root        4,  80 May 25 09:18 ttyS16
crwxrwxrwx    1 root     root        4,  81 May 25 09:18 ttyS17
crwxrwxrwx    1 root     root        4,  82 May 25 09:18 ttyS18
crwxrwxrwx    1 root     root        4,  83 May 25 09:18 ttyS19
crwxrwxrwx    1 root     root        4,  66 May 25 09:18 ttyS2
crwxrwxrwx    1 root     root        4,  84 May 25 09:18 ttyS20
crwxrwxrwx    1 root     root        4,  85 May 25 09:18 ttyS21
crwxrwxrwx    1 root     root        4,  86 May 25 09:18 ttyS22
crwxrwxrwx    1 root     root        4,  87 May 25 09:18 ttyS23
crwxrwxrwx    1 root     root        4,  88 May 25 09:18 ttyS24
crwxrwxrwx    1 root     root        4,  89 May 25 09:18 ttyS25
crwxrwxrwx    1 root     root        4,  90 May 25 09:18 ttyS26
crwxrwxrwx    1 root     root        4,  91 May 25 09:18 ttyS27
crwxrwxrwx    1 root     root        4,  92 May 25 09:18 ttyS28
crwxrwxrwx    1 root     root        4,  93 May 25 09:18 ttyS29
crwxrwxrwx    1 root     root        4,  67 May 25 09:18 ttyS3
crwxrwxrwx    1 root     root        4,  94 May 25 09:18 ttyS30
crwxrwxrwx    1 root     root        4,  95 May 25 09:18 ttyS31
crwxrwxrwx    1 root     root        4,  68 May 25 09:18 ttyS4
crwxrwxrwx    1 root     root        4,  69 May 25 09:18 ttyS5
crwxrwxrwx    1 root     root        4,  70 May 25 09:18 ttyS6
crwxrwxrwx    1 root     root        4,  71 May 25 09:18 ttyS7
crwxrwxrwx    1 root     root        4,  72 May 25 09:18 ttyS8
crwxrwxrwx    1 root     root        4,  73 May 25 09:18 ttyS9
crwxrwxrwx    1 root     root        5,   3 May 25 09:18 ttyprintk
crwxrwxrwx    1 root     root       10, 223 May 25 09:18 uinput
crwxrwxrwx    1 root     root        1,   9 May 25 09:18 urandom
crwxrwxrwx    1 root     root      189,   0 May 25 09:18 usbdev1.1
crwxrwxrwx    1 root     root      189, 128 May 25 09:18 usbdev2.1
crwxrwxrwx    1 root     root      189, 129 May 25 09:18 usbdev2.2
crwxrwxrwx    1 root     root      246,   0 May 25 09:18 usbmon0
crwxrwxrwx    1 root     root      246,   1 May 25 09:18 usbmon1
crwxrwxrwx    1 root     root      246,   2 May 25 09:18 usbmon2
crwxrwxrwx    1 root     root        7,   0 May 25 09:18 vcs
crwxrwxrwx    1 root     root        7,   1 May 25 09:18 vcs1
crwxrwxrwx    1 root     root        7, 128 May 25 09:18 vcsa
crwxrwxrwx    1 root     root        7, 129 May 25 09:18 vcsa1
crwxrwxrwx    1 root     root        7,  64 May 25 09:18 vcsu
crwxrwxrwx    1 root     root        7,  65 May 25 09:18 vcsu1
crwxrwxrwx    1 root     root       10,  63 May 25 09:18 vga_arbiter
crwxrwxrwx    1 root     root        1,   5 May 25 09:18 zero
lrwxrwxrwx    1 root     root             8 Mar 27 22:40 shm -> /run/shm

sudo dmesg | grep tty:

Code: Select all

[    0.000000] Command line: BOOT_IMAGE=(hd1,gpt2)/bzImage console=ttyS0,115200n8 bootpart=2 uuid=0e6ecdc0-a00e-46ac-a170-2eaa8c8f3f62
[    0.060549] Kernel command line: BOOT_IMAGE=(hd1,gpt2)/bzImage console=ttyS0,115200n8 bootpart=2 uuid=0e6ecdc0-a00e-46ac-a170-2eaa8c8f3f62
[    1.091554] printk: console [ttyS0] enabled
[    4.508398] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    4.791642] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    4.846399] dw-apb-uart.8: ttyS4 at MMIO 0xa142b000 (irq = 54, base_baud = 115200) is a 16550A
[    4.855531] dw-apb-uart.9: ttyS5 at MMIO 0xa142d000 (irq = 55, base_baud = 115200) is a 16550A
[    4.864635] dw-apb-uart.10: ttyS6 at MMIO 0xa142f000 (irq = 6, base_baud = 115200) is a 16550A
[    4.873746] dw-apb-uart.11: ttyS7 at MMIO 0xa1431000 (irq = 57, base_baud = 115200) is a 16550A

lsusb:

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation:2.0 root hub
Bus 001 Device 003: ID 10c4:ea60 Silicon Labs:CP210x UART Bridge
Bus 002 Device 002: ID 0781:5567 SanDisk Corp.:Cruzer Blade
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation:3.0 root hub
Using a text log for both connection and disconnection than comparing changes via diff (idea taken from https://www.codeweavers.com/support/wik ... btoserial2)

diff ~/disconnect.txt ~/reconnect.txt:

Code: Select all

@@ -233,6 +233,7 @@
 uinput
 urandom
 usbdev1.1
+usbdev1.3
 usbdev2.1
 usbdev2.2
 usbmon0
usbip list -l:

Code: Select all

 - busid 1-1 (10c4:ea60)
   Silicon Labs : CP210x UART Bridge (10c4:ea60)

 - busid 2-2 (0781:5567)
   SanDisk Corp. : Cruzer Blade (0781:5567)
/opt/bin/lsusb:

Code: Select all

Bus 002 Device 002: ID 0781:5567  USB  SanDisk 3.2Gen1
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.x xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.x xhci-hcd xHCI Host Controller
/opt/bin/lsusb -v:

Code: Select all

Bus 001 Device 003: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x10c4
  idProduct          0xea60
  bcdDevice            1.00
  iManufacturer           1 ITead
  iProduct                2 Sonoff Zigbee 3.0 USB Dongle Plus
  iSerial                 3 2cd10afc5729ec118de56f7840c9ce8d
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
Further specs:

Flashing on MacOSX with this python script (https://github.com/JelmerT/cc2538-bsl) and this firmware (https://github.com/Koenkk/Z-Stack-firmw ... 0-%203.x.0)

Firmware is verified as installed succesfully and operational (output below):

Code: Select all

python3 cc2538-bsl.py -v /dev/tty.usbserial-2140
Opening port /dev/tty.usbserial-2140, baud 500000
Reading data from /dev/tty.usbserial-2140
Cannot auto-detect firmware filetype: Assuming .bin
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:24:C2:8E:24
Verifying by comparing CRC32 calculations.
    Verified (match: 0x00000000)

Machine:
Linux NAS 5.4.x 2022 x86_64 GNU/Linux
ADM 4.0.5.RT42
AS5304T
BIOS Version: V1.19
BIOS Revision: 1.25

Also plugging directly into the NAS, have tried with different ports and with USB extensions (as is reccomended with this dongle usually).

A lot of the guides etc for this often cite using ls -l /dev/serial/by-id to determine the device location, but this is obviouslly not available in ADM - is there anything else that can be done to determine where the device is and if it's succesfully attached?

Thanks in advance to anyone who may be able to help!
_evilpanda_
Posts: 7
Joined: Sun Jul 05, 2020 3:44 pm

Re: Sonoff Dongle on Asustor (/dev/tty USB location?)

Post by _evilpanda_ »

Updating as fixed in case others run into the same issue. Seems all thats needed is a Cp210x driver to get it working (found here - https://forum.asustor.com/viewtopic.php?f=166&t=10762).
Post Reply

Return to “Home_assistant”