LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-03-2012, 07:27 AM   #1
math1985
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Debian Squeeze: connect to A2DP (bluetooth) through command line


I would like to turn my Lacie NAS into a A2DP bluetooth source, in order to stream audio to a bluetooth audio sink. The NAS runs Debian Squeeze in a chroot environment, and is connected to a Bluetooth dongle. I have no GUI installed on this NAS.

I can get bluetooth up with 'hciconfig hci0 up', and I can pair with the audio sink.

I created a file '~/.asoundrc' with the following contents:

pcm.btheadset {
type bluetooth
device C8:84:47:02:59:F4
profile “auto”
}

Then I executed 'hciconfig hci0 voice 0x0060', which gave no output.

After that, I executed

pactl load-module module-alsa-sink device=btheadset

which gave the following error:

socket(): Address family not supported by protocol
Connection failure: Connection refused

Did I skip a step? Or is there anything else to accomplish what I want?
 
Old 11-12-2012, 05:14 PM   #2
math1985
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
UPDATE: I think the underlying problem is that the required kernel modules are not loaded. I have currently the following modules running:
snd_page_alloc
soundcore
btusb
uhci_hcd
rfcomm
l2cap
bluetooth
ftdi_sio
usbserial
usblp
ehci_hcd
loop
usb_storage
usbcore

Are there any other sound-specific kernel modules that I need to get sound over bluetooth working?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] boot into command line debian squeeze nepalnt21 Debian 8 09-10-2013 04:50 PM
Debian Squeeze - Cannot connect to network qkzoo Debian 6 01-16-2012 07:31 PM
After installing KDE 4.4.5 on Debian Squeeze wireless will not connect RayGo75 Debian 6 10-06-2011 07:52 AM
Bluetooth on Macbook with Debian Squeeze mrider Linux - Hardware 6 04-04-2011 08:14 PM
[SOLVED] bluetooth dongle with A2DP protocol RedNeck-LQ Linux - Hardware 2 01-21-2011 06:59 PM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration