/dev/ttyUSB0 is missing
I have bought an USB digital thermometer and want to use it in Ubuntu. Then I downloaded Temper-Tools.
I plugged in the device and dmesg gives Code:
[138910.576074] usb 3-1: new low speed USB device using uhci_hcd and address 3 Code:
temper-read-temp /dev/ttyUSB0 |
Quote:
1. Make sure that the device is a stand-in for a USB to serial adaptor. 2. Make sure that the device is a generic USB to serial adaptor, otherwise it may have a Windows-only driver. 3. Run this command: Code:
# tail -f /var/log/messages I suspect that this is a Windows-only device and that it doesn't emulate a generic USB serial adaptor. |
Thank you for your response. The documentation states that it should be /dev/ttyUSB0. I've looked further into it, and it appears that it has a WinChipHead CH341 USB-to-serial converter. Although Linux has a kernel driver for the CH341, it doesn't yet implement the DTR/RTS/CTS signals used to emulate an I2C bus. Luckily someone wrote a patch.
Is there an easy way to apply this patch to the current kernel? edit: ok, I have figured it out. Code:
cat ch341.c | patch Code:
Hunk #1 FAILED at 1. |
Quote:
Find out which kernel the patch was meant for, and install it. You know, you can have more than one kernel installed at a time, and you can choose which kernel you want to use when you boot your system. |
Quote:
|
All times are GMT -5. The time now is 05:27 AM. |