Bluetooth-alsa no sound
Hi,
I am new guy of Linux. Now, I am dealing with Bluetooth-alsa. But after I installed all packet, there is no sound.
I used 2.6.11 kernel with patch-2.6.11-mh2.gz. I also installed the newest BLueZ. I installed the .deb pakage from
http://cgi.sfu.ca/~jdbates/moin/moin.cgi/Bluetooth%26ALSA?action=3Ddiff
It seems the snd-bt-sco should be worked. After btsco command, I got:
lab509-8:/home/z0410016# btsco 00:03:89:00:45:ec Device is 1:0 Voice setting: 0x0060 RFCOMM channel 1 connected speaker volume: 11 mic volume: 0
But I can't get any thing after I enter: aplay --verbose -D plughw:Headset test2.wav.
And the software will not stop unless I kill it.
The result of --verbose is:
lab509-8:/home/z0410016# aplay --verbose -D plughw:Headset test2.wav Playing WAVE 'test2.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono Plug PCM: Rate conversion PCM (8000, sformat=3DS16_LE) Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 1 rate : 22050 exact rate : 22050 (22050/1) msbits : 16 buffer_size : 11025 period_size : 2756 period_time : 125000 tick_time : 1000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 2756 xfer_align : 2756 start_threshold : 11024 stop_threshold : 11025 silence_threshold: 0 silence_size : 0 boundary : 1445068800 Slave: Hardware PCM card 1 'BT Headset' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16buffer_size : 4000period_size : 1000period_time : 125000tick_time : 1000tstamp_mode : NONEperiod_step : 1sleep_min : 0avail_min : 1000xfer_align : 1000start_threshold : 4000stop_threshold : 4000silence_threshold: 0silence_size : 0
boundary : 2097152000
It is the same when I try to use arecord. How can I fix it?=20
Regards!
Mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Mike,
bluetooth-alsa is a pretty fast-moving target. If it's not working, you should get the latest from cvs and build it from scratch (see the instructions at bluetooth-alsa.sf.net)
Brad
Quoted 80 lines · Mike Zhou
Hi,
I am new guy of Linux. Now, I am dealing with Bluetooth-alsa. But after I installed all packet, there is no sound.
I used 2.6.11 kernel with patch-2.6.11-mh2.gz. I also installed the newest BLueZ. I installed the .deb pakage from
http://cgi.sfu.ca/~jdbates/moin/moin.cgi/Bluetooth%26ALSA?action=diffIt seems the snd-bt-sco should be worked. After btsco command, I got:
lab509-8:/home/z0410016# btsco 00:03:89:00:45:ec Device is 1:0 Voice setting: 0x0060 RFCOMM channel 1 connected speaker volume: 11 mic volume: 0But I can't get any thing after I enter: aplay --verbose -D plughw:Headset test2.wav.
And the software will not stop unless I kill it.The result of --verbose is:
lab509-8:/home/z0410016# aplay --verbose -D plughw:Headset test2.wav Playing WAVE 'test2.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono Plug PCM: Rate conversion PCM (8000, sformat=S16_LE) Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 1 rate : 22050 exact rate : 22050 (22050/1) msbits : 16 buffer_size : 11025 period_size : 2756 period_time : 125000 tick_time : 1000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 2756 xfer_align : 2756 start_threshold : 11024 stop_threshold : 11025 silence_threshold: 0 silence_size : 0 boundary : 1445068800 Slave: Hardware PCM card 1 'BT Headset' device 0 subdevice 0Its setup is:
stream : PLAYBACK
access :MMAP_INTERLEAVED
format :S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16buffer_size: 4000period_size: 1000period_time: 125000tick_time: 1000tstamp_mode: NONEperiod_step: 1sleep_min: 0avail_min: 1000xfer_align: 1000start_threshold: 4000stop_threshold: 4000silence_threshold: 0silence_size: 0
boundary : 2097152000It is the same when I try to use arecord. How can I fix it?
Regards!
Mike
Quoted 9 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Dear Brad:
Thanks for your help. I think the bluetooth-alsa may be work correctly. But when I use strace aplay --verbose -D hw:1,0 test2.wav, I got this error at the end:
ioctl(4, 0x400c4150, 0xbffff910) =3D -1 EIO (Input/output error)write(2, "aplay: pcm_write:1146: ", 23aplay: pcm_write:1146: ) =3D 23 write(2, "write error: Input/output error", 31write error:
Input/output error) =3D 31
write(2, "\n", 1
) =3D 1exit_group(1) =3D ?
Do you think I should reinstall the bluetooth-alsa with CVS version? Thanks a lot!
Regards!
Mike
Quoted 32 lines · Brad Midgley
Mike,
=20
bluetooth-alsa is a pretty fast-moving target. If it's not working, you should get the latest from cvs and build it from scratch (see the instructions at bluetooth-alsa.sf.net)
=20
Brad
=20Quoted 23 lines · Mike Zhou
Hi,
I am new guy of Linux. Now, I am dealing with Bluetooth-alsa. But after I installed all packet, there is no sound.
I used 2.6.11 kernel with patch-2.6.11-mh2.gz. I also installed the newest BLueZ. I installed the .deb pakage from
http://cgi.sfu.ca/~jdbates/moin/moin.cgi/Bluetooth%26ALSA?action=3DdiffIt seems the snd-bt-sco should be worked. After btsco command, I got:
lab509-8:/home/z0410016# btsco 00:03:89:00:45:ec Device is 1:0 Voice setting: 0x0060 RFCOMM channel 1 connected speaker volume: 11 mic volume: 0But I can't get any thing after I enter: aplay --verbose -D plughw:Headset test2.wav.
And the software will not stop unless I kill it.The result of --verbose is:
lab509-8:/home/z0410016# aplay --verbose -D plughw:Headset test2.wav Playing WAVE 'test2.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, =
Mono
Quoted 52 lines
Quoted 52 lines
Plug PCM: Rate conversion PCM (8000, sformat=3DS16_LE) Its setup is:
stream : PLAYBACK
access :RW_INTERLEAVED
format :S16_LE
subformat : STD
channels : 1
rate : 22050
exact rate : 22050 (22050/1)
msbits : 16buffer_size: 11025period_size: 2756period_time: 125000tick_time: 1000tstamp_mode: NONEperiod_step: 1sleep_min: 0avail_min: 2756xfer_align: 2756start_threshold: 11024stop_threshold: 11025silence_threshold: 0silence_size: 0
boundary : 1445068800
Slave: Hardware PCM card 1 'BT Headset' device 0 subdevice 0Its setup is:
stream : PLAYBACK
access :MMAP_INTERLEAVED
format :S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16buffer_size: 4000period_size: 1000period_time: 125000tick_time: 1000tstamp_mode: NONEperiod_step: 1sleep_min: 0avail_min: 1000xfer_align: 1000start_threshold: 4000stop_threshold: 4000silence_threshold: 0silence_size: 0
boundary : 2097152000It is the same when I try to use arecord. How can I fix it?
Quoted 8 lines
Quoted 8 lines
Regards!
Mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users=
.
Quoted 6 lines
Quoted 6 lines
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 11 lines
=20
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Dear Brad:
I guess that I got this error because the test2.wav is not 8000Hz. When I use "strace aplay --verbose -Dplughw:1,0 test0.wav", the error is removed. But I still can not hear anything. Do you think I should reinstall the bluetooth-alsa with CVS version?
Thanks a lot!
Regards!
Mike
Quoted 11 lines · Mike Zhou
Dear Brad:
Thanks for your help. I think the bluetooth-alsa may be work correctly. But when I use strace aplay --verbose -D hw:1,0 test2.wav, I got this error at the end:
=20ioctl(4, 0x400c4150, 0xbffff910)=3D -1 EIO (Input/output error)write(2, "aplay: pcm_write:1146: ", 23aplay: pcm_write:1146: )=3D 23 write(2, "write error: Input/output error", 31write error:
Input/output error) =3D 31
write(2, "\n", 1
) =3D 1
Quoted 8 lines
exit_group(1)=3D ?
=20
Do you think I should reinstall the bluetooth-alsa with CVS version? Thanks a lot!
=20
Regards!
=20
Mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Mike
Yes, try it from cvs so we're at least working on the same version if it needs fixes.
Brad
Quoted 36 lines · Mike Zhou
Dear Brad:
I guess that I got this error because the test2.wav is not 8000Hz. When I use "strace aplay --verbose -Dplughw:1,0 test0.wav", the error is removed. But I still can not hear anything. Do you think I should reinstall the bluetooth-alsa with CVS version?
Thanks a lot!Regards!
Mike
Quoted 13 lines · Mike Zhou
Dear Brad:
Thanks for your help. I think the bluetooth-alsa may be work correctly. But when I use strace aplay --verbose -D hw:1,0 test2.wav, I got this error at the end:
ioctl(4, 0x400c4150, 0xbffff910)= -1 EIO (Input/output error)write(2, "aplay: pcm_write:1146: ", 23aplay: pcm_write:1146: )= 23 write(2, "write error: Input/output error", 31write error:
Input/output error) = 31
write(2, "\n", 1
) = 1exit_group(1)= ?Quoted 6 lines
Do you think I should reinstall the bluetooth-alsa with CVS version? Thanks a lot!
Regards!
Mike
Quoted 9 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Dear Brad
I have reinstalled it and everything is correct. Now I can play and record from the headset! Thank you very much!!!
Regards!
Mike
Quoted 47 lines · Brad Midgley
Mike
=20
Yes, try it from cvs so we're at least working on the same version if it needs fixes.
=20
Brad
=20Quoted 39 lines · Mike Zhou
Dear Brad:
I guess that I got this error because the test2.wav is not 8000Hz. When I use "strace aplay --verbose -Dplughw:1,0 test0.wav", the error is removed. But I still can not hear anything. Do you think I should reinstall the bluetooth-alsa with CVS version?
Thanks a lot!Regards!
Mike
Quoted 13 lines · Mike Zhou
Dear Brad:
Thanks for your help. I think the bluetooth-alsa may be work correctly. But when I use strace aplay --verbose -D hw:1,0 test2.wav, I got this error at the end:
ioctl(4, 0x400c4150, 0xbffff910)=3D -1 EIO (Input/output error)write(2, "aplay: pcm_write:1146: ", 23aplay: pcm_write:1146: )=3D 23 write(2, "write error: Input/output error", 31write error:
Input/output error) =3D 31
write(2, "\n", 1
) =3D 1exit_group(1)=3D ?Quoted 6 lines
Do you think I should reinstall the bluetooth-alsa with CVS version? Thanks a lot!
Regards!
Mike
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users=
.
Quoted 6 lines
Quoted 6 lines
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 11 lines
=20
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users