OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Managing Sd Cards (insertion/ejection) With Gpe ?
obergix
post Nov 19 2005, 10:01 AM
Post #1





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



Hi.

I'm looking for a reference about how GPE allows the management of SD cards through applets (if there is such feature ?).

Thanks in advance.
Go to the top of the page
 
+Quote Post
lardman
post Nov 20 2005, 03:06 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



There is not cardmon applet like Opie has - I looked at making one, and although it didn't look very hard, I've not had the time.

Sounds like an ideal first project for someone.

There's nothing special in the way Opie does this - it just sends commands to cardctl - have a look at the source for that program.


Si
Go to the top of the page
 
+Quote Post
obergix
post Nov 21 2005, 11:03 AM
Post #3





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



QUOTE(lardman @ Nov 20 2005, 01:06 PM)
There's nothing special in the way Opie does this - it just sends commands to cardctl - have a look at the source for that program.
*

cardctl for SD ?

I thought it was only a way to manage CF cards...
Go to the top of the page
 
+Quote Post
lardman
post Nov 22 2005, 04:24 AM
Post #4





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Good point, cardctl is only used for CF card which provide some function other than storage; those CF and SD/MMC cards that just provide storage are simply umounted when you click on 'eject'.


Si
Go to the top of the page
 
+Quote Post
obergix
post Nov 23 2005, 11:40 PM
Post #5





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



QUOTE(lardman @ Nov 22 2005, 02:24 PM)
Good point, cardctl is only used for CF card which provide some function other than storage; those CF and SD/MMC cards that just provide storage are simply umounted when you click on 'eject'.

*


Sorry, but which "eject" button / menu are you refering to exactly, that's exactly what I was looking for in the first place wink.gif

About cardctl, yes, it's probably useful if one has to "shutdown" the device properly like for shutting its power or something...

For storage, you're right, all we need is umounting the mounted partitions (all of them eventually)... so basically some mount/umount kind of applet would be great... but firing the console just to safely umount the partitions before removal is some kind of a pain wink.gif

Thanks in advance.
Go to the top of the page
 
+Quote Post
law
post Nov 24 2005, 03:17 AM
Post #6





Group: Members
Posts: 21
Joined: 23-June 04
Member No.: 3,796



hi,

i have ported card-applet from pdaxrom some days ago.



i can post source and .bb if someone wants to build it.

greets
Go to the top of the page
 
+Quote Post
lardman
post Nov 24 2005, 04:05 AM
Post #7





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



That would be good, please do.

QUOTE
Sorry, but which "eject" button / menu are you refering to exactly, that's exactly what I was looking for in the first place


The opie one.


Simon
Go to the top of the page
 
+Quote Post
law
post Nov 24 2005, 04:21 AM
Post #8





Group: Members
Posts: 21
Joined: 23-June 04
Member No.: 3,796



matchbox-applet-card-oe.tar.gz

here are the required files.

greets
Go to the top of the page
 
+Quote Post
obergix
post Nov 24 2005, 11:34 AM
Post #9





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



QUOTE(lardman @ Nov 24 2005, 02:05 PM)
That would be good, please do.

QUOTE
Sorry, but which "eject" button / menu are you refering to exactly, that's exactly what I was looking for in the first place


The opie one.
*



Ah, ok wink.gif ... I thought we were talking about GPE wink.gif


About pdaXrom... didn't hear much about this distro... are there many packages there which are not in OpenZaurus ?

Any general political issue of some kind or... I would expect OZ's packaging of GPE applications being quite extensive... ?

Many thanks for any pointers wink.gif
Go to the top of the page
 
+Quote Post
lardman
post Nov 24 2005, 01:11 PM
Post #10





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
About pdaXrom... didn't hear much about this distro... are there many packages there which are not in OpenZaurus ?


Yes, there are some, however we're working to get anything which we're missing added and encourage people to definitely add things which interest them if they can.

QUOTE
Any general political issue of some kind


Yes, there are (or hopefully were) major political issues. Despite our small numbers there was a bit of a 'mine's better than yours' thing and also general (IMO unneeded and untrue) slagging-off going on between the two factions; I hope this is now over and we can get on with developing for and using our Zaurii.

QUOTE
I would expect OZ's packaging of GPE applications being quite extensive... ?


pdaXrom uses a different and inferior build system (IMHO of course wink.gif ) so it takes some work to port the apps over - that said it doesn't require all that much work if people look at the pdaXrom patches & Makefiles. With that said, it can cause issues adding things as OE caters for a large number of devices - Zaurus, iPAQs, slugs, simpads, x86, etc. which means that the build instructions can require a bit more work.

It should also be noted that pdaXrom has older stuff (still on 2.4.x kernel, older libc, GCC, etc.) than OE (OpenEmbedded - the meta data which are used to build OpenZaurus, etc.).

I feel that is a reasonably fair description of the situation (hoping to avoid any flame wars restarting because it annoys me).


Si
Go to the top of the page
 
+Quote Post
obergix
post Nov 24 2005, 01:29 PM
Post #11





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



QUOTE(lardman @ Nov 24 2005, 11:11 PM)
I feel that is a reasonably fair description of the situation (hoping to avoid any flame wars restarting because it annoys me).

*


Many thanks... and let's hope I didn't summon bad demons in asking.

No troll or flamewar intended initially... although I was afraid the issue might be kinda controversial wink.gif

Now, I just have to check if I can build it with the bitbake setup I have.

Best regards,
Go to the top of the page
 
+Quote Post
obergix
post Nov 24 2005, 11:26 PM
Post #12





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



QUOTE(law @ Nov 24 2005, 02:21 PM)
matchbox-applet-card-oe.tar.gz

here are the required files.

greets
*

Looks like it's working. Thanks

It's probably rather basic and would need improvements, but at least it umounts my SD with a couple taps wink.gif

I'll dig in the code some day maybe.
Go to the top of the page
 
+Quote Post
Hrw
post Nov 25 2005, 01:28 AM
Post #13





Group: Members
Posts: 1,376
Joined: 11-January 04
From: Poznań, Poland
Member No.: 1,413



QUOTE(obergix @ Nov 24 2005, 09:34 PM)
Any general political issue of some kind or... I would expect OZ's packaging of GPE applications being quite extensive... ?


GPE in OpenZaurus is available due to work done by GPE team. We (OZ team) use OpenEmbedded to build OpenZaurus, they (GPE team) use OpenEmbedded too - so everyone gains. The same is with OPIE, XFCE and many other stuff used in misc distributions. We have many network applications because they are used on slugs (Linksys NSLU2 network storage server) etc.
Go to the top of the page
 
+Quote Post
obergix
post Nov 25 2005, 11:08 AM
Post #14





Group: Members
Posts: 128
Joined: 15-April 05
From: France
Member No.: 6,888



So let's say I'd like to request for addition of this applet in OZ+GPE... where should I file a request (in which bugtracker, I mean) : directly in GPE's one (but then attached to which package), or in OZ's one ?

Any suggestions ?
Go to the top of the page
 
+Quote Post
cesarcardoso
post Nov 26 2005, 07:05 AM
Post #15





Group: Members
Posts: 45
Joined: 10-October 05
From: Brasilia, Brazil
Member No.: 8,287



QUOTE(obergix @ Nov 25 2005, 04:08 PM)
So let's say I'd like to request for addition of this applet in OZ+GPE... where should I file a request (in which bugtracker, I mean) : directly in GPE's one (but then attached to which package), or in OZ's one ?


Maybe the best is to file a bug on GPE bugtracker, requesting the addition of this applet a new package.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 10:34 PM