Letux Kernel

Issue 482: Jack detection has become unreliable in 3.11 kernel

Reported by ben deering, Sep 12, 2013

Headset jack detection does not work well in 3.11.  Sometimes it 
detects when a jack is plugged in. Sometimes it does not.  If the 
jack is detected, the gta04 will think it has been unplugged a short 
time later when it hasn't. This did not happen in 3.7.  I think 
there was a recent commit in 3.7 to ignore invalid jack values 
instead of treating them as events. It may just be a matter of 
merging this commit into 3.11.

Comment 1 by Nikolaus Schaller, Sep 24, 2013

I have not verified the problem, but maybe this patch has been lost 
during rebase:

http://git.goldelico.com/?p=gta04-kernel.git;a=commit;h=07d7c5a3c24f1
1445cd0dd1ba78cc92cf2c4ae54

In the GTA04A5 board there will be a GPIO based jack detection so 
this has low priority.
Labels: Priority:Low Milestone:3.12 Priority:Medium

Comment 2 by Nikolaus Schaller, Nov 14, 2013

May have been fixed by the latest .config and ALSA patch:

http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/
master

If still not working, we have to look to the patch mentioned above.

Comment 3 by Nikolaus Schaller, Nov 14, 2013

Just in case it's relevant, please see my jack detection 
observations from some time ago: 
http://lists.goldelico.com/pipermail/gta04-owner/2013-January/003758.
html.  My inference was that one of the detection conditions was 
wrong, and changing that did make jack detection much more stable 
for me.

Probably this isn't anything to do with Ben's observation of a 
degradation from 3.7 to 3.12, but I do wonder if I just 
misunderstood the relevant code and in7_input values that I saw, and 
would appreciate any comments on that.

Comment 4 by ben deering, Nov 15, 2013

The .config fix did not fix the problem.

I added a printk(val) in gta04_audio.c:169 and the values it get 
from madc don't make sense.  They are almost always in the 337-341 
range.  This is plugged in or not.  Once in a while it spikes to 828 
for a very short time.  Again, plugging in the headset seems to have 
no effect.

I booted to a 3.7 kernel to veryify plug detection still works.  It 
does.

It seems like something is wrong with getting the converted value 
from the ADC.

Comment 5 by ben deering, Nov 15, 2013

twl4030-madc.c has a 5ms delay using msec_to_jiffies.  This is 
similar to the problem with the bmp085.  I wonder how many other 
places this is happening in the kernel?

Comment 6 by meenase, Jun 25, 2019

More projects and sharing the wonderful tips about reviews and 
including the essential documentation. Find here 
https://www.topaperwritingservices.com/review-essayshark-com/ the 
more educational methods and developing the more thoughts.

Comment 7 by sara taylor, Sep 28, 2019

Weighted blankets are not only being used in bed, but people are 
using them on the couch or after a long tough day. According to 
extensive studies, touch is extremely healing.

https://topnaturalmattresses.com/best-weighted-blankets/

Comment 8 by sara taylor, Sep 28, 2019

Weighted blankets are not only being used in bed, but people are 
using them on the couch or after a long tough day. According to 
extensive studies, touch is extremely healing.

https://topnaturalmattresses.com/best-weighted-blankets/

Comment 9 by click trans, Oct 4, 2019

With Clicktrans you don’t need your own vehicle fleet to make sure 
your loads will be transported safely and on time. By choosing a 
transport provider who will be travelling on the route you need 
anyway, you will also help to reduce empty runs and CO2 emissions.

For more information visit our website: https://clicktrans.com

Comment 10 by sara taylor, Oct 5, 2019

After years of not sleeping well and not finding the right guide for 
natural products online, she decided to do the research so others 
don’t suffer when buying a new mattress as she did. For the past 3 
years, she studied everything about sleep and natural product to put 
the best natural mattress buying guide online.

https://topnaturalmattresses.com/best-cooling-blankets/

Comment 11 by jhon wick, Jan 11, 2020

The most important thing for the preparation of your IT exam is to 
choose the right and valid study material. Now it is not a difficult 
task because you have the option to access demo questions free at 
DumpsMate.com. It is simple now that you can download 
https://www.dumpsmate.com/Juniper.html from here after getting 
satisfied with the quality of stuff. Our veterans have done their 
work on this stuff with dedication and devotion.

Comment 12 by emily logan, Jan 12, 2020

How Heavy Should a Weighted Blanket Be?
https://sweetzzzmattress.com/blog/how-heavy-should-a-weighted-blanket
-be/

Created: 11 years 4 months ago by ben deering

Updated: 5 years 13 days ago

Status: New

Followed by: 6 persons

Labels:
Type:Defect
Priority:Low
Milestone:3.12