Gentoo Amd64 Kernel-2.6.30-R5的配置如下
Networking --->
<*> Bluetooth subsystem support --->
--- Bluetooth subsystem support
<M> L2CAP protocol support
<M> SCO links support
<M> RFCOMM protocol support
RFCOMM TTY support
<M> BNEP protocol support
Multicast filter support
Protocol filter support
<M> HIDP protocol support
Bluetooth device drivers --->
<M> HCI USB driver
SCO (voice) support
<M> HCI UART driver
UART (H4) protocol support
BCSP protocol support
Transmit CRC with every BCSP packet
<M> HCI BCM203x USB driver
<M> HCI BPA10x USB driver
<M> HCI BlueFRITZ! USB driver
<M> HCI DTL1 (PC Card) driver
<M> HCI BT3C (PC Card) driver
<M> HCI BlueCard (PC Card) driver
<M> HCI UART (PC Card) device driver
<M> HCI VHCI (Virtual HCI device) driver
USB support --->
<*> Support for Host-side USB
--- USB Host Controller Drivers
<M> EHCI HCD (USB 2.0) support
[ ] Full speed ISO transactions (EXPERIMENTAL)
[ ] Root Hub Transaction Translators (EXPERIMENTAL)
<*> OHCI HCD support
<*> UHCI HCD (most Intel and VIA) support
< > SL811HS HCD support
# lsusb
Bus 004 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
Bus 006 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 003 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 002: ID 0a5c:2110 Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 17ef:1004 ChipsBnk
Bus 002 Device 001: ID 1d6b:0002
# sdptool search DUN
Inquiring ...
Searching for DUN on 00:12:47:10:828 ...
Service Name: Dial-up Networking
Service RecHandle: 0x10002
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 3
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "0000";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "thinkpad";
# Local device class
class 0x000100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
/etc/bluetooth/rfcomm.conf如下
rfcomm0 {
# # Automatically bind the device at startup
bind no;
#
# # Bluetooth address of the device
device 00:12:47:10:828;
# device 00:1F:3A:EE:E06;
#
# # RFCOMM channel for the connection
channel 3;
#
# # Description of the connection
# comment "Example Bluetooth device";
}
# l2ping 00:12:47:10:828
Ping: 00:12:47:10:828 from 00:1F:3A:EE:E06 (data size 44) ...
44 bytes from 00:12:47:10:828 id 0 time 27.89ms
44 bytes from 00:12:47:10:82:D8 id 1 time 44.66ms
44 bytes from 00:12:47:10:82:D8 id 2 time 57.67ms
^C3 sent, 3 received, 0% loss
# obexftp -b 00:12:47:10:82:D8 -l
Browsing 00:12:47:10:82:D8 ...
Connecting...failed: connect
error on connect(): Success
Still trying to connect
Connecting...failed: connect
error on connect(): Success
Still trying to connect
Connecting...failed: connect
error on connect(): Success
Still trying to connect