Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - orthogonal

Pages: [1] 2 3
1
Accessories / How to mark a bad sector on the SD card
« on: August 10, 2004, 02:00:01 am »
I have at least one bad sector on my vfat formatted SD card. fsck.vfat finds it but fails to fix it.

What do I need to do to mark the sector bad so it's not used?


(I primarily use the SD card for MP3s and larger (0.05MB to 0.5MB) document files (books), and am willing to use whatever filesystem will maximize space.; if it's easier to make it not vfat, that's a possibility.

While I don't want to make the entire card a cramfs, I'd accept making part a cramfs if it saved a significant amount of space (which seems unlikely, as I'm dealing with already compressed data).)

The SD card is a 512 MB SanDisk

2
General Discussion / SD Card applet/icon
« on: August 10, 2004, 01:53:05 am »
Ok, I fixed part of the problem.

The SD applet wasn't showing up because /etc/mtab was missing. I restored this by logging in as root and making mtab a symlink to /proc/mounts by doing this:
# ln -s /proc/mounts /etc/mtab


This also allows the "storage" tab on sysinfo to show up correctly.

However, /usr/mnt.rom/card still shows at NotAvailable when I ls it.

I also reflashed the ROM to the Sharp version. The special rom does allow reclocking the processor, but I've never done it. Other than this (which may or may not be related to the special kernel, I had no noticeable problems).

The SD card does have an error as well; at least one sector is unreadable. I have not yet been able to find a way to mark that sector so it's not used; the bad sector makes fsck.vfat fail.

3
General Discussion / SD Card applet/icon
« on: August 09, 2004, 12:01:19 pm »
It's more than just the applet: the sysinfo application shows no "storage" information, and the backup application can't read the SD card to verify sufficient space exists for backup.

So is something screwed up in /proc, or what?

4
General Discussion / SD Card applet/icon
« on: August 09, 2004, 05:42:51 am »
The SD icon/applet is no longer appearing when the SD card is mounted.

I can still access the card at /mnt/card, but the icon just doesn't show up.

I've got a 5600 with one of the special kernels, the version given is 2.4.18-rmk7-pxa3-embedix-021129.

The SD icon had shown up until recently; the problem may or may not be related to a cross-lining problem on the SD card's filesystem; I had to re-mkfs, using mkfs-vfat (vfat, which is what the filesystem had been before), but the icon had disappeared before I remade the filesystem.

Thanks.

5
Back again, same issue.

For a while, jdv\'s suggestion of
ifconfig eth0 down

worked fine, but using that command now causes the zaurus to hang -- it simply stops responding to any input and never updates the screen.

Also, attemptingm to disconnect via the wifi applet always gets me the \"Network device is busy\" messagebox.

So the only way to down the network is to remove the wifi card and reboot. And somethimes qpe will hang on its start-up screen, apparently looking for the missing wifi card.

I don\'t understand why ifconfig eth0 down hangs, the only thing I can think of mis that using kismet may have done something, but I\'ve no idea how to fix this.

also, how can I get qpe not to ttry to start teh wifi connection on boot? (some .rc script?)

Any help is appreciated.

Thanks

6
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 06, 2004, 04:35:24 am »
Quote
Thank you orthogonal for your suggestions.  I even reinstalled xmms and then the icon worked a couple of times, I the rebooted and no more task icon.  I don\'t get it.

What\'s the point of the fonts being symlinked to /usr/local/qt-embedded/lib/fonts like it says in the tutorial?  I just removed it for kicks and xmms still starts up and works (still no icon though).


As to the fonts, the xmms config file allows specifying the playlist and the \"currently playing\" font. Presumably it expects to find fonts in the directory cmisip indicated.

As to the icon, I don\'t really have an answer, and intended to revert to xmms .0005. Both versions are very sensitive to the existence of, and file permissions of, files and directories in /tmp, notably qt-embedded and the xmms-username.0 semaphore file.

Also, xmms will attempt to allocate way too much memory (50MB or something) if it can\'t read a user-specific config file, in /home/username/.xmms.

Frankly, and as a programer myself, I don\'t wish to be ungrateful, but xmms-embedded seems not to work well with Qtopia -- although, admittedly, the xmms-embedded web site does make this clear.

7
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 05, 2004, 10:05:48 pm »
Quote
xmms run the way stated in the tutorial actually reads the xmms.m3u from the /home/root/.xmms directory.  


Sorry, I\'d symlinked both /home/root/.xmms and /home/zaurus/.xmms to the default /.xmms in /opt.

8
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 05, 2004, 10:03:43 pm »
xamindar,

I had the same problem: the gui appeared but the icon did not.  I\'m not sure why I had the problem, but I have a few suggestions:

1) make sure that xmms is not running by doing a ps -e | grep xmms, and killing the instance with the lowest pid if it exists. Note that running a single instance of xmms will cause six separate processes to be created.

2) xmms creates a \"lock file\" semaphore in /tmp, one for each user\'s instance of xmms. if it sees the lock file, xmms won\'t run (possibly only if allow multiple instances if the config file is false). Delete the semaphore with:
rm /tmp/xmms*

3) or you can do what I did first, and uninstall and re-install xmms

the messages you highlighted appear every time xmms is run, even when run successfully, and so I think have no bearing on the problem.

Finally, while xmms .00005 is somewhat buggy -- my main complaint is that it will hang itself of the system if the network goes down -- .00007 has no apparent additional features; I\'m strongly considering going back to .00005. If there are good reasons to stick with .00007 despite it being a pain, please let me know.

9
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 05, 2004, 03:28:09 pm »
when I was using xmms 0.5 (I guess it\'s actually called 0.00005), I assigned xmms to the \"email\" button, so that pressing the email button started xmms if it wasn\'t already started, and switched to it if it was. Following the directions in cmisip\'s tutorial, I\'ve gotten xmms 0.00007 running, but with the email button assigned to xmms, pressing the button either does nothing or runs xmms without the gui window. The icon will start xmms, but it won\'t switch to an already running instance.

Any idea how to fix this, and parenthetically, why does everything about the zaurus have to be some incredibly difficult?

10
Is it possible to compile the qtopia 3.x libs and use those as a drop in replacemnt?

11
Quote
So, first, what kind of filesystem is this directory on when it is failing?
How long is the pathname (up to the composer name)?  
What are its permissions (and is it the right userid)?  
cp probably says something other than \"I refuse to copy this directory\" - what error message does it give you?  
What is the exact line you are using to try to copy the directory?
can you cd to inside the directory and see and play the individual files?

It may not be a unicode/high ascii problem.


In ssh, the a with unlaut is turned into a comma:

# cp -R /mnt/smb/m/MP3s/Classical/Baroque/Georg Friedrich H204ndel/ .
cp: cannot create directory `./Georg Friedrich H,ndel\': Invalid argument

12
On my PC, I have a directory tree of mp3 files.

Classical MP3s are in directories named for the composer.

Oddly enough, not all composers are American: one is Georg Friedrich Händel.

I samba mount those directories.

When I attempt to copy the Georg Friedrich Händel directory, bash correctly deals with the umlaut in Händel, rendering it as
  Georg Friedrich H204ndel/
on the command line, and as
  Georg Friedrich H,ndel
in ssh, or with the \"un-drawable character\" box in the Qtopia Shell app.

BUT, cp refuses to copy the directory name, and \"Advanced\" File Manager and XMMS simply don\'t show the directory at all -- it\'s as if it doesn\'t exist.

Perhaps, as an American, I should be gratified at the American-centric world-view this suggests, but in 2004 I\'d have expected some token support for high-ascii and i18n character sets.

This is just a terrible, terrible, clueless oversight: hide the directory if it contains unprintable characters?

Is this a linux problem, a Qtopia problem, or a clueless programmer problem?

Is there any work-around?

Thanks.

13
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 04, 2004, 08:08:11 pm »
How do I set a start up directory for xmms? /home/zaurus isn\'t a great place to syartup (mostly because so many programs throw crap into /home/zaurus for lack of any batter idea)

If a .xmms/xmms.m3u exists, xmms will load it on startup and write the current playlsit to it on exit. It will overwrite even if the file is -w; how can I make this file ro -- I\'d like to load teh same playlist regardless of what playist existed at last exit.

Thnaks.

14
Software / Why doesn\'t the xmms GUI work on Sharp ROM?
« on: May 04, 2004, 06:29:33 pm »
Can someone explain why it\'s necessary to run xmms as root?

15
Software / SubApplet 1.0.8
« on: May 04, 2004, 05:25:09 pm »
One problem I had with subapplet (otherwise an excelelnt applet) is that the \"chevron\" icons are too tall -- they increase the heeight of the taskbar a few pixels beyond the size of the qtopa icon, at least on teh 5600 --, and is wider than I like, taking space from other applets or running applications.

I fixed this simply by scaling the two icons subapplet uses.

Pages: [1] 2 3