> > What function does a userspace program use to set serial device > > parameter like baudrate,etc. ? > > The "normal" calls? Have you read the Serial Port HOWTO for how to do > this properly from userspace? That should help you out here. yes, several. This is what the user program does: fdtx = open( deviceFileName, O_RDWR); tcgetattr(fdtx,&oldtermios); close(fdtx); And this is what I am seing in the system log, i.e. a call to ioctl with TCGETS as argument: drivers/usb/serial/usbrsa.c: usbrsa_open drivers/usb/serial/usbrsa.c: send_reset drivers/usb/serial/usbrsa.c: usbrsa_ioctl() cmd 0x5401 (TCGETS) drivers/usb/serial/usbrsa.c: usbrsa_chars_in_buffer(): 0 drivers/usb/serial/usbrsa.c: usbrsa_close - port 1 drivers/usb/serial/usbrsa.c: usbrsa_baudrate_lcr_callback() drivers/usb/serial/usbrsa.c: usbrsa_status_callback(): reading stopped: tx_free=4096;rx_recv=0 Not sure how to debug this. Is there some sort of configuration of the tty layer by the driver required ? I understood that tcgetattr should result in a call to tiocmget... Thanks Tilman -- 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