OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> I Mounted A 2 Gig Sd Card!, Surprise, it's possible! :)
DrWowe
post Jan 17 2006, 06:02 PM
Post #1





Group: Members
Posts: 696
Joined: 17-January 04
Member No.: 1,468



Thanks C-Guys!

I was poking around the driver for their WiFi card to investigate something. Then, I realized that they completely replace the sharp_sdmmc kernel module with their own SD/SDIO stack. So just for fun, I installed it and surprise, I can now read, write, and mount a Sandisk 2 GB SD card. So far, it's been working very reliably.

Now, the catches:

1) It works fine on my C760 (running Cacko 1.12). But, when I tried to install the modules on my 6000, I got kernel oopses. So, it may be very sensitive to the model/kernel that is running. This is not that surprising since C760 is one of the few models listed as supported on their website.

2) vfat filesystems are fine. I had some problems with ext2. I fixed it by reformatting my card with "mke2fs -b 1024 /dev/mmcda1". This driver doesn't seem to like block sizes > 1024.


Anyway, if you want to repeat my experiment, just download and install this ipk, and reboot the Zaurus:

http://c-guys.net/cgi-bin/download/passche...n_arm.ipk&key=1
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
stbrock
post May 9 2006, 07:48 PM
Post #2





Group: Members
Posts: 149
Joined: 17-April 04
Member No.: 2,879



Could someone tell me how to restart the sd control processes using either the original script from Dr Wowe or bimbo's version? I am running Cacko 1.23 Lite on a C860. When I install the ipk and reboot, I can read a 2GB or 4GB card fine. Once. But suspending or unmounting and removing the card kills the process and after that the sd slot is entirely dead. Inserting a card, trying to mount /dev/mmcda1, and other attempts all fail and don't even generate any error messages in dmesg. If I remove and reinstall the driver ipk, things work again. But only once.

I've tried quite a few commands to reset or restart the sd control processes when this happens, but apparently not the right ones, or at least not in the right order. What's the trick?
Go to the top of the page
 
+Quote Post
rokugo
post May 18 2006, 03:48 AM
Post #3





Group: Members
Posts: 130
Joined: 14-June 04
From: 1° 14' N 103° 55' E
Member No.: 3,678



QUOTE(stbrock @ May 10 2006, 11:48 AM)
Could someone tell me how to restart the sd control processes using either the original script from Dr Wowe or bimbo's version? I am running Cacko 1.23 Lite on a C860. When I install the ipk and reboot, I can read a 2GB or 4GB card fine. Once. But suspending or unmounting and removing the card kills the process and after that the sd slot is entirely dead. Inserting a card, trying to mount /dev/mmcda1, and other attempts all fail and don't even generate any error messages in dmesg. If I remove and reinstall the driver ipk, things work again. But only once.

I've tried quite a few commands to reset or restart the sd control processes when this happens, but apparently not the right ones, or at least not in the right order. What's the trick?
*


I came across the same problem yesterday when reinstalling Cacko on my C860, this is how I managed to get it to work:

1) install the SDIO drivers and reboot.
2) copy bimbo's script onto Notepad (or any plaintext editor on your PC).
Attached File  replacement_sdiomgr.zip ( 1.47K ) Number of downloads: 356

3)transfer to the Zaurus' usr/sbin directory to replace the original sdiomgr script. Make sure to set the appropriate file permission (easily done with TreeExplorerQT)
4) Open this new script with ZEditor, and check the very first line. It should be:
#!/bin/sh
But chances are there will be a an extra character before the # (on my Japanese C860 its a square box). Somehow Windows had automatically added this character into the script rendering it useless.
So delete this junk character and make sure you save the script as a UTF-8 encoding.
5) Reboot and enjoy 2GB and above SD card support.
Go to the top of the page
 
+Quote Post
zedkatuf2
post Jun 8 2006, 07:48 AM
Post #4





Group: Members
Posts: 155
Joined: 6-March 05
Member No.: 6,578



QUOTE(rokugo @ May 18 2006, 12:48 PM)
I came across the same problem yesterday when reinstalling Cacko on my C860, this is how I managed to get it to work:

1) install the SDIO drivers and reboot.
2) copy bimbo's script onto Notepad (or any plaintext editor on your PC).
Attached File  replacement_sdiomgr.zip ( 1.47K ) Number of downloads: 356

3)transfer to the Zaurus' usr/sbin directory to replace the original sdiomgr script. Make sure to set the appropriate file permission (easily done with TreeExplorerQT)
4) Open this new script with ZEditor, and check the very first line.  It should be:
#!/bin/sh
But chances are there will be a an extra character before the # (on my Japanese C860 its a square box). Somehow Windows had automatically added this character into the script rendering it useless.
So delete this junk character and make sure you save the script as a UTF-8 encoding.
5) Reboot and enjoy 2GB and above SD card support.
*


Does anyone know if this will work on a collie (5500)?
Go to the top of the page
 
+Quote Post

Posts in this topic
DrWowe   I Mounted A 2 Gig Sd Card!   Jan 17 2006, 06:02 PM
Cresho   sorry mr wowo, no link...........   Jan 17 2006, 07:07 PM
Cresho   found it,,,gona test it   Jan 17 2006, 07:41 PM
speculatrix   QUOTE(Cresho @ Jan 18 2006, 04:41 AM)found it...   Jan 24 2006, 01:59 AM
daniel3000   QUOTE(speculatrix @ Jan 24 2006, 11:59 AM)QUO...   Jan 24 2006, 03:45 AM
Cresho   sorry, does not work for c-1000 running stock shar...   Jan 17 2006, 07:58 PM
Jon_J   That would make for a really "nice" C310...   Jan 17 2006, 08:12 PM
Cresho   QUOTE(Jon_J @ Jan 17 2006, 08:12 PM)That woul...   Jan 17 2006, 09:41 PM
bjornkeizers   QUOTE(Jon_J @ Jan 18 2006, 05:12 AM)That woul...   Jan 18 2006, 04:53 AM
dbowden   QUOTE(Jon_J @ Jan 17 2006, 11:12 PM)That woul...   Jan 18 2006, 05:02 AM
Jon_J   I don't plan on using WiFi any time soon, but ...   Jan 18 2006, 06:50 AM
corecoder   YES! Finally! My C860 works. Fdisked int...   Jan 20 2006, 04:25 AM
merli   IMHO seem to me that only 2.4.18 kernel is support...   Jan 20 2006, 06:22 AM
pgas   direct link from http://www.c-guys.net/support/dow...   Jan 24 2006, 04:14 AM
speculatrix   cheers!   Jan 24 2006, 05:56 AM
merli   As I said ... there are only binary modules for 2....   Jan 24 2006, 06:33 AM
daniel3000   QUOTE(merli @ Jan 24 2006, 04:33 PM)As I said...   Jan 24 2006, 01:01 PM
merli   As I said ... there are only binary modules for 2....   Jan 24 2006, 06:34 AM
Jon_J   Can anyone translate this: Linux Zaurus direction ...   Jan 24 2006, 06:44 AM
mk500   DrWowe: This is AMAZING! Any chance you could...   Jan 24 2006, 01:46 PM
Jon_J   Here is a very rough translation in RTF format. I ...   Jan 24 2006, 03:33 PM
jagrka   Horray! I'm now using my Transcend 2GB SD ...   Jan 24 2006, 09:29 PM
DrWowe   Who is going to buy the 4 gig card and see if it w...   Jan 25 2006, 05:52 AM
corecoder   I noticed a problem. It was a critical issue for m...   Jan 25 2006, 11:06 AM
DrWowe   QUOTE(corecoder @ Jan 25 2006, 01:06 PM)If yo...   Jan 25 2006, 02:09 PM
jagrka   I noticed the same problem. Mine is formated FAT16...   Jan 25 2006, 04:28 PM
DrWowe   QUOTE(jagrka @ Jan 25 2006, 06:28 PM)If DrWow...   Jan 26 2006, 07:27 AM
corecoder   So anything linking to the card will cause this I ...   Jan 26 2006, 05:14 AM
Ragnorok   - Interesting. This implies just anyone with the ...   Jan 28 2006, 08:57 PM
Meanie   QUOTE(Ragnorok @ Jan 29 2006, 02:57 PM)- Inte...   Jan 29 2006, 05:09 AM
InSearchOf   Has anyone got this working for the Cxx00 series Z...   Feb 1 2006, 04:24 PM
bimbo   QUOTE(DrWowe @ Jan 18 2006, 02:02 AM)Anyway, ...   Feb 11 2006, 12:43 PM
bimbo   QUOTE(DrWowe @ Jan 18 2006, 02:02 AM)Thanks C...   Feb 15 2006, 03:03 PM
corecoder   Does the filesystem get garbled on suspend? Thats...   Feb 16 2006, 05:14 AM
bimbo   QUOTE(corecoder @ Feb 16 2006, 01:14 PM)Does ...   Feb 16 2006, 01:33 PM
bimbo   QUOTE(corecoder @ Feb 16 2006, 01:14 PM)Does ...   Feb 23 2006, 03:30 PM
corecoder   Thanks. This works. As long as there is only one ...   Feb 24 2006, 08:11 AM
stbrock   Could someone tell me how to restart the sd contro...   May 9 2006, 07:48 PM
rokugo   QUOTE(stbrock @ May 10 2006, 11:48 AM)Could s...   May 18 2006, 03:48 AM
zedkatuf2   QUOTE(rokugo @ May 18 2006, 12:48 PM)I came a...   Jun 8 2006, 07:48 AM
grog   QUOTE(rokugo @ May 18 2006, 05:48 AM)1) insta...   Jan 30 2007, 06:18 PM
grog   QUOTE(grog @ Jan 30 2007, 08:18 PM)I want to ...   Feb 1 2007, 08:03 AM
shelandy   Hi! I am using sharp-rom on my C860. Like ...   Feb 7 2007, 11:53 PM
grog   QUOTE(shelandy @ Feb 8 2007, 01:53 AM)Another...   Feb 8 2007, 08:08 AM
Meanie   QUOTE(grog @ Feb 9 2007, 02:08 AM)QUOTE(shela...   Feb 8 2007, 03:44 PM
grog   QUOTE(Meanie @ Feb 8 2007, 05:44 PM)one of th...   Feb 8 2007, 06:10 PM
shelandy   QUOTE(Meanie @ Feb 8 2007, 06:44 PM)one of th...   Feb 9 2007, 05:29 AM
shelandy   QUOTE(grog @ Feb 8 2007, 11:08 AM)QUOTE(shela...   Feb 9 2007, 05:43 AM
grog   QUOTE(shelandy @ Feb 9 2007, 07:43 AM)However...   Feb 9 2007, 08:08 AM
shelandy   QUOTE(grog)If you open the terminal, unmount the c...   Feb 9 2007, 04:56 PM
grog   QUOTE(shelandy @ Feb 9 2007, 06:56 PM)QUOTE(g...   Feb 10 2007, 05:04 AM
grog   QUOTE(grog @ Feb 10 2007, 07:04 AM)The only t...   Feb 10 2007, 05:22 AM
shelandy   QUOTE(grog @ Feb 10 2007, 08:22 AM)QUOTE(grog...   Feb 10 2007, 04:06 PM
grog   QUOTE(shelandy @ Feb 10 2007, 06:06 PM)Do we ...   Feb 11 2007, 06:18 AM
Kaze   hello there i have a sl c750 running cacko 1.23 ad...   Mar 5 2007, 11:27 AM
speculatrix   QUOTE(Kaze @ Mar 5 2007, 08:27 PM)i used the ...   Mar 5 2007, 01:44 PM
qx773   Both sdiomgr and sdcontrol are shell scripts that ...   Jul 8 2007, 12:42 AM
Cyril92   QUOTE(qx773 @ Jul 8 2007, 10:42 AM)Both sdiom...   Jul 10 2007, 06:07 AM
speculatrix   QUOTE(Cyril92 @ Jul 10 2007, 03:07 PM)I would...   Jul 10 2007, 09:29 AM
GoLinux   Hello all, I read each and every posting in the t...   Jul 10 2007, 10:53 AM
Cyril92   QUOTE(speculatrix @ Jul 10 2007, 07:29 PM)QUO...   Jul 10 2007, 12:38 PM
qx773   Thank you, Cyril92, I have regained access to my M...   Jul 10 2007, 07:51 PM
kb7sqi   I post this in another message, but I'll add i...   Jul 10 2007, 08:05 PM
Cyril92   QUOTE(qx773 @ Jul 11 2007, 05:51 AM)Thank you...   Jul 11 2007, 01:11 AM
speculatrix   QUOTE(Cyril92 @ Jul 11 2007, 10:11 AM)Bring b...   Jul 11 2007, 02:25 AM
GoLinux   Thanks to all those that replied with some informa...   Jul 11 2007, 08:14 AM
pelrun   Hmm. Accessing the SD card hardware on the 5500...   Jul 10 2007, 08:51 PM
speculatrix   the problem with the SL-6000 is that is uses the T...   Jul 11 2007, 02:22 AM
pelrun   *spends a few hours doing clever things with disas...   Jul 11 2007, 08:47 AM
GoLinux   QUOTE(pelrun @ Jul 11 2007, 11:47 AM)The fix ...   Jul 12 2007, 04:36 AM
speculatrix   QUOTE(pelrun @ Jul 11 2007, 05:47 PM)*spends ...   Jul 12 2007, 06:35 AM
cybersphinx   QUOTE(pelrun @ Jul 11 2007, 06:47 PM)*spends ...   Jul 13 2007, 01:05 PM
the_oak   Count me in as a guinea pig to try your SD module....   Jul 13 2007, 06:45 AM
pelrun   Ok, I've attached a test module for the 6000. ...   Jul 14 2007, 11:03 PM
GoLinux   QUOTE(pelrun @ Jul 15 2007, 02:03 AM)Ok, I...   Jul 15 2007, 04:20 PM
pelrun   And here's the 760/860 version. EDIT: The sam...   Jul 15 2007, 06:35 AM
pelrun   Well, I fixed the silly bug from the previous modu...   Jul 16 2007, 05:12 AM
ceffyl   QUOTE(pelrun @ Jul 16 2007, 01:12 PM)Well, I ...   Jul 16 2007, 06:35 AM
speculatrix   cool!   Jul 16 2007, 03:06 PM
qx773   I just received my 2GB Sandisk Ultra II SD card to...   Jul 16 2007, 04:22 PM
qx773   I just did another test on my Zaurus SL-C760. tim...   Jul 16 2007, 04:35 PM
pelrun   1) does df show the true size of the card? 2) can ...   Jul 16 2007, 05:09 PM
qx773   Yes to both so far. I was listening to MP3 music ...   Jul 16 2007, 05:18 PM
pelrun   Sorry - I mean accessing data stored after the 1GB...   Jul 16 2007, 05:58 PM
qx773   I copied a couple of big files, a 419MB ATI SDK an...   Jul 16 2007, 09:47 PM
pelrun   QUOTE(qx773 @ Jul 17 2007, 05:47 AM)398MB Bey...   Jul 16 2007, 10:29 PM
pelrun   QUOTE(qx773 @ Jul 17 2007, 05:47 AM)I might h...   Jul 16 2007, 11:30 PM
speculatrix   QUOTE(qx773 @ Jul 17 2007, 06:47 AM)One thing...   Jul 17 2007, 12:44 AM
the_oak   Just replaced /lib/modules/2.4.18-rmk7-pxa3-embedi...   Jul 17 2007, 11:48 AM
GoLinux   QUOTE(the_oak @ Jul 17 2007, 02:48 PM)Just re...   Jul 17 2007, 12:51 PM
qx773   The Sandisk Ultra II SD card interfaces directly t...   Jul 17 2007, 03:12 PM
the_oak   Well, 2 GB card is now formatted ext2, and all my ...   Jul 17 2007, 03:23 PM
qx773   I get an error message when I run voicerec-pel and...   Jul 17 2007, 04:15 PM
pelrun   Hahaha - I only grabbed that file from the initrd....   Jul 17 2007, 04:37 PM
qx773   Here's my voicerec program from the Zaurus SL-...   Jul 17 2007, 06:08 PM
the_oak   Now have 89% full and movies play on 2 GB SD card ...   Jul 17 2007, 06:32 PM
GoLinux   QUOTE(the_oak @ Jul 17 2007, 09:32 PM)I feel ...   Jul 18 2007, 05:15 AM
pelrun   Ok, one more attempt on voicerec (maybe this shoul...   Jul 17 2007, 09:31 PM
xamindar   I'm way late in trying this out. But I glance...   Jul 18 2007, 01:42 PM
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: 27th December 2014 - 01:27 AM