← Back to team overview

touch-packages team mailing list archive

[Bug 1365769] Re: [pulseaudio-discuss] [V4 PATCH] module-switch-on-connect: add an argument for conditionally connecting

 

>> >>
>> >> >
>> >> > On a machine without fixed connecting audio devices like internal
>> >> > microphone or internal speaker, and when there is no external audio
>> >> > devices plugging in, the default source/sink is
alsa_input/alsa_output
>> >> > and there is no input devices/output devices listed in the gnome
>> >> > sound-setting.
>>
>> https://launchpadlibrarian.net/184055917/PulseList.txt
>>
>> Seem line in is active port when all ports are not available
>> Pulseaudio won't switch away from line in but gnome won't show line in
since it is not plugged
>>
>> ports:
>> analog-input-microphone-front: Front Microphone (priority 8500, latency
offset 0 usec, available: no)
>> properties:
>> device.icon_name = "audio-input-microphone"
>> analog-input-microphone-rear: Rear Microphone (priority 8200, latency
offset 0 usec, available: no)
>> properties:
>> device.icon_name = "audio-input-microphone"
>> analog-input-linein: Line In (priority 8100, latency offset 0 usec,
available: no)
>> properties:
>>
>> active port: <analog-input-linein>
>
> Yes, in this situation, the default-source->active_port->available=no, if
you use this module and pass "only_from_unavailable=yes", when connect
bluetooth headset, the default source will automatically switch to
bluez-source.
>
> In this situation, if you plug something in the line-in jack, the
default-source->active_port-available=yes, and if you pass
"only_from_unavailable=yes", the default source will not switch.
>>
>> https://launchpadlibrarian.net/184417469/alsa2.txt
>>
>>

>I do not have the hda-jack-sense-test command.

>I  was not aware that I was overriding the pcm.default. Is it worth
changing this to see if the bug goes away? How would I do that?

Seem upgrade does not remove previous conf

System wide config file (/etc/asound.conf)

###################### /etc/asound.conf ##################################
pcm.!default {
       type plug
       slave.pcm "asymed"
}

pcm.asymed {
       type asym
       playback.pcm "swmixer"
       capture.pcm "mixin"
}

pcm.dsp0 {
       type plug
       slave.pcm "asymed"
}

pcm.swmixer {
       type dmix
       ipc_key 1234
       slowptr yes
       slave {
               pcm "hw:0,0"
               period_time 0
               period_size 1024
               buffer_size 4096
               rate 48000
       }
}

ctl.dmixer {
       type hw
       card 0
}

pcm.mixin {
       type dsnoop
       ipc_key 5978293 # must be unique for all dmix plugins!!!!
       ipc_key_add_uid yes
       slave {
               pcm "hw:0,0"
               channels 2
               period_size 1024
               buffer_size 4096
               rate 48000
               periods 0
               period_time 0
       }
       bindings {
               0 0
               0 1
       }
}


> Do I need to build my own version of the kernel to disable jack detection?

https://launchpad.net/~diwic/+archive/ubuntu/hda

Install snd-hda-tools and run hda-jack-sense-test to find out whether rear
Mic Jack , line in and front Mic report correct Jack state when you plugged
and unplugged

If it work in windows, you may need to file an upstream bug report

If rear Mic Jack cannot report correct Jack state,

The workaround is disable Jack detection of rear Mic jack by hda-jack-
retask

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1365769

Title:
  [G41MT-S2P, VIA VT2020, Pink Mic, Rear] No sound at all

Status in “alsa-driver” package in Ubuntu:
  Incomplete

Bug description:
  The problem is that the microphone is not detected after a reboot.  As
  a result, some applications cannot get sound from the microphone.

  The Input tab of the Sound window lists no device.

  I have a workround which is to disconnect and then connect the
  microphone after I have logged in.

  Interestingly, the audacity application can access the microphone when
  the system says that the device does not exist

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-67.101-generic 3.2.60
  Uname: Linux 3.2.0-67-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tim        2060 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Fri Sep  5 00:12:39 2014
  InstallationDate: Installed on 2011-07-29 (1133 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaRecordingTest: ALSA recording test through plughw:Intel failed
  Symptom_Card: Built-in Audio - HDA Intel
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tim        2060 F.... pulseaudio
  Symptom_Jack: Pink Mic, Rear
  Symptom_Type: No sound at all
  Title: [G41MT-S2P, VIA VT2020, Pink Mic, Rear] No sound at all
  UpgradeStatus: Upgraded to trusty on 2014-08-15 (20 days ago)
  dmi.bios.date: 12/31/2010
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F1
  dmi.board.name: G41MT-S2P
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF1:bd12/31/2010:svnGigabyteTechnologyCo.,Ltd.:pnG41MT-S2P:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnG41MT-S2P:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: G41MT-S2P
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1365769/+subscriptions


References