El mié, 23 ene 2013 a las 16:30 horas Manolo Díaz escribió:
El mié, 23 ene 2013 a las 16:12 horas Takashi Iwai escribió:
At Wed, 23 Jan 2013 16:09:22 +0100, Manolo Díaz wrote:
El mié, 23 ene 2013 a las 15:20 horas Takashi Iwai escribió:
At Wed, 23 Jan 2013 15:01:43 +0100, Manolo Díaz wrote:
El mié, 23 ene 2013 a las 14:54 horas Takashi Iwai escribió:
At Wed, 23 Jan 2013 14:49:32 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 9:30 horas > Takashi Iwai escribió: > > >Hi, > > > >as most of feedbacks about the new generic parser migration were > >positive, I decided to take a risk: now all commit that have been in > >test/hda-migrate branch in sound-unstable git tree are merged to > >for-next branch of sound git tree for better test coverage. > >It means that all changes are merged to linux-next, i.e. will be > >included in 3.9 kernel. > > > >For the early adapter people, I'm going to keep test/hda-migrate > >branch of sound-unstable git tree updated for a while, but the branch > >will be abandoned some time later. > > > >If you encounter any regression by the recent update, please let me > >know. > > > > > >thanks, > > > >Takashi > >_______________________________________________ > >Alsa-devel mailing list > >Alsa-devel@alsa-project.org > >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > Hi, > > Recording and (multi stream) playing seem to work fine, but auto-mute > doesn't. For example, front speakers may remain muted after > disconnecting the HP. > > cat /sys/kernel/debug/tracing/trace > # tracer: nop > # > # entries-in-buffer/entries-written: 0/0 #P:2 > # > # _-----=> irqs-off > # / _----=> need-resched > # | / _---=> hardirq/softirq > # || / _--=> preempt-depth > # ||| / delay > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > # | | | |||| | | > > I've connected and disconnected the HP jack several times before.
If nothing appears in the tracing (suppose you enabled the events properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather a hardware issue.
Sorry, I've forgotten this step.
Did the auto-mute work reliably before the code change?
Takashi
Yes, it did.
Did you mean when it worked? Was it before moving to the generic parser, or after it but before upgrading to the latest tree? In the latter case, try git bisection to figure out the culprit.
But, it's anyway better to update the git branch. You are testing the too old version (there have been already 75 commits after your testing one).
New try, this time with hda events enabled.
cat /sys/kernel/debug/tracing/trace # tracer: nop # # entries-in-buffer/entries-written: 871/871 #P:2 # # _-----=> irqs-off # / _----=> need-resched # | / _---=> hardirq/softirq # || / _--=> preempt-depth # ||| / delay # TASK-PID CPU# |||| TIMESTAMP FUNCTION # | | | |||| | | <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10
OK, so the unsol event is generated properly.
Is the alsa-info.sh output you attached previously at the state after unplugging? If so, I see no problem in the code register. The path 0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set properly.
If something doesn't work as expected, we need two alsa-info outputs for comparison: the working one and non-working one.
Takashi
commit 28ebfa08e2945b38e08c537faf7f749125780cbe branch: test/hda-migrate
Now everything's working fine (only tested 2 channels analog). Btw, I can't hear what I'm recording, unlike the latest stable kernel. Is that intentional?
In the latest version, you should have "Line", "Front Mic" and "Rear Mic" playback volumes/switches. They are the analog-loopback things.
Takashi
Yes, I have them. But I can't hear what I'm recording, either through headphones or through speakers, no matters if HP independent is enabled or disabled. Attached is the alsa-info.sh output after the last test: recording through the rear-mic and trying to hear through the HP with HP independent disbled, all related switches on and high volume level.
Regards,
The same last test, this time using linux stable 3.7.4. I can hear what I'm recording. alsa-info.sh output attached
Regards,