Re: Fixing matchbox-applet-cards
Patrick Steiner <[email protected]>
| Newsgroups | gmane.comp.handhelds.openzaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, i´ll setup a current openzaurus-devel repository and build an oz-dev image, after that i´ll help you. this will take some time... :-) patrick Nicolas FR wrote: > Yes of course I have looked at your patch, > > But a few problems are araising: > > - the cardctl command is hardcoded in the program. Depending weither > you are using cardctl or pccardctl makes the program crashing. > > - depending on the distro /var/run/stab is not used (so the parsing > has to be done with the output of pccardctl or cardctl) > > - When using udev the SD mount point is not /media/card but is > attributed automatically by udev under /media/devicename > > - On Zaurus spitz the CF slot is 1 (not 0 which is the internal CF slot!) > > That's why I am suggesting to use a .conf file for the applet, that > would solve all this problems. > > I have manager to tweak the patch to make it run, but it's very bad. > And I don't even know how to parse a string in C to make a good fix. > > Would you help me on that? I can explain exactly what to do and how, > but can't implement it. > > Nicolas. > > > On 10/10/06, Patrick Steiner <[email protected]> wrote: >> Nicolas FR wrote: >> > Hi, >> > >> > I am looking for a skilled C programmer to help me fixing the >> > matchbox-applet-cards. It can be done in less than two hours, but as I >> > have limited C knowledge I need some help. >> > >> > I hope someone would be willing to help fix this problem which is >> > quite annoying for OZ Gpe users (not having a working CF/SD applet). >> > >> > All we need to do is to be able to parse a config file in order to >> > find out the cardctl program used: >> > - pccardctl or cardctl >> > - the SD mount point >> > - if using a Spitz or not (to use the second CF slot instead of the >> first). >> > Moreover the resulting app wil be able to run on any distro... >> > >> > The original apple source code is here: >> > http://mail.pdaxrom.org/src/mb-applet-cards-1.0.3.tar.bz2 >> > >> > it's very simple (a single C file) and straightforward, so it will be >> > easy to improve. >> > >> Have you already tried the version 1.0.2 (patched) from OE? i have build >> a patch already >> >> regards, >> patrick >> >> > Thanks, >> > Nicolas. >> > >> > >> ------------------------------------------------------------------------- >> >> > Take Surveys. Earn Cash. Influence the Future of IT >> > Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> > opinions on IT & business topics through brief surveys -- and earn >> cash >> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> > _______________________________________________ >> > Openzaurus-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/openzaurus-devel >> > >> > >> >> > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV