Hi,
I tried this through the root user also , but still same problem .
actually I connect a USB device called CC2530ZNP from TI to the USB port , and this creates virtual serial port with port name /dev/ttyACM0 . I could see this in /dev/ ..
But when I try to read the data from that port I get the input/output error .
The following is the code i'm using
http://www.comptechdoc.org/os/linux/programming/c/com.c .
I run this on ubuntu 11.04. and it works fine with the other ports like /dev/ttyS0 .
what may be the problem , ?
regards
Bala