On Fri, 2011-04-15 at 02:07 +0200, Peter Stuge wrote:
> Jeremy Moles wrote:
> > working great now .. via userspace
> ..
> > However, I'd like to be able to toggle the power on via a kernel
> > driver as well,
>
> Why?
>
>
> > but I'm having trouble accessing the same memory range from
> > kernel
Your address is in I/O address space, not memory address space. Take a
look at io_rw.c in iotools, you need to be using inb/outb (not just
reading/writing memory).
Tom
On Thu, Apr 14, 2011 at 4:12 PM, Jeremy Moles wrote:
> Hey guys, me again. :)
>
> So, my device is working great now that I can
On Thu, Apr 14, 2011 at 7:13 PM, Jeremy Moles wrote:
> Hey guys, me again. :)
>
> So, my device is working great now that I can access the GPIO pins via
> userspace (using iotools w/ Tom Sylla's help) and can power on the
> device. However, I'd like to be able to toggle the power on via a kernel
>
Jeremy Moles wrote:
> working great now .. via userspace
..
> However, I'd like to be able to toggle the power on via a kernel
> driver as well,
Why?
> but I'm having trouble accessing the same memory range from
> kernelspace.
>
> For example:
>
> iotools io_read8 0xA00
io_read8 is not
Hey guys, me again. :)
So, my device is working great now that I can access the GPIO pins via
userspace (using iotools w/ Tom Sylla's help) and can power on the
device. However, I'd like to be able to toggle the power on via a kernel
driver as well, but I'm having trouble accessing the same memory
Hey guys, me again. :)
So, my device is working great now that I can access the GPIO pins via
userspace (using iotools w/ Tom Sylla's help) and can power on the
device. However, I'd like to be able to toggle the power on via a kernel
driver as well, but I'm having trouble accessing the same memory
6 matches
Mail list logo