Git Product home page Git Product logo

dsm7-usb-serial-drivers's Introduction

Missing USB serial drivers for DSM 7

Import from Jadahl.com (Oct 2022)

Since the website Jadahl.com, another good source of DSM modules, has been offline for some time and doesn't look like it might be coming back, I retrieved all modules that were posted there (via https://web.archive.org) and added them to this repository. Thank you very much to the person that ran it 😊

Supported drivers

  • cp210x
  • ch341
  • pl2303 (not for all platforms)
  • ti_usb_3410_5052 (not for all platforms)
Note: some USB serial devices may already be supported natively by Synology using its USB CDC ACM driver (/lib/modules/cdc-acm.ko).
Note: this repository is only for USB serial device drivers, it doesn't (and won't) provide drivers for other types of USB devices (TV tuners, Bluetooth, audio, etc). Sorry πŸ€·πŸΌβ€β™‚οΈ
Note: take a look at this project for modules that support certain USB Ethernet adapters.

Supported platforms

See the modules/ directory.

Drivers for DSM 7.0 are available for most platforms, drivers for DSM 7.1 and 7.2 are slowly being added. If you're missing drivers for a particular platform, please open an issue and I see what I can do (please also add the kernel version of your platform to your issue, you can find that out with uname -a from a terminal).

Which platform does my Synology use?

Find your Synology model on this page and check the "Package Arch" column (second last).

Downloading a module

Github is a bit confusing if you want to download binary files like this repository provides.

For instance, if you go to this page, the links to the .ko files are not download links, they will just bring you to the information page for that particular file.

From there, you can download the actual binary module file using the "Download/View raw" link in the bottom square in the page. There's also an explicit download button to the right.

Downloading using wget or curl

If you use a CLI tool like wget or curl to download the files, you also need the "raw" URL:

wget 'https://github.com/robertklep/dsm7-usb-serial-drivers/raw/main/modules/geminilake/dsm-7.1/cp210x.ko'

(notice the "raw" in the URL)

Installation

Note: the following steps will require SSH access and administrator rights. For the latter, either use sudo for each command or use su to log in as root.
  • The kernel modules for each supported platform can be found in modules/. Copy the required files to your Synology and move them to /lib/modules
  • To get DSM 7 to load the modules at boot time, copy the included file usb-serial-drivers.sh to /usr/local/etc/rc.d
  • Make sure that the file has executable permissions: chmod +x /usr/local/etc/rc.d/usb-serial-drivers.sh

You don't need to reboot your NAS for the modules to load, just execute the script after you completed the previous steps:

# /usr/local/etc/rc.d/usb-serial-drivers.sh start
Note: if you don't want to use the script, at least make sure that you load usbserial.ko before any of the provided drivers, otherwise you'll get errors.

Using the devices with Docker (thanks to @tinooo for suggesting this!)

Since many people want to use these serial devices with Docker containers running Home Assistant, Node-RED or Zigbee2MQTT, here's a short guide to explain how to pass a serial device to an application running inside a container.

This assumes that you were able to install the drivers, and that your serial device was recognised. For this, you can use the following command:

lsusb -cui

Your serial device should be shown in the output, including its device assignment. For example, this is what my Conbee II entry looks like:

  |__1-3         1cf1:0030:0100 02  2.01   12MBit/s 100mA 2IFs (dresden elektronik ingenieurtechnik GmbH ConBee II DE2427995)
  1-3:1.0         (IF) 02:02:01 1EP  () cdc_acm tty/ttyACM0

The numbers aren't relevant, what's relevant is the device assignment: ttyACM0 (depending on the device, this can also be ttyUSB0, and the 0 at the end can also be a diffent number).

For the Docker container to be able to access the serial device, you need to set its permissions correctly. The easiest way to do this:

sudo chmod 666 /dev/ttyACM0

This isn't ideal, and setting those permissions will only last until you unplug the device (or reboot), but alternatives also aren't ideal.

You can set up a task in the Synology Task Scheduler (in the Control Panel) that runs at boot which will load the module(s) you require and sets the correct permissions:

insmod /lib/modules/cdc-acm.ko
chmod 666 /dev/ttyACM0

When the module has loaded and the device has the correct permissions, you can configure a Docker container to use it.

This cannot be done from the GUI that DSM provides for containers, so you need to familiarise yourself with running Docker from the command line.

With the regular docker command, use the --device argument:

docker run --device /dev/ttyACM0 ...

If you use docker-compose (recommended) you add the following to the compose file (typically called compose.yaml or compose.yml):

devices:
  - "/dev/ttyACM0:/dev/ttyACM0"

More information here.

When you start the container, the serial device should now be accessible as /dev/ttyACM0

See the various projects' documentation for more information:

Building from source

I've built these modules in an Ubuntu 18.04.5 virtual machine on my Synology NAS.

To set up the build environment, I followed the steps in this document. The different NAS targets/platforms can be installed next to each other.

To build the modules for a particular platform, I follow these steps:

sudo rm -fr /toolkit/build_env/ds.$platform-7.0/source
sudo /toolkit/pkgscripts-ng/PkgCreate.py -X 0 -P 1 -v 7.0 --min-sdk 7.0 -p $platform $module
cp -v /toolkit/build_env/ds.$platform-7.0/source/$module/*.ko /tmp

Replace $platform with the NAS platform, for example apollolake. Replace $module with the source directory name (found in sources/ in this repository) relevant for that particular platform. For example, apollolake requires the 4.4.x sources.

Put together, to build for apollolake, the commands become:

sudo rm -fr /toolkit/build_env/ds.apollolake-7.0/source
sudo /toolkit/pkgscripts-ng/PkgCreate.py -X 0 -P 1 -v 7.0 --min-sdk 7.0 -p apollolake 4.4.x
cp -v /toolkit/build_env/ds.apollolake-7.0/source/$module/*.ko /tmp

Due to some concurrency issues that I haven't bothered to look into, the second step (PkgCreate) sometimes fails with a compilation error. If that happens, start over.

The last step will copy the driver modules to /tmp

Disclaimer

I don't/can't test every driver. Use at your own peril.

Attribution

I'm using the source code (as-is) for the drivers included in the Linux kernel from the Synology Open Source Project and the Synology Toolchain GPL sources.

dsm7-usb-serial-drivers's People

Contributors

lalicker avatar lfilho avatar robertklep avatar vytautask avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsm7-usb-serial-drivers's Issues

DSM 7.1 beta compatibility.

I have a DS918+ on DSM 7 and your drivers works well on it.
Do you know if they are ok on the beta 7.1?
Thanks for your work!!!

Error while starting usb-serial-drivers.sh

Hi everyone,

On a DS918+ DSM 7.1.1, when i'm trying to start the shell script I got an error :

root@nas:~# sudo /usr/local/etc/rc.d/usb-serial-drivers.sh start
/usr/local/etc/rc.d/usb-serial-drivers.sh: line 8: syntax error near unexpected token `newline'
/usr/local/etc/rc.d/usb-serial-drivers.sh: line 8: `<!DOCTYPE html>'

My ConbeeII was recognised by DSM but I cannot find this device on /dev/ttyACM0 anymore. Seems not working with HomeAssistant.

What i'm doing wrong :(

Drivers for R1000 architecture

Hello,

Can you provide the drivers for R1000 (Ryzen R1600 on RS422 & DS1522) architecture ?

Maybe it's the same as V1000 but....?

PermissionError: [Errno 13] Permission denied

I finally got around to upgrading my Synology to DSM 7 and I am getting the following error for the avoton modules after following the procedure:

2021-12-31 11:22:50 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-12-31 11:22:50 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
PermissionError: [Errno 13] Permission denied: '/zigbee'

Devices are configured and listed from from the host/synology OS as well after the driver install:

$ ls -lart /dev/ttyU*
crw------- 1 root root 188, 0 Dec 31 12:53 /dev/ttyUSB0
crw------- 1 root root 188, 1 Dec 31 12:53 /dev/ttyUSB1

$ lsusb | grep HubZ
  |__2-2         10c4:8a2a:0100 00  2.00   12MBit/s 100mA 2IFs (Silicon Labs HubZ Smart Home Controller C0F009F3)

I have tried the following as well with the permissions of the devices on the host and even tried running the container with --privileged: https://community.home-assistant.io/t/installing-ha-in-docker-on-ubuntu-as-non-root-user/48424/29

And here is my docker config for using the USB device:

docker run -d --name="home-assistant" -v `pwd`/config:/config -v /etc/localtime:/etc/localtime:ro -v /var/run/docker.sock:/var/run/docker.sock --device /dev/ttyUSB0:/zwave --device /dev/ttyUSB1:/zigbee --net=host --privileged homeassistant/home-assistant

In the container it seems to be having an issue reading these devices as well:

/config # cat /zwave
cat: can't open '/zwave': Permission denied
/config # cat /zigbee
cat: can't open '/zigbee': Permission denied
/config # ls -la /z*
crw-rw-rw-    1 root     root      188,   1 Dec 31 11:57 /zigbee
crw-rw-rw-    1 root     root      188,   0 Dec 31 11:57 /zwave

Any idea? It is also failing for the ZWAVE device as well, using the Nortek HUSBZB-1 USB device for the controller.

af9033.ko for geminilake

Hi Robert,

can you compile this module af9033.ko for DSM 7 for my architecture geminilake.

thanks!

How to troubleshoot?

Hi,

I followed the instructions, but I don't see my USB serial device in my DS216Play NAS. I there some guidance available on how to troubleshoot in DSM7?

Cheers,
Martijn

csr8510 bluetooth driver

Please make btusb.ko and bluetooth.ko for csr8510 bt dongle support.
At least for apollolake.

new linux kernel with DSM 7.1

The usb serial drivers unfortunately do not load anymore after the DSM 7.1 update.

My new kernel is: Linux Synology 3.10.108 #42661 SMP Mon Apr 25 19:36:56 CST 2022 x86_64 GNU/Linux synology_braswell_216+II

Robert, did you notice this change?

I am using the ti_usb module, the cp210x module and the ftd_sio module

The actual error message (on performing insmod /lib/modules/cp210x.ko ) is Unknown symbol in module. Perhaps I should load another module first?

Error with DSM 7.1

if i want to use the cp2102 driver with DSM 7.1.1-42962 Update 1 on the Avoton Platform (DS 1817+) i get the following error:

stty: /dev/ttyUSB0: Inappropriate ioctl for device

driver is loaded:
lsmod:
usbcore 179491 14 ch341,etxhci_hcd,usblp,uhci_hcd,usb_storage,cp210x,usbserial,ehci_hcd,ehci_pci,pl2303,usbhid,ftdi_sio,cdc_acm,xhci_hcd

lsusb:
|__usb2 1d6b:0002:0310 09 2.00 480MBit/s 0mA 1IF (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub
|__2-2 10c4:ea60:0100 00 1.10 12MBit/s 100mA 1IF (Silicon Labs CP2102 USB to UART Bridge Controller 0040)

before the update to 7.1 it was working fine.
could you please provide a new driver for DMS 7.1?

Best regards

Monaco and V1000

Hello,
Please, can you make some for Monaco (STM STiH412) and for V1000 (AMD Ryzen V1500B)?
Thank You very much!

rndis_host module

Would like to use a usb ethernet modem, was able to obtain mii.ko but no luck finding rndis_host.ko

R1000 versus V1000?

Are the R1000 drivers suitable for a V1000 device? I tried to build from source using "v1000" as the architecture, but got an error suggesting there is no support for V1000.

I have a new DS1522+ and don't see a way forward to get driver support for my itead Zigbee 3.0 dongle.

ti_usb_3410_5052 for Braswell

Hi Robert,

can you compile this module for DSM 7 (it was available in the Jadahl drivers for DSM6.2 but not in DSM 7 for my architecture (Braswell)

thanks!

Wessel

RT5572 for apollolake

I have a DS218+ running DSM 7.1 and a Panda Wireless Pau07 Wifi/Bluetooth Adapter

cedarview driver for Tead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"

Hi Robert,
I'm looking for a driver for a Synology DS1513+ to get the USB Dongle working.
Home Assistant 2022.10.5

Cedarview driver for Tead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"
dsm7.1-usb-serial-drivers
firmware: Silicon Labs EFR32MG21

Linux DiskStation 3.10.108 #42962 SMP Tue Oct 18 15:04:45 CST 2022 x86_64 GNU/Linux synology_cedarview_1513+

lsusb

|__usb7 1d6b:0002:0310 09 2.00 480MBit/s 0mA 1IF (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub
|__7-1 1a86:55d4:0442 02 1.10 12MBit/s 132mA 2IFs (ITEAD SONOFF Zigbee 3.0 USB Dongle Plus V2 20220811090153)

crw------- 1 root root 166, 0 Nov 27 21:51 /dev/ttyACM0

Denverton 7.1

Just setting up my Zigbee and ran into this issue. Can you build for Denverton 7.1? Thanks.

PL2303 for cedarview (RS814+)

Hi, can you provide the dms7 driver for cedarview platform? I have to connect a pl2303 usb serial converter used by homebridge (docker). Thanks in advance.

cp210x.ko Unknown symbol in module: DS720+ geminilake

Current DSM Version: DSM 7.0.1-42218 Update 3

sh-4.4$ uname -a
Linux mushkoNAS 4.4.180+ #42218 SMP Mon Oct 18 19:16:55 CST 2021 x86_64 GNU/Linux synology_geminilake_720+

sh-4.4$ sudo insmod /lib/modules/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/cp210x.ko: Unknown symbol in module

dmesg output:
[ 2610.398136] cp210x: module verification failed: signature and/or required key missing - tainting kernel
[ 2610.408753] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 2610.415673] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 2610.422700] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 2610.430196] cp210x: Unknown symbol usb_serial_register_drivers (err 0)

DS1821+ / V1000 Troubleshooting

Hello! I have recently upgraded from DS1817+ (Avoton) to DS1821+ (V1000). Both are running DSM 7.1-42661 Update 4.

I have a Coral USB Accelerator that works fine in the DS1817+ with cp210x.ko loaded from this repo.

I follow the same steps on the DS1821+ with cp210x.ko from the V1000 folder in this repo (copy cp210x.ko to /lib/modules, insmod, copy and run rc.d script), but it will not work. Frigate cannot detect the Coral.

I have tried the drivers from Jadahl too, with the same result.

$ uname -a
Linux synbad 4.4.180+ #42661 SMP Mon Jun 27 15:11:30 CST 2022 x86_64 GNU/Linux synology_v1000_1821+

$ lsmod |grep ^usbcore
usbcore               200140  14 etxhci_hcd,usblp,uhci_hcd,usb_storage,cp210x,usbserial,ehci_hcd,ehci_pci,usbhid,ftdi_sio,cdc_acm,xhci_hcd,xhci_pci

$ lsusb -cui
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:09:00.3) hub
  |__1-1         0764:0501:0001 00  2.00   12MBit/s 2mA 1IF  (CPS CP1500PFCLCD 000000000000)
  1-1:1.0         (IF) 03:00:00 1EP  () usbfs
|__usb3          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:09:00.4) hub
  |__3-2         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 6500228E14345A35)
  3-2:1.0         (IF) 08:06:50 2EPs () usb-storage host10 (synoboot)
|__usb4          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:09:00.4) hub
  |__4-1         1a6e:089a:0100 00  3.10 5000MBit/s 896mA 1IF  ( ffffffd1ffffffb2ffffffdbffffffad)
  4-1:1.0         (IF) fe:01:02 0EPs ()

$ sudo cat /dev/bus/usb/devices
T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=5000 MxCh= 0
D:  Ver= 3.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=1a6e ProdID=089a Rev= 1.00
S:  Product=USBDevice
S:  SerialNumber=ffffffd1ffffffb2ffffffdbffffffad
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=02 Driver=(none)

I thought the Driver=(none) in /dev/bus/usb/devices indicated a problem, but it looks the same on the DS1817+ where it's working.

I also tried to build the drivers myself, but I was not able to create a suitable VM/container to do the build in. My filesystem isn't BTRFS so I can't use a VM, and I couldn't figure out how to do it in a docker container.

I tried with a powered USB hub, but the behavior was the same.

Any help is greatly appreciated.

is it possible to extract usb-dvbs-drivers from dsm 6.2.4 for your dsm 7 workaround

i have a similar problem like in closed issue #33.
because i didn't found any usb tv stick driver for dsm 7.x.

do you believe it's possible to extract the usb driver of my pctv 461e usb-stick from dsm 6.2.4?
And if that's possible. could i use your script to import the driver to dsm 7?
my ds218 runs unfortunately with this dsm version because i didn't found a way to use a tv usb stick with dsm 7.x

geminilake DSM 7.1: cp210x.ko: Invalid module format

It seems that the modules don't work on my DS720+
I'm trying to get the Sonoff Zigbee 3.0 USB dongle to work ...
Any advice?

AAAAAAA:/lib/modules$ uname -a
Linux AAA 4.4.180+ #42962 SMP Tue Sep 20 22:35:56 CST 2022 x86_64 GNU/Linux synology_geminilake_720+
AAAAAAA:/lib/modules$ sudo wget https://github.com/robertklep/dsm7-usb-serial-drivers/blob/main/modules/geminilake/dsm-7.1/cp210x.ko

2022-11-02 17:54:31 (1.25 MB/s) - 'cp210x.ko' saved [140128]

AAAAAAA:/lib/modules$ sudo insmod cp210x.ko
insmod: ERROR: could not insert module cp210x.ko: Invalid module format

DS2419+ denverton support

Hi, need DSM7.1 driver for denverton cpu with 4.4.180+ kernel.
Tried compiling myself, (many times, different platforms) but even though instructions appear relatively easy, was well beyond my capabilities.
Thanks

USB audio drivers?

Hi!
I wanted to ask, what are the specific USB drivers for audio and how to install them? Formerly I used USB output from Synology's Audio Station to Topping E30 DAC. I installed drivers from here but with hasn't turned audio on. From what I understand the DAC uses XMOS XU208 chip (but I may err)

change readme

with the content of usb-serial-drivers.sh it didnt work. I made a startup.sh myself with the following:

ash-4.4# vi startup.sh
sudo insmod /lib/modules/usbserial.ko
sudo insmod /lib/modules/ftdi_sio.ko
sudo chmod 777 /lib/modules/usbserial.ko
sudo chmod 777 /lib/modules/ftdi_sio.ko
sudo insmod /lib/modules/cdc-acm.ko
sudo insmod /lib/modules/cp210x.ko
sudo insmod /lib/modules/ch341.ko

after a reboot it worked like a charm, or i had to reboot, or i had to use this startup.sh instead not sure which mode activated it

web

Hi!! Are you ok? You dissapeared from internet since Augost 2021!! I hope you are well.

I only want to tell you, your web is offline ;) see you soon jadahl!

Building for rtd1296 7.1

Just FYI, had to use the following to build for rtd1296 7.1:

sudo /toolkit/pkgscripts-ng/PkgCreate.py --build-opt='-J' -v 7.1 --min-sdk 7.1 4.4.x

For the record, I've attached both the failing build log and the successful build log from /toolkit/build_env/ds.rtd1296-7.1/logs.

4.4.x.build.failure.txt
4.4.x.build.success.txt

Building for DSM 7.1

Unexpectedly broke my setup at home by updating DSM to 7.1, my zigbee dongle no longer works... In hindsight not a great move, since half the home now has no light anymore πŸ€¦β€β™‚οΈ . After some googling I found myself here, where already some great work has been for DSM 7.0.

Anyway, the old modules are no longer loading:

insmod: ERROR: could not insert module /lib/modules/ch341.ko: Invalid module format

Since the instructions for building seem quite doable, tried to build the new modules for 7.1 myself, but hit a bit of snag there. Maybe someone knows what I'm doing wrong. My Synology is a DS216Play, so the braswell platform. If I understand correctly, after setting up the environment, to build the modules the command would be:

sudo toolkit/pkgscripts-ng/PkgCreate.py -X 1 -P 1 -v 7.1 --min-sdk 7.1 -p braswell 4.4.x

But it fails with:

scripts/Makefile.build:314: recipe for target '//source/4.4.x/pl2303.o' failed
make[2]: *** [//source/4.4.x/pl2303.o] Error 1
Makefile:1229: recipe for target '_module_//source/4.4.x' failed
make[1]: *** [_module_//source/4.4.x] Error 2
make[1]: Leaving directory '/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.1/build'
Makefile:8: recipe for target 'ch341.ko' failed
make: *** [ch341.ko] Error 2
[Error] Build project fail!
Time cost: 00:00:02 [Build-->4.4.x]
[INFO] Build 4.4.x finished!
I got the following error:
======  Find pattern [Error] ======
15: make[2]: *** [//source/4.4.x/ch341.o] Error 1
17: make[1]: *** [_module_//source/4.4.x] Error 2
20: make: *** [cp210x.ko] Error 2
40: make[2]: *** [//source/4.4.x/pl2303.o] Error 1
42: make[1]: *** [_module_//source/4.4.x] Error 2
45: make: *** [ch341.ko] Error 2
46: [Error] Build project fail!
======  Find pattern [error:] ======
26: //source/4.4.x/pl2303.c:556:8: error: implicit declaration of function 'C_CMSPAR'; did you mean 'CMSPAR'? [-Werror=implicit-function-declaration]
31: //source/4.4.x/pl2303.c:755:18: error: 'struct usb_serial_port' has no member named 'minor'
34: //source/4.4.x/pl2303.c:756:20: error: 'struct usb_serial_port' has no member named 'port_number'; did you mean 'number'?

Something that I'm not doing correct here? I'm running this by the way in a ubuntu 18 VM on my desktop, instead of on the Synology since it's not super powerful.

Add driver for PL2303 on avoton

I've tried by myself, but...

Is anyone successful building the PL2303 ? alternatively I can purchase another USB-2-Serial that is nativly supported if any.

thanks !

`

            Start to run "Build Package"

[avoton] env PackageName=3.10.x /pkgscripts-ng/SynoBuild --avoton -c --min-sdk 7.0 3.10.x
Set cache size limit to 8.0 Gbytes
Statistics cleared
[INFO] projectList=3.10.x
[INFO] Start to build 3.10.x.
[Error] There is no build scripts for 3.10.x
`

RS818 Avoton Support

Please provide for β€œAvoton”:

RS818+/RS818RP+ | Intel Atom C2538

Thanks!

insmod: Invalid module format

Just a note:
I have a DSM7 setup on an appololake system (Xpenology, DS918+)
I want to use the driver for ch341, but I get:

insmod /lib/modules/ch341.ko
insmod: ERROR: could not insert module /lib/modules/ch341.ko: Invalid module format

Then I went to http://www.jadahl.com/iperf-arp-scan/DSM_7.0/apollolake/ and tried the version from there which loaded and works without any error.
So there seems to be some odity on the driver in the repo here.

usb-serial-drivers.sh is unnecessary

Just a heads-up: the loader script is not necessary.

DSM7 comes with systemd as the service manager. One of the supplied services is systemd-modules-load.service, which can ensure loading the modules.

So all you need is a single .conf file containing a list of wanted modules in /etc/modules-load.d/ and they will be loaded at boot (or whenever systemd-modules-load service is started).

realtek8125 pci-e drivers dsm7

Greeting

i would like some help, i have a NIC 2.5GB with realtek chip and i own a synology rs2421. if it is not to much to ask i would like someone to create a pak for this pci-e card

insmod: Invalid module format on DS218+/Apollolake

Using insmod with the cp210.ko leads to the error: Invalid module format.

I've read that in some comparable aces the version from Jadahl did work - but unfortunately it is not longer availabale

Anyone an idea?

Job for systemd-modules-load.service failed

Hello, I am trying to install the driver on my Syno DS918+ (Apollolake) and I have follow these steps ::

  • copy the required files to your Synology and move them to /lib/modules
  • copy the file 90-usb-serial.conf to /usr/lib/modules-load.d/

But when I ran systemctl restart systemd-modules-load to load the modules I experienced the following error ::

  • Job for systemd-modules-load.service failed. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.

journalctl -xe says ::

Aug 24 18:35:13 Syno918 sudo[8170]:     NTY: TTY=pts/0 ; PWD=/usr/lib/modules-load.d ; USER=root ; COMMAND=/b
in/systemctl restart systemd-modules-load
Aug 24 18:35:13 Syno918 sudo[8170]: pam_unix(sudo:session): session opened for user root by NTY(uid=1028)
Aug 24 18:35:13 Syno918 systemd[1]: Starting Load Kernel Modules...
Aug 24 18:35:13 Syno918 systemd-modules-load[8173]: Failed to find module 'cp210x'
Aug 24 18:35:13 Syno918 systemd-modules-load[8173]: Failed to find module 'ch341'
Aug 24 18:35:13 Syno918 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FA
ILURE
Aug 24 18:35:13 Syno918 systemd[1]: Failed to start Load Kernel Modules.
Aug 24 18:35:13 Syno918 systemd[1]: Unit systemd-modules-load.service entered failed state.
Aug 24 18:35:13 Syno918 systemd[1]: systemd-modules-load.service failed.

But the 2 modules are really in /lib/modules and I have change them to root:root and 744

Is someone have an idea to solve this ?
Thank you for your great job

ftdi_sio.ko and usbserial.ko for apollolake

Hello,
i noticed jadahl build a lot of drivers for dsm 7.0
the files
ftdi_sio.ko
usbserial.ko
however are not found.

in DSM6.2 i currenly use these drivers.

is it possible to create those drivers for DSM 7.0?
are they perhaps already present in DSM 7.0(thus there is no reason to post/build them)

thanks

i have deleted serialusb.ko

Sorry,
but I accidentally deleted the file serialisb.ko mit rm.
I habe a DS220+
Where can i find/download this file?

MCE USB IR receiver support?

Sorry for the off-topic question, but I was able to get my Z-Wave USB dongle working perfectly with your instructions. Do you know if there is something similar that can be done for a generic MCE USB infrared receiver? It is recognized without any special drivers in most other Linux installs. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.