* ACPI to driver connection
@ 2004-09-06 21:27 Pierre Ossman
[not found] ` <413CD636.6090409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Ossman @ 2004-09-06 21:27 UTC (permalink / raw)
To: ACPI devel list
I'm currently writing a driver for a sd card reader. This reader is
present in the ACPI DSDT tree and can be identified there using the EISA
PNP id. I'm not all too familiar with exactly how ACPI works and even
less how ACPI works on linux so my question is this. Is there anything
my driver should do to associate the entries in the DSDT with the
device? Perhaps there are methods that should be called or similar? I do
not have the time to study ACPI in detail so I'd appreciate any help.
Rgds
Pierre Ossman
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <413CD636.6090409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>]
* Re: ACPI to driver connection [not found] ` <413CD636.6090409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org> @ 2004-09-13 22:39 ` Pavel Machek [not found] ` <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Pavel Machek @ 2004-09-13 22:39 UTC (permalink / raw) To: Pierre Ossman; +Cc: ACPI devel list Hi! > I'm currently writing a driver for a sd card reader. This reader is > present in the ACPI DSDT tree and can be identified there using the EISA > PNP id. I'm not all too familiar with exactly how ACPI works and even > less how ACPI works on linux so my question is this. Is there anything > my driver should do to associate the entries in the DSDT with the > device? Perhaps there are methods that should be called or similar? I do > not have the time to study ACPI in detail so I'd appreciate any help. See for example battery.c driver -- it detects battery based on PNP id. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>]
* Re: ACPI to driver connection [not found] ` <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> @ 2004-09-17 7:06 ` Pierre Ossman 0 siblings, 0 replies; 3+ messages in thread From: Pierre Ossman @ 2004-09-17 7:06 UTC (permalink / raw) To: Pavel Machek; +Cc: ACPI devel list Pavel Machek wrote: >Hi! > > > >>I'm currently writing a driver for a sd card reader. This reader is >>present in the ACPI DSDT tree and can be identified there using the EISA >>PNP id. I'm not all too familiar with exactly how ACPI works and even >>less how ACPI works on linux so my question is this. Is there anything >>my driver should do to associate the entries in the DSDT with the >>device? Perhaps there are methods that should be called or similar? I do >>not have the time to study ACPI in detail so I'd appreciate any help. >> >> > >See for example battery.c driver -- it detects battery based on PNP >id. > Pavel > > The acpi_device doesn't seem to be connected to a "normal" device structure. Is the intention that one should register with the ACPI subsystem, wait for the add routine to be called and then add the device as previously (to the platform bus in this case)? /Pierre ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-17 7:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-06 21:27 ACPI to driver connection Pierre Ossman
[not found] ` <413CD636.6090409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-09-13 22:39 ` Pavel Machek
[not found] ` <20040913223952.GB28524-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-17 7:06 ` Pierre Ossman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox