Kashub's Code Barn - "Synology DS720+ DSM 7.2.1-69057 Update 2 USB drivers"

podświetlone jako bash (dodał(a) kashub @ 2023-11-16 08:36:56)

Twoja wyszukiwarka
Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
# Updated Synology DS720+ to DSM 7.2.1-69057 and traditionally USB support for my skyconnect dongle used in homeassistant on docker is gone. Here is how to put it back:
wget https://github.com/robertklep/dsm7-usb-serial-drivers/archive/refs/heads/main.zip
7z x main.zip 
cp dsm7-usb-serial-drivers-main/modules/geminilake/dsm-7.2/* /lib/modules
cp dsm7-usb-serial-drivers-main/usb-serial-drivers.sh /usr/local/etc/rc.d/
chmod +x /usr/local/etc/rc.d/usb-serial-drivers.sh
/usr/local/etc/rc.d/usb-serial-drivers.sh start
ls -la /dev/ttyU*
udevadm info -q -n /dev/ttyUSB0 | grep MAJOR
udevadm info -q property -n /dev/ttyUSB0 | grep MAJOR
 
 
# commands with output from my console:
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# wget https://github.com/robertklep/dsm7-usb-serial-drivers/archive/refs/heads/main.zip
--2023-11-16 08:25:21--  https://github.com/robertklep/dsm7-usb-serial-drivers/archive/refs/heads/main.zip
Resolving github.com... 140.82.121.4
Connecting to github.com|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/robertklep/dsm7-usb-serial-drivers/zip/refs/heads/main [following]
--2023-11-16 08:25:26--  https://codeload.github.com/robertklep/dsm7-usb-serial-drivers/zip/refs/heads/main
Resolving codeload.github.com... 140.82.121.10
Connecting to codeload.github.com|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: 'main.zip'
 
main.zip                                                       [                <=>                                                                                                                   ]  20.96M  6.49MB/s    in 3.2s    
 
2023-11-16 08:25:30 (6.49 MB/s) - 'main.zip' saved [21976675]
 
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# 7z x main.zip 
 
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)
 
Scanning the drive for archives:
1 file, 21976675 bytes (21 MiB)
 
Extracting archive: main.zip
--
Path = main.zip
Type = zip
Physical Size = 21976675
Comment = 45512d24526dac76f805f0ae7984d0eb279dfb45
 
Everything is Ok                                                               
 
Folders: 97
Files: 291
Size:       66200486
Compressed: 21976675
 
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# cp dsm7-usb-serial-drivers-main/modules/geminilake/dsm-7.2/* /lib/modules
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# cp dsm7-usb-serial-drivers-main/usb-serial-drivers.sh /usr/local/etc/rc.d/
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# chmod +x /usr/local/etc/rc.d/usb-serial-drivers.sh
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# ls -la /dev/ttyU*
ls: cannot access '/dev/ttyU*': No such file or directory
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# /usr/local/etc/rc.d/usb-serial-drivers.sh start
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# ls -la /dev/ttyU*
crw------- 1 root root 188, 0 Nov 16 08:29 /dev/ttyUSB0
root@KashubNAS:/volume1/docker/_usbDrivers/20231116# udevadm info -q property -n /dev/ttyUSB0 | grep MAJOR
MAJOR=188
 
| Sklep z artykułami dla dzieci | | Foteliki samochodowe | | Sklep z oponami | | Kamery IP sklep | | Dyskretny sexshop internetowy | | Sklep z artykułami dla zwierząt | | Programista Trójmiasto | | Skróć link | | Przenieś bloga z onetu | | Załóż za darmo bloga |