snd-hdsp and PCMCIA
Hi all,
asking about autoconfiguring the snd-hdsp upon card insertion I got the following response from David Hinds, the maintainer of pcmcia-cs:
Quoted 8 lines
You probably want to be using the kernel PCMCIA subsystem, together with a more current version of the pcmcia-cs package. And a current linux-hotplug package. With that combination, the hotplug scripts should be capable of loading the snd-hdsp driver, if it uses the hot plug PCI API's.
You can't use cardmgr to autoload this driver because it is not a "real" CardBus driver and doesn't use the CardBus API's.
Does the snd-hdsp code indeed use any of the hot plug PCI API?
--
Orm
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Quoted 9 lines
asking about autoconfiguring the snd-hdsp upon card insertion I got the following response from David Hinds, the maintainer of pcmcia-cs:
Quoted 6 lines
You probably want to be using the kernel PCMCIA subsystem, together with a more current version of the pcmcia-cs package. And a current linux-hotplug package. With that combination, the hotplug scripts should be capable of loading the snd-hdsp driver, if it uses the hot plug PCI API's.
Quoted 4 lines
Quoted 2 lines
You can't use cardmgr to autoload this driver because it is not a "real" CardBus driver and doesn't use the CardBus API's.
Does the snd-hdsp code indeed use any of the hot plug PCI API?
no, it treats the PCMCIA no differently in any way, shape or form from the PCI interface. my readings of the kernel archives and the kernel source before i started work on the driver suggested to me that this was the underlying model for the design of the kernel. there is lots of code in the kernel designed to make such devices look like ordinary PCI devices, and it seemed sensible to me to use it. the hotplug stuff didn't strike me as requiring any specific driver support. seems that i may have been wrong.
if david or someone else can point me at some docs on what would be needed to have cardmgr be able to use the driver, i would be happy to consider adding it.
--p
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Hi Dave,
Am Sonntag, den 01. September 2002 um 12:54:18 Uhr (-0400) schrieb Paul Davis:
Quoted 3 lines
if david or someone else can point me at some docs on what would be needed to have cardmgr be able to use the driver, i would be happy to consider adding it.
I sent a message to Dave, quoting your mail and giving him your email address. I think he'll contact either you or me.
Hotplugging support would be great. In that case, contrary to my last post, pci (and/or pcmcia) hotplugging support obviously has to be enabled in the kernel config.
--
Orm
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390