2008-02-11 10:07:01

by pramod gurav

[permalink] [raw]
Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE

hi
i tried adding options hci_usb force_scofix=1 to file etc/modprobe.d/bluez
but this file was not there I created it and added the option.
But no change
One more thing is i have no module called hci_usb found when I do
[Pramod@localhost ~]$ lsmod | grep hci
uhci_hcd 29072 0
This is some info i would like to share
[Pramod@localhost ~]$ cat /etc/modules.conf
#Bluez
#alias net-pf-31 bluez
#alias bt-proto-0 l2cap
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm

[Pramod@localhost ~]$ /usr/local/sbin/hciconfig -a
hci0: Type: USB
BD Address: 00:0B:0D:33:9E:FB ACL MTU: 120:20 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:6912199 acl:71 sco:135480 events:72 errors:0
TX bytes:1053 acl:35 sco:0 commands:30 errors:0
Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD PARK
Link mode: ACCEPT MASTER
Name: 'MistralBD'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x0 LMP Ver: 1.1 (0x1) LMP Subver: 0x757
Manufacturer: Silicon Wave (11)

please Suggest me if something is wrong

Thanks and Best regards
Pramod

----- Original Message ----
From: jayjwa <[email protected]>
To: BlueZ users <[email protected]>
Sent: Saturday, 9 February, 2008 4:38:02 AM
Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE


On
Fri,
8
Feb
2008,
pramod
gurav
wrote:

->
On
the
console
where
i
run
the
audio
service
I
get
these
log
->
audio[3032]:
Accepted
new
client
connection
on
unix
socket
(fd=9)
audio[3032]:
Audio
API:
received
BT_GETCAPABILITIES_REQ
->
audio[3032]:
Got
path
/org/bluez/hci0
for
adapter
with
address
00:0B:0D:33:9E:FB
->
audio[3032]:
/org/bluez/hci0
GetRemoteName():
Not
available
->
Passkey
request
for
device
00:0F:DE:B1:02:42


Did
you
also
start
auth-agent?
My
headset
uses
both:

Passkey
request
for
device
00:1A:45:01:F9:42
Authorization
request
for
device
00:1A:45:01:F9:42


->
audio[3032]:
Audio
service
discovery
completed
with
success
->
audio[3032]:
Found
Headset
record
->
audio[3032]:
Discovered
Headset
service
on
RFCOMM
channel
1
->
audio[3032]:
Selecting
default
device
->
audio[3032]:
Audio
API:
sending
BT_GETCAPABILITIES_RSP
->
audio[3032]:
Audio
API:
received
BT_SETCONFIGURATION_REQ
->
audio[3032]:
config
sbc
-
frequency
=
0
channel_mode
=
0
allocation
=
0
subbands
=
0
blocks
=
0
bitpool
=
0
->
audio[3032]:
State
changed
/org/bluez/audio/device0:
HEADSET_STATE_DISCONNECTED
->
HEADSET_STATE_CONNECT_IN_PROGRESS
->
audio[3032]:
/org/bluez/audio/device0:
Connecting
to
00:0F:DE:B1:02:42
channel
1
->
audio[3032]:
State
changed
/org/bluez/audio/device0:
HEADSET_STATE_CONNECT_IN_PROGRESS
->
HEADSET_STATE_CONNECTED
->
audio[3032]:
/org/bluez/audio/device0:
Connected
to
00:0F:DE:B1:02:42
->
audio[3032]:
State
changed
/org/bluez/audio/device0:
HEADSET_STATE_CONNECTED
->
HEADSET_STATE_PLAY_IN_PROGRESS
->
audio[3032]:
Received
AT*ECBP=?
->
audio[3032]:
Badly
formated
or
unrecognized
command:
AT*ECBP=?

I
had
errors
like
these
the
day
before.
If
I
remeber
right,
setting
force_scofix=1
on
the
device's
module
(hci_usb)
seemed
to
clear
them
up.
But
I
forgot
if
your
Bluetooth
adapter
is
usb
or
not.

Did
you
pair
the
devices
first?
My
headset
had
a
button
to
press
which
makes
it
pair.
I've
heard
the
noise
too,
like
the
one
you're
getting.
I
upgraded
to
3.25,
set
the
force_scofix
to
1
and
tried
a
few
different
values
in
audio.conf.
After
that
it
just
worked.



-------------------------------------------------------------------------
This
SF.net
email
is
sponsored
by:
Microsoft
Defy
all
challenges.
Microsoft(R)
Visual
Studio
2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users
mailing
list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users







Share files, take polls, and discuss your passions - all under one roof. Go to http://in.promos.yahoo.com/groups


Attachments:
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-12 12:47:12

by jayjwa

[permalink] [raw]
Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE


On Mon, 11 Feb 2008, pramod gurav wrote:

-> i tried adding options hci_usb force_scofix=1 to file etc/modprobe.d/bluez
-> but this file was not there I created it and added the option.
-> But no change

I'm not sure modprobe looks in that file. By default, it looks in
/etc/modprobe.conf. Run 'strings /sbin/modprobe | grep conf' and you can see
where it's looking.

-> One more thing is i have no module called hci_usb found when I do
-> [Pramod@localhost ~]$ lsmod | grep hci
-> uhci_hcd 29072 0

Hm. I wonder what is running your adapter then? Maybe it's compiled in?
If there is CONFIG_BT_HCIUSB=y in your kernel config, then it is.


-> This is some info i would like to share
-> [Pramod@localhost ~]$ cat /etc/modules.conf
-> #Bluez
-> #alias net-pf-31 bluez
-> #alias bt-proto-0 l2cap
-> alias net-pf-31 bluez
-> alias bt-proto-0 l2cap
-> alias bt-proto-2 sco
-> alias bt-proto-3 rfcomm

That's an old file, and you can probably kill it. All that info should be in
the modprobe.conf now. Your alias for net-pf-31 should point to 'bluetooth',
as that is the module for bluetooth protocol on modern kernels. There is no
more 'bluez' module as far as I can tell.


-> [Pramod@localhost ~]$ /usr/local/sbin/hciconfig -a
-> hci0: Type: USB
-> BD Address: 00:0B:0D:33:9E:FB ACL MTU: 120:20 SCO MTU: 64:0
-> UP RUNNING PSCAN ISCAN
-> RX bytes:6912199 acl:71 sco:135480 events:72 errors:0
-> TX bytes:1053 acl:35 sco:0 commands:30 errors:0
-> Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
-> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
-> Link policy: HOLD PARK

I have 'lp rswitch,hold,sniff,part' in my hcid.conf, so there is those names
above in "Link policy". I'm not sure if it matters here or not but I thought
I'd mention it.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users