Eduardo wrote:I always used the compiled usbserial.ko I posted, not the synology one. So, just to be sure, do you mean that Synology provided usbserial.ko doesn't work with our ftdi and pl2303 modules and we should use our usbserial.ko too?
Another question, are lebovitz's modules different from the ones I posted?
From what I can tell, Synology began including /lib/modules/usbserial.ko with the release of DSM 4.2-3202. (I don't remember seeing it in DSM 4.1 but I could have missed it. It definitely wasn't there in DSM 4.0.) This might be related to their recent support of various USB devices such as bluetooth dongles, TV tuners, printers, etc.
Yes, I could not insmod the pl2303.ko driver until I replaced the Synology provided usbserial.ko driver with yours. Then I was able to insmod usbserial.ko followed by pl2303.ko.
I ran a binary file compare of the files you uploaded with the files that lebovitz sent me. All 3 files, pl2303.ko, ftdi_sio.ko and usbserial.ko are exactly the same. lebovitz didn't send the cp210x.ko file.
My only worry is that by replacing the Synology provided usbserial.ko driver I may have inadvertantly broken support for other Synology supported USB devices. I guess I'll wait and see.
The APC UPS I am using is an older rack-mounted SmartUPS with only a D9 serial port. I use an APC AP9833 (940-0272A) USB-to-Serial cable containing a pl2303 chip to connect it to the DiskStation. However, the DiskStation doesn't support the pl2303 or apcsmart in it's implementation of the NUT package.
I was able to solve both problems on DSM 4.0 by using the pl2303 driver that lebovitz supplied back when he created this thread and by installing the ipkg NUT package and making a few symbolic links and edits to ups.sh and ups.conf to enable support for apcsmart.
Then Synology began including the apcsmart NUT driver with DSM 4.1 which made it easier but still required edits to ups.conf.
Now it seems that Synology has updated the entire NUT package with the release of DSM 4.2 and the edits I made before don't work now.
Sorry but I've gotten a bit off topic here.