OESF Portables Forum
General Forums => General Discussion => Topic started by: DrWowe on January 17, 2006, 09:02:51 pm
-
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 (http://c-guys.net/cgi-bin/download/passcheck.cgi?filename=sd-link11b_us_jpn_arm.ipk&key=1)
-
sorry mr wowo, no link...........
-
found it,,,gona test it
-
sorry, does not work for c-1000 running stock sharprom.
just testing it out for everybody.
-
That would make for a really "nice" C3100. 8GB CF to replace microdrive + 8GB CF in external slot + 4GB SD card in SD slot = 20GB total storage internally with no external drives attached to it.
just my 2¢
Jon
-
That would make for a really "nice" C3100. 8GB CF to replace microdrive + 8GB CF in external slot + 4GB SD card in SD slot = 20GB total storage internally with no external drives attached to it.
just my 2¢
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111389\"][{POST_SNAPBACK}][/a][/div]
-
That would make for a really "nice" C3100. 8GB CF to replace microdrive + 8GB CF in external slot + 4GB SD card in SD slot = 20GB total storage internally with no external drives attached to it.Â
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111389\"][{POST_SNAPBACK}][/a][/div]
Cool, in a geeky sort of way. Still, those 8 gig CF's and 4 gig SD's probably aren't cheap. I can hook up my old ipod or archos to the Z and get 20G's in one lump.
Thinking about it... how would you get WiFi on it then... powered hub with a USB dongle?
-
That would make for a really "nice" C3100. 8GB CF to replace microdrive + 8GB CF in external slot + 4GB SD card in SD slot = 20GB total storage internally with no external drives attached to it.
just my 2¢
Jon
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=111389\")
Or just wait until next year when Hitachi comes out with the promised [a href=\"http://www.hitachi.com/New/cnews/050405.html]20GB microdrive[/url]!
-
I don't plan on using WiFi any time soon, but if a person needed to use the CF slot for WiFi or Bluetooth, wouldn't it be nice to be able to use a 8GB SD card, which remained in the slot at all times? Does anyone know how to "make" the above mentioned driver "adapt" to the C1000, C3000, C3100 series?
Jon
-
YES!
Finally!
My C860 works. Fdisked into vfat and ext2 partitions.I had to change the block size per above for the the ext2, but it works great ( so far).
-
IMHO seem to me that only 2.4.18 kernel is supported _not_ 2.4.20 for c1000,3x00 series ...
-
found it,,,gona test it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111385\"][{POST_SNAPBACK}][/a][/div]
any chance of posting the file here or the link, my Japanese is non-existent and I don't know how to look for the file!
-
found it,,,gona test it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111385\"][{POST_SNAPBACK}][/a][/div]
any chance of posting the file here or the link, my Japanese is non-existent and I don't know how to look for the file!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112140\"][{POST_SNAPBACK}][/a][/div]
Oh yes, please. I'd like to try it on a C3000 with Cacko ROM 1.23b1.
Now I only have to find a 2GB card to test with.
daniel
-
direct link (http://www.c-guys.net/cgi-bin/download/download.cgi?filename=sd-link11b_us_jpn_arm.ipk&product=link11b) from http://www.c-guys.net/support/download/link.shtml (http://www.c-guys.net/support/download/link.shtml)
-
cheers!
-
As I said ... there are only binary modules for 2.4.18 kernel :-). No 2.4.20 so Cxx00 series wont work. They should recmpile their module also for 2.4.20 kernel ... Anyone can ask them to do it?
-
As I said ... there are only binary modules for 2.4.18 kernel :-). No 2.4.20 so Cxx00 series wont work. They should recmpile their module also for 2.4.20 kernel ... Anyone can ask them to do it?
-
Can anyone translate this:
Linux Zaurus direction user's manual (instruction manual) Renewal 2004/10/22 (Ver1.0)(PDF:1,105KB)
http://www.c-guys.net/cgi-bin/download/dow...product=link11b (http://www.c-guys.net/cgi-bin/download/download.cgi?filename=CG11BMN-Z01.pdf&product=link11b)
I tried google to convert it to html, but google couldn't access the PDF to convert it. If google can convert it, then I could use google to translate it.
Jon
-
As I said ... there are only binary modules for 2.4.18 kernel :-). No 2.4.20 so Cxx00 series wont work. They should recmpile their module also for 2.4.20 kernel ... Anyone can ask them to do it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112180\"][{POST_SNAPBACK}][/a][/div]
oh :-( I initially thought my Z would run a 2.4.18, but you are right, it's 2.4.20. So no chance it seems... at least not yet.
daniel
-
DrWowe: This is AMAZING!
Any chance you could try reading/writing some files to your 2GB card and give us a sense of the speed? One of the problems with the old driver is that every SD card was put into MMC mode -- I believe -- and that made the cards much slower.
-
Can anyone translate this:
Linux Zaurus direction user's manual (instruction manual) Renewal 2004/10/22 (Ver1.0)(PDF:1,105KB)
http://www.c-guys.net/cgi-bin/download/dow...product=link11b (http://www.c-guys.net/cgi-bin/download/download.cgi?filename=CG11BMN-Z01.pdf&product=link11b)
I tried google to convert it to html, but google couldn't access the PDF to convert it. If google can convert it, then I could use google to translate it.
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112183\"][{POST_SNAPBACK}][/a][/div]
open it in acrobat copy and past the text into a htmldoc and post it somewhere (here could be one place) point google at the url and it will xlate. OR past the text into google to translate directly
Page 2 -->"-2- specification and price of main product of note ・ depending upon the improvement and the like of the product without notice is a る thing which is modified. シイガイズ (Inc.) has owned the copyright of this manual of the ・, no permission reprinting is prohibited. In regard to the contents of this manual of the ・, without notice there are times when it modifies. Also the cost which in addition is required for repair vis-a-vis the damage which occurs due to the use of the product which is stated in this manual and this manual of the ・, includes, our company or the store do not owe all responsibility. In regard to the contents of this manual of the ・, be a doubtful point and the like the better cod, to our company support center please communicate. Main product of the ・ is the Japanese domestic specification model, is overseas Japan and our company or the store do not owe all responsibility concerning the result due to use. In addition, support or guarantee in the foreign country for this product have not gone. When main product of the ・ being cancelled, following to the regulations of the local self-governing body, processing, the occasion where it is the く. Correspondence to the condemned pulling taking has not done. ・ Zaurus is the registered trade mark of SHARP. As for ・ Linux, it is registered trade mark or the trade mark in the United States and other countries of Linus Torvalds. The ・ in addition, trade name and the company name etc. which are stated in this manual are trade mark or registered trade mark of each company generally. ・ Bluetooth, is the registered trade mark of United States Bluetooth SIG and Inc.."
-
Here is a very rough translation in RTF format. I have a text format, but it is harder to read than this RTF file. I broke it up by page numbers, which are at the end of each (paragraph, or group of text).
Jon
-
Horray! I'm now using my Transcend 2GB SD card. Thanks for making this discovery!
-
Who is going to buy the 4 gig card and see if it works?
http://www.surpluscomputers.com/store/Main...l&item=CPM10325 (http://www.surpluscomputers.com/store/Main.aspx?p=ItemDetail&item=CPM10325)
-
I noticed a problem. It was a critical issue for me.
Can someone verify? If you suspend, the card becomes unstable. I tried to copy a file to the card after a suspend/resume and ended up with IO errors. It happend with either the 1GB or the 2GB ( I would suspect with any other) and with vfat and worse with ext2.
If you create an ext2 filesystem and you suspend/resume the card disapears although it shows as mounted using the mount command.
I tried messing with the sdiomgr and sdio scripts. Didn't work.
C860 with orignal sharp ROM.
-
If you create an ext2 filesystem and you suspend/resume the card disapears although it shows as mounted using the mount command.
This is because the sdiomgr script tries to pass vfat specific mount options, and the ext2 code rejects it and fails. (run dmesg and you can see this)
I fixed by removing all the mount options except for async from the script.
-
I noticed the same problem. Mine is formated FAT16. I determined that the problem was related to fastload applications on the SD card, which made it so that the SD card could not be unmounted during a suspend (the disk is in use error prevents the successful unmount). My calendar app and zten (which accessed dictionaries on the SD card) were set to fastload. Once I turned off fastload for these, I did not have the suspend/resume problem anymore.
If DrWowe was able to fix this by editing the sdiomgr script, could he post his edited script here? I would like to test it on my system.
-
So anything linking to the card will cause this I guess. I have some PSC catalogs linked to the card.
And Pocket Workstation is going to be a problem. Runs great though. Its a little slower, but not much.
I'll try to fiddle with the scripts again.
-
If DrWowe was able to fix this by editing the sdiomgr script, could he post his edited script here? I would like to test it on my system.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112424\"][{POST_SNAPBACK}][/a][/div]
I literally just edited one line. It's the one that sets a shell variable with a bunch of mount options.
-
- Interesting. This implies just anyone with the right know-how could replace the sharp sd card driver and enable larger SD card usage, and perhaps SDIO-like capability.
-
- Interesting. This implies just anyone with the right know-how could replace the sharp sd card driver and enable larger SD card usage, and perhaps SDIO-like capability.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112821\"][{POST_SNAPBACK}][/a][/div]
the pdaxrom team (sashz in particular i think) has developed a driver to allow SD cards > 1GB to be used on clamshell models which is currently being tested. if we ask nicely, he might compile it for sharp rom too.
-
Has anyone got this working for the Cxx00 series Zaurus's (Zaurii) yet?
I'm looking into buying my first SD in the next week and I dont want to buy a 1gig and 2.. 3... and 4gig become the new "thing" right after my purchase... I dont want multiple cards because once the sd goes in... it prolly wont come back out unless I need to copy a large file from/to it using my pc... since I will be running my swap space from it...
Thanks
A Crutch
-
Anyway, if you want to repeat my experiment, just download and install this ipk, and reboot the Zaurus:
hi, I got the sdlink package, install it and can manually mount my sdcards.
One thing I found, is that the `sdiomgr` tries to mount /mnt/card wich fails on my C860.
I can only mount on the /usr/mnt.rom/card since /mnt/card is a symlink.
My SanDisk wlan-sdcard is not recognized at all.
Is there any chance to get a 4GB sdcard from Transcend working?
I use the original sharp rom for my zaurus.
by bimbo
-
Thanks C-Guys!
I was poking around the driver for their WiFi card to investigate something. Then, I realized that they
[...]
Anyway, if you want to repeat my experiment, just download and install this ipk ...
I does it. A 4GB Trancent sdcard work in a C860 with stock rom using the sd-link package.
It's great!
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.
The zaurus format the partition, but cannot mount it, because it does not change the fragment size for partitions larger than 512 MB. I format the card in a reader at my desktop, even with
"mke2fs -b 1024" and I end up with nearly 3.8GB real space in my zaurus. The blocksize parameter is important, else the fragment size is set to 4096.
There is only one point: the `sdiomgr` does not check whether or not any process is using the filesystem before it tries to "umount" it, like the "/etc/sdcontrol" does. For that, i.e. if mysql runs, the `umount` fails, resulting in a garbeled filesystem. I will merge these scripts next days, and if anybody needs, I can post it.
HAND
-
Does the filesystem get garbled on suspend?
Thats the prob I had. If your scripts help that, please post. I tried all kinds of things.
There was a post about the line with all the mount options, but I didn't see them in the sdiomgr script. All I saw was the line with uid and gid options.
-
Does the filesystem get garbled on suspend?
Thats the prob I had. If your scripts help that, please post. I tried all kinds of things.
There was a post about the line with all the mount options, but I didn't see them in the sdiomgr script. All I saw was the line with uid and gid options.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114998\"][{POST_SNAPBACK}][/a][/div]
that't the line in question.
first, try it manually:
after resume have a shell an be root. try
8<--
$ umount /usr/mnt.rom/card
$ mount /dev/mmcda1 /usr/mnt.rom/card
$ ls /usr/mnt.rom/card/*
8<--
everything o.k.?
(sorry, I've not yet completed the script for generic use. give me the weekend)
-
Does the filesystem get garbled on suspend?
Thats the prob I had. If your scripts help that, please post. I tried all kinds of things.
There was a post about the line with all the mount options, but I didn't see them in the sdiomgr script. All I saw was the line with uid and gid options.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114998\"][{POST_SNAPBACK}][/a][/div]
I'm so very sorry for the long time ...
It's rather simple: just call the original /etc/sdcontrol from within the sdiomgr and everything is fine.
I added some lines to see whats happen, simply touch /tmp/sd to set it active.
this is the complete script, that works for me since 1 week.
HAND
because I can't upload the script (no permissions) I paste it below:
8<--
#!/bin/sh
#
# Copyright © 2004 By C-guys, Inc.
# 1-6-3, Roppongi, Minato-ku, Tokyo Japan
#
# This software is protected by the law and the agreement concerning
# a Japanese country copyright method, an international agreement,
# and other intellectual property right and may be used and copied
# only in accordance with the terms of such license and with the inclusion
# of the above copyright notice.
#
# This software or any other copies thereof may not be provided
# or otherwise made available to any other person. No title to
# and ownership of the software is hereby transferred.
#
# The information in this software is subject to change without
# notice and should not be construed as a commitment by C-guys, Inc.
#
#****************************************************************************
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/home/QtPalmtop/bin
DEV=/dev/mmcda1
MNT=/usr/mnt.rom/card
SDCONTROL=/etc/sdcontrol
BUSTYPE=$1
EVENT=$2
INSTALL_DIR=/home/root/Settings/sd-link11b/res
LOGFILE=/tmp/sd
if [ -f $LOGFILE ]; then
cat >> $LOGFILE << EOF
----------
this is $0
BUSTYPE = $BUSTYPE
EVENT = $EVENT
current environment:
EOF
env >> $LOGFILE
fi
if [ "x"$BUSTYPE != "xsdcard" ]; then exit 0; fi
if [ "x"$BUS = "x" ]; then exit 0; fi
if [ "x"$SLOT = "x" ]; then exit 0; fi
case "x"$EVENT in
xattach)
if [ "x"$HAVE_SDMEMORY != "x" ]; then
if [ "x"$BUS":"$SLOT = "x0:0" ]; then
#do_umount
#umount $MNT
#mount -o uid=500,gid=500 $DEV $MNT
# for zaurus SL-Cxxx series
$SDCONTROL compeject
$SDCONTROL insert
fi
fi
if [ "x"$HAVE_SDIO != "x" ]; then
if [ "y"$VENDOR":"$PRODUCT = "y0x0092:0x0001" ]; then
echo "0" > $INSTALL_DIR/qcop.lock
echo "1" > $INSTALL_DIR/status.inf
# qcop QPE/Network 'up()'
fi
fi
;;
xdetach)
if [ "x"$HAVE_SDMEMORY != "x" ]; then
if [ "x"$BUS":"$SLOT = "x0:0" ]; then
#do_umount
#umount $MNT
# for zaurus SL-Cxxx series
$SDCONTROL compeject
fi
fi
if [ "x"$HAVE_SDIO != "x" ]; then
if [ "y"$VENDOR":"$PRODUCT = "y0x0092:0x0001" ]; then
echo "-1" > $INSTALL_DIR/qcop.lock
echo "0" > $INSTALL_DIR/status.inf
# qcop QPE/Network 'down()'
fi
fi
;;
*)
;;
esac
8<--
-
Thanks. This works.
As long as there is only one partition/filesystem its OK.
I did a little more testing.
I have two partitions. A vfat and an ext2. The ext2 is running Pocketworkstation which I mount and start using Icons.
After a suspend the filesystems/mounts are messed up.
Why would the filesystems have to umount on suspend anyway? Does home umount?
-
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?
-
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126352\"][{POST_SNAPBACK}][/a][/div]
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).
[ You are not allowed to view attachments ]
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.
-
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).
[ You are not allowed to view attachments ]
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127575\"][{POST_SNAPBACK}][/a][/div]
Does anyone know if this will work on a collie (5500)?
-
1) install the SDIO drivers and reboot.
2) copy bimbo's script onto Notepad (or any plaintext editor on your PC).
[ You are not allowed to view attachments ]
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.[div align=\"right\"][a href=\"index.php?act=findpost&pid=127575\"][{POST_SNAPBACK}][/a][/div]
It's been a while, but I'm just jumping on this bandwagon (late as usual ). By following these instructions I'm able to use my Transcend 4gb card in my C860. YAH! BUT I've partitioned it into a 1gb ext2 & a 3gb fat32 & I'm experiencing the suspend problems others have mentioned (in my case the unit locks up & I have to do a hard restart).
I want to be able to install programs & other stuff on the ext2 & have a swap file there to. Has anyone found a fix to this problem? thks
-
I want to be able to install programs & other stuff on the ext2 & have a swap file there to. Has anyone found a fix to this problem? thks[div align=\"right\"][a href=\"index.php?act=findpost&pid=152972\"][{POST_SNAPBACK}][/a][/div]
Well I managed to get this setup stable as far as I can tell so far. For the archives in case anyone's interested, here's what I did.
First, put my hacked version of Cacko's /etc/sdcontrol script (see attachment). This will mount/umount all sd partitions listed in the /etc/fstab, so you need to add your card partitions there. Here's mine for an example:
zaurus:$ grep mmcd /etc/fstab
/dev/mmcda1 /mnt/card auto noauto,owner,umask=000 0 0
/dev/mmcda2 /mnt/card1 auto noauto,owner,umask=000 0 0
You of course need to create the directories the partitions are to be mounted on (the second on /mnt/card1 in my example).
Now your Z will automatically mount all of your partitions when the card is inserted.
To overcome the suspend problem, I found I needed to eject the card before I suspended. When the Z resumes It'll automatically re-insert it & all's well. So I created a new apm script & symlinked it so it'll be run when the Z suspends.
# ll /etc/apm.d/sd
-rwxr-xr-x 1 root root 33 Feb 1 08:49 /etc/apm.d/sd
# cat /etc/apm.d/sd
#!/bin/sh
/etc/sdcontrol eject
# ln -s /etc/apm.d/sd /etc/apm.d/suspend.d/S99sd
Note that all of this has to be done as root.
And that's it. Like I said, seems to work for me. I'll report back if I have any problems. HTH
-
Hi!
I am using sharp-rom on my C860.
Like "grog", I wish to use ext2 for my SD. However, I will use only ext2 on the whole 2G PQI SD card. I check my /etc, there is no apm.d. since "grog" mentioned that he got the problem when he used "bimbo"'s /usr/sbin/sdiomgr with one FAT partition and one ext2 partition, I guessed it is OK for me to use "bimbo"'s script with ext2 only.
I used
mke2fs -b 1024 /dev/mmcda1
to format the SD. It won't automount although it should.
I tried manually mount /mnt/card
It complained that there is some issue with the mount parameter.
So I guess that's becuase /etc/fstab
so I changed the entry to
/dev/mmcda1 /mnt/card ext2 defaults 0 0
Now I can manually mount, However
It turn out to be, I can not see the SD mounted after I turn off the power and turn on again.
So I guess bimbo's script has some issue with ext2 partition, not with two partitions.
Has any one a better solution to let ext2 partition work without sufferring from lost in suspend?
Another question: how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.
thanks
-
Another question: how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153458\"][{POST_SNAPBACK}][/a][/div]
Does the card show up the first time after you've restarted/rebooted? Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
Depending on your results of the above tests, the fact that you can't set the apm scripts as I've lined out is probably the crux of the matter. The card needs to be ejected before you suspend. I would've thought that since Cacko is a Sharp-based ROM it would've used the same apm scheme. Obviously not.
If I can make some time (a very short commodity these days) I can flash back to Sharp & see if I can figure it out. In the mean time, if somebody else can shed some light for shelandy, that'd be great.
-
Another question: how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153458\"][{POST_SNAPBACK}][/a][/div]
Does the card show up the first time after you've restarted/rebooted? Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
Depending on your results of the above tests, the fact that you can't set the apm scripts as I've lined out is probably the crux of the matter. The card needs to be ejected before you suspend. I would've thought that since Cacko is a Sharp-based ROM it would've used the same apm scheme. Obviously not.
If I can make some time (a very short commodity these days) I can flash back to Sharp & see if I can figure it out. In the mean time, if somebody else can shed some light for shelandy, that'd be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153486\"][{POST_SNAPBACK}][/a][/div]
one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted
-
one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted[div align=\"right\"][a href=\"index.php?act=findpost&pid=153536\"][{POST_SNAPBACK}][/a][/div]
Does the Sharp ROM use /etc/sdcontrol at all, or is it all under /etc/sdcard?
-
one of the difference between Sharp and Cacko is that Cacko has apm.d scripts whereas Sharp does not. check the scripts inside /etc/sdcard, they control how the card is inserted/ejected/mounted/unmounted
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=153536\")
there is no /etc/sdcard in my sharp rom
(ps. I have updated officeal 1.40 ROm and installed special kernel 1.4i [a href=\"http://tetsu.homelinux.org/zaurus/kernel/v18h/zImage-v14i-C860.bin)]http://tetsu.homelinux.org/zaurus/kernel/v...-v14i-C860.bin)[/url]
-
Another question: how can people who using sharp rom adapt grog's appraoch, whcih seems to work fine with ext2.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153458\"][{POST_SNAPBACK}][/a][/div]
Does the card show up the first time after you've restarted/rebooted? Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
Depending on your results of the above tests, the fact that you can't set the apm scripts as I've lined out is probably the crux of the matter. The card needs to be ejected before you suspend. I would've thought that since Cacko is a Sharp-based ROM it would've used the same apm scheme. Obviously not.
If I can make some time (a very short commodity these days) I can flash back to Sharp & see if I can figure it out. In the mean time, if somebody else can shed some light for shelandy, that'd be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153486\"][{POST_SNAPBACK}][/a][/div]
thanks for your answer. I have some thing to share with everyone:
the SD did not show up after the 1st time reboot. However, after I manually
# mount /mnt/card
it came up.
The problem was: I though it worked, so I started to install lots of packages into SD.
then pressed the on/off button to turn it off.
The next time I turned it on, the SD won't be mounted automatically, and I had no way to manually mount it because I installed the terminal package under SD
So I installed another different terminal in the internal flash, manually mount the SD.
then every thing is back.
However, since that, no matter how I turn on/off my Z, the SD is still mounted. This is counter-intuitive. I do not know why.
however, I still keep the terminal program installed in the internal flash, in case the SD can not be mounted automatically again during power/off.
I can not answer this, because it works for me in different way.
Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
-
However, since that, no matter how I turn on/off my Z, the SD is still mounted. This is counter-intuitive. I do not know why.
Strange, but good news, I guess
however, I still keep the terminal program installed in the internal flash, in case the SD can not be mounted automatically again during power/off.
I can not answer this, because it works for me in different way.
Try to manually eject the card & then suspend. Is the card automatically remounted when you resume?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153601\"][{POST_SNAPBACK}][/a][/div]
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?
-
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153611\"][{POST_SNAPBACK}][/a][/div]
If I manaully umount the card, waiting for it be suspended, then resume by pressing "home" key, the SD won't be automactally mount.
-
If you open the terminal, unmount the card (umount /mnt/card), suspend then resume, is the card mounted or do you have to manually remount it?[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=153611\")
If I manaully umount the card, waiting for it be suspended, then resume by pressing "home" key, the SD won't be automactally mount.[div align=\"right\"][a href=\"index.php?act=findpost&pid=153673\"][{POST_SNAPBACK}][/a][/div]
Then whatever process is used to mount the sd card isn't following the /etc/fstab settings & erroring out, which is the same situation with Cacko. that I had made my work-around for.
The only thing I can suggest at this point is to do a [a href=\"https://www.oesf.org/index.php?title=NAND_Flash_Backup]NAND backup[/url] (then you can a NAND restore (https://www.oesf.org/index.php?title=NAND_Flash_Restore) later if it doesn't work out) & flash to the latest Cacko ROM (http://my-zaurus.narod.ru/cacko.html). It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well.
HTH
-
The only thing I can suggest at this point is to do a NAND backup (https://www.oesf.org/index.php?title=NAND_Flash_Backup) (then you can a NAND restore (https://www.oesf.org/index.php?title=NAND_Flash_Restore) later if it doesn't work out) & flash to the latest Cacko ROM (http://my-zaurus.narod.ru/cacko.html). It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well. [div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=153698\")
OOPS! Of course I forgot that the download links are currently dead (oesf problem). Since you have an C860, and I don't seem to have a copy of the ROM files anywhere, then I'll offer you my own base install image [a href=\"http://grogsworld.dyndns.org/zaurus/cacko-1.23-c860-base-install-ghosting-fixed.zip]HERE[/url] that you can install using the flash restore procedure. HTH
-
The only thing I can suggest at this point is to do a NAND backup (https://www.oesf.org/index.php?title=NAND_Flash_Backup) (then you can a NAND restore (https://www.oesf.org/index.php?title=NAND_Flash_Restore) later if it doesn't work out) & flash to the latest Cacko ROM (http://my-zaurus.narod.ru/cacko.html). It's a lot better than Sharp & fully compatible too . You'd get a lot more people that could help with problems as well. [div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=153698\")
OOPS! Of course I forgot that the download links are currently dead (oesf problem). Since you have an C860, and I don't seem to have a copy of the ROM files anywhere, then I'll offer you my own base install image [a href=\"http://grogsworld.dyndns.org/zaurus/cacko-1.23-c860-base-install-ghosting-fixed.zip]HERE[/url] that you can install using the flash restore procedure. HTH
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
(http://index.php?act=findpost&pid=153700\")
I have not been able to make all my prepherals work under my Z. So I have to try flash to other ROM later. Onr thing might be related:
Do we need add the SD card info to /etc/pcmcia/config ?
[a href=\"https://www.oesf.org/index.php?title=Updating_the_Zaurus_to_accept_new_CF_cards]https://www.oesf.org/index.php?title=Updati...pt_new_CF_cards[/url]
I was wondering if this is the key issue to let hot-plug/suspend,... works
if I type
#cardctl ident
Socket 0 will show the info of my microdrive, but no my PQI 2G SD
Socket 1:
no product info available
-
Do we need add the SD card info to /etc/pcmcia/config ?
https://www.oesf.org/index.php?title=Updati...pt_new_CF_cards (https://www.oesf.org/index.php?title=Updating_the_Zaurus_to_accept_new_CF_cards)
I was wondering if this is the key issue to let hot-plug/suspend,... works
if I type
#cardctl ident
Socket 0 will show the info of my microdrive, but no my PQI 2G SD
Socket 1:
no product info available[div align=\"right\"][a href=\"index.php?act=findpost&pid=153750\"][{POST_SNAPBACK}][/a][/div]
You're on the wrong track, I'm afraid. The cardctl utility & the pcmcia settings only apply to CF, not to SD. Different slot, different drivers, etc.
-
hello there
i have a sl c750 running cacko 1.23
added sdlink drivers got the 4gb sd to mount
mke2fs -b 1024 /dev/mmcda1
mount /dev/mmcda1 /mnt/card
SD card mounts ok
i used the custom sdiomgr & cudtom sdcontrol
Still the card will never mount automatically on insert
but mount with no trouble when manually mounted
somebody can help me?
-
i used the custom sdiomgr & cudtom sdcontrol
Still the card will never mount automatically on insert
but mount with no trouble when manually mounted
somebody can help me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155441\"][{POST_SNAPBACK}][/a][/div]
just a thought, have you tried rebooting just in case the manager process has locked up? check the ownership of the mount points too
also check you've got nothing strange in your /etc/fstab?
-
Both sdiomgr and sdcontrol are shell scripts that might need to be made executable with:
su
chmod 755 /usr/sbin/sdiomgr
chmod 755 /etc/sdcontrol
exit
if they are not already executable. From a casual review of the sdcontrol script, it appears to write to a log file named, "/tmp/sd", if anything goes wrong with the mounting, so you can try typing:
cat /tmp/sd
to see if any error messages are there. If the, "/tmp/sd", file is non-existent, then you can create a blank file:
touch /tmp/sd
Then suspend and resume your Zaurus and see if there are any error messages in the, "/tmp/sd", file. There should at least be some text in the file.
The C-Guys drivers do not work for me with my current MMC card. I am guessing that my 1GB ATP +Plus MMC card is incompatible. Perhaps the card has to be an SD card instead of an MMC card to work with the C-Guys driver.
I have a Zaurus SL-C760. Would someone please post the original
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
in a zip file so that I can restore mine, which I accidentally deleted, until I can try out an SD card?
I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock. Are they still in business?
-
Both sdiomgr and sdcontrol are shell scripts that might need to be made executable with:
su
chmod 755 /usr/sbin/sdiomgr
chmod 755 /etc/sdcontrol
exit
if they are not already executable. From a casual review of the sdcontrol script, it appears to write to a log file named, "/tmp/sd", if anything goes wrong with the mounting, so you can try typing:
cat /tmp/sd
to see if any error messages are there. If the, "/tmp/sd", file is non-existent, then you can create a blank file:
touch /tmp/sd
Then suspend and resume your Zaurus and see if there are any error messages in the, "/tmp/sd", file. There should at least be some text in the file.
The C-Guys drivers do not work for me with my current MMC card. I am guessing that my 1GB ATP +Plus MMC card is incompatible. Perhaps the card has to be an SD card instead of an MMC card to work with the C-Guys driver.
I have a Zaurus SL-C760. Would someone please post the original
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
in a zip file so that I can restore mine, which I accidentally deleted, until I can try out an SD card?
I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock. Are they still in business?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164517\"][{POST_SNAPBACK}][/a][/div]
You ll find attched my mmc_sd file from my c760 (running cacko)
Could someone help me to find the c-guys ipk in order to update my sd driver , as it seems that c-guys website is out of order.
thanx.
Cyril.
-
I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock. Are they still in business?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164517\"][{POST_SNAPBACK}][/a][/div]
the c-guys driver is on my website in the downloads section, in 860 sub dir
-
Hello all,
I read each and every posting in the thread and (unless I missed something), it seems you all have a clamshell Z.
So, the key questions for me is:
Has anyone tried this driver on a stock SL-6000, with the Sharp ROM 1.12 and Linux Kernel 2.4.18? If yes, given the origin of the driver, would it mess up the built-in Wi-Fi configuration?
Thanks in advance.
-
I would like to purchase the C-Guys sdlink11b card to compensate them for their work, but the card seems to be out of stock. Are they still in business?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164517\"][{POST_SNAPBACK}][/a][/div]
the c-guys driver is on my website in the downloads section, in 860 sub dir
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164664\"][{POST_SNAPBACK}][/a][/div]
thank you.
@GoLinux: I think that you should ask it in the dedicated 6000 sub-forum, if you want to have a 6000 user answer.
-
Thank you, Cyril92, I have regained access to my MMC card with the module that you provided.
On a related note, I asked the people at SPECTEC if they had a driver for one of their SD 802.11b cards for the Zaurus SL-C760. They did not, but they have a driver for a closely related 2.4.18 kernel for a Samsung handheld computer.
There was some discussion recently about a 2GB+ SD driver that was a disassembled and hacked version of the original Sharp driver, modified by someone in Brazil to work on the Zaurus SL-5500 models. Perhaps that driver might work with the SL-6000. The web page is:
http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/ (http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/)
-
I post this in another message, but I'll add it here. I don't recommend trying this sd module from the collie on a 6000. The 5000/5500 don't have a "standard" sd driver like the rest of the Z's. Search the forums. That's why OZ kernel's prior to 2.6 kernel were still using the original Sharp module or this one. And the rest of the Z's had a working SD driver in 2.6. I'm not a Z hardware expert, but I hate to see you lose access to your sd slot. I would think you'd have a better shot trying to c-guys drivers before trying to use the collie module. Take care.
Thank you, Cyril92, I have regained access to my MMC card with the module that you provided.
On a related note, I asked the people at SPECTEC if they had a driver for one of their SD 802.11b cards for the Zaurus SL-C760. They did not, but they have a driver for a closely related 2.4.18 kernel for a Samsung handheld computer.
There was some discussion recently about a 2GB+ SD driver that was a disassembled and hacked version of the original Sharp driver, modified by someone in Brazil to work on the Zaurus SL-5500 models. Perhaps that driver might work with the SL-6000. The web page is:
http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/ (http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164699\"][{POST_SNAPBACK}][/a][/div]
-
Hmm. Accessing the SD card hardware on the 5500's may be different, but from what I understand the patch is at the protocol level which would be hardware independent. Hence, it would be possible to port the patch to the drivers for the later models.
I took a brief stab at this once - I know asm-fu, but at the time not so much SD-fu or ARM-fu. I might try again using this as a starting point... can someone post a copy of the 5500's original sharp_mmcsd_m.o for comparison purposes?
(yes, I know my 3100 doesn't need it, it's for the friend who has my old 860 )
-
Thank you, Cyril92, I have regained access to my MMC card with the module that you provided.
On a related note, I asked the people at SPECTEC if they had a driver for one of their SD 802.11b cards for the Zaurus SL-C760. They did not, but they have a driver for a closely related 2.4.18 kernel for a Samsung handheld computer.
There was some discussion recently about a 2GB+ SD driver that was a disassembled and hacked version of the original Sharp driver, modified by someone in Brazil to work on the Zaurus SL-5500 models. Perhaps that driver might work with the SL-6000. The web page is:
http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/ (http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/zaurus/)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164699\"][{POST_SNAPBACK}][/a][/div]
Bring back to Ceasar what belongs to Caesar : you should thank speculatrix from zaurus.co.uk
-
the problem with the SL-6000 is that is uses the Toshiba Companion chip to do video (with acceleration), SD and some I/O glue. Thus the SD driver on the 6000 is completely different from the other models. Moreover, Toshiba have never released full technical specs on that chip - and at various times people with contacts at Tosh have tried very hard to get *some* sort of programmers reference guide.
I think because SD standard *was* closed, that Tosh felt impelled to keep the specification secret, and now that the chip is obsolete don't care any more that they could release it.
If you do have some way to contact Toshiba to get a detailed specification then there are many many of us who'd be very grateful.
Paul
-
Bring back to Ceasar what belongs to Caesar : you should thank speculatrix from zaurus.co.uk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164709\"][{POST_SNAPBACK}][/a][/div]
Oh, and thanks for that.
BTW, it is very important that all Zaurus owners take good care of any downloads they make, since it is quite common for important resources to be abandoned and sometimes they are lost forever.
Even if you don't think you'll want it, try and get the source packages too. Disk space these days is practically free (as are blank DVDs for archives!).
For example, I found an interesting volume control applet for original sharp written by a third party, I managed to get the binary, but the guy had lost the source code in a disk crash, hadn't backed up, and also sold his Zaurus so had no way to recreate his work nor any particular interest in doing so (he wasn't unfriendly/unhelpful, just too busy)!
-
Thanks to all those that replied with some information on the SL-6000. I did post also on one of the SL-6000 specific forums. In fact, I found by chance this other thread. I saw the very short reference to the SL-6000 in DrWowe first posting but then all the rest of the postings focused on the clamshell models. Being this one of the General Forums and seeing all the activity DrWowe post generated, I figured I'd give it a try here as well.
I work in the semiconductor industry and I have tried too to find information on the Toshiba chip, so far unsuccessfully... Beside the SD limit, getting some info on the video section of it would help too with attempting a better acceleration.
I shall continue my quest.....
-
*spends a few hours doing clever things with disassembly*
*jaw drops*
The fix is really trivial - I think I can patch the 6000/c7xx modules no problem. (Yes, I have looked at the 6000 module internals. No, it is not dramatically different to the others.)
But it's a task for the weekend, I'm afraid - it's already 2:45am and I'm going to be regretting that tomorrow at work...
-
The fix is really trivial - I think I can patch the 6000/c7xx modules no problem. (Yes, I have looked at the 6000 module internals. No, it is not dramatically different to the others.)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164734\"][{POST_SNAPBACK}][/a][/div]
pelrun,
it would be great if you could do that! Unfortunately I do not have the necessary experience and knowledge to help, but I'm willing to try whatever you can come up to on my stock SL-6000.
Look forward to see more from you next week. And get some sleep...
-
*spends a few hours doing clever things with disassembly*
*jaw drops*
The fix is really trivial - I think I can patch the 6000/c7xx modules no problem. (Yes, I have looked at the 6000 module internals. No, it is not dramatically different to the others.)
But it's a task for the weekend, I'm afraid - it's already 2:45am and I'm going to be regretting that tomorrow at work...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164734\"][{POST_SNAPBACK}][/a][/div]
I'm also looking forwards to a fix for the 6000 and so many thanks to you for all your work!
-
Count me in as a guinea pig to try your SD module.
GO... GO... GO... (cheering section)
-
*spends a few hours doing clever things with disassembly*
*jaw drops*
The fix is really trivial - I think I can patch the 6000/c7xx modules no problem. (Yes, I have looked at the 6000 module internals. No, it is not dramatically different to the others.)[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=164734\")
You mean you can modify the binary module to support 2 GB SD-Cards? That'd be great, I'll test the one for the C760.
EDIT: Oh, and I've found the driver page, it moved to [a href=\"http://www.zentek.co.jp/sd/support/download/link_e.html]http://www.zentek.co.jp/sd/support/download/link_e.html[/url] since the old company apparently was bought by Zentek.
-
Ok, I've attached a test module for the 6000. No guarantees this thing will even insmod properly, let alone work. It's not like I actually have a 6000 to test it on...
Remember, it's only for older-style 2G and 4G cards. SDHC cards will not work. Also, remember to rmmod the original sharp module before you try this out.
EDIT: I realised this morning there's a bug in this, it won't work (it'll probably identify 2G/4G cards as just 1G.) Will fix tonight.
-
And here's the 760/860 version.
EDIT: The same bug from the 6000 version is in this one too - hold off from using it until I get a new version out.
-
Ok, I've attached a test module for the 6000. No guarantees this thing will even insmod properly, let alone work. It's not like I actually have a 6000 to test it on...
Remember, it's only for older-style 2G and 4G cards. SDHC cards will not work. Also, remember to rmmod the original sharp module before you try this out.
EDIT: I realised this morning there's a bug in this, it won't work (it'll probably identify 2G/4G cards as just 1G.) Will fix tonight.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164922\"][{POST_SNAPBACK}][/a][/div]
Pelrun,
I'll settle for the old SD!!!!! If you really make this work on the SL-6000 with the stock ROM and kernel, you are going to become a celebrity among Tosa owners......
GO pelrun! And sincere thanks for attempting this. No matter the outcome, I really appreciate it.
-
Well, I fixed the silly bug from the previous modules (I got a bit too clever for my own good and omitted a bit of code which was vital... oops!) and created another couple, hopefully less buggy this time.
Still no warranty express or implied yada yada.
EDIT: There's enough independent testing below to show that these drivers work perfectly.
-
Well, I fixed the silly bug from the previous modules (I got a bit too clever for my own good and omitted a bit of code which was vital... oops!) and created another couple, hopefully less buggy this time.
Still no warranty express or implied yada yada.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164977\"][{POST_SNAPBACK}][/a][/div]
Thank you thank you thank you thank you! I will buy a 2 gig card on my way home tonight and give it a spin... I'll let you know what happens.
Ceffyl
-
cool!
-
I just received my 2GB Sandisk Ultra II SD card today. Amazon.com had the best price compared to eBay at the time that I made my order. This little SD card flips open to provide its own USB port connector. Preliminary testing seems to indicate that the card works with the modified driver. I have replaced the link to the original Sharp driver with the new driver renamed as the Sharp driver. Here is the result of running:
time nice -9 cp /mnt/card/rfc.cramfs /dev/null
real 0m39.138s
user 0m1.760s
sys 0m19.860s
rfc.cramfs is a compressed file of Internet RFC files. The size of the rfc.cramfs file is 63,242,240 bytes, making the transfer rate approximately 3MB per second in system time, 1.6MB per second in real time.
-
I just did another test on my Zaurus SL-C760.
time nice -9 cp /mnt/card/rfc.cramfs /mnt/cf
real 1m6.517s
user 0m3.030s
sys 0m31.410s
My compact flash card is a 4GB Sandisk regular CF card. That's a real-time data transfer rate of about 928KB/s.
The md5sum of the original file and the destination file matches, so they are probably identical.
Thanks for the modified driver. Nice work.
-
1) does df show the true size of the card?
2) can you still read/write files successfully when there's more than 1G on the card?
If the answer is 'yes' to both of those, then I guess we have a winner.
-
Yes to both so far. I was listening to MP3 music just now from my 2GB SD card.
df reports about 1.98GB total on the card, 380MB used, 1.6GB available:
/dev/mmcda1 1983360 379680 1603680 19% /usr/mnt.rom/card
-
Sorry - I mean accessing data stored after the 1GB mark on the card; with only 380MB used on your card you're testing the area we already know the sharp driver can access.
Thanks for the testing help!
-
I copied a couple of big files, a 419MB ATI SDK and a 398MB Beyond the Red Line BattleStar Galactica free game demo, onto the Sandisk Ultra II SD card. One thing that I accidentally learned by doing this is that Windows XP ignores the SD card's write protect tab. That pushed the SD card contents over 1GB in size. On the Zaurus SL-C760, I copied the files from the SD card to the CF card and am currently starting to compute their MD5SUMs. That will take a while. I would be more concerned about SD cards which are larger than 2GB in size in case the Sharp code uses signed 32 bit integer representations which would cause integer representations that are larger than 2,147,483,647 (2^31 - 1) to be interpreted as negative numbers.
I know that the Sharp voice recorder will falsely think that a mostly empty 4GB CF card is out of disk space, probably due to the use of signed 32 bit integer representations for checking the available space.
What technique did you use to disassemble and reassemble the object file? I might have to do that with the Sharp voice recorder to disable its disk space check.
The MD5SUMs of the corresponding files are identical. The computation finished as I was finishing this message.
-
398MB Beyond the Red Line BattleStar Galactica free game demo
I have memories of being caught in tight loops trying to get the last wretched cylon raider to just stay in my reticule in that game... aaargh! I believe my joystick is still in pieces after that (I'm partway through rewiring the cheap-ass thing to eliminate the dead zones, I didn't throw it at the wall!)
I would be more concerned about SD cards which are larger than 2GB in size in case the Sharp code uses signed 32 bit integer representations which would cause integer representations that are larger than 2,147,483,647 (2^31 - 1) to be interpreted as negative numbers.
With regards to the device driver I think this is probably quite unlikely (but testing is welcome!), your next point notwithstanding:
I know that the Sharp voice recorder will falsely think that a mostly empty 4GB CF card is out of disk space, probably due to the use of signed 32 bit integer representations for checking the available space.
What technique did you use to disassemble and reassemble the object file? I might have to do that with the Sharp voice recorder to disable its disk space check.
objdump (part of GNU binutils) provided the disassembly; I used the version which came with the pdaXrom cross compiler. The assembly I did by hand, applying the changes with a hex editor.
I spent several hours exploring other options for larger edits, but it was not needed here.
The MD5SUMs of the corresponding files are identical. The computation finished as I was finishing this message.
Fantastic!
-
I might have to do that with the Sharp voice recorder to disable its disk space check.
Try this.
-
One thing that I accidentally learned by doing this is that Windows XP ignores the SD card's write protect tab.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165026\"][{POST_SNAPBACK}][/a][/div]
I suspect that's more likely to be the card reader not being able to detect the thing on the card, I suspect it does nothing on the card and relies on a sensor in the card reader.
-
Just replaced /lib/modules/2.4.18-rmk7-pxa3-embedix/
kernel/drivers/block/sharp_mmcsd_m.o with this module (after saving old driver as sharp_mmcsd_m_old.o) and rebooted. Put in a 2 GB SD card formatted fat16, with 1.9 GB of movies. Movies play fine!!
df reports:
1960064 KB as size of SD card with
1932960 in use and
27104 available (99% in use)
Next would like to try re-formatting as ext2.
Looks great!! Thanks!!!!!!!!!!!!!!!!!!!!!!!
-
Just replaced /lib/modules/2.4.18-rmk7-pxa3-embedix/
kernel/drivers/block/sharp_mmcsd_m.o with this module (after saving old driver as sharp_mmcsd_m_old.o) and rebooted. Put in a 2 GB SD card formatted fat16, with 1.9 GB of movies. Movies play fine!!
df reports:
1960064 KB as size of SD card with
1932960 in use and
27104 available (99% in use)
Next would like to try re-formatting as ext2.
Looks great!! Thanks!!!!!!!!!!!!!!!!!!!!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165062\"][{POST_SNAPBACK}][/a][/div]
The Oak,
thanks for trying it on the SL-6000, I believe you are the first of the Tosa owners. I'm leaving on a biz trip tomorrow so I'm not sure I'll have time to try it myself with my 2Gb PNY card before I leave. AAAAARGH, the wait is killing me.....
Pelrun,
thank you so much for the new driver. You should add to your signature "The Genius from the Land Down Under" Nice job, mate!!!!!
As always, Linux rules.
-
The Sandisk Ultra II SD card interfaces directly to the computer with its built-in USB connector without the need for a card reader, which is very convenient if you are not at home and need to transfer information between the SD card and a desktop computer which has a USB port. Windows XP seems to ignore the write protect tab on the Sandisk Ultra II SD card and will happily write data to the card.
-
Well, 2 GB card is now formatted ext2, and all my games are installed to it. So far, df reports:
1928692 KB as cards capacity with
294224 KB in use and
1634468 KB left
going to put a few movies on the SD card and test further.
-
I get an error message when I run voicerec-pel and try to access the Options menu:
voicrec-pel: error while loading shared libraries: ./voicerec-pel: undefined symbol: getNumOfStorageID__15SlStroageIn
-
Hahaha - I only grabbed that file from the initrd.bin I happened to have mounted somewhere, I didn't pay attention to which model it was for - so it's probably not surprising that it's not the right one.
That's what I get for trying to be clever and knocking out a fix like that in ten minutes If you want to send me your original voicerec binary I can replicate it easily enough.
-
Here's my voicerec program from the Zaurus SL-C760. The original location is
/usr/QtPalmtop.rom/bin/voicerec
There is a symbolic link to voicerec from:
/home/QtPalmtop/bin/voicerec
-
Now have 89% full and movies play on 2 GB SD card (formatted ext2) like a dream. Copying files was a little problematic using the gui (TreeExplorer and sharp's file viewer, (NOT file manager)), but flawless using a simple cp command in qkonsole.
In all fairness the problems with the gui file managers were probably user impatience.
I feel that movies playing are a good test of real time use of the new driver. So far, I see no flaws with this driver. Thanks again pelrun. You have given the venerable 6000 a much needed usability boost after a long stale spell.
We 6000 users can't thank you enough!!!!!!!!!!!!!!!!!
-
Ok, one more attempt on voicerec (maybe this should have got a new thread ):
-
I feel that movies playing are a good test of real time use of the new driver. So far, I see no flaws with this driver. Thanks again pelrun. You have given the venerable 6000 a much needed usability boost after a long stale spell.
We 6000 users can't thank you enough!!!!!!!!!!!!!!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165085\"][{POST_SNAPBACK}][/a][/div]
Trip or no trip I couldn't resist, I tried the driver on my stock SL-6000 and it works perfectly with a 2Gb PNY card. Just in case I also put a copy of the original driver on the CF before renaming it with "old" and then rename pelrun patched driver with the name as the original Sharp driver. Rebooted and ... voila', 2Gb card mounts and works without a hitch. System Info from within Qtopia sees it with the right size and everything. I copied the content of my 1Gb Sandisk SD to my laptop with a USB card reader, copied from laptop to 2 Gb PNY, inserted 2Gb in Zaurus... DONE!
The PNY SD doens't hit me as blazing fast, but it doesn't feel slower than the Sandisk, even when playing a couple of large movie clips with Zplayer. I don't have time for now to do comparative transfer data rate tests, but I will.
Amazing a fix came only after three plus years the SL-6000 has been out. I guess the fact that >1Gb SD price has become ridiculously low only recently played a role.....
No matter, pelrun: YOU DA MAN!!!!
-
I'm way late in trying this out. But I glanced through this thread and am I right in thinking that there is no 2gb+ driver for my c3100? Too bad
-
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
-
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165123\"][{POST_SNAPBACK}][/a][/div]
I thought pdaxrom uses a more up to date kernel. I highly doubt I can just take the module from the pdaxrom kernel and use it on my c3100 sharp rom. Sense this is not the pdaxrom forum I assume you are talking about pulling the module from that kernel.
-
yeah, sorry about that. my bad...
-
no, you're not right. :-) there is a driver to support sd cards =>1gb on pdaxrom.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=165123\")
I thought pdaxrom uses a more up to date kernel. I highly doubt I can just take the module from the pdaxrom kernel and use it on my c3100 sharp rom. Sense this is not the pdaxrom forum I assume you are talking about pulling the module from that kernel.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165124\"][{POST_SNAPBACK}][/a][/div]
[a href=\"http://zaurus.daemons.gr/menaie/mirror/stuff/sdmmc-module_2.4.20_arm.zip]http://zaurus.daemons.gr/menaie/mirror/stu..._2.4.20_arm.zip[/url]
-
I love you meanie.
-
If I recall correctly the pdaXrom module is just the official sharp module from the 3200, which luckily works just fine on the 3100 and 1000
SharpROM/pdaXrom beta3/pdaXii13 are all on 2.4.20 kernels for those models, so the module is compatible.
-
If I recall correctly the pdaXrom module is just the official sharp module from the 3200, which luckily works just fine on the 3100 and 1000
SharpROM/pdaXrom beta3/pdaXii13 are all on 2.4.20 kernels for those models, so the module is compatible.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165134\"][{POST_SNAPBACK}][/a][/div]
IIRC at some point sashz had ported a driver from somewhere module to the 2.4 kernel, and had upgraded the 2.4.18 kernel to 2.4.20 for the 760 and co (circa beta 3)
So there was another driver....and unfortunately quite buggy, at least on 760 ..and not working so well for card >1G IIRC.
-
I'm way late in trying this out. But I glanced through this thread and am I right in thinking that there is no 2gb+ driver for my c3100? Too bad
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165121\"][{POST_SNAPBACK}][/a][/div]
Xamindar,
there is a file for use on the 3100 and 3000. I have attached it to this post.
To any 3200 users who, like me, use Cacko 1.23: you need to use this too!
It is now possible to break the 1GB limit on the 5500, the cxxxs, and the cxxxxs! I don't know about the 5600.
By the way, the attachment is a zip file containing the ipk. The gz is just the workaround we have to use because they still haven't fixed the attachment problems.
-
Tux, the module in the ipk you posted is identical to the one meanie posted But there are installer script differences, which I guess make meanie's better for pdaXrom and yours better for sharp/cacko.
I avoided the whole distro problem and just uploaded the bare modules...
-
Short report: The C760 driver loads and seems to work (finds my 2gb card). More extensive tests when I've filled the card with stuff.
-
Thank you.
2gig sandisk standard works great on the 760
1983360 kb out of 2gig with fat
1952499 kb using ext2 before running a full card including debian chrooted.
Thats so great.thanks again.
-
Hey Guys:
I guess the poodle is the only dog not in this luv' fest! Right??
Zeke
-
If the 5600 needs a different module to the 5500, send the original 5600 module my way and I'll see what I can do.
-
I am using SL-6000L, but I cannot make the file which under /lib/modules(&modules.com)/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o to be replaced via Tree!Explorer QT by copy & Paste. It is always showing that "Cannot write '/lib/modules/2.4.18-rmk7-pxa3-embedix/********/sharp_mmcsd_m.o'. You do not have the permission or the file may be in use", so that I could not replace it. Could you please tell me how to change this file to the fixed one?? Many Thanks!
-
I am using SL-6000L, but I cannot make the file which under /lib/modules(&modules.com)/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o to be replaced via Tree!Explorer QT by copy & Paste. It is always showing that "Cannot write '/lib/modules/2.4.18-rmk7-pxa3-embedix/********/sharp_mmcsd_m.o'. You do not have the permission or the file may be in use", so that I could not replace it. Could you please tell me how to change this file to the fixed one?? Many Thanks!
Probably you should be root to have rights to change such this file.
-
Probably you should be root to have rights to change such this file.
Thanks for this info. I had changed the Tree!Explorer to root when I revised this file, and it didn't work. Anything I missed? Please help me to use the 2GB SD Card on my 6000L. Thanks in advance!
-
Probably you should be root to have rights to change such this file.
Thanks for this info. I had changed the Tree!Explorer to root when I revised this file, and it didn't work. Anything I missed? Please help me to use the 2GB SD Card on my 6000L. Thanks in advance!
You might have to do it at the console. Do you have the konsole program installed?
Just use "su" to become root and copy it. Make sure you make a backup of the original file first in case the new one doesn't work. "cp original_file original_file.bak"
If you are not comfortable using the konsole just ask here and we can help you out.
-
Thaks for your kindly answers, I am so happy that all you would like to help me to mount the 2 GB SD card.
You might have to do it at the console. Do you have the konsole program installed?
Do you mean "Terminal"? Yes, I had installed it, and I had installed the konsole, too. But I don't know how to use them correctly .
Just use "su" to become root and copy it. Make sure you make a backup of the original file first in case the new one doesn't work. "cp original_file original_file.bak"
If you are not comfortable using the konsole just ask here and we can help you out.
I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
Please tell me which one should be replaced??
I have tried to backup the two original files (sharp_mmcsd_m.o) via Terminal, but failed due to I am not comfortable using the Terminal. I use the description below tried to enter the /lib/xxxxxxxxxx/block/ directory first:
su
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/
when I pressed enter at that time, I got "No such file or directory" message, and I have no idea what to do then.
Please help me to mount the 2 GB SD card, thanks again.
-
I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
Please tell me which one should be replaced??
The /lib/modules.rom/ directory is not writeable, you have to use /lib/modules/.
I have tried to backup the two original files (sharp_mmcsd_m.o) via Terminal, but failed due to I am not comfortable using the Terminal. I use the description below tried to enter the /lib/xxxxxxxxxx/block/ directory first:
su
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/
when I pressed enter at that time, I got "No such file or directory" message, and I have no idea what to do then.
After the cd, use Tab to complete the directory name (once if there is no other possible completion, twice to see all alternatives) to be sure you don't have a typo in there, then it should work.
By the way, the module for the C760 works flawlessly. Thanks again to pelrun for making it, 1GB was getting a bit small.
-
Thanks Cyril92, Xamindar, and Cybersphinx for helping me, thanks again!!
I found that there are "Two" sharp_mmcsd_m.o files that under two different directories listed below:
/lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o, <--- this one (sharp_mmcsd_m.o) looks like linked to the other one listed below.
/lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
Please tell me which one should be replaced??
The /lib/modules.rom/ directory is not writeable, you have to use /lib/modules/.
Thanks for your reply, it works!!! I have backup the original files!!
However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??
I guess that I may replace the original file by the following methods, please tell me which one is correct:
1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??
2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??
3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??
Please help me again. Thank you.
-
However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??
I guess that I may replace the original file by the following methods, please tell me which one is correct:
1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??
2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??
3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??
On the command line, something like the following should work:
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/
mv sharp_mmcsd_m.o sharp_mmcsd_m.o.old [to make a backup, if you don't have one yet]
cp /mnt/card/new_module.o sharp_mmcsd_m.o [/mnt/card is the SD-Card, adjust to the path of the new module]
TreeExplorer probably also works. Linking is not necessary (things in /directory.rom/ are linked into /directory/, but not the other way around). Rebooting also isn't necessary, you can do "depmod -a; rmmod sharp_mmcsd_m; modprobe sharp_mmcsd_m" as root on the console.
-
Thanks for your reply, it works!!! I have backup the original files!!
However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??
Do you mean "put the original sharp rom module back in case this new one doesn't work?" All you need to do is re-link the one from the /lib/modiles.rom folders.
I guess that I may replace the original file by the following methods, please tell me which one is correct:
1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??
That will work just fine. There is a way to get it working without rebooting but the simplest way is to just reboot.
2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??
cd /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block
--if the new module is on your sd card:
cp /mnt/card/sharp_mmcsd_m.o .
--if the module is on your cf card:
cp /mnt/cf/sharp_mmcsd_m.o .
--Of course, if you have the new module anywhere else just find out where (zaurus documents directory: /home/zaurus/Documents) and like cybersphinx said, just press the TAB key to see available folders or to autocomplete the name of a file or directory.
Then type "reboot" to restart the zaurus.
3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??
No relink needed. Think of all the .rom directories as "installation files". They are basically the whole original factory OS. If you are installing an updated or modified version of a file linked from these directories you don't need the original .rom version any more and can just ignore it.
If you were to totally screw up your zaurus to the point it is unusable or if you just wanted to restore it to its factory defaults, you would just run the format command in the zaurus' secret maintenance menu which would relink all those .rom files so you have a fresh insatall.
-
You can make the root folder writable by using:
su
mount / -o rw,remount
After you are done copying the new module into its proper location, you can make the root folder read-only again by typing:
mount / -o ro,remount
-
Thanks again to Cyril92, Cybersphinx, Xamindar, and QX773, now my 6000L can recognize the 2GB SD card, and so far it works flawlessly!!
Thank you for teaching me how to use Console!!
Further thanks to pelrun for making it!! It's really amazing!!
-
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...m.ipk&key=1 (http://c-guys.net/cgi-bin/download/passcheck.cgi?filename=sd-link11b_us_jpn_arm.ipk&key=1)
Could you please attached this file here?
I cannot connect to c-guys site.
Thanks so much
-
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...m.ipk&key=1 (http://c-guys.net/cgi-bin/download/passcheck.cgi?filename=sd-link11b_us_jpn_arm.ipk&key=1)
Could you please attached this file here?
I cannot connect to c-guys site.
Thanks so much
just uploaded it for you - look on my website in downloads, in sharp directory, called sd-link11b_us_jpn_arm.ipk
-
just uploaded it for you - look on my website in downloads, in sharp directory, called sd-link11b_us_jpn_arm.ipk
You're so nice
I'm gonna to test it.
Thank you very very much
-
Did anyone ever stick with this driver? I finally bought some 2gig cards and have been testing this driver. Looks like it will eventually lock up the zaurus until the SD card is removed if you attempt to do long file copies. And this is not just with 2 gig cards, it will do it with any of my SD cards. I guess it is ok if you don't just copy things straight from it for long periods of time. Looking through this thread many people said they will report back on their results but not many did. Did you guys stop using it? Is this just maybe an issue with the c3100 and this driver? But I'm using an eviljazz kernel so maybe something with that?
-
Did anyone ever stick with this driver? I finally bought some 2gig cards and have been testing this driver. Looks like it will eventually lock up the zaurus until the SD card is removed if you attempt to do long file copies. And this is not just with 2 gig cards, it will do it with any of my SD cards. I guess it is ok if you don't just copy things straight from it for long periods of time. Looking through this thread many people said they will report back on their results but not many did. Did you guys stop using it? Is this just maybe an issue with the c3100 and this driver? But I'm using an eviljazz kernel so maybe something with that?
You mean pelrun's driver? I've been using it on my c760 since then, and didn't notice any problems I could attribute to the driver. But then I'm doing all my copying in a card reader and not on the Zaurus itself.
-
I had problems doing big file copies to the zaurus with cacko even before I put the new sd driver in place; I always assumed it was the usb networking as it was very inconsistent how long it'd last.
I guess to prove it one should copy files from host /dev/null, and on the zaurus to "dd if='/dev/urandom of=/mnt/card/junk bs=1024 count="1000000" etc, and then cat that random file back to /dev/null to force reading it.
-
The c3100 uses the official c3200 sharp driver, not my hacked one
I too have had issues transferring large files directly to the SD card over usb networking; using scp to copy didn't help things as it increases the cpu load significantly. But I've never had any trouble transferring files of any size to or from the card to hd or nand.
-
Hi
I have a 2 GB Sandisk SD card in my 750 and it works fine using these scripts,
except that when going to standby the card is unmounted and mounted
again at power on.
I want to use applications that have open files on the SD card, or
leave a shell in a working directory on the card when I go to standby.
If I leave open files then the card cannot be remounted and the
apps that had the file locks fail in various ways.
So I want to change it so that the card is not unmounted when going to
standby. Has anyone got that functionality working ?
My investigation using the logfile shows that
- suspend/power on cycle calls sdiomgr with "attach"
- manually inserting the card calls sdiomgr with "attach"
- selecting eject from SD icon does not call sdiomgr
- manually ejecting the card calls sdiomgr with "detach"
The modified sdiomgr script runs sdcontrol with "compeject" then "insert"
for "attach". I tried changing "compeject" to "eject" because it doesn't unmount
if there are open file locks however it didn't work - the card appears as
if it is mounted but I can't access anything on it.
If I try to simulate this sequence by change directory to card, su, run eject
and then insert the card remains mounted and visible. I'm guessing the
kernel driver resets open file locks when going to standby, but I am no expert.
By the way, the card is VFAT and I am using Sharp ROM.
Thanks