• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reading a file from kernel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading a file from kernel?


  • Subject: Re: reading a file from kernel?
  • From: Sean McBride <email@hidden>
  • Date: Fri, 3 May 2002 10:00:59 -0400

Torsten Gatu (email@hidden) 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 | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.

References: 
 >reading a file from kernel? (From: Torsten Gatu <email@hidden>)

  • Prev by Date: Re: reading a file from kernel?
  • Next by Date: Re: reading a file from kernel?
  • Previous by thread: Re: reading a file from kernel?
  • Next by thread: Re: reading a file from kernel?
  • Index(es):
    • Date
    • Thread