VectorLinux
April 15, 2014, 11:27:46 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Bluetooth on VL7 - Errors from daemon.  (Read 1299 times)
pierce.jason
Packager
Vectorite
****
Posts: 250



« on: January 15, 2012, 03:14:07 pm »

Has anyone else used bluetooth under VL7? I'm trying to setup IP networking over bluetooth and have discovered some things that seem to be missing in the default packages.

Code:
root:# /etc/init.d/bluetooth restart
which: no hcid in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no sdpd in (/sbin:/bin:/usr/sbin:/usr/bin)
Stopping Bluetooth subsystem:  pand dund rfcomm hidd sdpd hcid.
Starting Bluetooth subsystem: Can't open RFCOMM control socket: Protocol not supported
 rfcomm.

While trying to configure VL7 Gold for bluetooth, I've discovered that our default 3.0.8 kernel is missing some modules that will most likely be needed for bluetooth.

Download and install the kernel source.
Code:
root:# wget http://vectorlinux.osuosl.org/veclinux-7.0/kernels/3.0.8-1vl70/kernel-src-3.0.8-i686-1vl70.txz
root:# installpkg kernel-src-3.0.8-i686-1vl70.txz

Compile the protocol modules:
Code:
root:# cd /usr/src/linux/

root:# BluetoothCFG="CONFIG_BT_L2CAP=y CONFIG_BT_SCO=y CONFIG_BT_RFCOMM=m CONFIG_BT_BNEP=m CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_CMTP=m CONFIG_BT_HIDP=m"

root:# make $BluetoothCFG M=net/bluetooth/bnep/

root:# make $BluetoothCFG M=net/bluetooth/cmtp/

root:# make $BluetoothCFG M=net/bluetooth/hidp/

root:# make  $BluetoothCFG M=net/bluetooth/rfcomm/

Ask the kernel source tree to install the new modules for you:
Code:
root:# make modules_install M=net/bluetooth/*/
  INSTALL net/bluetooth/bnep/bnep.ko
  INSTALL net/bluetooth/cmtp/cmtp.ko
  INSTALL net/bluetooth/hidp/hidp.ko
  INSTALL net/bluetooth/rfcomm/rfcomm.ko
  DEPMOD  3.0.8


Now you have rfcomm module and the "Protocol not supported" error should go away. I haven't subdued the errors of missing hcid and sdpd yet. Perhaps they are not important... we will see.
« Last Edit: January 15, 2012, 03:16:21 pm by pierce.jason » Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
pierce.jason
Packager
Vectorite
****
Posts: 250



« Reply #1 on: January 15, 2012, 05:54:02 pm »

Additionally, the bluetooth.ko module needed recompiled for L2 support. I'll append this later with more details on this.

It looks like complaints about the two missing executable (hcid, sdpd) are irrelevant, relics from an older version of bluetooth tools.
Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
danthemannewtolinux
Vectorite
***
Posts: 107



« Reply #2 on: February 28, 2012, 04:53:51 pm »

I had this problem with bluetooth, it wouldn't detect my ps3 bluetooth dongle, i updated to the latest kernel and the rfcomm problem went away but still cant connect to my controller with btsixa
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!