[Bug 4363] New: matchbox-applet-card broken with 2.6 kernel
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Fri Jun 6 16:29:56 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4363
Summary: matchbox-applet-card broken with 2.6 kernel
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2007.12
Platform: ARM
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: org.openembedded.stable
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: yan at seiner.com
The matchbox-applet-card applet segfaults with the 2.6 kernel. This means there
is no convenient (i.e. non-root-login) way to unmount cf and sd cards.
The mb-applet-cards uses an apparently deprecated interface to find inserted
cards. Here's the culprit:
char buf[256];
inf = fopen("/var/lib/pcmcia/stab", "r");
fgets(buf, 256, inf);
fclose(inf);
Apparently /var/lib/pcmcia/stab is supposed to have info on the inserted cards.
Unfortunately it doesn't exist on the zaurus and most likely on other 2.6
devices, so the applet segfaults when it hits that line.
Its probably this information is now stored in files under /sys
I've been disecting pccardctl.c and I can pull the info for cf cards. A
similar approach can be used to pull info for sd cards.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list