All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Mahler <werbungsbunker@googlemail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [BUG] Using bluez 5.5 a bluetooth headset cannot be used as a recording device.
Date: Tue, 28 May 2013 10:19:24 +0200	[thread overview]
Message-ID: <51A4688C.2030808@gmail.com> (raw)

Headset used Iqua BHS-611.

How to reproduce this error:

1.    sudo hciconfig device up
2.    hcitool scan
3.    sudo bluez-simple-agent hci0 <mac>
4.    sudo bluez-test-device trusted <mac> yes
5.    pulseaudio -k; sleep 4; pulseaudio -vv;
6.    pactl load-module module-alsa-sink device="btheadset"
7.    pactl load-module module-alsa-source device="btheadset"
8.    aplay -D btheadset -f S16_LE wave.wav
         Works
9.    arecord -D btheadset -f S16_LE wave2.wav
         Recording WAVE 'wave2.wav' : Signed 16 bit Little Endian, Rate 
8000 Hz, Mono
         Final wave2.wav is always 2.092 B in size and contains only a 
wave header and zeroes.
10.    parec
         Shows no output.


Please use as a bug report or - better - show a solution.

Sebastian Mahler

PS:

   .asoundrc:

    pcm.bt {
            type plug
            slave {
                    pcm "bt_hw"
            }
    }

    pcm.bt_hw {
            type bluetooth
            device 00:1A:7D:11:C0:66
            profile "auto"
    }


                 reply	other threads:[~2013-05-28  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=51A4688C.2030808@gmail.com \
    --to=werbungsbunker@googlemail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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.