Re: [linux-usb-devel] how to detect that serial gadget is connected

2007-04-04 Thread Andre Haupt
Ragner N Magalhães wrote: > I use > #cat /dev/ttygserial > > But I'm using linux on host side. > #echo "message from host" > /dev/ttyACM0 > > Then the message should appear in minicom > #cat /dev/ttygserial > message from host That works for me too. What i actually want is opening /dev/ttygserial

[linux-usb-devel] how to detect that serial gadget is connected

2007-04-04 Thread Andre Haupt
Hi Guys, I am using gadget serial on an arm board connected to a windows host pc running minicom. Kernel version is 2.6.20.1. Is there a way to detect if the gadget is connected from the gadget side? Background is the following: I open /dev/ttygserial in nonblocking mode on the start of my user