Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth headset [05.05 updated !!!]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jhgz1
Retired Dev
Retired Dev


Joined: 16 Dec 2003
Posts: 115
Location: Gainesville

PostPosted: Thu Jul 20, 2006 1:19 pm    Post subject: Reply with quote

Just wanted to mention that the bluetooth device integrated in the new Macbook works flawlessly together with the two ebuilds. I don't know if they used the same adapter as in the Macbook Pro, so I can't make any promises for that one, but the Macbook works great.
_________________
Bei Gentoo mithelfen wollen und kein Programmierer? Gentoo sucht Übersetzer, die bereit sind kontinuierlich mitzuarbeiten.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Mon Dec 04, 2006 6:39 am    Post subject: Reply with quote

No luck trying to install against 2.6.17-gentoo-r8 and alsa-driver. The link for www.hotheads.de is dead. Any suggestions?

In /etc/make.conf:
Code:
ALSA_CARDS="hda-intel usb-audio

In /etc/modules.d/alsa:
Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.5 2006/06/13 10:18:25 uberlord Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.


##
##  ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

##
##  OSS/Free portion
alias sound-slot-0 snd-hda-intel
alias sound-slot-1 snt-usb-audio

##
## OSS/Free portion - card #1 (Intel HD Audio)
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

##
##  OSS/Free portion - card #2 (Bluetooth headset)
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

##
## Set this to the correct number of cards
options snd cards_limit=2
options snd-hda-intel index=0
options snd-usb-audio index=1
In /usr/src/linux/.config:
Code:
CONFIG_BT=y
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=m
# CONFIG_VIDEO_BT848 is not set
# CONFIG_USB_KBTAB is not set

Result: :evil:
Code:
>>> Emerging (1 of 1) net-wireless/bluetooth-alsa-cvs-1.6-r2 to /
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]

Proceed with enter to compile against running kernel.
You may also enter a different kernel version or type 'info' to get general information: 2.6.17-gentoo-r8

 * CONFIG_SND_HWDEP is not enabled.

 * The kernel source needs to be configured and installed with BT_SCO and SND_HWDEP enabled.

 * BT_SCO can be found under:
 * Device drivers -> Net. support -> Bluetooth subs. support -> SCO links support

 * If you have a usb bluetooth dongle you must also enable BT_HCIUSB_SCO:
 * Device drivers -> Net. support -> Bluetooth subs. support -> HCI USB driver -> SCO support

 * SND_HWDEP depends on special ALSA sound drivers
 * You can either choose the Tascam usb sound driver 'SND_USB_USX2Y'
 * or the soundblaster live driver 'SND_EMU10K1'.


!!! ERROR: net-wireless/bluetooth-alsa-cvs-1.6-r2 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  bluetooth-alsa-cvs-1.6-r2.ebuild, line 94:   Called choose_kernel
  bluetooth-alsa-cvs-1.6-r2.ebuild, line 90:   Called general_info
  bluetooth-alsa-cvs-1.6-r2.ebuild, line 35:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'

_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sat Dec 16, 2006 2:50 pm    Post subject: Reply with quote

Hello all!

It seems my "USB" dongle bluetooth is supported... Notice that mine is an Integrated device. Anyway...
I have the following problem.
First of all I connect my headset with this command:

Code:
# btsco -v xx:xx:xx:xx:xx:xx
btsco v0.41
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected

Once I press the call button on the headset this happens:
Code:
recieved AT+CKPD=200
i/o needed: connecting sco...
Can't connect SCO audio channel
: Protocol not supported

In any case I think my bluetooth device (bluetooth receiver on my notebook) is supported.

Code:
# hciconfig -a
hci0:   Type: USB
        BD Address: xx:xx:xx:xx:xx:xx ACL MTU: 384:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:17103 acl:313 sco:0 events:1313 errors:0
        TX bytes:10032 acl:272 sco:0 commands:888 errors:0
        Features: 0xff 0xff 0x8b 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy:
        Link mode: SLAVE ACCEPT
        Name: 'CSR - bc4'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Ver: 2.0 (0x3) HCI Rev: 0x77b LMP Ver: 2.0 (0x3) LMP Subver: 0x77b
        Manufacturer: Cambridge Silicon Radio (10)


Code:
# hciconfig hci0 revision
hci0:   Type: USB
        BD Address: xx:xx:xx:xx:xx:xx ACL MTU: 384:8 SCO MTU: 64:8
        HCI 19.2
        Chip version: BlueCore4-External
        Max key size: 56 bit
        SCO mapping:  HCI


Please, tell me how to solve this problem.

Thanks!
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


Joined: 09 Jul 2004
Posts: 470
Location: Ulm - Germany

PostPosted: Sun Dec 17, 2006 3:14 pm    Post subject: Reply with quote

Do you have enabled SCO Support in your kernel config?
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sun Dec 17, 2006 4:04 pm    Post subject: Reply with quote

Hi,

yes I have:
Code:
# grep SCO /usr/src/linux/.config
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_BT_SCO=m
CONFIG_BT_HCIUSB_SCO=y


I think I was forgiving to modprobe sco.

I'm going to retry my BT headset. Now it doesn't show any error message.

EDIT: now my headset works... but with skype sound is very bad. I have several delays and sound distorsion, like when I don't use BT headset.
Skype under linux is very bad.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sun Dec 17, 2006 10:41 pm    Post subject: Reply with quote

fbcyborg wrote:
EDIT: now my headset works... but with skype sound is very bad. I have several delays and sound distorsion, like when I don't use BT headset.
Skype under linux is very bad.


I was unsuccessfully trying to make my bt headset work with skype for a long time. Tried both Linux Skype and Windows Skype under Wine, different versions of both. Skype under Wine dies when I try to use the headset, works allright otherwise (no image support). Under Linux, Skype-1.3.0.53-r1 does not work at all, and Skype-1.2.0.21-r1 works perfectly well. The sound is as good as it gets. I'm using btsco-0.41 and btsco-kernel-0.41. btsco-cvs-0.4-r1 is installed as well (tried that before using btsco, did not uninstall before installing btsco and btsco-kernel).

[EDIT]: Ah, forgot to tell. I'm using gentoo-sources 2.6.19-r2
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Tue Dec 26, 2006 7:37 pm    Post subject: Reply with quote

I could not get btsco-0.41 to work at all. Modprobe completely froze when trying to insert the module.

I'm currently testing the cvs-version of btsco wich does not use a kernel module, instead it works only using an alsa plugin. All seems well and I get it to connect with my headset and the headset beeps as when it recieves an incomming connection, but then there's no sound at all.
I tried using mplayer and I get theese error messages:

Code:
DEBUG: sco_pointer: returning bt_headset->hw_ptr=0


Has anyone else tried the 0.5 or cvs version of btsco? I will post my custom ebuilds that I used to install, please see if it works for you.
Follow the config instructions at: http://bluetooth-alsa.sourceforge.net/build.html
The files "asound.conf" and "sample.a2dprc", as mentioned in the guide, are installed to /usr/share/btsco.

net-wireless/sbc-9999.ebuild:
Code:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco/orinoco-9999.ebuild,v 1.4 2005/12/12 16:31:19 brix Exp $

inherit cvs

ECVS_USER="anonymous"
ECVS_AUTH="pserver"
ECVS_SERVER="sbc.cvs.sourceforge.net:/cvsroot/sbc"
ECVS_MODULE="sbc"

S=${WORKDIR}/${ECVS_MODULE}

DESCRIPTION="Bluetooth low-complexity, subband codec"
HOMEPAGE="http://www.holtmann.org/linux/bluetooth/sbc.html"
SRC_URI=""

LICENSE="?"
SLOT="0"
KEYWORDS="-* ~x86"

IUSE=""

src_unpack() {
   cvs_src_unpack
}

src_compile() {
   ./bootstrap
   econf
   make || die "failed to build"
}

src_install() {
   make install DESTDIR=${D} || die "failed to install"
}




net-wireless/btsco-9999.ebuild:
Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools cvs

ECVS_AUTH="pserver"
ECVS_SERVER="bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa"
ECVS_MODULE="plugz"

DESCRIPTION="A userspace daemon to send audio to a BT headset via ALSA"
HOMEPAGE="http://bluetooth-alsa.sourceforge.net/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE="alsa ao"

RDEPEND=">=net-wireless/bluez-utils-2.19
   alsa? ( media-sound/alsa-utils )
   ao? ( >=media-libs/libao-0.8.5 )
"

DEPEND="sys-apps/gawk
   =net-wireless/sbc-9999
   ${RDEPEND}"

S=${WORKDIR}/${ECVS_MODULE}

src_unpack() {
   cvs_src_unpack
}

src_compile() {
   local myconf
   
   eautoreconf
   
   econf \
      $(use_enable alsa alsaplugin) \
      $(use_enable ao ) || die "econf failed"
   emake || die "emake failed"
}

src_install() {
   make install DESTDIR="${D}" || die "make install failed"

   mkdir -p ${D}/share/btsco
   cp ${S}/alsa-plugins/sample.a2dprc ${D}/share/btsco
   cp ${S}/alsa-plugins/asound.conf ${D}/share/btsco
}

Back to top
View user's profile Send private message
gruftie
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 184

PostPosted: Fri Dec 29, 2006 12:42 pm    Post subject: Reply with quote

hi there,

agnitio wrote:
I could not get btsco-0.41 to work at all. Modprobe completely froze when trying to insert the module.

I'm currently testing the cvs-version of btsco wich does not use a kernel module, instead it works only using an alsa plugin. All seems well and I get it to connect with my headset and the headset beeps as when it recieves an incomming connection, but then there's no sound at all.
I tried using mplayer and I get theese error messages:

Code:
DEBUG: sco_pointer: returning bt_headset->hw_ptr=0


Has anyone else tried the 0.5 or cvs version of btsco? I will post my custom ebuilds that I used to install, please see if it works for you.
Follow the config instructions at: http://bluetooth-alsa.sourceforge.net/build.html
The files "asound.conf" and "sample.a2dprc", as mentioned in the guide, are installed to /usr/share/btsco.


i tried this (on amd64, so i added ~amd64 to the KEYWORDS)
sbc compiles fine, but btsco dies with the following error:

Code:
mv -f .deps/daemon.Tpo .deps/daemon.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -march=athlon64 -O3 -pipe -MT sdp.o -MD -MP -MF .deps/sdp.Tpo -c -o sdp.o sdp.c
states.c: In function `headsetIdleHandleApplConnReq':
states.c:300: error: `SDP_NON_BLOCKING' undeclared (first use in this function)
states.c:300: error: (Each undeclared identifier is reported only once
states.c:300: error: for each function it appears in.)
mv -f .deps/sdp.Tpo .deps/sdp.Po
make[3]: *** [states.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins/headsetd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz'
make: *** [all] Error 2

!!! ERROR: net-wireless/btsco-9999 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  btsco-9999.ebuild, line 42:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


maybe it's amd64-related?
Back to top
View user's profile Send private message
agnitio
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 136

PostPosted: Sun Dec 31, 2006 3:51 pm    Post subject: Reply with quote

I have never seen those errors during my testing so perhaps it is a x64-issue, I don't own that kind of hardware so unfortunately I cannot confirm anything.

ALSO: I finally got my bluetooth headset working using the above .ebuilds (they are not really great but they do the job), the problems were twofold.

1) My headset was broken and I didn't even get audio when using it with my cell phone (I know, I should've tried this first, heh).

2) Mplayer with -ao alsa:device=headset does not work for me at all. But audacious, configured to use the headset device worked just fine! So all is well.

I'll see if I can get those ebuilds updated with better versions soon.
Back to top
View user's profile Send private message
stuntman
n00b
n00b


Joined: 29 Jul 2005
Posts: 4

PostPosted: Tue Feb 06, 2007 5:05 am    Post subject: Reply with quote

Code:
mv -f .deps/daemon.Tpo .deps/daemon.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -march=athlon64 -O3 -pipe -MT sdp.o -MD -MP -MF .deps/sdp.Tpo -c -o sdp.o sdp.c
states.c: In function `headsetIdleHandleApplConnReq':
states.c:300: error: `SDP_NON_BLOCKING' undeclared (first use in this function)
states.c:300: error: (Each undeclared identifier is reported only once
states.c:300: error: for each function it appears in.)
mv -f .deps/sdp.Tpo .deps/sdp.Po
make[3]: *** [states.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins/headsetd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz'
make: *** [all] Error 2

!!! ERROR: net-wireless/btsco-9999 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  btsco-9999.ebuild, line 42:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


I read on the bluez-dev page that bluez-libs-0.3.5 and bluez-utils-0.3.5 or newer is needed or that error happens during compile.

this page has a overlay with 0.3.1 http://gentoo.zugaina.org/gpo/net-wireless.html.en

I just renamed the ebuilds to bluez-libs-0.3.9 and bluez-utils-0.3.9 ( the newest version available at the time of this post )

Now btsco-9999.ebuild compiles fine for me.
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Sun Feb 18, 2007 5:36 pm    Post subject: Reply with quote

gruftie wrote:
hi there,

agnitio wrote:
I could not get btsco-0.41 to work at all. Modprobe completely froze when trying to insert the module.

I'm currently testing the cvs-version of btsco wich does not use a kernel module, instead it works only using an alsa plugin. All seems well and I get it to connect with my headset and the headset beeps as when it recieves an incomming connection, but then there's no sound at all.
I tried using mplayer and I get theese error messages:

Code:
DEBUG: sco_pointer: returning bt_headset->hw_ptr=0


Has anyone else tried the 0.5 or cvs version of btsco? I will post my custom ebuilds that I used to install, please see if it works for you.
Follow the config instructions at: http://bluetooth-alsa.sourceforge.net/build.html
The files "asound.conf" and "sample.a2dprc", as mentioned in the guide, are installed to /usr/share/btsco.


i tried this (on amd64, so i added ~amd64 to the KEYWORDS)
sbc compiles fine, but btsco dies with the following error:

Code:
mv -f .deps/daemon.Tpo .deps/daemon.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -march=athlon64 -O3 -pipe -MT sdp.o -MD -MP -MF .deps/sdp.Tpo -c -o sdp.o sdp.c
states.c: In function `headsetIdleHandleApplConnReq':
states.c:300: error: `SDP_NON_BLOCKING' undeclared (first use in this function)
states.c:300: error: (Each undeclared identifier is reported only once
states.c:300: error: for each function it appears in.)
mv -f .deps/sdp.Tpo .deps/sdp.Po
make[3]: *** [states.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins/headsetd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz/alsa-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/btsco-9999/work/plugz'
make: *** [all] Error 2

!!! ERROR: net-wireless/btsco-9999 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  btsco-9999.ebuild, line 42:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


maybe it's amd64-related?


Try to compile with -fPIC it worked for me
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
Maxwell
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2003
Posts: 97

PostPosted: Tue Feb 27, 2007 8:15 pm    Post subject: State of bluetooth Reply with quote

Hi!


I'm a Gnome user and I'm trying to use my bluetooth headset (again). I had it working on my old laptop, but now I can't get it to work on my desktop.

My problem is (I think) pairing. At my first attempt I only had to pair my headset once. Now, my headset never connects to btsco (besides the first time I had it running, so it does work).


What software can I use to integrate bluetooth search and pairing in Gnome?
What is the stable version of bluetooth-alsa? The one provided by the ebuilds at first page or the ones at pkalin?


Thanks for the help!
_________________
Freedom works. Use it!
Linux, by Gentoo
Back to top
View user's profile Send private message
hemna
n00b
n00b


Joined: 18 Nov 2003
Posts: 45

PostPosted: Fri Mar 09, 2007 7:27 am    Post subject: digest fails Reply with quote

I'm trying to get ebuild bluetooth-alsa-utils-0.5.ebuild digest to work, but it fails.

I pulled the .ebuild files from the bug. bluetooth-alsa-kernel seems to digest just fine, but I get this....

Code:

localhost bluetooth-alsa-utils # ebuild bluetooth-alsa-utils-0.5.ebuild digest
RDEPEND: >=net-wireless/bluez-utils-2.19 skype? ( net-im/skype sys-apps/dbus ) media-sound/alsa-utils >=bluetooth-alsa-kernel-0.5
invalid atom: '>=bluetooth-alsa-kernel-0.5'



any ideas?
Back to top
View user's profile Send private message
Oleksandr Byelkin
n00b
n00b


Joined: 11 Mar 2007
Posts: 1

PostPosted: Sun Mar 11, 2007 9:44 pm    Post subject: Reply with quote

As it was asked in http://gentoo-wiki.com/HOWTO_use_a_bluetooth_headset I report that Jabra V250 works with http://overlays.gentoo.org/svn/dev/liquidx/net-wireless/btsco* overlays mentioned in the HOWTO and version 0.41 placed there at the moment.

And even more I got working it on ppc linux (Aluminium 15" 1.5GHz Powerbook). It need just manual fixing of the .ebuilds (btsco-kernel and btsco) to allow ppc architecture (maybe there is better way but sorry I am newby in the gentoo world).

Also bksco-kernel needed preparation of kernel modules but procedure was described in the error messages I got when tried emerge witout prepation.

I checked it with twinkle and it works much better then usual headphones (there is no clicks (caused by inperfect Internet connection as I think))
_________________
--
Oleksandr "Sanja" Byelkin
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Tue Mar 27, 2007 11:20 pm    Post subject: Reply with quote

Does anyone knows if in-kernel drivers (as of 2.6.20-gentoo-r4) bt-sco and bt-hciusb-sco are sufficient to make a headset work, and if so, how? :roll: CONFIG_SND_USB_USX2Y seems to have disappeared from the kernel. :P
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Fri Apr 27, 2007 10:25 am    Post subject: Reply with quote

OK, I ended up finding the right overlay, but now it does not compile under the 2.6.21 kernel. It is strange, because up to 2.6.20 it was working properly. :?
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 16
Location: Earth

PostPosted: Sun May 20, 2007 6:32 am    Post subject: Reply with quote

I've followed the guide on the wiki, and now I'm having the same problem that dmvianna had when trying to emerge net-wireless/btsco-kernel.

From what I can see, I believe that the ebuild is looking in the .config file under /usr/src/linux in order to make sure that the prerequisite drivers are either compiled in or built as modules. In the case of alsa-driver the modules are built separately from the kernel and are in there own directory under /lib/modules/<kernel-version>/alsa-driver. The gentoo ALSA guide says to make sure that ALSA is not enabled in the kernel config when using the alsa-driver package. Because btsco-kernel only checks the .config file, it of course sees that the neccessary support isn't there (even though it is) and refuses to compile.

Anyways, just my $0.02
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sun May 20, 2007 12:42 pm    Post subject: Reply with quote

Just look at the above link, there's a patch that solves the problem. :) <kernel>/include/sound/typedefs.h was removed in kernel version 2.6.21, but btsco relies on that. The patch puts it back.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 16
Location: Earth

PostPosted: Sun May 20, 2007 1:03 pm    Post subject: Reply with quote

I was building against a 2.6.20 kernel.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sun May 20, 2007 1:15 pm    Post subject: Reply with quote

Do you have
Code:
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
?
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 16
Location: Earth

PostPosted: Sun May 20, 2007 1:43 pm    Post subject: Reply with quote

According to the howto on gentoo-wiki.com, you're expected to have used the alsa-driver method of getting alsa up and running. In order to do that the ALSA guide says that you can't use the builtin support for ALSA in the kernel. Otherwise, you get conflicts. So obviously, if I've used alsa-driver like the howto reccomended, neither of those is set.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sun May 20, 2007 8:35 pm    Post subject: Reply with quote

Ahh, you're using the new method. I've never tried it, it's not explained well in the wiki. Actually, I hate that wiki page, I had cleaned it up somewhat when I had problems with 2.6.21 and realised how confuse it was previously. The way I know it works is to use the in-kernel driver AS MODULES, and then apply the overlays from the wiki (btsco-0.41 and btsco-kernel-0.41). Then you also have to install the init script, I use this:

/etc/init.d/headset
Code:
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

depend() {
   need bluetooth alsasound
}

checkconfig() {
   # check that the configuration file has been configured.
   if [ -z "$BDADDR" ]; then
      eerror "You should setup BDADDR in /etc/conf.d/headset."
      return 1
   fi   

   # define BTSCO in /etc/conf.d/headset to be btsco or btsco2
   # defaults to btsco
   if [ -z "$BTSCO" ]; then
      BTSCO=btsco
   fi
   
   if ! [ -d /sys/module/snd_bt_sco ]; then
      ebegin "Loading bluetooth-alsa kernel module (snd_bt_sco)."
         /sbin/modprobe snd-bt-sco
      eend $? || return 1
   fi
}

start() {
   checkconfig || return 1

   ebegin "Connecting to headset"
           start-stop-daemon --start \
      --make-pidfile --pidfile /var/run/$BTSCO \
      --background --exec /usr/bin/$BTSCO -- $BDADDR
      sleep 1
      ps -C $BTSCO >/dev/null
   eend $?
}

stop() {
        ebegin "Stopping $BTSCO daemon"
      start-stop-daemon --stop --quiet --pidfile /var/run/$BTSCO
   eend ${?}

}

I hope that helps. :wink:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Fri May 25, 2007 11:27 pm    Post subject: Reply with quote

WizNut wrote:
According to the howto on gentoo-wiki.com, you're expected to have used the alsa-driver method of getting alsa up and running. In order to do that the ALSA guide says that you can't use the builtin support for ALSA in the kernel. Otherwise, you get conflicts. So obviously, if I've used alsa-driver like the howto reccomended, neither of those is set.

That's the same for me, on amd64, and btsco doesn't compile.
what to do plz ?
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Sat May 26, 2007 5:10 am    Post subject: Reply with quote

mudrii wrote:
Try to compile with -fPIC it worked for me

How can I do that please ?
Back to top
View user's profile Send private message
ReDirEct__
Guru
Guru


Joined: 16 Mar 2006
Posts: 300
Location: Nola (NA) - Italy

PostPosted: Mon Jan 14, 2008 1:18 pm    Post subject: Reply with quote

hi all... i noticed that information in the first post are very old... i wolud to know if i need bloetooth-alsa for using the bluetooth headset mic with bluez 3.24... if not... how can get my mic headset working with bluez3.24??? Speaker work very well with mplayer (not with amarok).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum