Possible to trigger card insert/remove event from user space?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am working with a system that has a wifi module connected via SDIO
(8686 using the libertas_sdio driver).

This is a hard connection, not socketed -- the hw is soldered to the board.

To reduce power I would like to be able to unload the driver module
and power down the wifi hw (via a GPIO control), then sometime later
power up the hw and resume normal operation.

Sadly this doesn't work -- when I power up the module and manually
load the libertas_sdio module the driver throws -110 timeout errors.

I rebuilt my kernel with a CD GPIO enabled for the mmc port the module
is connected to and in turn connected that GPIO to another one that I
can toggle from user space.

Toggling the CD GPIO after powering back up does indeed work properly
-- the module is detected, the driver loaded, and proper function
restored.

So the next step is to get rid of the silly two GPIO external hardware
hack.  Is it possible to trigger a card insertion/removal event via
some standard API?

Best regards,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux