Re: Support for the Evolution Scorpion robots

"Søren Hauberg" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.