On Mon, Mar 05, 2012 at 11:27:41AM +0000, tilman wrote: > Hello > > the userspace function tcgetattr, and tcsetattr result in calls to the > ioctl-function of the corresponding driver. The command arguments are TCGETS, > and TCSETS. Those ioctls don't drop down to the serial driver, they stay in the tty core. > None of the serial driver of the USB-subsystem however seem to implement > TCGETS, or TCSETS. No serial drivers implement them :) > Are tcgetattr, and tcsetattr obsolete ? No. > 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. 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