Re: reading a file from kernel?
Torsten Gatu (torsten.gatu@msab.com) wrote:
I'm writing a driver for a USB modem. The driver needs to read a file with
preferences when the user connects. I haven't been able to find any
documentation on how to do this in kernel mode but from reading a couple of
LINUX ng's I've come to understand that there might be a problem doing this.
Does anyone know what would be the right way to do this? (a usermode process
sending ioctls with the preferences will not work in this case)
As meeroh told you on csmp, this issue has been discussed at length several times. You can search the list archives. One solution is to send the prefs down to your driver from user level. But you say this won't work in your case? Why? Anyway, I think there is another solution, that allows a driver to send something up, maybe even showing a UI. It was discussed, but I forget what its called, let alone the details. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Sean McBride