Signup Issues have been resolved (hopefully). If you have previously had issues signing up for the forum, please try again.
0 Members and 8 Guests are viewing this topic.
PS James, in order to access the IShow DAC via Windows I have to open it as a file. In fact, all system device drivers are accessed as files. Does that give you a warm fuzzy feeling?
So, now we need to order an FB3 and get it working with LaserBoy. I'd love to see that demoed to Bill Brannon at the next SELEM.
The kernel side of the driver makes a fake file appear in the /dev/ directory when the kernel boots up. From C, you open it for binary read and write and you set stuff in the driver (any driver) via a call to ioctl(...) that takes the open file descriptor as an argument, a pointer to void for whatever data exchange you need to do and an int to tell the driver what you want to do. The kernel side of the driver just switches on the int instruction and calls the appropriate function with the pointer to data you provided. All the structures and stuff you might need are in the device driver header file that comes with the Linux kernel.
Well, I guess Jimmy wasn't full of hot air after all on this one!Congrats on your DAC hack!
Don't you know me well enough to know that if I say anything it's because I know what I'm talking about?