Alsamixer won't work with bluetooth device

asveikau

I'm running Debian unstable. My .asoundrc looks like this:

pcm.btheadset
{
   type plug
   slave
   {
      pcm
      {
         type bluetooth
         device 5A:5A:5A:A6:08:09
         profile "auto"
      }
   }
}

ctl.btheadset
{
   type bluetooth
}

I can play music through the headset, however I cannot control the volume.

$ alsamixer -D btheadset
ALSA lib audio/ctl_bluetooth.c:167:(bluetooth_send_ctl) Unable to receive new volume value from server
ALSA lib audio/ctl_bluetooth.c:161:(bluetooth_send_ctl) Unable to request new volume value to server: Broken pipe
cannot load mixer controls: Broken pipe

daemon.log has this:

bluetoothd[15628]: Invalid message: length mismatch

Any ideas? I suspected this may be some mismatch of binaries, so I tried downgrading bluez to Debian stable. No luck. Maybe I should try the same with alsa libs...

A lot of FAQs and tutorials suggest that PulseAudio should automatically solve this, however I installed it, it pulled down dozens of dependencies I have no interest in, and turned out to be a very user-hostile daemon that refused to play any sound at all. So I am not interested in that as a solution.

asveikau

Figured out a workaround. Using alsa's softvol plugin to do volume control in software.

Added this to .asoundrc:

pcm.btheadset_softvol
{
   type softvol
   slave.pcm "btheadset"
   control.name "Bluetooth"
   control.card 0
}

Now I tell software to play to the device btheadset_softvol and my main sound card's mixer has a "Bluetooth" option.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

RequestContext won't work

분류에서Dev

AJAXify won't work on phpBB?

분류에서Dev

Program won't work in FireFox

분류에서Dev

Fade in Function Won't Work

분류에서Dev

Why won't this regexp in htaccess work properly?

분류에서Dev

Post variables with ajax won't work

분류에서Dev

Simple class won't work in C++

분류에서Dev

Laravel named routes won't work on wampserver

분류에서Dev

Why won't the routing work in this code?

분류에서Dev

Now visudo won't work at all

분류에서Dev

Why won't this MySQL stored procedure work?

분류에서Dev

The hover for my buttons and links won’t work

분류에서Dev

My update queries won't work

분류에서Dev

For /F "skip=0" won't work as expected

분류에서Dev

Computer won't boot without external hard drive (now won't boot at all "Boot Device Not Found")

분류에서Dev

Google Maps doesn't work if device is restarted

분류에서Dev

Force connect to Bluetooth device

분류에서Dev

Windows 7 computer won't boot and recovery doesn't work

분류에서Dev

Laravel facade Slug won't work for non English?

분류에서Dev

Graphql Query with express and Mongodb won't work properly?

분류에서Dev

Why std::basic_fstream<unsigned char> won't work?

분류에서Dev

Java split() method won't work a second time

분류에서Dev

jQuery delay and javascript settimeout won't work with facebook button

분류에서Dev

Google Maps won't work when API key is provided

분류에서Dev

VBA - Conditional formatting: Excel 2010 won't work, Excel 2013 will

분류에서Dev

changing genemu jquery datepicker localization seetings won't work

분류에서Dev

Lightbox won't work when my site css page is linked

분류에서Dev

Wi-Fi just won't work on Ubuntu 17.10

분류에서Dev

boot menu shows up but Ubuntu won't work

Related 관련 기사

뜨겁다태그

보관