Modified stock linux pl2303 usb-serial driver to work with non-standard 10400 baud rate (for car diagnostic applications)
-
Install linux headers/source with your package manager
-
Clone the code and cd into cloned dir
-
sudo rmmod pl2303
-
under root add pl2303 driver blacklist, for example: cat > /etc/modprobe.d/pl2303.conf blacklist pl2303
-
Type make in cloned dir
-
sudo modprobe usbserial
-
sudo insmod ./pl2303_kline_10400.ko
-
plug your pl2303 k-line adapter
-
(CAN BE CONFIGURED WITH UDEV RULES) sudo chmod 666 /dev/ttyUSB0 (last digit can differ, see dmesg)
-
ln -s /dev/ttyUSB0 ~/wine/dosdevices/com1
-
Run you diagnostic software and choose com1 as port
Good luck!