Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Didier 'OdyX' Raboud
Le mardi, 2 décembre 2014, 13.02:49 Matthias Urlichs a écrit : > Dmitriy Fitisov: > > > lsof /dev/ttyACM0 > > > > That I also tried last week. Nothing is open. > > The next target of interest would be udev. > Which rules fire, and do they start anything? In particular, do you have usb-modeswitch

Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Dmitriy Fitisov
Thank you, that might be.. Actually I tested it again and appears I was not exact. When device starts everything is ok. Then Linux app opens "/dev/serial/by-id/mydevice" (which with lsof somehow shows that /dev/ttyACM0 was opened instead) and sends few bytes: "t 6\n\r", device sends back some data

Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Matthias Urlichs
Hi, Dmitriy Fitisov: > > lsof /dev/ttyACM0 > > That I also tried last week. Nothing is open. The next target of interest would be udev. Which rules fire, and do they start anything? (udevadmin monitor …) -- -- Matthias Urlichs signature.asc Description: Digital signature

Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Dmitriy Fitisov
On Dec 2, 2014, at 3:24 AM, Bjørn Mork wrote: > Dmitriy Fitisov writes: > >> we have a small device of our own, which communicates through serial USB on >> Windows. >> Now we need it to work on Raspberry (yes, I know this is Debian, which is >> Raspberry based on). >> USB descriptors configu

Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Dmitriy Fitisov
On Dec 2, 2014, at 1:42 AM, Bob Proulx wrote: > Dmitriy Fitisov wrote: >> USB descriptors configured as a modem, so, when I connect it to Linux, >> cdc-acm module is loaded. >> However, there is apparently some process which is watching modems, so on >> connection >> I got some info on my devi

Re: Using USB serial device with a cdc-acm driver

2014-12-02 Thread Bjørn Mork
Dmitriy Fitisov writes: > we have a small device of our own, which communicates through serial USB on > Windows. > Now we need it to work on Raspberry (yes, I know this is Debian, which is > Raspberry based on). > USB descriptors configured as a modem, so, when I connect it to Linux, > cdc-acm

Re: Using USB serial device with a cdc-acm driver

2014-12-01 Thread Bob Proulx
Dmitriy Fitisov wrote: > USB descriptors configured as a modem, so, when I connect it to Linux, > cdc-acm module is loaded. > However, there is apparently some process which is watching modems, so on > connection > I got some info on my device - on Ubuntu it is AT commands, for which I have > ad

Using USB serial device with a cdc-acm driver

2014-12-01 Thread Dmitriy Fitisov
Hello everyone, we have a small device of our own, which communicates through serial USB on Windows. Now we need it to work on Raspberry (yes, I know this is Debian, which is Raspberry based on). USB descriptors configured as a modem, so, when I connect it to Linux, cdc-acm module is loaded. How