linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Making our own device work under Linux
@ 2014-11-28 18:39 Dmitriy Fitisov
  2014-11-28 18:48 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitriy Fitisov @ 2014-11-28 18:39 UTC (permalink / raw)
  To: linux-serial

Hello everyone,
we have made our own device using STM32 chip and it works well under Windows using serial communication
through USB.
We used ST Micro supplied driver and firmware example.

  Now we have a task to make it work under Linux.
USB configuration is declared it as CDC modem, therefore Linux pickups cdc-acm driver and attach it to the device.
I tested it under Ununtu and it seems that once device is attached some program 
tests it using AT commands. I would guess it is ModemManager which is started in /etc/init/modemmanager.conf
I updated firmware on our device to process those commands, now I think I may simply remove ModemManager from startup and it would be fine.

But our final platform should be Raspberry.
It seems init here a little bit different, I do not see initctl program, man init differs and I'm getting different data on my device.
It sounds like terminal sequence, with lot of "0x20 0x08" bytes after start sequence.

So, I need to find out what program/daemon/service trying to communicate with cdc-acm.
Is there a simple easy way without recompiling kernel with debug info?

Thank you.
Dmitriy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-28 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 18:39 Making our own device work under Linux Dmitriy Fitisov
2014-11-28 18:48 ` Greg KH
2014-11-28 19:05   ` Dmitriy Fitisov
2014-11-28 19:08     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).