Zwave on Synology DSM 7?

That one I didn’t test - will try to reboot and see it it’s fixed now or not.

2 Likes

Slaesh stick needs drivers and there are no drivers for DSM 7. It is working in VM without an issue.
If you can use VM, I would definitely suggest this.

Just to confirm, after reboot, state of the USB was saved (device is still listed in options).

2 Likes

Is it listed in te options en doe you have to select it again? That is wat happens in a VM on DSM 6.4.
Or is it automatically available when teh VM is running again?

It is not removed from selected options in the list - so when VM restarts it is already there.

I see some people struggle here with the same problem that I’ve also encountered (and still am).

Indeed DSM 7.0 (Linux Kernel 4.4.180+) has some of the usbserial modules but not all hence some USB sticks will not work.
In my case HUSBZB-1 requires the module called cp210x.ko which needs to be loaded on top of the usbserial. That is not compiled and when I’ve checked the latest uploaded kernel source from Synology (here) I found that the config does not have that module enabled.

Unfortunately the current kernel build sources of DSM 7.0 (branch 41890) is not yet available (or better said it was published on SF and immediately after removed for some reason). If I manage to get my hand on that source I can cross compile the kernel with this module enabled and load it into my NAS (DS718+).

Best way to load these modules without any scripts is just to paste their names, one per line, in a file with whatever name and extension .conf in /etc/modules-load.d/.
systemd will do the loading job for you at every startup.
Here is an example:

% sudo cat /etc/modules-load.d/user.conf
usbserial
cdc-acm
3 Likes

I’d like to be sure someone had upgraded with no issues from DSM 6 to DSM 7 using a AEOTEC Z-Stick Gen5 and on hass running on VM, before I commit to the upgrade.

I have so many things working on Z-Wave that upgrading to DSM 7 as appealing as it might sound is out of question if that means loosing Z-Wave.

If anyone reads this and can confirm HASS on VM with AEOTEC Z-Stick Gen5 runs fine on DSM 7 then please post a heads-up here so that others like me can take a deep breath and go for the update.

Cheers,
-jprates

Hi,

I upgraded my DS718+ to DSM 7.0 and my both ZWave and Zigbee sticks are visible in DSM and fully working in HA running on VMM.

DSM 7.0 Control Panel

VMM
image

Regards,
Andrius

3 Likes

Thanks a lot for that intel @AndruX !!!

I guess now I just have to sort out the demise of EXITDNS from the supported DDNS service and upgrade my unit.

Glad to know!

Cheers,
-jprates

Hi Damian,

I too have the HUSBZB-1. After you upgraded to DSM 7 and running the script you posted, do they still show up as ttyUSB0 and ttyUSB1?

I have tried to refrain from upgrading my DS218+ for fear that I might loose zwave/zigbee functionality.

I have the package from Jadahl installed on my machine which contains cp210x.ko. So, I am guessing that I don’t need to touch that one? Or, do I need to manually load cp210x.ko?

Thanks!

Hi Eric,

It won’t work because DSM 7.0 has another kernel version and the module is compiled the previous version.

Best for now is to not upgrade your DS218+. After they will publish the kernel sources you can try to cross compile the kernel module yourself and load it with the solution I proposed above. If you need help I can give you some hints, it is not a big deal.

I believe that people here running HA in a VM are lucky because the kernel inside the VM has the right support for the specific chip on their sticks. Though I do not understand exactly how that works since the host has to have probably at least usbserial.ko loaded.

Thanks for the clarification Damian. I am not sure how to compile it when the kernel gets published so I will probably need your help on that. :slight_smile:

Thanks again!

I downloaded the Linux kernel sources for apollolake (I have a DS918+) from here and was able to crosscompile a working cp210x.ko for the current DSM 7.0 (41890). Let me know if you’re interested in it :blush:

Hello to all
I use zzh (CC2652R Stick) with DSM 6.
I have downloaded the USB drivers here:
http://www.jadahl.com/drivers_6.2/
The problem is that Jadahl will not release a driver for DSM7.
I have read that some people have managed to get their USB stick to work on a VMM.
Have you used an unbuntu or DSM 7 VMM?
Could you look in the VMM if you find the CH341.ko drivers? (/lib/modules)
it might be possible to copy them to the NAS to mount it with insmod?
here is the driver: GitHub - juliagoda/CH341SER: CH341SER driver with fixed bug
CH341SER_LINUX.ZIP - 南京沁恒微电子股份有限公司
do you know a tutorial to compile the driver ?
thanks

Hello
great job
Could you compile CH341.ko?
Here is the driver: GitHub - juliagoda/CH341SER: CH341SER driver with fixed bug
CH341SER_LINUX.ZIP - 南京沁恒微电子股份有限公司
i have a DS720+ i think the driver must be the same as the DS918+ (intel celeron)
I would also be interested in having the cp210x.ko
thank you

DS720+ is geminilake, not apollolake. I don’t know how (in)compatible those platforms are, but my guess is that an apollolake-compiled version should work fine.

I’ll take a look at the ch341 driver, the (apollolake) cp210x.ko is here: cp210x.ko · GitHub

Let me know if it loads, otherwise I’ll have to set up a geminilake crosscompile environment.

Thanks for helping me
I’m not in DSM 7 to try, I’m too afraid to lose my zigbee2mqtt.
If it doesn’t work it’s complicated to go back to DSM 6.

I can compile the ch341 module that comes with the Linux kernel source just fine. I don’t think I have any CH341 devices laying around to test it on, though. The module you’re pointing to seems very outdated, it doesn’t compile, but it’s likely the included one will work.

I’ve set up a proper Github repository for modules and packages: GitHub - robertklep/dsm7-usb-serial-drivers: Synology DSM 7 USB serial drivers

1 Like

Can you make some for geminilake?
thanks

This topic is for ZWave - you can check this one in regard to Synology and VMM.