All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Zhou <netdream1981@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Bluetooth-alsa no sound
Date: Thu, 14 Apr 2005 14:02:16 +0100	[thread overview]
Message-ID: <66d811d805041406024fffcfe8@mail.gmail.com> (raw)
In-Reply-To: <425E18B1.106@xmission.com>

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

  reply	other threads:[~2005-04-14 13:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-04-14 13:46     ` Mike Zhou
2005-04-14 14:14       ` Brad Midgley
2005-04-14 16:17         ` Mike Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66d811d805041406024fffcfe8@mail.gmail.com \
    --to=netdream1981@gmail.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.