Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elichai2@Lenovo-G510:~$ lsmod | grep "bluetooth"
- bluetooth 446190 11 bnep,btusb,rfcomm
- 6lowpan_iphc 18702 1 bluetooth
- elichai2@Lenovo-G510:~$ dmesg | grep 0cf3
- [ 5.332577] usb 3-7: New USB device found, idVendor=0cf3, idProduct=3004
- elichai2@Lenovo-G510:~$ lsusb
- Bus 002 Device 002: ID 8087:8000 Intel Corp.
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 001 Device 002: ID 8087:8008 Intel Corp.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 003 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
- Bus 003 Device 003: ID 0cf3:3004 Atheros Communications, Inc.
- Bus 003 Device 002: ID 174f:114f Syntek
- Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- elichai2@Lenovo-G510:~$ hciconfig
- elichai2@Lenovo-G510:~$ rfkill list
- 0: ideapad_wlan: Wireless LAN
- Soft blocked: no
- Hard blocked: no
- 1: ideapad_bluetooth: Bluetooth
- Soft blocked: no
- Hard blocked: no
- 2: phy0: Wireless LAN
- Soft blocked: no
- Hard blocked: no
- elichai2@Lenovo-G510:~$ cat /var/lib/bluetooth/B8\:EE\:65\:61\:94\:64/did
- 00:13:7B:49:CA:07 FFFF 0000 0000 0000
- elichai2@Lenovo-G510:~$ cat /etc/bluetooth/main.conf
- [General]
- # List of plugins that should not be loaded on bluetoothd startup
- #DisablePlugins = network,input
- # Default adaper name
- # %h - substituted for hostname
- # %d - substituted for adapter id
- Name = %h-%d
- # Default device class. Only the major and minor device class bits are
- # considered.
- Class = 0x000100
- # How long to stay in discoverable mode before going back to non-discoverable
- # The value is in seconds. Default is 180, i.e. 3 minutes.
- # 0 = disable timer, i.e. stay discoverable forever
- DiscoverableTimeout = 0
- # How long to stay in pairable mode before going back to non-discoverable
- # The value is in seconds. Default is 0.
- # 0 = disable timer, i.e. stay pairable forever
- PairableTimeout = 0
- # Use some other page timeout than the controller default one
- # which is 16384 (10 seconds).
- PageTimeout = 8192
- # Automatic connection for bonded devices driven by platform/user events.
- # If a platform plugin uses this mechanism, automatic connections will be
- # enabled during the interval defined below. Initially, this feature
- # intends to be used to establish connections to ATT channels.
- AutoConnectTimeout = 60
- # What value should be assumed for the adapter Powered property when
- # SetProperty(Powered, ...) hasn't been called yet. Defaults to true
- InitiallyPowered = true
- # Remember the previously stored Powered state when initializing adapters
- RememberPowered = true
- # Use vendor id source (assigner), vendor, product and version information for
- # DID profile support. The values are separated by ":" and assigner, VID, PID
- # and version.
- # Possible vendor id source values: bluetooth, usb (defaults to usb)
- #DeviceID = bluetooth:1234:5678:abcd
- # Do reverse service discovery for previously unknown devices that connect to
- # us. This option is really only needed for qualification since the BITE tester
- # doesn't like us doing reverse SDP for some test cases (though there could in
- # theory be other useful purposes for this too). Defaults to true.
- ReverseServiceDiscovery = true
- # Enable name resolving after inquiry. Set it to 'false' if you don't need
- # remote devices name and want shorter discovery cycle. Defaults to 'true'.
- NameResolving = true
- # Enable runtime persistency of debug link keys. Default is false which
- # makes debug link keys valid only for the duration of the connection
- # that they were created for.
- DebugKeys = false
- # Enable the GATT functionality. Default is false
- EnableGatt = false
- elichai2@Lenovo-G510:~$ sudo bluetoothd -n -d
- bluetoothd[22348]: Bluetooth daemon 4.101
- bluetoothd[22348]: src/main.c:parse_config() parsing main.conf
- bluetoothd[22348]: src/main.c:parse_config() discovto=0
- bluetoothd[22348]: src/main.c:parse_config() pairto=0
- bluetoothd[22348]: src/main.c:parse_config() pageto=8192
- bluetoothd[22348]: src/main.c:parse_config() auto_to=60
- bluetoothd[22348]: src/main.c:parse_config() name=%h-%d
- bluetoothd[22348]: src/main.c:parse_config() class=0x000100
- bluetoothd[22348]: src/main.c:parse_config() Key file does not have key 'DeviceID'
- D-Bus setup failed: Name already in use
- bluetoothd[22348]: Unable to get on D-Bus
Advertisement
Add Comment
Please, Sign In to add comment