https://bugzilla.novell.com/show_bug.cgi?id=410683
User carlos.bessa@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=410683#c14
--- Comment #14 from Carlos Bessa 2008-10-16 07:18:44 MDT ---
Ok, did that trace "thing".... first time for me, very usefull.
Thanks to that now i can connect and pair the headset, although i still can't
ear any sound. The problem was that i created the .asoundrc file in my home
user directory but was doing all these command as root. I created the .asoundrc
in the root directory and so it's pairing and staying paired now... sorry.
linux-foa8:/etc/bluetooth # hcitool con
Connections:
< SCO 00:1A:0E:77:DF:C5 handle 256 state 1 lm SLAVE
< ACL 00:1A:0E:77:DF:C5 handle 1 state 1 lm SLAVE
linux-foa8:/home/carlos # strace -o strace_aplay_Dbluetooth.log aplay
-Dbluetooth /opt/kde3/share/sounds/KDE_Startup.wav
Playing WAVE '/opt/kde3/share/sounds/KDE_Startup.wav' : Signed 16 bit Little
Endian, Rate 22050 Hz, Mono
Warning: rate is not accurate (requested = 22050Hz, got = 8000Hz)
please, try the plug plugin (-Dplug:bluetooth)
ALSA lib pcm_bluetooth.c:464:(bluetooth_hsp_hw_params) BT_SETCONFIGURATION
failed : Input/output error(5)
aplay: set_params:1015: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 2000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 8000
TICK_TIME: [0 0]
I tried what was suggested and used -Dplug:bluetooth
linux-foa8:/home/carlos # strace -o strace_aplay_Dplug.log aplay
-Dplug:bluetooth /opt/kde3/share/sounds/KDE_Startup.wav
Playing WAVE '/opt/kde3/share/sounds/KDE_Startup.wav' : Signed 16 bit Little
Endian, Rate 22050 Hz, Mono
ALSA lib pcm_bluetooth.c:464:(bluetooth_hsp_hw_params) BT_SETCONFIGURATION
failed : Input/output error(5)
aplay: set_params:1015: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 22050
PERIOD_TIME: 125000
PERIOD_SIZE: (2756 2757)
PERIOD_BYTES: (5512 5514)
PERIODS: (3 5)
BUFFER_TIME: 500000
BUFFER_SIZE: 11025
BUFFER_BYTES: 22050
TICK_TIME: 0
I attached both log files
regards,
Carlos
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.