Closed chinswain closed 1 year ago
Are you using external USB hubs? Might be a power issue, although from what it looks like you're using different ports for the Sonoff and the Coral.
Yes - I have added a powered USB 4 port hub, hoping that would help. The Sonoff Zigbee device is in the front USB port and the Coral is in the back (via the port). The only other device is the UPS which is picked up ok.
See this very similar issue: https://github.com/home-assistant/operating-system/issues/2349
Perhaps it'll work if you shuffle the devices around a bit.
I had a Zigbee adapter on the USB port on the DS220 and it worked until I had to restart the NAS today. I've tried many things, but in the end /sbin/modprobe usbserial always gives the error "could not insert 'usbserial': Exec format error". The ko drivers are still the same. Rights are also true. Is anyone able to help me?
Try moving to the other usb port, I've moved my hub (with ZigBee and z-wave sticks) to the front port and have the coral in the back. Works fine after reboots now, now other changes.
"could not insert 'usbserial': Exec format error"
It sounds like you overwrote /lib/modules/usbserial.ko
with something else. You'll have to see if you can find it from somewhere else.
Yes, I installed the drivers for the first time in July and it worked. I now had the ch341 again, but it was still the same.
-rw-r--r-- 1 root root 47963 Jun 2 20:20 /lib/modules/usbserial_1.ko -rw-r--r-- 1 root root 984784 Jul 10 21:28 /lib/modules/usbserial.ko sh-4.4# ls -l /lib/modules/ch* -rw-r--r-- 1 root root 357080 Jul 10 21:28 /lib/modules/ch341_2.ko -rw-r--r-- 1 root root 255928 Jul 10 21:55 /lib/modules/ch341.ko.1 -rw-r--r-- 1 root root 255928 Oct 25 22:45 /lib/modules/ch341.ko
The following packages are still installed and up-to-date on the NAS: SyncoKernel USB, SyncoCLI Kernel Tools, etc.
the usb state in Juni: lsusb -ciu |usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub |1-2 0451:16a8:0009 02 2.00 12MBit/s 50mA 2IFs (Texas Instruments TI CC2531 USB CDC 0X00124B001949DC96) 1-2:1.0 (IF) 02:02:01 1EP () cdc_acm tty/ttyACM0 1-2:1.1 (IF) 0a:00:00 2EPs () cdc_acm |1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 650022ADA6EF6093) 1-4:1.0 (IF) 08:06:50 2EPs () usb-storage host2 (synoboot)
and today:
lsusb -ciu
|usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
|1-2 0451:16a8:0009 02 2.00 12MBit/s 50mA 2IFs (Texas Instruments TI CC2531 USB CDC 0X00124B001949DC96)
1-2:1.0 (IF) 02:02:01 1EP ()
1-2:1.1 (IF) 0a:00:00 2EPs ()
|1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 650022ADA6EF6093)
1-4:1.0 (IF) 08:06:50 2EPs () usb-storage host2 (synoboot)
or when i use the other usb port:
lsusb -ciu
|usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
|1-1 0451:16a8:0009 02 2.00 12MBit/s 50mA 2IFs (Texas Instruments TI CC2531 USB CDC 0X00124B001949DC96)
1-1:1.0 (IF) 02:02:01 1EP ()
1-1:1.1 (IF) 0a:00:00 2EPs ()
|1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 650022ADA6EF6093)
1-4:1.0 (IF) 08:06:50 2EPs () usb-storage host2 (synoboot)
-rw-r--r-- 1 root root 47963 Jun 2 20:20 /lib/modules/usbserial_1.ko -rw-r--r-- 1 root root 984784 Jul 10 21:28 /lib/modules/usbserial.ko
My guess is that the first file is the actual module, I don't know where the second file is coming from but the error points to it not being a module at all.
The second File comes from SyncoKernel USB Paket. I copied it there and that's how it worked initially
cp /volume1/@appstore/synokernel-usbserial/lib/modules/geminilake-7.0/4.4.180+/drivers/usb/serial/* /lib/modules/
All I can say is that it's not working because /lib/modules/usbserial.ko
isn't a valid module. I don't know why you would need a module from the SynoKernel package if your NAS comes with a working one, but if you want this fixed, you're going to have to take this up with the people responsible for that package.
The only suggestion I can make is to copy the old file (usbserial_1.ko
) back because that will very likely fix your problem.
Perfect, that was it. I reactivated the old drivers (usbserial, ftdi_sio, cdc-acm) and it works now. I don't understand it, but that doesn't matter right now. Thank you.
Hi all,
I sucessfully connected a Sonoff Zigbee 3.0 USB stick to my Synology DS818+ running DSM 7.2 and set the below as a scheduled task to run on startup:
However, now my coral.ai edge TPU USB does not connect when restarting the synology. It looks like the device doesn't exist until it's removed and pluged back in. Does anyone have any advice on getting it to mount? Anything I can add to the startup script?
lsusb after a reboot:
Device physically removed and pluged back in (2-2.4):
I'm mounting this device to a --privileged docker container with --device /dev/bus/usb:/dev/bus/usb \ The Zigbee stick is connecting fine after a reboot.