[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] [PATCH] Brainbox 620 Pcmcia card at 921600 baud

I don't know if it will work for you, but I added support to OpenBT
to specifiy the baudrate as "baudbase/divisor" that will use the
SETSERIAL ioctl() to specify baudbase and custom _divisor.
In theory you shouldn't need setserial but I guess it only works if
the driver knows how to change to the correct baudbase...


----- Original Message -----
From: Jean Tourrilhes <jt@xxxxxxx.com>
To: 'Ulrich M?ller' <muelleru@xxxxxxx.com>;
Sent: Tuesday, October 30, 2001 22:57
Subject: [bluetooth-dev] [PATCH] Brainbox 620 Pcmcia card at 921600 baud

> Hi,
> Thanks infinitely to Paul Barnett from Brainboxes, I've
> eventually managed to get those nice Pcmcia cards to run at 921600
> bauds with OpenBT. Sweet ;-)
> Attached is two patches that I wrote. The first patch is for
> the serial driver in the kernel (I'm using 2.4.12-ac6). The second
> patch is for the "setserial" utility (available at
> http://serial.sourceforge.net/).
> Here is the deal : you recompile your serial module and
> setserial, insert the card and do :
> > setserial /dev/ttyS2 baud_base 921600
> > setserial /dev/ttyS2 wmsr 0x30
> Then, you just launch the usual bti and you specify 921600,
> and it should work. At least, it did for me ;-)
> And you may get a :
> ---------------------------------
> BT SYS: ERROR: process_event: A hardware error with error code 0x1C occurred.
> BT SYS: ERROR: process_event: Please refer to your Bluetooth module's manual.
> ---------------------------------
> Just ignore that and proceed anyway (for example with an
> inquiry).
> Have fun...
> Jean

To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com