* [Bluez-users] Bluetooth-alsa no sound
@ 2005-04-13 19:52 Mike Zhou
2005-04-14 7:16 ` Brad Midgley
0 siblings, 1 reply; 6+ messages in thread
From: Mike Zhou @ 2005-04-13 19:52 UTC (permalink / raw)
To: BlueZ Question
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 : 16
buffer_size : 4000
period_size : 1000
period_time : 125000
tick_time : 1000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1000
xfer_align : 1000
start_threshold : 4000
stop_threshold : 4000
silence_threshold: 0
silence_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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] Bluetooth-alsa no sound
2005-04-13 19:52 [Bluez-users] Bluetooth-alsa no sound Mike Zhou
@ 2005-04-14 7:16 ` Brad Midgley
2005-04-14 13:02 ` Mike Zhou
0 siblings, 1 reply; 6+ messages in thread
From: Brad Midgley @ 2005-04-14 7:16 UTC (permalink / raw)
To: 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
Mike Zhou wrote:
> 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=diff
>
> 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=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 0
>
> Its setup is:
> stream : PLAYBACK
> access : MMAP_INTERLEAVED
> format : S16_LE
> subformat : STD
> channels : 1
> rate : 8000
> exact rate : 8000 (8000/1)
> msbits : 16
> buffer_size : 4000
> period_size : 1000
> period_time : 125000
> tick_time : 1000
> tstamp_mode : NONE
> period_step : 1
> sleep_min : 0
> avail_min : 1000
> xfer_align : 1000
> start_threshold : 4000
> stop_threshold : 4000
> silence_threshold: 0
> silence_size : 0
> boundary : 2097152000
>
> It is the same when I try to use arecord. How can I fix it?
>
> 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_ide95&alloc_id\x14396&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] Bluetooth-alsa no sound
2005-04-14 7:16 ` Brad Midgley
@ 2005-04-14 13:02 ` Mike Zhou
2005-04-14 13:46 ` Mike Zhou
0 siblings, 1 reply; 6+ messages in thread
From: Mike Zhou @ 2005-04-14 13:02 UTC (permalink / raw)
To: 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 1
exit_group(1) =3D ?
Do you think I should reinstall the bluetooth-alsa with CVS version?
Thanks a lot!
Regards!
Mike
On 4/14/05, Brad Midgley <bmidgley@xmission.com> wrote:
> 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
>=20
> Mike Zhou wrote:
> > 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 : 16
> > buffer_size : 4000
> > period_size : 1000
> > period_time : 125000
> > tick_time : 1000
> > tstamp_mode : NONE
> > period_step : 1
> > sleep_min : 0
> > avail_min : 1000
> > xfer_align : 1000
> > start_threshold : 4000
> > stop_threshold : 4000
> > silence_threshold: 0
> > silence_size : 0
> > boundary : 2097152000
> >
> > It is the same when I try to use arecord. How can I fix it?
> >
> > 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_ide95&alloc_id=14396&op=3Dclick
> > _______________________________________________
> > Bluez-users mailing list
> > Bluez-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
>=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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] Bluetooth-alsa no sound
2005-04-14 13:02 ` Mike Zhou
@ 2005-04-14 13:46 ` Mike Zhou
2005-04-14 14:14 ` Brad Midgley
0 siblings, 1 reply; 6+ messages in thread
From: Mike Zhou @ 2005-04-14 13:46 UTC (permalink / raw)
To: 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
On 4/14/05, Mike Zhou <netdream1981@gmail.com> wrote:
> 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:
>=20
> 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 1
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] Bluetooth-alsa no sound
2005-04-14 13:46 ` Mike Zhou
@ 2005-04-14 14:14 ` Brad Midgley
2005-04-14 16:17 ` Mike Zhou
0 siblings, 1 reply; 6+ messages in thread
From: Brad Midgley @ 2005-04-14 14:14 UTC (permalink / raw)
To: bluez-users
Mike
Yes, try it from cvs so we're at least working on the same version if it
needs fixes.
Brad
Mike Zhou wrote:
> 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
>
>
> On 4/14/05, Mike Zhou <netdream1981@gmail.com> wrote:
>
>>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
>>) = 1
>>exit_group(1) = ?
>>
>>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.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] Bluetooth-alsa no sound
2005-04-14 14:14 ` Brad Midgley
@ 2005-04-14 16:17 ` Mike Zhou
0 siblings, 0 replies; 6+ messages in thread
From: Mike Zhou @ 2005-04-14 16:17 UTC (permalink / raw)
To: 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
On 4/14/05, Brad Midgley <bmidgley@xmission.com> wrote:
> Mike
>=20
> Yes, try it from cvs so we're at least working on the same version if it
> needs fixes.
>=20
> Brad
>=20
> Mike Zhou wrote:
> > 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
> >
> >
> > On 4/14/05, Mike Zhou <netdream1981@gmail.com> wrote:
> >
> >>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 1
> >>exit_group(1) =3D ?
> >>
> >>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=
.
> > 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
> > Bluez-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
>=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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-14 16:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 19:52 [Bluez-users] Bluetooth-alsa no sound Mike Zhou
2005-04-14 7:16 ` Brad Midgley
2005-04-14 13:02 ` Mike Zhou
2005-04-14 13:46 ` Mike Zhou
2005-04-14 14:14 ` Brad Midgley
2005-04-14 16:17 ` Mike Zhou
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.