F
F
FSFox2012-06-19 01:56:03
linux
FSFox, 2012-06-19 01:56:03

USB-UART adapter not working in Linux, how to make it work?

A USB-UART adapter was made on the ATmega48 microcontroller, the firmware is used from the site www.recursion.jp/avrcdc/
The device is detected in the system (Debian Lenny and Squeeze) as /dev/ttyACM0, but does not work - it does not transmit or receive data. Although minicom sees it and connects.
In win7 the device works.
The readme.txt from the firmware has the following text

[Linux]<br/>
 The device will be /dev/ttyACM*.<br/>
 Linux &lt;2.6.31 does not accept low-speed CDC without patching the kernel.<br/>
 Replace the kernel to 2.6.31 or higher.

I updated the kernel to 2.6.32-5-686 in Debian squeeze, but it did not bring any result.
What could be the problem and how to solve it?
PS Maybe there are other options for organizing USB-UART on ATmega48?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
ShadowHacker, 2012-06-19
@ShadowHacker

Doesn't work because somewhat breaks the standard. Take a Chinese adapter for PL2303 for 2 bucks.

G
granik, 2012-06-23
@granik

I recommend http://viewitem.eim.ebay.ru/New-USB-20-to-TTL-COM-Converter-UART-6PIN-build-CP2102-Module-Serial-Converte/261045837112/item , supported even by old kernels( I have one), or any other based on FT232 (much more expensive)

U
utrack, 2012-07-02
@utrack

I had a problem with the Siemens adapter, minicom didn't want to eat symbolic links. Try ls -l and connect to the device directly :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question