OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: mikew on April 28, 2006, 08:58:37 am
-
Hope someone can help me with a few problems I am having with my C3200, I know the basics as I have had a C760 for many years.
I have tried using various USB devices such as card reader, USB memory stick, self powered NTFS drives & my Canon IXUS camera. Each item is displayed in the Devices tab under System info so the Z can see what ever I attach, so I assume they must be mounted, but I am unable to access them. Example device tab contents:-
Vendor:
Product: USB OHCI Root Hub
Class: HUB
ID: 0000/0000
Driver: hub
And the SD card as
Product: CS8819A2
Class: Mass Storage
ID: 04cf/8819
Driver usb-storage
Has anyone any idea what I have to do, yes I did load Meanie’s NTFS driver, I did not load the auto mounter as it appears to be for the C3000 only
I would like to throw in a couple or other C3200 issues.
The C3200 comes with the Japanese version of Photo-Storage, I tried loading the English version which resulted in the loss of the squares for the Japanese characters but no English ones on the initial screen.
If I load Stubear’s modified Sharp/Cacko hybrid will all my USB & PhotoStoarge problems go away?
I would like to try X/QT now that I have lots of disk space & 2 free card slots, should I stick to the stock Sharp ROM or the hybrid. Can I remove the CF card with X/QT on it if I am not using X/QT, such as when I am transferring pictures from my camera.
Thanks
Mike
-
I can't help you with everything, but I will say that just because something appears in the "Devices" tab does not mean that it is mounted or even that the Zaurus can do anything with it. Depending on the device, it will need drivers or (if it's a memory card, etc) to be mounted somehow.
Also, I don't believe the automounter is 3000-only. It's just named that.
-
I did find that Cacko was better than the stock Rom at automatically configuring USB devices when they are plugged in. IIRC, mass storage devices will automount under Cacko (if they can)
For the camera, you'll probably need gphoto (unless it's a mass storage device also)
-
I have tried using various USB devices such as card reader, USB memory stick, self powered NTFS drives & my Canon IXUS camera. Each item is displayed in the Devices tab under System info so the Z can see what ever I attach, so I assume they must be mounted, but I am unable to access them.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124959\"][{POST_SNAPBACK}][/a][/div]
I don't know whether it's an issue in your case, but you should keep in mind that the Z doesn't provide enought power for most USB devices to run off. You might find you get better results with a powered hub for some devices.
My C1000 doesn't provide enough power for my USB-Ethernet dongle.
Aside from that, I've had very good luck with the stock Cacko rom recognizing most of the devices I've tried (Flash drive, Ethernet dongle, GPS, self-powered HD)
David
-
I have tried using various USB devices such as card reader, USB memory stick, self powered NTFS drives & my Canon IXUS camera. Each item is displayed in the Devices tab under System info so the Z can see what ever I attach, so I assume they must be mounted, but I am unable to access them.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124959\"][{POST_SNAPBACK}][/a][/div]
I don't know whether it's an issue in your case, but you should keep in mind that the Z doesn't provide enought power for most USB devices to run off. You might find you get better results with a powered hub for some devices.
My C1000 doesn't provide enough power for my USB-Ethernet dongle.
Aside from that, I've had very good luck with the stock Cacko rom recognizing most of the devices I've tried (Flash drive, Ethernet dongle, GPS, self-powered HD)
David
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124991\"][{POST_SNAPBACK}][/a][/div]
I've successfully used two separate usb ethernet dongles, and a thumb drive on my C1000. But it can't hurt to use a powered hub, your battery will thank you!
-
First of all, there are several issues.
1. The Zaurus needs to detect your USB device through the USB host cable. You got this far.
2. The USB device needs to be low powered to be able to be powered by the Zaurus, otherwise you will need to use a powered USB hub. This is the case for most USB HDDs
3. The Zaurus needs to have a device driver/kernel module available for your device to be loaded. This is where all the extra kernel modules need to be compiled if they aren't there yet. The stock sharp rom contains some wif drivers, but no usb ethernet nor bluetooth drivers at all. Cacko adds lots of them.
4. The usb storage device exist on the Zaurus, but it does not know about every device ID out there, especially the newer ones. If your usb stick/mem card's ID is not on the list, then it won't be detected until you manually add it to the list. dmesg will tell you the ID and then you need to add it to the list of device mappings. The same is the case in windows. The "device driver" that you install on windows for usb memory sticks usually don't add any files except registers the ID of the device into the registry so windows will know its a storage device.
5. Once the Zaurus knows which module to load for your device, it then loads it and initialises the settings for it. For usb mass storage devices, it looks for a file called usb-storage which tells it how to mount the newly detected device. This file of course iss missing on the stock Sharp ROM so you need to create it manually. Cacko has a simple one predefined for you which mounts the usb disk as the first primary partition to /mnt/usbstorage. But of course, if you have a hub and plug in multiple disks, then it won't do anything for you and you will need to mount them yourself manually.
Now my automounter package tries to be smarter and tries to detect four usb disks. as well as usb zip drives and usb cdrom drives, and mount them whether they are a single primary partition, or an extended partition. My package was written for the C3000 and C3100 since I have those two devices, but it will also work for C1000 and C3200 since they are all the same in that particular aspect.
No idea what this Sharp/Cacko hybrid is. Cacko is an enhanced Sharp ROM. So its a semi enhanced ROM?
X/Qt can be installed to the internal microdrive or CF/SD card. The internal microdrive would be the more ideal location since you don't need to worry about it being ejected.
If you put it on a CF/SD card, then you need to stop X/Qt and unmount all the cramfs/squashfs images before you eject them.
my automounter package also automatically mounts and unmounts cramfs/squashfs files located on SD/CF card when they are inserted/ejected which Cacko does not do.
-
Thanks for the response Meanie
Lots of useful information most of my USB memory sticks now mount automatically.
A few things I don’t understand.
Not sure what dmseg means but I found the IDs under the devices tab in the System info, it for example shows the following for my Freecom 120GB hard drive.
Vendor: Freecom Technologies
Product:: Classic SL Network Drive
Class: Mass-storage
ID: 07ab/fcf8
Driver: usb-storage
You mentioned manually adding this to the list of devices that the Zaurus can recognise, how do I do this/which file do I add it to?
The above uses NTFS format, how do I tell it to use your NTFS driver which I have already installed.
Mike
-
Not had any response to my last post on how to mount a hard disk especially NTFS volume, so I have been researching & trying various parameters, one of which almost worked.
Loaded Meanies NTFS drivers IPK.
Connect external disk drive
From Terminal
Enter
fdisk -l /dev/sda
Identified the hard disk showing number of cylinders etc., along with HPFS/NTFS file system.
mount –t ntfs –o umask=000 /dev/sda1 /mnt/usbstorage1 rw
Disk now shown in file explorer
Unfortunately I can’t write to the NTFS volume all though I can copy files from it.
Un-mount drive with before disconnecting
umount /mnt/usbstorage1 rw
Anyone know where I put the read/write parameter
Mike
-
Anyone know where I put the read/write parameter
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125710\"][{POST_SNAPBACK}][/a][/div]
It seems that even when you add the read/write parameter it does not make a difference unless you are root. I usually just do whatever writing to the hard drive that I need as root from the command prompt. I have a hunch that this is related to semi-non-fully-standard original Sharp kernel ;-) Of course, I have a 6k, but it acts just like you are describing. However, if you have the "Run as root" box check on any of your Qtopia apps, they will be able to save and what-not to your USB drives.
-
Anyone know where I put the read/write parameter
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125710\"][{POST_SNAPBACK}][/a][/div]
It seems that even when you add the read/write parameter it does not make a difference unless you are root. I usually just do whatever writing to the hard drive that I need as root from the command prompt. I have a hunch that this is related to semi-non-fully-standard original Sharp kernel ;-) Of course, I have a 6k, but it acts just like you are describing. However, if you have the "Run as root" box check on any of your Qtopia apps, they will be able to save and what-not to your USB drives.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125921\"][{POST_SNAPBACK}][/a][/div]
NTFS is not a linux file format and thus not very well supported. most ntfs drivers are read-only, there are writable ones available but would you really want to risk corrupting a ntfs filesystem by writing to it?
-
Hi All,
I'm also running the so called hybrid for the SL-C3200 (i.e. www.zaurusthemes.org/oddpics/zaurus-rom-3200v1.zip)
FYI it includes the following pkgs...
appletmonitor-applet-cxxxx-1.0_arm v1.0
bvdd v0.4.0-1
bzip2 1.0.2-1
clipboard-applet-cxxxx-1.0_arm v1.0
kaddressbook v2.1.16
keyhelper v1.2.2-1
keyhelperconf v0.3.0-1
kino2 0.4.2p20
kmicrodlibs 2.1.16
kopiemail 2.1.16
korganizer 2.1.16
korganizeralarm 2.1.16
mcconvert v0.1a
mplayer-bvdd v1.1.5-1
openssl 0.9.7d
opera sl-5x00-7.30
opera-cseries-fix 7.30
photostorage 1.0.0-en
pimTABicon 2.1.16
qkonsole 0.9.3-20040205
qtopiamemoryapplet-cxxxx-1.0 cxxxx-1.0
sudo 0.1
zaurus-icons-oslinux-cxxxx_1.5_arm v1.5
zeditor 3.2.2english
zlib 1.2.3-1
Built in Apps
----------------
Nuance Text to Speach (Sharp2006) v1.0.0
--------------------
Slightly off topic from USB but I have been struggling w/ automounter to mount the latest squashfs images of Meanies Xqt. I have included the output below:
./pdaXqtrom-install.sh
X/Qt super jumbo installer - version 0.3.6.1
automounter is installed.
stopping loop devices...
old version of automounter detected, please update
The system has 7 loop devices.
There are 3 cramfs/squashfs images.
...checking for pdaXqtrom-base
...installing pdaXqtrom-base to /hdd3/Documents
mount: Mounting /hdd3/Documents/pdaXqtrom-base.squashfs on /mnt/pdaXqtrom-base failed: No such device
...checking for pdaXqtrom-apps
...installing pdaXqtrom-apps to /hdd3/Documents
mount: Mounting /hdd3/Documents/pdaXqtrom-apps.squashfs on /mnt/pdaXqtrom-apps failed: No such device
...checking for zgcc2-95-2
...installing zgcc2-95-2 to /hdd3/Documents
mount: Mounting /hdd3/Documents/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device
mount: Mounting /hdd3/Documents/pdaXqtrom-base.squashfs on /mnt/pdaXqtrom-base failed: No such device
mount: Mounting /hdd3/Documents/pdaXqtrom-apps.squashfs on /mnt/pdaXqtrom-apps failed: No such device
mount: Mounting /hdd3/Documents/zgcc2-95-2.squashfs on /mnt/zgcc failed: No such device
X/Qt installed and configured (if found).
use xlauncher or the StartX icon to start it.
#
---------------------
While it claims the mount points do not exist, it has created the entries in fstab...
# more fstab
/dev/mtdblock2 / jffs2 ro,noatime 1 1
/dev/mtdblock3 /home jffs2 defaults,noatime 1 2
none /dev/shm tmpfs size=1m,noauto 0 0
/dev/mmcda1 /mnt/card auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/hdd3/Documents/pdaXqtrom-base.squashfs /mnt/pdaXqtrom-base squashfs loop 0 0
/hdd3/Documents/pdaXqtrom-apps.squashfs /mnt/pdaXqtrom-apps squashfs loop 0 0
/hdd3/Documents/zgcc2-95-2.squashfs /mnt/zgcc squashfs loop 0 0
#
A check of /etc/mnt however shows no links to /usr/mnt.rom/
# ls -al
drwxrwxr-x 6 root root 0 May 4 00:03 .
drwxrwxr-x 10 root root 0 May 2 23:03 ..
lrwxrwxrwx 1 root root 17 Jan 1 1970 card -> /usr/mnt.rom/card
lrwxrwxrwx 1 root root 15 Jan 1 1970 cf -> /usr/mnt.rom/cf
drwxrwxr-x 2 root root 0 Feb 21 2006 ide
lrwxrwxrwx 1 root root 16 Jan 1 1970 net -> /usr/mnt.rom/net
drwxr-xr-x 2 root root 0 May 3 22:21 pdaXqtrom-apps
drwxr-xr-x 2 root root 0 May 3 22:21 pdaXqtrom-base
lrwxrwxrwx 1 root root 23 Jan 1 1970 usbstorage -> /usr/mnt.rom/usbstorage
drwxr-xr-x 2 root root 0 May 4 00:03 zgcc
#
Manual attempt to mount displays the same error as the automounter script...
# mount /hdd3/Documents/pdaXqtrom-base /mnt/pdaXqtrom-base
mount: Mounting /hdd3/Documents/pdaXqtrom-base on /mnt/pdaXqtrom-base failed: No such file or directory
#
----------
Note the usbstorage is a SwissBit 2GB TwistPro attached directly via a mini-A USB cable and works using the battery power from the Zaurus.
Cheers,
Missing-Snowman
SL-C3200, D-Link Air DCF-660W, Billionton CF Bluetooth, Holux GPSlim236, SwissBit 2GB TwistPro, SanDisk 1GB SD Extreme III, DigiMate II-Plus 20GB (require mini-USB <-> mini-USB)
-
you havent got the squashfs module installed. either install squashfs or use the cramfs images instead
-
I knew it would be obvious - thanks for the quick reply Meanie.
-
Thanks Meanie
I need to rethink my backup strategy as I use the 120GB USB drive to backup my 2 Windows desktops as well as my Dell & Libretto laptops, perhaps I need to reformat the drive using FAT32, assuming I can find a temporary location for the existing files.