Hi Dave,

Thanks for posting this example.  Unfortunately it looks like there's a problem accessing the usleep-test.h file (not found server error) and there is no link for the usleep-test.c file.  There doesn't seem to be a rule to make the usleep-test.o object in the Makefile either.  If it's not too much trouble would you mind fixing these issues so people can try out your example?

Thanks,
Jason

On Feb 11, 2008 11:24 AM, Dave Hylands <dhylands@gmail.com> wrote:n
Hi Peck,

> I'm sorry to keep posting the same thread: I'm still trying to struggle to
> find a way to write a ioctl call into the robostix driver before I can then
> use the "udelay" command in my program.
>
> I also could not access the "usleep" program (otherwise I can know how the
> call can be made).
>
> I'm also confused by what you suggested: creating a kernel module. Any
> example that I can take a look at?

I put together a kernel module and test program for you. You can find
the pertinent information on this wiki page:
<http://docswiki.gumstix.com/Usleep_drv>

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users