xf86OpenSerial() uses the BaudRate option to set the serial port. If the baud rate was autodetected to 19200, replace this so that the next DEVICE_ON call will use the right one.
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmISDV4.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c index ff129e5..ea33c18 100644 --- a/src/wcmISDV4.c +++ b/src/wcmISDV4.c @@ -344,8 +344,11 @@ static int isdv4GetRanges(LocalDevicePtr local) return !Success; ret = isdv4Query(local, ISDV4_QUERY, data); - if (ret == Success) + if (ret == Success) { isdv4data->baudrate = 19200; + /* xf86OpenSerial() takes the baud rate from the options */ + xf86ReplaceIntOption(local->options, "BaudRate", 19200); + } } -- 1.7.1 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
