Mailinglist Archive: opensuse-bugs (4760 mails)

< Previous Next >
[Bug 598085] New: Can't set baud rate to 128000 on /dev/ttyUSB0 cp210x device
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 20 Apr 2010 11:12:15 +0000
  • Message-id: <bug-598085-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=598085

http://bugzilla.novell.com/show_bug.cgi?id=598085#c0


Summary: Can't set baud rate to 128000 on /dev/ttyUSB0 cp210x
device
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Major
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: velocedge@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=355553)
--> (http://bugzilla.novell.com/attachment.cgi?id=355553)
modinfo output

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9)
Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

The cp210x.c shows support for 128000 baud as of 2.3.30.6. which I need to run
my cp2102 USB device. From cp210x.c:
..
else if (baud <= 117028) baud = 115200;
else if (baud <= 129347) baud = 128000;
else if (baud <= 156868) baud = 153600;
..
Whether I set the rate with stty -F /dev/ttyUSB0 128000 or try setting
comport.BaudRate = 128000 in Mono, it defaults to 9600. stty gives "invalid
argument". I'm running the latest version of 11.2 and even tried the 2.6.34-RC
kernel with the same results.

Reproducible: Always

Steps to Reproduce:
1. stty -F /dev/ttyUSB0 128000
2.
3.
Actual Results:
invalid argument

Expected Results:
Sets the /dev/ttyUSB0 device baud rate to 128000

I'm converting a program from Windows to C# and Mono. The device works fine in
Windows at 128000. This capability is critical to us in order to move off
Windows and on to Linux so any help is greatly appreciated.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >