On Wed, Mar 02, 2011 at 07:19:34PM +0530, Ramya Desai wrote: > Dear Experts, > I am using the following code while opening USB Serial to make it as raw port. > > tcgetattr( rtio_port, &cdco); > cfmakeraw( &cdco); > cdco.c_cflag |= CS8 | CLOCAL | CREAD; > tcsetattr( port, TCSANOW, &cdco); > > After opening the port, If I close and open my application, without > restarting the system, I was unable to open my serial port again with > this options. What call causes an error? What is the error you get? > Where as if I comment the following lines of code in my application > (Without restart the system), I was able open the serial port. What following lines? confused, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html