Help - Search - Members - Calendar
Full Version: Some Questions About The C3200
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
Heather
Hello. I have had my C3200 for about a week now. Before that, I had an SL-5500. So far my impression is "why did I wait so long to upgrade?" I thought the SL-5500 was like a mini computer, the C3200 is so much more so.

Sorry in advance for long post. The bold headings are the parts that are most important. There are a few things I was hoping to get working on my C3200 that I haven't been able to yet. I have done many searches and just haven't got these fixed yet, so I was hoping maybe someone knew the answers or could better point me in the right direction. I'm still using the stock ROM. I've installed stuff, but haven't flashed anything yet.

First of all...thanks a ton to Meanie. I'm sure everyone says that. I would still be reading Japanese on my Zaurus if it weren't for those extensive customization pages. And also thanks to Cresho because he was very helpful back in my SL-5500 days and I know he does a lot of helping around here.

What works:
USB-Keyboard - usbkbd-en_2.4.20_arm.ipk (I need to reconfigure the xml mapping, though, because some keys weren't mapped properly)
USB-Mouse - inputhelper_1.0.1-1_arm.ipk
Zemufeex - zemufe_0.1.1-3ex_arm.ipk (so far, I tested SNES9X and ZNESTER, I also installed snes9x-sdljoy to work with my joypad, the buttons work but the directional controls do not, see below)
opie-embeddedkonsole (qkonsole crashes when the mouse is plugged in, so I used the terminal app from my SL-5500 in non-mag mode)
qpose - space trader is finally available on my Zaurus, yay
2GB Sandisk SD card - worked perfectly without any coaxing (didn't work on SL-5500)

What does not work:
USB HDD I bought a 120GB USB HDD, it is formatted as NTFS. I installed automounter_c3000_0.5.0_arm.ipk and ntfs-zaurus_2.4.20_arm.ipk ... I can get fdisk to show me that the drive exists and that it is NTFS, but it doesn't mount, and if I try to mount it manually (mount /dev/sda1 /mnt/usbstorage) then it tells me that it's an invalid argument.

WiFi I have a sandisk plus CF wifi 128MB card that doesn't work. I tried installing sandisk-plus_arm.ipk and it still wouldn't work. So I bought a Socket wifi card from eBay. If I can get that one to work, then I won't care that the sandisk one does not.

Joypad I also have a nice cheap retractable USB joypad which is a very nice small size. The Zaurus recognizes it and all of its buttons except turbo and clear (I don't care). I have verified this with jstest.

snes9x-sdljoy works nicely except for the directional controls. I can pause, unpause, open the menu, cancel, and okay just fine (all 6 snes controller buttons work), but cannot move at all.

I tried to use joy2key-z -config kbd1 and joy2key-z -config snes9x, and even tried to figure out how to use joy2key-z without arguments to configure itself to my joypad. When I did that, axis 0, 1, 2, 5, and 6 all did not respond, but axis 3 (up/down) and axis 4 (left/right) did respond. But even so, the buttons should have worked and I can't get any other apps to respond to any button pressing while joy2key is active. There's not a lot of documentation available, but I found one site in Japanese that seems to suggest that I need to install tetsu's special kernel.

Tetsu's kernel So on that note, I searched for tetsu's special kernel. I found the page at http://tetsu.homelinux.org/zaurus/kernel and downloaded zImage-v18h-3200.bin then followed a link above it to get updater.sh.3200. Because these pages are in translated Japanese ... I just want to make sure that these are the files I need before I do this. Meanie's page gives instructions, but he mentions an ipk to install after the kernel update. I can't find an ipk, so I'm assuming updater.sh needs to be run after the zImage is installed?

X/QT and Java The next step is getting X/QT and Blackdown Java 1.3 working. I did install Jeode and it works, except the text editor I wrote for my SL-5500 appears to need to be run in magnified mode. I haven't played around with Jeode's AWT on the C3200 yet, but I suspect it's going to be difficult to get the toolkit windows working correctly in landscape mode. I tried to install Blackdown, but got a lot of errors, ending up with one saying the device is full. I have 30MB left in the program area, so I was a bit surprised. Maybe I need to install it to the HDD instead? But non-GUI Java doesn't interest me much (Jeode would be just fine in that case), so I am going to try X/QT before I try Blackdown again. Any advice about which one? It seems like I should install X/QT Jumbo, but I wasn't sure.
Heather
Update on usb hdd:
I used fdisk to change it to fat32. Retyped what I see on fdisk:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 14593 117218241 b Win95 FAT32

mount /dev/sda1 /mnt/usbstorage causes the USB drive's light to blink but reports:
mount: Mounting /dev/sda1 on /mnt/usbstorage failed: Invalid argument
Drake01
QUOTE(Heather @ Aug 1 2007, 02:34 PM)
mount /dev/sda1 /mnt/usbstorage causes the USB drive's light to blink but reports:
mount: Mounting /dev/sda1 on /mnt/usbstorage failed: Invalid argument
*

I use pdaXii13 and I can't remember what the directory structure is like on Sharp or Cacko ROMs, so I'll ask what is probably a silly question: Does the /mnt/usbstorage directory exist on your Z?
Meanie
QUOTE(Drake01 @ Aug 2 2007, 09:45 AM)
QUOTE(Heather @ Aug 1 2007, 02:34 PM)
mount /dev/sda1 /mnt/usbstorage causes the USB drive's light to blink but reports:
mount: Mounting /dev/sda1 on /mnt/usbstorage failed: Invalid argument
*

I use pdaXii13 and I can't remember what the directory structure is like on Sharp or Cacko ROMs, so I'll ask what is probably a silly question: Does the /mnt/usbstorage directory exist on your Z?
*



/mnt/usbstorage does not exist unless you create it manually or let the automounter script create it for you.
since the usb hdd wont work unless you use it with external power, ie, via a powered hub, depending on which usb connector you plug it into on the hub, it may be /dev/sdb1, /dev/sdc1, etc... if you have other devices stuck in the hub as well...

I have the sandisk wifi as well and it wont work out of the box on Sharp ROM. It works out of the box in Cacko since it got updated hostap drivers. Had to steal those drivers from Cacko to make it work on Sharp ROM but that was a long time ago... It works out of the box on pdaXii13 smile.gif

the updater.3200 needs to be renamed to updater.sh
it will flash the kernel (zImage) for you. there should be some extra kernel modules that are packaged up in an ipk file on the same site where the kernel image is.
Heather
The directory usbstorage exists, and /dev/sda1 exists (fdisk /dev/sda shows it exists) ... so doesn't that mean they are both there? I have a Maxtor OneTouch III Mini which has a cable that has 2 USB connectors on it. The instructions say plug the red one in, and the black one is in case you need extra power, so I plug that one into my USB power adaptor. The Zaurus gives all indications that it recognizes the drive properly with fdisk, it just won't mount.

Or would a symptom of not having enough power show up as fdisk working but mount doesn't work?

I'm considering pdaXrom and Cacko but haven't decided to switch yet.

Edit: USB HDD problem solved: Fdisk didn't change partitions properly on the Zaurus (data showed up in Windows after I had supposedly deleted, created, and written the FAT32 partition in fdisk and even verified by removing the cable and plugging it back in again several times with reboots ... odd). So I reformatted as NTFS in Windows, and now the USB HDD works with the NTFS drivers Meanie provided. Yay!
speculatrix
QUOTE(Heather @ Aug 2 2007, 02:21 PM)
Edit: USB HDD problem solved: Fdisk didn't change partitions properly on the Zaurus (data showed up in Windows after I had supposedly deleted, created, and written  the FAT32 partition in fdisk and even verified by removing the cable and plugging it back in again several times with reboots ... odd). So I reformatted as NTFS in Windows, and now the USB HDD works with the NTFS drivers Meanie provided. Yay!
*


gosh, are you powering the 120G hard drive directly off the Zaurus, or using a powered USB hub? I didn't think the Z would be capable of that!
pelrun
QUOTE(Heather @ Aug 2 2007, 01:21 PM)
Fdisk didn't change partitions properly on the Zaurus (data showed up in Windows after I had supposedly deleted, created, and written  the FAT32 partition in fdisk and even verified by removing the cable and plugging it back in again several times with reboots ... odd).
*


Fdisk worked properly - it doesn't format partitions, it just manipulates the partition table. The partition type fdisk displays is only a hint to the OS - the partition itself can be formatted differently.

You would need to run mkfs to actually overwrite the data in a partition.
Heather
Thanks pelrun. Well, formatting on the PC fixed it and now I'll know for next time.

As far as powering the drive, I have an AC adapter for my iPod. It's just a small box with a USB port and a plug. I had been using it to charge my iPod and my Zaurus SL-5500 (I had to replace my power cable and I found a retractable USB sync/power cable for it).

There's no way the Zaurus can power my USB drive alone, but the drive came with a USB Y cable. The red connector goes into my USB hub and the black connector goes into the iPod's adapter. It doesn't take up much space and it works just fine, except so far it seems I have to disconnect it while the Zaurus is rebooting or else the mount command fails when I start back up again. That's not a problem to me.

So I guess the next step is installing the tetsu special kernel and hoping that fixes the joypad issue.

I really like the C3200. smile.gif
Heather
Okay, I tried to update to Tetsu's special kernel. I'm sure you don't have to restore to factory settings before you install it, but I did just in case.

I downloaded the zImage 18i 3200 bin file (not the stock image that's also on the site) and renamed it simply zImage.bin. I renamed updater.sh.3200 to updater.sh. I copied these 2 files plus the kernel ipk onto a blank SD card. I did a hard reset, held the OK button while turning on the Z, picked option 4, picked the SD card option, picked the left option (Y). The Sharp screen appeared (like on a reboot, except there was INIT text at the bottom), and then a message that ended in "Please restart" showed up in the upper left corner.

So, I did a hard reset again and booted it back up. Then installed the kernel ipk using the GUI installer. I switched SD cards and loaded the terminal package, copied my saved locale.conf file over (I prefer the quick and easy switch to English over the localization ipk), rebooted again.

Why doesn't the new kernel show up in System Info? It's still showing the Feb '06 Lineo kernel. I also tried "echo 1 $ > /proc/tspressure" to enable touchscreen pressure and the response was "cannot create /proc/tspressure: directory nonexistant". (Edit retried with /proc/zaurus/tspressure and got same result)

Am I doing something wrong or is there a way to verify that the kernel was successfully installed?
adf
I've seen a couple of issues that might be affecting this proceedure.
First, did the Z show a black screen wit text at the upper left saying something about updating te kernel, and maybe showing progress with a series of dots? I'm guessing it didn't, and that maybe you didnt manage to flash the kernel.

As a rule, I've had more success with CF than SD for this sort of thing, though it does work on the right sd card.
Also, was your card formatted FAT 16, not Fat 32?

If you happen to have a small cf card lying around, fdisk it (type 06, I think-but double check), then format it mkfs.vfat -F 16 /dev/whatever-the-card-is-(hdc, maybe?)/partition number (probably 1) and try flashing from that. Other wise, maybe check the formatting on your Sd card.
and depending on your updater it is either zImage or zImage.bin be sure the "I" is capitalized.
Heather
Should I be able to read the updater.sh as I would any shell script? I tried (not on the copy that's on the card but on an extra copy) and I don't know if I don't have the correct text format (UTF8, ISO, etc), but it looks like garbage text to me.

Thanks for the help with the CF card thing. I will try that.

No, I did not see any progress, it was just BOOM done. It took less than a minute to go from the Sharp splash screen to "please reset".
speculatrix
QUOTE(Heather @ Aug 13 2007, 11:43 PM)
Should I be able to read the updater.sh as I would any shell script? I tried (not on the
*


you've definitely got a problem, updater.sh is a shell script!

try reformatting the card completely before copying on the files - ensure it's not mounted before hand.

I found that my Z wouldn't reflash from CF with an SD card in it for some reason (was flashing Angstrom at the time).
Meanie
QUOTE(speculatrix @ Aug 14 2007, 08:57 AM)
QUOTE(Heather @ Aug 13 2007, 11:43 PM)
Should I be able to read the updater.sh as I would any shell script? I tried (not on the
*


you've definitely got a problem, updater.sh is a shell script!

try reformatting the card completely before copying on the files - ensure it's not mounted before hand.

I found that my Z wouldn't reflash from CF with an SD card in it for some reason (was flashing Angstrom at the time).
*




i beg to differ. updater.sh is no ordinary shell script. it is encoded in a format that the Sharp bootloader/flasher can understand. you would need to decode it in order to decipher its content.

also ensure you are using the right file name for flashing. Some distros use zImage whereas others use zImage.bin
can't remember which one uses which, but double check that you got the right file name or nothing will happen...
adf
QUOTE(Meanie @ Aug 13 2007, 05:18 PM)
QUOTE(speculatrix @ Aug 14 2007, 08:57 AM)
QUOTE(Heather @ Aug 13 2007, 11:43 PM)
Should I be able to read the updater.sh as I would any shell script? I tried (not on the
*


you've definitely got a problem, updater.sh is a shell script!

try reformatting the card completely before copying on the files - ensure it's not mounted before hand.

I found that my Z wouldn't reflash from CF with an SD card in it for some reason (was flashing Angstrom at the time).
*




i beg to differ. updater.sh is no ordinary shell script. it is encoded in a format that the Sharp bootloader/flasher can understand. you would need to decode it in order to decipher its content.

also ensure you are using the right file name for flashing. Some distros use zImage whereas others use zImage.bin
can't remember which one uses which, but double check that you got the right file name or nothing will happen...
*


..or if nothing happens, change the name biggrin.gif
speculatrix
QUOTE(Meanie @ Aug 14 2007, 02:18 AM)
QUOTE(speculatrix @ Aug 14 2007, 08:57 AM)

you've definitely got a problem, updater.sh is a shell script!

i beg to differ. updater.sh is no ordinary shell script. it is encoded in a format that the Sharp


oh, very sorry to have misled, thanks for the correction meanie, I must have been thinking of something else when I wrote that but my brain is blank at the moment.
Heather
I'm trying to flash Tetsu's kernel from Tetsu's website, which points at an updater.sh from Sharp's website.

Of course I can't read Japanese so I don't know what it's supposed to be named. According to the translation:
"It is noted that it is not zImage.bin. When changing to the setting to which the extension of the file is not displayed with Windows etc.There is a possibility of remaining even if bin is not displayed."

The original filename is zImage-v18i-c3200.bin

Oh there it is in the big text, it's supposed to be zImage without the bin. I'll try that right now.

I always flash it without any other cards in there.

EDIT: I guess I should change my sig now, because the System Info shows the kernel was built August 2007 and I think I have successfully flashed the kernel. Is it always going to show that extra stuff when my Z boots or was that a forced fsck from the new kernel?
adf
when you flash to tetsu's kernel, if you ad the modules, and tools (maybe it is automatic, now) you install console scroll---that is what rolls the sustem messages on boot.
Heather
I definitely prefer that over the blank screen that seems to take a long time.

Thanks for the help.

I'm really liking the Zaurus. It was a good investment. I think I'm going to try out Tetsu + Cacko lite (for wifi support, hopefully).

The USB 120GB HDD works with NTFS. The joypad works for SNES9X after I got a Logitech one instead of the cheapie one. I haven't got the NES+joypad thing working yet, but I haven't given up. GBA runs too slowly to be used, but well ... seems kind of stupid to be upset about that since I own a GBA and it's designed to be portable. X/QT Jumbo on cramfs worked flawlessly thanks to Meanie's efforts ... it's awesome that you really have to do 0 work and suddenly you have Gimp and Firefox and Java 1.3 and so much more all available to you without having to reflash anything or quit out of Qtopia.

I work an hour away from home, so the Z really is my portable laptop.
adf
welcome. btw, the X/gtk stuff, like firefox and gimp are faster on pdaxii13 than on pdaxqt
Capn_Fish
Unless I'm mistaken, Cacko comes with Tetsu's kernel already; there should be no need to flash it separately.
adf
QUOTE(Capn_Fish @ Aug 14 2007, 06:46 PM)
Unless I'm mistaken, Cacko comes with Tetsu's kernel already; there should be no need to flash it separately.
*

I think he just added eviljazz's sound patches..have a look at the "sound" thread, though.

Incidentally, the kernel (fastfpe if you don't mind trading some impresion in math calculations for speed, nwfpe if you want good, engineering prescision at the cost of a little speed) in the "what's with the sound" or something like that, thread has tetsu's patches and cacko and pdax--EvilJazz uses it on cacko, I think--maybe have a look there? (you get way better sound--though the new tesu should be about the same thing now)
matthis
Tetsuu has added the sound patch to his latest kernel (18i)
Heather
I know it's faster on pdaxii13, but I like my QT apps and I thought that distro didn't have QT. So X/QT jumbo was my best option for both worlds. I had thought about going to the super jumbo one, but it was stated as "running half as fast" so I thought X/QT jumbo was the simple solution.

Gimp is usable as slow as it is, and I'm an artist so I would be the first to declare it unacceptably slow. I think when I enable swap it'll be a little faster. It's amazing that the full blown Gimp can run on my little Zaurus, even without swap, and still be usable. Here's my first Gimp on the Zaurus picture: http://kaleyobsidia.deviantart.com/art/The-Fallen-61527085

I was hoping to see pressure sensitivity work, but that's not as necessary.
adf
pdaX has qt3.5
NOT the same as QTE, though.
Nice job on th drawing biggrin.gif
btw, if you are an artist, and not an engineer you would likely see a definite improvement in speed if you use a "fastfpe" kernel rather than a standard nwfpe one
Heather
There are some programs that I have carried over from SL-5500 Sharp distro that I do not want to be without. Do you think they would still work under pdaxii13? If so then I might consider changing.

What's the fastfpe kernel (other than what it stands for, I think I can figure that it means floating point emulation) and how would I get it?
adf
I doubt any QTE app from the 5500 will run on pdax...otoh, they might possibly be recompiled (not real likely) or there might be gtk or QT equivalents. There is a fastfpe kernel available through the "whats with the sound quality" thread. It is supposedly working fine with cacko; almost fine with sharprom. (there is an explanation towards the end of the thread)

kernels
Heather
Whatever benefit can be gained by running pdax isn't worth it to me if I can't run my 5500 apps on it.

I think I have the fastfpe on the Tetsu kernel 18i? The boot up text shows "fast floating point emulation 0.94M by Peter Teichmann" ... Seems a likely candidate to me. Also, Gimp's response time after each pen stroke has improved so much that now there's no waiting needed. I run out of memory after the second flood fill on a 1024x1024 image, but that's not a big deal and I haven't enabled swap yet so I imagine that will get better.
Heather
Well, I have gotten myself confused now. I was hoping to install the Tetsu special kernel, which apparently has fastfpe, tspressure (which I have not been able to get working ... are you supposed to restart something after you echo 1 > /proc/zaurus/tspressure ? rebooting sends the value back to 0). On Meanie's site it says with the Sharp ROM, Tetsu kernel, and Cacko lite packages, you can have an almost-ish Cacko distro. But I don't know what packages to install to give me better networking options. It seems I have purchased two WiFi cards that can't work on stock ROM (Socket low power and SanDisk ConnectPlus).

So, I would like to try to install Cacko 1.23 except the downloads area of http://my-zaurus.narod.ru/cacko.html gives me 404 errors. I went to the ZUG downloads area as the page directs, but it gave me PHP errors when I clicked on the Cacko link.

I went to the kernel page adf recommends, and I looked at the documentation, and it said the kernel modules are "not necessarily required for Cacko 1.23, which is confusing because I thought you could flash a new distro, or flash a new kernel. You can do both? A site that explains how to get hostap (which I've been told comes on Cacko by default), says you have to compile it into the kernel ... well ... I'm certainly not competent enough at this point to try that stunt. So if you have Cacko, wouldn't flashing the kernel lose all that great extra device compatibility?

And if it's not part of the kernel, is there a place that provides that great extra compatibility as lite modules or kernel modules? Or would flashing one of the kernels on evilJazz's download area that adf linked to make my WiFi cards work? I looked at the changelog file and it seems like the fastfpe-cached kernel for the C3200 will give me hostap, device support, tspressure, and all the goodies I could want in the kernel. So I wouldn't need to install Cacko-full (since I'd be doing it only to make 2 devices work properly and for no other reason) if I update to this kernel?
speculatrix
you can download Cacko from my website - see sig.

hostap is reasonably well documented across many posts on this forum - just edit the wlan-ng.opts files (search forum) to add WPA=y then fix up /etc/wpa_supplicant.conf

can't help you with ts pressure, I never got it to work with petite-peinture but I didn't know about the /proc/zaurus/tspressure file, so no surprise; I'm now on Angstrom BTW.
walts
QUOTE(speculatrix @ Aug 21 2007, 12:51 PM)
you can download Cacko from my website - see sig.

hostap is reasonably well documented across many posts on this forum - just edit the wlan-ng.opts files (search forum) to add WPA=y then fix up /etc/wpa_supplicant.conf

can't help you with ts pressure, I never got it to work with petite-peinture but I didn't know about the /proc/zaurus/tspressure file, so no surprise; I'm now on Angstrom BTW.
*



I have been wrestling with WI-FI (using WPA/PSK) on the c1000 and now on the c3200 for weeks. I can sometimes get it to work for a little while and then it quits.
I've had the most success with pdaXii13. I'm using an AmbiCom WL1100C which uses the prism3 chipset and hostap drivers, and already is properly configured for WPA, but the simple approach you outline never works for me. I have to first tell all the config files about the card, otherwise it thinks it is a MA701, which used the orinoco drivers. I don't know how to tell what version of hostap is installed with the ROM flash, so I've taken to installing hostap 0.4.7-3 straight away before doing anyhting else.

I'm always eager to hear about any othe users' successes, as this has become my one "show-stopper" frustration with the 3200.

Once I think I understand what I'm doing, I will glady write up something for a wiki.

Walt
Heather
It probably doesn't help that I don't have an "easy" wifi connection available and I am not very familiar with wifi in general (Linux or Windows). I don't have a laptop with wifi and there are only rumored local free wifi connections. My home wifi uses an ssid, wep, and probably PPPoE authentication, so I don't know how to tell whether the problem is the setup or the card. I can get the Z to recognize both my cards and to provide me with the little connection icon in the tray, but it always fails to connect. It takes longer to fail when I try to use PPPoE and fails within 30 seconds if I take that off.

Maybe it'll help when my sister gets her laptop and I can get more familiar with how wifi works. You can do all the reading up on it that there is out there, but it doesn't help much unless you have the hardware to work with.

Thanks for the Cacko link, speculatrix. I'm guessing I want to get and install first cacko-1.23-kernel-2.4.20.tar.gz then SL-C3100-Qtopia-1.23-1029311005.zip ... ?
speculatrix
QUOTE(Heather @ Aug 21 2007, 05:17 PM)
Thanks for the Cacko link, speculatrix. I'm guessing I want to get and install first cacko-1.23-kernel-2.4.20.tar.gz then SL-C3100-Qtopia-1.23-1029311005.zip ... ?
*


no, the kernel is the kernel source in case you want to compile your own modules; it's the other one you want - unzip it and you'll get the usual files which you put onto an SD or CF card (freshly formatted fat16) before doing the power/reset + OK button stuff.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.