Author Topic: What's With The Sound Quality?  (Read 61567 times)

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #60 on: July 31, 2007, 09:20:48 am »
Hmm. Things appear to be going somewhat pear-shaped with my Z since I flashed the new kernel.

When I try listening to more than a few minutes of music in xmms my Z gets very confused. Everything slows down as if the Z is  under heavy load; the audio breaks up, and the Z starts flashing the IDE access light... even though I'm not using anything from my microdrive, and even when all the partitions on it are unmounted. Additionally I can see the battery level in mb-applet-powerctrl start to plummet.

At that point, I have to force a reboot by pulling the battery; a graceful shutdown hangs when it tries to shut down the CF devices.

I was using the 3100 pdaXrom fastfpe kernel; I'll try the stock beta3 kernel and the nwfpe one and see if I can replicate it there.

Edit: ok, I forgot I've now got a swap partition, which explains the CF behaviour. But that still leaves something unidentified leaking memory until even basic operations trigger page faults. Can't seem to get it to happen again with the nwfpe kernel; will keep investigating.
« Last Edit: July 31, 2007, 10:53:01 am by pelrun »
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
What's With The Sound Quality?
« Reply #61 on: August 02, 2007, 04:47:44 am »
Quote
Hmm. Things appear to be going somewhat pear-shaped with my Z since I flashed the new kernel.

When I try listening to more than a few minutes of music in xmms my Z gets very confused. Everything slows down as if the Z is  under heavy load; the audio breaks up, and the Z starts flashing the IDE access light... even though I'm not using anything from my microdrive, and even when all the partitions on it are unmounted. Additionally I can see the battery level in mb-applet-powerctrl start to plummet.

At that point, I have to force a reboot by pulling the battery; a graceful shutdown hangs when it tries to shut down the CF devices.

I was using the 3100 pdaXrom fastfpe kernel; I'll try the stock beta3 kernel and the nwfpe one and see if I can replicate it there.

Edit: ok, I forgot I've now got a swap partition, which explains the CF behaviour. But that still leaves something unidentified leaking memory until even basic operations trigger page faults. Can't seem to get it to happen again with the nwfpe kernel; will keep investigating.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165579\"][{POST_SNAPBACK}][/a][/div]

i've been using the nwfpe kernel and not had any problems so far... still testing further but the sound quality has improved dramatically!
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #62 on: August 02, 2007, 05:18:15 am »
Re pelrun's issue-- I've been using the fastfpe kernel for a couple of days -- no noticeable problem.
Though I suppose if the nwfpe kernel is more precise, maybe I should switch anyway, as there should be no performance difference? Is there any functional difference between nwfpe and fastfpe in pdax (given the lack of hardfloat requirements anyway)?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #63 on: August 02, 2007, 06:47:42 am »
Quote
Re pelrun's issue-- I've been using the fastfpe kernel for a couple of days -- no noticeable problem.
Okay, thanks for the feedback. Back when I was testing both kernels on pdaXii13 I experienced no problems either. I tested each one for several hours.
I haven't had a chance to return to pdaXii13 yet. Will do so on Friday when I'm compiling and testing Quasar on it. I've already changed it to compile against Qt3 and it is working on OS X in X11. So, not much left to do to finally get it working on pdaXrom/pdaXii13...

Quote
Though I suppose if the nwfpe kernel is more precise, maybe I should switch anyway, as there should be no performance difference? Is there any functional difference between nwfpe and fastfpe in pdax (given the lack of hardfloat requirements anyway)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165652\"][{POST_SNAPBACK}][/a][/div]
If you're running plain pdaXrom there won't be any performance benefit at all. Things change if you plan to use a chrooted Debian inside pdaXrom. The performance increase is noticeable for pretty much all Debian binaries that do FP ops.
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

MrStaypuft

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
What's With The Sound Quality?
« Reply #64 on: August 07, 2007, 12:08:27 am »
Firstly your media player looks fantastic - I'd love to have it on my 3200.

I run the Sharp ROM currently (I tried pdaX but it wasn't for me just yet)

So to get these sound improvements I need to install:

- An Updated Kernel from here
http://www.katastrophos.net/zaurus/kernels...-C3200-terrier/

- the .ipk from here
http://www.katastrophos.net/zaurus/sources...r/bin_sharprom/

In terms of which Kernel to use I don't need VNC so I'll use cachedfb, I'm prepared to try fastfpe as I don't do any scientific calculations or whatever.

So did I get it right?  Sorry to be a newb but I can't be bothered stuffing up my Z for this   (and I do have a backup of my current kernel so I can revert)

Thanks in advance for the help!

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #65 on: August 07, 2007, 09:13:15 am »
Yep, that's right.
Just put the the file zImage and updater.sh onto a FAT16 formatted SD or CF card and follow the usual update instructions.
http://www.katastrophos.net/zaurus/kernels...lash-kernel.txt
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
What's With The Sound Quality?
« Reply #66 on: August 09, 2007, 06:19:25 am »
Could someone ask for this to be included in the tetsu kernel?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #67 on: August 09, 2007, 06:41:47 am »
Quote
Could someone ask for this to be included in the tetsu kernel?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165980\"][{POST_SNAPBACK}][/a][/div]
the kernel linked on this thread should perform as well as the tetsu kernel, as it has the same patches via cacko (I think)
t
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

pyrotek

  • Newbie
  • *
  • Posts: 11
    • View Profile
What's With The Sound Quality?
« Reply #68 on: August 09, 2007, 08:06:02 am »
eviLjazz :-
This has to be the best thing since.. I got my Zaurus!
Thank you for you work.  

Running Cacko 1.2.3 and the sharp ported music player.

Some feed back I use the Sharp CEH-2 remote I've noticed the following:-

If I have the mixer open and set to headphones the remote won't work in my music player no matter where the focus or even if the mixer is open.
Although if I set the mixer to auto detect everything works 100% remote changes songs stops the player ect..
Not sure if that’s what it should to do that but I though you should know.

Two other things :-
1) I needed to reboot with the CEH-2 in for it to work ( needs more testing to confirm and its not just me been dumb )
2) My Planex CW-CF11x stoped working. I can’t get it to pick up won't load the firmware, this did work fine before I upgraded with no modifications can’t even scan for wifi.

Don't mean to sound picky! I really need work out how you are compiling the kernels for this. Do it my self! Help out a bit!  

Thanks for you effort!

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #69 on: August 09, 2007, 05:24:44 pm »
Quote
Could someone ask for this to be included in the tetsu kernel?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165980\"][{POST_SNAPBACK}][/a][/div]
I've just mailed Tetsu.
My kernel includes all of his patches + Cacko + pdaXrom patches + some other minor changes.
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #70 on: August 09, 2007, 05:45:46 pm »
Quote
Some feed back I use the Sharp CEH-2 remote I've noticed the following:-
If I have the mixer open and set to headphones the remote won't work in my music player no matter where the focus or even if the mixer is open.
Although if I set the mixer to auto detect everything works 100% remote changes songs stops the player ect..
Not sure if that’s what it should to do that but I though you should know.
Yeah, I think I know what the problem is. Thanks for reporting! I'll see if I can fix it over the weekend. Finishing Quasar has higher priority though. At least I've got the remocon so I can do the debugging here.

Quote
2) My Planex CW-CF11x stoped working. I can’t get it to pick up won't load the firmware, this did work fine before I upgraded with no modifications can’t even scan for wifi.
Hrmm, okay. Do you know which driver was used with the old kernel? hostap?

Quote
Don't mean to sound picky! I really need work out how you are compiling the kernels for this. Do it my self! Help out a bit! 
Sure, no problem!
For a start grab the current sources here:
http://www.katastrophos.net/zaurus/kernels....20-v55.tar.bz2
You can also just grab a snapshot from my SVN repository: https://svn.katastrophos.net/zaurus-kernel-2.4.20/trunk

The README file included in the archive has instructions on how to build the kernel yourself. This should be sufficient if you roughly know how to build a kernel for your desktop system. It also shows how to setup the cross compiler. PM me if you need help.
« Last Edit: August 09, 2007, 05:47:31 pm by eviLjazz »
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

pyrotek

  • Newbie
  • *
  • Posts: 11
    • View Profile
What's With The Sound Quality?
« Reply #71 on: August 09, 2007, 08:30:57 pm »
Quote
eviLjazz,Aug 10 2007, 07:45 AM
Yeah, I think I know what the problem is. Thanks for reporting! I'll see if I can fix it over the weekend. Finishing Quasar has higher priority though. At least I've got the remocon so I can do the debugging here.

Not to worried still works and you've done a lot so far!

Quote
eviLjazz,Aug 10 2007, 07:45 AM
Hrmm, okay. Do you know which driver was used with the old kernel? hostap?
hostAP stock cacko install no mods.

Thanks for the links!
I'll have a look when I get home set me up a cross compile environment  

Thanks!

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
What's With The Sound Quality?
« Reply #72 on: August 10, 2007, 03:46:17 am »
To EvilJazz: thank you very for your answer about tetsu kernel + optimizations.Now that I know that Ill flash your kernel!

best regards

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
What's With The Sound Quality?
« Reply #73 on: August 10, 2007, 11:52:52 pm »
some feedback on the new kernel.

I tried it on both pdaXrom (pdaXii13) on a C3000 and Sharp ROM on a C3100.

The sound quality improved on both systems, however, there are a few problems with the Sharp kernel.
SCSI disk support is missing in the Sharp kernel and thus external USB disk cannot be used anymore with this new kernel. Try a depmod -a and you will find missing symbols in usb-storage.o
On pdaXrom, this does not happen. The USB storage devices are correctly loaded with SCSI emulation support.

Also, V4L support is missing on the Sharp ROM as well. On pdaXrom, when pluggin in a USB webcam, a webcam module and videodev.o is loaded and /dev/video0 is associated to the device and the webcam works. On Sharp ROM, even though the modules are loaded, /dev/video0 is not associated with the corresponding module for the camera.

And lastly, hostap support also seems to be missing in the kernel for Sharp ROM. The hostap.o module is there but when running depmod on it, it also complains about missing symbols. On pdaXrom, the hostap module loads fine.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #74 on: August 11, 2007, 11:51:47 am »
Thanks for the feedback and the comments!

Quote
SCSI disk support is missing in the Sharp kernel and thus external USB disk cannot be used anymore with this new kernel. Try a depmod -a and you will find missing symbols in usb-storage.o
On pdaXrom, this does not happen. The USB storage devices are correctly loaded with SCSI emulation support.
Okay, the kernel is geared towards Cacko. The default config for the Cacko kernel has the SCSI disk support set as module (scsi_mod), which is different from the original Sharp kernel config. But it should just work okay, if the modules I provided are all installed and dependencies are created. The system should figure out what other modules are necessary.

Quote
Also, V4L support is missing on the Sharp ROM as well. On pdaXrom, when pluggin in a USB webcam, a webcam module and videodev.o is loaded and /dev/video0 is associated to the device and the webcam works. On Sharp ROM, even though the modules are loaded, /dev/video0 is not associated with the corresponding module for the camera.
Can you elaborate on what you mean by "is not associated"? Do the device nodes /dev/video and /dev/video0 exist in Sharp ROM? They do not in Cacko, you have to manually create them: mknod /dev/video c 81 0, same goes for /dev/video0
The problem is, I can't debug the problem since I can't find the USB cable for my cheapo USB cam (d'oh!). If you manually created the device node, does it work?

Quote
And lastly, hostap support also seems to be missing in the kernel for Sharp ROM. The hostap.o module is there but when running depmod on it, it also complains about missing symbols. On pdaXrom, the hostap module loads fine.
Okay, just to make sure, did you use the modules from http://www.katastrophos.net/zaurus/kernels...-modules.tar.gz and did you install them cleanly?
Cacko will work without installing those modules, the original Sharp ROM most probably won't. I should add a note about that to the README.

To verify everything, I just installed all modules again to an empty /lib/modules/2.4.20 directory, copied over the sharp_mmcsd_m.o and the aloha modules to /lib/modules/2.4.20/kernel/drivers/block and depmoded all modules.
HostAP works okay after a reboot, no mention of unresolved symbols during the boot process.
Could you PM me the list of missing symbols that depmod spits out?
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources