usb serial line speed limits

Per olof Ljungmark peo at intersonic.se
Fri Apr 18 15:04:14 UTC 2008


Mel wrote:
> On Friday 18 April 2008 11:50:46 Per olof Ljungmark wrote:
> 
>> 'B1228800' undeclared (first use in this function)
>> /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: (Each
>> undeclared identifier is reported only once
>> /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: for each
>> function it appears in.)
>> *** Error code 1
>>
>> Where can I dig out more info on how to proceed? Unfortunately my
>> understanding of C and the rest is rather limited...
> 
> 
> /usr/src/sys/sys/termios.h defines the baud rates. Next one up from 115200 is 
> B230400. Max is B921600.

Well, I recompiled with B1228800 defined in termios.h but when i start 
ppp i get a complaint that the speed does not exist so it seems to be 
more complicated than that.

Furthermore, testing ftp with XP I get about 2mbit/second downstream, 
same ftp server with FreeBSD it's about 240kbit/s with serial speed 921600.

Anyone on the list who managed to crank the speed up? Hardware is 
ThinkPad T42 with a Huawei E220 modem and 7-STABLE.

--per


More information about the freebsd-questions mailing list