1
Security and Networking / New Bluetooth Drivers
« on: September 17, 2005, 02:16:09 pm »
I had some trouble to get the Billionton CFBT02-B2 Bluetooth CF-Card working on my SL-C750 with original Sharp ROM. The problem was that I need to set the serial speed to 921600 and use the option "-s 921600" when calling hciattach.
To solve this problem I changed the script /etc/pcmcia/bluetooth so that the start code looks like this:
This allows to use the following line in /etc/bluetooth/uart:
Maybe this helps others who have problems with this card.
Lothar
To solve this problem I changed the script /etc/pcmcia/bluetooth so that the start code looks like this:
Code: [Select]
....
UART_SET=`grep "$ID" $UART_CONF | cut -f2 -d":"`
if [ "$UART_SET" != "" ]; then
DEVICE=/dev/`echo $UART_SET | sed 's,.*/dev/,,'| cut -f1 -d" "`
SPEEDOK=`echo $UART_SET | grep '^ *-s'`
IRQ=`setserial $DEVICE | sed -e 's/.*IRQ: //'`
setserial $DEVICE irq 0; setserial $DEVICE irq $IRQ
if [ "$SPEEDOK" != "" ]; then
SPEED=`echo $UART_SET | sed 's,.*-s *,,' | cut -f1 -d" "`
setserial $DEVICE baud_base $SPEED
fi
/usr/sbin/hciattach $UART_SET
fi
....
This allows to use the following line in /etc/bluetooth/uart:
Code: [Select]
"Compact Flash", "Bluetooth Card", "", "":-s 921600 /dev/ttyS3 bcsp
Maybe this helps others who have problems with this card.
Lothar