Hi Matt,

This is interesting news, thanks for the update.

On 2010.10.26 9:32, Matt Singer wrote:
Re: [Gumstix-users] Simulate an MMC/SD insert/remove event (Sebastien)
I did a couple of things in drivers/mmc/omap_hsmmc.c
 
1) Added a sysfs file that when written to, makes the driver reload the firmware.  So if I control the GPIO reset line from my app, I can force a reload when I take it out of reset
2) Fake a card detect upon coming out of suspend by adding a schedule_work(&host->mmc_carddetect_work) in omap_hsmm_resume if the host id is MMC2
 
I'm running the 2.4 PM kernel, but the sysfs diffs should work on the normal one.  Contact me off list if you want them.  Its a very minor change.
 
As an aside, there's been a lot of email on the libertas list about making sure the firmware is there when the device is taken out of suspend, so that make make its way upstream soon if it hasn't already.


Any idea if libertas will support rfkill?
This would be great to have. Right now I don't know of any way to reliably disable RF transmissions from the Gumstix Overo.

Regards,
Markus.



 
Matt Singer


From: amenon [mailto:amenon81@gmail.com]
Sent: Thursday, October 21, 2010 4:42 PM
To: gumstix-users@lists.sourceforge.net
Subject: Re: [Gumstix-users] Simulate an MMC/SD insert/remove event (Sebastien)


Any luck getting this to work? I'd like to power off the wifi and bring it
back up when required.

Thanks.


Ed Schwartz-2 wrote:
>
> I'd also like to know how to simulate an MMC/SD insert/remove event with
> Overo Air (2.6.30 kernel) for reloading the Wifi driver (libertas_sdio).
> I found the following related messages, but did not see an answer about
> how. Is there way using sysfs or something in /dev? Is there some
> userspace program?  Is a special driver that talks to the MMC/SD driver
> required?
>
> Thanks in advance for any help.
>
> -- Ed
>
>
>

--
View this message in context: http://old.nabble.com/Re%3A-Simulate-an-MMC-SD-insert-remove-event-%28Sebastien%29-tp28416442p30023422.html
Sent from the Gumstix mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.862 / Virus Database: 271.1.1/3198 - Release Date: 10/21/10 02:34:00


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1152 / Virus Database: 424/3220 - Release Date: 10/26/10

------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ gumstix-users mailing list gumstix-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gumstix-users