Search found 7 matches

by Erik
Fri May 12, 2006 8:36 pm
Forum: IO-Warrior English
Topic: Receiving "Interrupts" (OS X)
Replies: 11
Views: 24429

Excerpt of my sample code

is it possible to post a running code, with the call of the IOWarriorSetInterruptCallback function
and the deklaration of your callback??

Here's the portion that I adapted from the IOWarrior24IRTest sample code. The "inRefCon" is used to pass a pointer to the object that receives the actual ...
by Erik
Sat Aug 27, 2005 1:23 am
Forum: IO-Warrior English
Topic: Receiving "Interrupts" (OS X)
Replies: 11
Views: 24429

Thank you

Thank you for the IOWarrior24IRTest application recommendation. I adapted it quickly and it is successfully receiving interrupts ! Even managed to learn a little Objective-C which is a great language. :P

When using Endpoint1 (special mode stuff) it works just as expected. For example, I put the ...
by Erik
Fri Aug 26, 2005 7:23 pm
Forum: IO-Warrior English
Topic: Receiving "Interrupts" (OS X)
Replies: 11
Views: 24429

Re: Receiving "Interrupts" (OS X)

Look at IOWarrior24IRTest's "MainController.m" source code file to see how it's done. Note that all this is for an IOW24 and that I don't know how it applies to an IOW40.

Will do. I'll use that as the template and adapt it for my porpoise. :) Hopefully that will clear it up. Maybe it's something ...
by Erik
Fri Aug 26, 2005 2:24 am
Forum: IO-Warrior English
Topic: kernel panic on mac os x
Replies: 12
Views: 23096

Seems like a resource depletion

So far, this seems like a resource depletion problem. I've done some brief tests and found that I can make the kernel panic happen somewhat predictably. My polling interval is not precise, it's just sleeping for that duration in between checks, not using a real time clock, but the pattern is evident ...
by Erik
Thu Aug 25, 2005 9:34 pm
Forum: IO-Warrior English
Topic: Receiving "Interrupts" (OS X)
Replies: 11
Views: 24429

Re: Receiving "Interrupts" (OS X)

I am attempting to register a callback with IOWarriorSetInterruptCallback, but am neither getting an error nor any action in my callback!


A rather long time ago I experienced similar problems:
I couldn't get the IR-Remote application working and traced the problem back to the callback routine ...
by Erik
Wed Aug 24, 2005 10:42 pm
Forum: IO-Warrior English
Topic: kernel panic on mac os x
Replies: 12
Views: 23096

I got a panic too :(

Shoot. Looks like I just got a similar panic too, also in IOKit. :( I will see if I can submit this to Apple, since the crash is in their code. This is in OS X 10.3.9.

I was doing fast access as well. It made it all afternoon yesterday, and for a period today before happening, so it seems to be ...
by Erik
Wed Aug 24, 2005 2:44 am
Forum: IO-Warrior English
Topic: Receiving "Interrupts" (OS X)
Replies: 11
Views: 24429

Receiving "Interrupts" (OS X)

Greetings,

( I'm using an IOWarrior 40 Kit, Mac OS X.3.9, XCode "C" application )

I'm having a great time with my IO-Warrior! It's a very handy device. I've adapted the IOWarriorLibTest application so as to bounce a "ball" back and forth on the LEDs, reversing early if one presses a button. It ...