[ USB Serial Drivers ] [ 5.0.0 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 5.10

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

[ USB Serial Drivers ] [ 5.0.0 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 5.10

Post by QNAP_Stephane »

Source : kernel.org

Download :

https://www.myqnap.org/product/usb-serial-drivers/

Drivers list automated installed with this qpkg

Code: Select all

aircable.ko
ark3116.ko
belkin_sa.ko
ch341.ko
cp210x.ko
cyberjack.ko
cypress_m8.ko
digi_acceleport.ko
empeg.ko
f81232.ko
f81534.ko
ftdi_sio.ko
garmin_gps.ko
io_edgeport.ko
io_ti.ko
ipaq.ko
ipw.ko (compiled but not insalled)
ir-usb.ko
iuu_phoenix.ko
keyspan.ko (compiled but not insalled)
keyspan_pda.ko (compiled but not insalled)
kl5kusb105.ko
kobil_sct.ko
mct_u232.ko
metro-usb.ko
mos7720.ko
mos7840.ko
mxuport.ko
navman.ko
omninet.ko
opticon.ko
option.ko (compiled but not insalled)
oti6858.ko
pl2303.ko
qcaux.ko
qcserial.ko (compiled but not insalled)
quatech2.ko
safe_serial.ko
sierra.ko
spcp8x5.ko
ssu100.ko
symbolserial.ko
ti_usb_3410_5052.ko
upd78f0730.ko
usb_debug.ko
usbserial.ko
usb-serial-simple.ko
usb_wwan.ko
visor.ko
whiteheat.ko (compiled but not insalled)
wishbone-serial.ko
xsens_mt.ko
Last edited by QNAP_Stephane on Tue Nov 08, 2022 12:57 am, edited 2 times in total.
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
ruben0909
New here
Posts: 5
Joined: Sun Nov 01, 2015 6:14 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by ruben0909 »

Hi
I'm not tested yet but thank you for this.
Could I ask you how to build these drivers ? The Kernel for 4.4.1 is not published byQNAP right?

Thank you again
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by QNAP_Stephane »

GPL with Kernel source tree is available here :

https://sourceforge.net/projects/qosgpl/
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
peelos
Been there, done that
Posts: 580
Joined: Sun Jun 26, 2016 9:28 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by peelos »

Showing my ignorance here - do these enable users to connect USB devices and have them recognized by the kernel?

Is there an example of a use case anyone can share?
NAS: TVS-1282-i7-7700-40G / 4 x 500GB SSD 2.5" RAID 10 / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" RAID 6 / Noctua L9x65 / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / Transmission / Sonarr / Radarr / Bazarr / Jackett / Tautulli / Home Assistant / Resilio Sync / Python / NetData / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / 1 x Netgear AC3200 R8000 Nighthawk / FreshTomato Firmware
User avatar
philippe.mande
Getting the hang of things
Posts: 94
Joined: Sun Dec 23, 2018 6:15 pm
Location: Saint-Mandé France
Contact:

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by philippe.mande »

Hi,

Some USB stick for Home Automation or Domoticz or ... require a specific USB serial kernel module to create the USBtty require to connect to the application
Some specific connection like with 3D printer & octoprint require missing kernel modules
etc. etc.

If you read documentation for this applications, you can load only the requested driver,if provider do the job as usual you can used depmod / modinfo & modprobe to have less work to load the depends ... (Linux do it for you automatically)
This kernel modules "just" :roll: add a device to the device tree of kernel when connected ... just take care if you have to add options to module load ... not complicated but require a minimum of Linux skills.
dmesg command (list console messages) help you to identify USBtty or other name created and if no error occurs when connecting your piece of hardware ...

I used my own modules (so not this QNAP's delivery) but it's the same ... and also on other NAS Brand (Asustor, Syno, etc.)

Philippe.
New pseudo for Father_Mande (now closed) ...
QNAP TS-x53 Pro, TVS-x73, TS-x31+, TS-x28A DEAD ... and some oldest under Debian ... etc.
Asustor AS5002T ; AS1002T ... etc.
User avatar
peelos
Been there, done that
Posts: 580
Joined: Sun Jun 26, 2016 9:28 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by peelos »

Many thanks for your detailed explanation Philippe - so it is actually somehow as imagined..

Loading USB drivers for a Z-Wave stick so that OpenHAB can use it on "/dev/ttyACM0" by using command "insmod /usr/local/modules/cdc-acm.ko" is an example then..

Time to do some more reading based on this!
NAS: TVS-1282-i7-7700-40G / 4 x 500GB SSD 2.5" RAID 10 / 2 x 500GB M.2 SSD / 8 x 12TB WD Whites 3.5" RAID 6 / Noctua L9x65 / 3 x 80mm PWM Noctua fans / Corsair 600W PSU / Asus Turbo GTX 1060 6GB GPU
Software: Plex Media Server / Transmission / Sonarr / Radarr / Bazarr / Jackett / Tautulli / Home Assistant / Resilio Sync / Python / NetData / SortMyQPKGs
pfSense Firewall / OpenVPN Server: QOTOM Fanless Mini PC / Core i5 / 8GB RAM / 128GB SSD / 4 Gigabit NICs / AES-NI
Wireless Routers: 2 x Netgear AC1900 R7000 Nighthawk / 1 x Netgear AC3200 R8000 Nighthawk / FreshTomato Firmware
johnnyletrois
New here
Posts: 5
Joined: Tue Feb 21, 2017 3:17 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by johnnyletrois »

Sticks at 75% when adding via the GUI. Would love to get the ch341.ko for my new Zigbee adapter.

Running a TVS-682 on firmware 4.5.1.1456.
mafiasia
Starting out
Posts: 13
Joined: Tue Aug 05, 2008 10:17 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by mafiasia »

Is there the equivalent for TS870 Pro under QTS 4.3.6? My NAS is already EOL... I need ch341.ko module.
Thanks for your help.
Scacht
First post
Posts: 1
Joined: Mon May 06, 2019 11:45 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by Scacht »

johnnyletrois wrote: Tue Oct 20, 2020 2:06 am Sticks at 75% when adding via the GUI. Would love to get the ch341.ko for my new Zigbee adapter.

Running a TVS-682 on firmware 4.5.1.1456.
Same issue here. Any way to make one just for the CH341?

I'm on a TVS-1282T3 on kernel 4.14.24-qnap, firmware 4.5.2.1594.
Cesarmorante
New here
Posts: 7
Joined: Thu Jun 10, 2021 12:46 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by Cesarmorante »

I can't install it on my TS328 firm 4.5.3.1760 :(
Any chance I can do it?
I'm trying to make a zzh USB dongle work but no success.
No devices created in /dev/tty* when connected.
Any help would be appreciated.
Thanks
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by QNAP_Stephane »

this package is only for Intel/AMD processor based NAS
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Cesarmorante
New here
Posts: 7
Joined: Thu Jun 10, 2021 12:46 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by Cesarmorante »

Is there a tutorial explaining how to compile kernel (to add ch340.ko) to an ARM based TS328???
cristian_ro
First post
Posts: 1
Joined: Wed Jul 21, 2021 10:02 pm

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by cristian_ro »

Cesarmorante wrote: Thu Jun 10, 2021 3:19 pm Is there a tutorial explaining how to compile kernel (to add ch340.ko) to an ARM based TS328???
Hi, I'm also interested in this topic.
I have a QNAP TS-230 with ARM processor, and Njoy Keen 600 UPS. On TS level the USB connection is recognized as :
idVendor 0x1a86 QinHeng Electronics
idProduct 0x7523 HL-340 USB-Serial adapter
but seems the kernel is missing support for this UPS.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by QNAP_Stephane »

once QTS 5 GPL code will be published, i will give a try to port on other arch
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
PiPaNoSa
New here
Posts: 9
Joined: Thu Dec 25, 2014 5:03 am

Re: [ USB Serial Drivers ] [ 4.4.1 ] Add some missing USB Serial Drivers compiled from GPL Source Kernel 4.14

Post by PiPaNoSa »

Hi there,

Does anybody here has been able to create a ch341.ko module for the new kernel 5.10.60?

I'm trying to install a zigbee coordinator for Home Assistant (under docker, TS853a), and can't find any working driver : I'm a noob with all linux and similar things and can't neither compile by myself.
Julien G.
France
QNAP TS-853A 4*WD20EFRX RAID5 - 1*WD30EFRX - 1*WD60EFAX - 1*WD80EFAX - 1*SSD250GB - FW:QTS 5.0.0
QNAP TS-420 4 * WD30EFRX RAID5 - 9TB - FW:QTS 4.3.3
QNAP TS-210 - FW:QTS 4.1.1 Build 20141106
QNAP TS-101
Post Reply

Return to “Community Apps”