On Fri, June 6, 2008 7:35 am, Yan Seiner wrote:
> I'm trying to get mb-applet-cards working. It's segfaulting as soon as
> I tap on the icon.
>
> The last thing strace says is that it tries to open
> /var/lib/pcmcia/stab, which doesn't exist, and then the applet segfaults.
>
> This happens with both 1.0.2 and 1.0.3. Is there another applet or app
> I can use to unmount 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 (perhaps because of
dbus?)
So is there a /proc entry that would show me what cf and sd cards are
inserted where?
--Yan
--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner (_)\(_) ,>/'_ o__
Personal Trainer (_)\(_) ,>/'_ o__
Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)
As long as nobody gets hurt, a decent explosion livens up any experiment.
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users