On Wed, 23 Feb 2011, erik_dykema wrote:
> Hi Jim-
> Thanks for your response. I think that something is happening that I
> don't understand, like maybe some other piece of software has taken over
> those pins according to the kernel/driver. I don't believe that I've blown
> them because the kernel doesn't even setup the sysfs/socket interface like it
> does for the working pins; so I think it's not allowing me to try; rather
> than the hardware being broken.
> I don't need them working so I probably won't dig much deeper into
> this. Perhaps some future archaeologist will stumble across this post
> and explain how to use those pins on 2.6.
Have you tried just using programmatic access from user space?
> --- In Jim Jackson <> wrote:
> >
> >
> >
> >
> > On Mon, 21 Feb 2011, erik_dykema wrote:
> >
> > > Hi Joel-
> > > Thanks for your response! I think you're answering a slightly
> > > different question than I'm asking, probably because my question was
> > > screwy.
> > > To restate my question, whichever numbers we use to refer to the
> > > pins, how do I address those pins via sysfs? These are the pin numbers
> > > (using Joel's numbering scheme) that I've been able to successfully
> > > address, and use to light LEDs:
> > >
> > > Top down view of the header showing pin numbers (Joel's numbers):
> > > ----------------------------------
> > > 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16
> > > ----------------------------------
> > > 1 | 3 | 5 | 7 | 9 | 11 | 13 | 15
> > > ----------------------------------
> > >
> > > Format: /sys/class/gpio/gpio# -> Pin #
> > > 8:1
> > > 9:3
> > > 10:5
> > > 11: ??
> > > 12: ??
> > > 13:11
> > > 14:13
> > > 15:15
> > >
> > > So, I know that I can address the bottom row of pins using
> > > /sys/class/gpio/gpio8-15 , except for pins 7 and 9. So how do I address
> > > pins 7 and 9? One would think, based on the /sys/class/gpio/gpio#
> > > pattern, that it would be gpio11 and gpio12 ; but those don't work. Any
> > > suggestions appreciated.
> >
> > No idea - never used a 2.6 kernel and this particular gpio module.
> >
> > But I can confirm that those pins are accessable as the correct bits
> > via the DIO1 address bits, as detailed in the manual. That is, as long as
> > you haven't hooked up 5 volts logic and blown them!
> >
> > Jim
> >
> > ----------------------------------------------------------------------------
> > HomePage: http://www.comp.leeds.ac.uk/jj
> > TS7200 Page: http://www.comp.leeds.ac.uk/jj/linux/arm-sbc.html
> >
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|