(24-04-2015, 19:10)hvalentim Wrote: To be done:
On the software side: I found the custom Debian kernel on the NAS I am planning to use to transmit data to the Internet is missing the required ch341.ko driver so as to communicate over usbserial with WeatherDuino. I risk to have to recompile the damn thing myself.
Should anyone need to support serial over usb connection with WeatherDuino so as to work with Davis emulation mode I am attaching a ch341.ko which should work on ARM7 devices using Linux Kernel 3.2.68
modinfo ch341:
license: GPL
alias: usb:v1A86p5523d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1A86p7523d*dc*dsc*dp*ic*isc*ip*
alias: usb:v4348p5523d*dc*dsc*dp*ic*isc*ip*
depends: usbserial
intree: Y
vermagic: 3.2.68 SMP mod_unload ARMv7 thumb2 p2v8
parm: debug
ebug enabled or not (bool)Instructions for Debian and derivatives:
1- Place *.ko in /lib/modules/3.2.68/kernel/drivers/usb/serial
2 - Perform a "depmod" command (let the system scan and find out about the driver)
3 - If needed add line "ch341" to /etc/modules file (initiates at boot). Normally not necessary if the previous step succeeded (it will load automatically henceforth).
You should now have a /dev/ttyUSB0

