Skip to contentSkip to conversation

Incorrect speed at Palm 100 serial adapter

DISCUSSION Karel Kulhavy 2 participants 2 messages Jun 12, 2006 – Jun 14, 2006

lore
Share & tools
lore
#0 lore raw

Hello

If I set 57600 speed on Palm 100 USB/serial adapter (USB IDs 0x830, 0x80), the speed is according to oscilloscope at 19200, but the tcsetattr doesn't fail and subsequent tcgetattr returns 115200.

If the hardware supports it, the speed should be set to 115200. If it doesn't, tcgetattr should then indicate 19200.

Linux kernel is 2.6.16.19.

CL<

#1 lore raw
Quoted 10 lines · Karel Kulhavy

Hello

If I set 57600 speed on Palm 100 USB/serial adapter (USB IDs 0x830, 0x80), the speed is according to oscilloscope at 19200, but the tcsetattr doesn't fail and subsequent tcgetattr returns 115200.

If the hardware supports it, the speed should be set to 115200. If it doesn't, tcgetattr should then indicate 19200.

Linux kernel is 2.6.16.19.

Please send a patch to us for this, as this driver was reverse engineered by watching the data stream and might be wrong in places.

thanks,

greg k-h