2007/8/8, Alan Cox <[EMAIL PROTECTED]>:
> With a current kernel you shouldn't need one you can simply do
>
>         struct termios2 t2;
>         ioctl(ttyfd, TCGETS2, &t2);
>         t2.c_cflags &= ~CBAUD;
>         t2.c_cflags |= BOTHER;
>         t2.c_ospeed = 250000;
>         ioctl(ttyfd, TCSETS2, &t2)
>
> and at some point once its all synced up for the various platforms glibc
> will handle the newer termios transparently as it already has
> ispeed/ospeed information in the version it presents user applications.
I'm sorry about all the noise, but what you just said made no sense to
me at all (I told you I wasn't a kernel guy ;-) ). If I understand
correctly all that is needed is the device ID's for the robots to be
supported? So no need to implement the speed hack in the kernel at
all?

Søren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to