[git pull] more PCMCIA updates for 2.6.34 (including ioctl deprecation)

Russell King rmk+lkml at arm.linux.org.uk
Fri Mar 5 16:41:59 EST 2010


On Fri, Mar 05, 2010 at 12:07:46PM +0000, Alan Cox wrote:
> > So you believe that disabling the button in the graphical environment
> > to allow PCMCIA cards to be removed (such as CF cards) - leaving the
> > user to merely pull out the CF card, while the FS is mounted, is a
> > good idea?
> 
> Do any graphical environments even support the ancient user space
> pcmcica helper stuff ? I can't find any evidence they do but I realise
> Russell you get to deal with assorted crazy ARM embedded setups.

I believe so - the platform I have is based around the Open Embedded
stuff, and there's a button on the desktop which communicates with the
kernel via the PCMCIA ioctls.  One of the things it offers is to allow
media (eg, CF) to be safely ejected without ending up pulling the card
out while the FS is still mounted.

If the button can't communicate with the kernel PCMCIA driver, it doesn't
know that a CF card is in place, so it can't offer to eject the media.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:



More information about the linux-pcmcia mailing list