Hi, Just wanted to follow up if anyone has any idea about this issue.
Thanks in advance, Kim Klaiman -----Original Message----- From: [EMAIL PROTECTED] idsp.com [mailto:[EMAIL PROTECTED] x.davincidsp.com] On Behalf Of Kim Klaiman Sent: February 4, 2008 10:26 AM To: [email protected] Subject: reading from usb serial gadget Hello all, I'm using USB serial gadget to read data from PC. At the beginning, I'm opening the device with open(/dev/ttygserial) and then try to read data. If I launch the application and then connect the USB cable, everything works fine. My problem is when the USB cable is disconnected and reconnected while the application is running. Since read is blocking, I cannot check if the device is opened, read does not return and I'm stuck. How can I solve this situation? Thanks, Kim _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
