I think I encountered this in a previous build/release.
For some set of releases (2.6.38 - 3.0.?) the MADC
driver didn't initialize channels 2-6.
Steve Sakoman replied:
On Wed, Nov 30, 2011 at 8:07 PM, Steve Sakoman <[hidden email]> wrote:
> On Mon, Nov 21, 2011 at 7:40 AM, CoryS <[hidden email]> wrote:
>>
>> Any luck with this? We are experiencing the same issue.
>
> I tested 10 recent date code COMs and found no issues with madc, so I
> don't think it is a software issue (though that is always possible!)
Well, it turns out that it was a software issue!
There is a bug in the upstream madc driver in 2.6.39 and 3.0 that
results in the madc channels 2 through 6 not being explicitly enabled!
I've added a fix to my omap-3.0-pm repository:
http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=8e69860734d81494e5b14b00fecb8b2af598ba32
If you want to use a pre-built GNOME or console image that contains the fix:
http://sakoman.com/category/8-gnome-daily-builds-r13.html#
Steve
________________________________
From: zudil <sudil99@...>
To: gumstix-users@...
Sent: Friday, March 16, 2012 8:43 AM
Subject: Re: [Gumstix-users] /dev/twl4030-madc gone in linux-omap3-2.6.39
But, today I made an current image (3.0/omap3-multi, v2011.12) using your
script. It has adc driver, but only pin 2 and 7 work properly.
This pins 4, 5 & 6 are inaccurate (give around 2100 when I give 2.5 V) while
pin 3 is always close to 0.
Or, did you mean to say, your images have only pin 2 and 7 enabled, too?
Thank you.
--
View this message in context: http://gumstix.8.n6.nabble.com/dev-twl4030-madc-gone-in-linux-omap3-2-6-39-tp590910p4625041.html
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
|