Author Topic: Sound On Titchylinux  (Read 14192 times)

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« on: September 25, 2007, 01:13:35 pm »
 I thought we needed to have  a thread on sound and sound apps for TitchyLinux.  

The soundhack that ZDevil mentions is contained in the zaurus-hardware-support.deb that is included in the installation file. I still haven't heard so much as a beep from the Z.

The 'titchy'package includes gmplayer, (Is this a front-end for mplayer?), and it runs but I couldn't persuade it to load some mp3 files I loaded onto the SD card.

ZDevil suggested installing alsa and aumix. alsa doesn't appear to alter the no sound situation for me.

aumix appears to run and to alter settings. Still no sound.  

I did use the suggestions from Neil in the N&R site comment section. No luck.

I installed mplayer myself, it runs from the command line. No success with sound.

I'm going to remove mplayer, alsa ans aumix and gmplayer.

I'll install xmms and see what happens.

I hope some successful experimentation is happening out there!
« Last Edit: September 25, 2007, 06:36:17 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« Reply #1 on: October 12, 2007, 03:31:33 pm »
 I know that some people (ZDevil), have had some success with sound under TitchyLinux. I'm not one of them. I'm going to spend a little bit of time trying to use the soundhack mentioned in Neil's tips and hope I can make some progress. ZDevil said he installed alsa and various tools, I'll experiment a bit. I didpersuade mplayer to install and got it to show, extremely slowly, frames from a video. There was no sound though.

Are we looking at trying to compile bvdd and mplayer with akty's patches/fixes for a definite multimedia capability under Titchy?

Please respond with any working sound hacks. I'll hope to get back soon with some positive results.
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sound On Titchylinux
« Reply #2 on: October 12, 2007, 05:33:57 pm »
How about udev?

Don't get me wrong here. Multimedia uses like playing music and videos are still crippled with the current Angstrom kernel and Debian.
But i seldom use my Z for these purposes so i simply tend not to think of them...  

But sound does come out well in many games. I just beated powermanga a few days ago on my 3200 running Debian with sound. My homemade Sangband build also plays background tunes very well.
« Last Edit: October 12, 2007, 05:37:42 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« Reply #3 on: October 12, 2007, 05:41:42 pm »
Quote from: ZDevil
How about udev?

Don't get me wrong here. Multimedia uses like playing music and videos are still crippled with the current Angstrom kernel and Debian.

But sound does come out well in many games. I just beated powermanga a few days ago on my 3200 running Debian with sound. My homemade Sangband build also plays background tunes very well.
Just had some small success using alsa-base, the soundhack and xmms. Just installing aumix and will try your settings.

udev? As Manuel, in Fawlty towers, would say.. Que?

But I'll check my impression that it is present!  

I suspect someone is going to have to do some compiling and patching for reasonable multimedia. FBreader solves my reading-addiction quite well though!
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sound On Titchylinux
« Reply #4 on: October 12, 2007, 05:47:49 pm »
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.
« Last Edit: October 12, 2007, 05:48:15 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« Reply #5 on: October 12, 2007, 06:43:28 pm »
Quote from: ZDevil
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.

  udev is present...

cheers
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sound On Titchylinux
« Reply #6 on: October 13, 2007, 09:39:24 am »
One thing many apps complain about is missing /dev/sequencer .  Seems to be kernel related.  Any hint?
Code: [Select]
open /dev/sequencer: No such device
« Last Edit: October 13, 2007, 09:45:18 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Sound On Titchylinux
« Reply #7 on: October 13, 2007, 01:46:29 pm »
Quote from: ZDevil
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.
you didn't try the Z with the sound fixes on 2.4.20, though, did you?  it is a big improvement.
**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

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sound On Titchylinux
« Reply #8 on: October 13, 2007, 02:14:23 pm »
Quote from: adf
Quote from: ZDevil
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.
you didn't try the Z with the sound fixes on 2.4.20, though, did you?  it is a big improvement.
Oh, what is that all about?  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« Reply #9 on: October 13, 2007, 05:20:45 pm »
Quote from: ZDevil
Quote from: adf
Quote from: ZDevil
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.
you didn't try the Z with the sound fixes on 2.4.20, though, did you?  it is a big improvement.
Oh, what is that all about?  
 I've managed to install 2.6.22 and the appropriate modules from the file attached in the 2.6.22 thread. I'm now getting intermittent splashes of quit loud music. Less than .5 of a second I'd say. Any suggestions.   I should say this is attempting to use xmms.  

I suppose I should try mplayer and see what messages that gives me? I suppose I ought to try running xmms from the terminal to see what error messages come out there.?  

I'm intrigued by adf's cryptic comment though? Which modules?... where?

Cheers

If this lull in the spam continues I might even get time to check out Titchy on the 6000? No I don't think so, I don't think it would even be a sensible use of time to try and get it running on my c860.     There's too much to do with the 3200 version!  Gutsy Gibbon comes out next week also....
« Last Edit: October 13, 2007, 05:23:53 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Sound On Titchylinux
« Reply #10 on: October 13, 2007, 05:44:02 pm »
Quote from: tux
Quote from: ZDevil
Quote from: adf
Quote from: ZDevil
Well, of course it would be great if there is a solution to the sound issue.
But I simply don't use my Z for music. My SE w800i phone (and many more models out there) simply beats the Z hands down in music playback quality.
And perhaps my eyes are aging I never enjoy watching movies on such a tiny screen. Perhaps it's only me.
you didn't try the Z with the sound fixes on 2.4.20, though, did you?  it is a big improvement.
Oh, what is that all about?  
 I've managed to install 2.6.22 and the appropriate modules from the file attached in the 2.6.22 thread. I'm now getting intermittent splashes of quit loud music. Less than .5 of a second I'd say. Any suggestions.   I should say this is attempting to use xmms.  

I suppose I should try mplayer and see what messages that gives me? I suppose I ought to try running xmms from the terminal to see what error messages come out there.?  

I'm intrigued by adf's cryptic comment though? Which modules?... where?

Cheers

If this lull in the spam continues I might even get time to check out Titchy on the 6000? No I don't think so, I don't think it would even be a sensible use of time to try and get it running on my c860.     There's too much to do with the 3200 version!  Gutsy Gibbon comes out next week also....
surely you read the "what's with the sound" thread and looked at evil jazz's posts?
the thread is [a href=\'index.php?showtopic=0\']here[/a]

the basic idea is covered by these snippets:


apparently there is no music player with an acceptable working equ AFAIK.
Which is kind of strange 'cos it seems that our Z's sound chips(wolfson WM8750) have basic equ capabilities which can be seen on this link:

http://staging.wolfsonmicro.com/products/WM8750/

I also remember reading somewhere that our Z's have the same DAC as ipod's do, can anyone confirm/negate that?


in 2.4, we have a mixer with 3d, etc.  it is really nice.
**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

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Sound On Titchylinux
« Reply #11 on: October 13, 2007, 06:20:25 pm »
adf said:

surely you read the "what's with the sound" thread and looked at evil jazz's posts?
the thread is [a href=\'index.php?showtopic=0\']here[/a]

the basic idea is covered by these snippets:


apparently there is no music player with an acceptable working equ AFAIK.
Which is kind of strange 'cos it seems that our Z's sound chips(wolfson WM8750) have basic equ capabilities which can be seen on this link:

http://staging.wolfsonmicro.com/products/WM8750/

I also remember reading somewhere that our Z's have the same DAC as ipod's do, can anyone confirm/negate that?


in 2.4, we have a mixer with 3d, etc.  it is really nice.
[/i]

  About 5 minutes after posting actually! Sods law!  

Thanks for the reply and for the other links. They look interesting. I'm just installing mplayer. If it gives me any joy I'll remove it and try compiling it. Or maybe even the vlc.  Why? Basically as exercises in compiling. Then, I suppose I'd better start looking at the possibility of patching against the 2.6 kernels?  I bet someone beats me to the punch there!

Have you got anywhere with Titchy yet? The dual boot method looks like it would be a possibility for you? But i suppopse you'd have more time and effort invested in the working setup you have? I fully intend to shove a SanDisk 16 GB card in, time permitting.

Cheers, thanks again!
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Sound On Titchylinux
« Reply #12 on: October 13, 2007, 11:56:02 pm »
I saw you were reading the sound threads when I was getting the links ;P

I'm sticking with pdaxii13 for now. All my hardware works (no BT GPRS probs), sound and video are terrific.
I'd like to use debian-- having the debian experience on my Z would be awesome.  But, as I read the threads, it sounds like titchy isn't quite stable and working, though it is the coolest thing to come around in while. If I crash my pdaxii system I'll give the alternate means of using titchy a whirl--it would be good to know if this card worked (though if sd is working it seems likelier, and I could always install to sd and have 16 G for data)

Anyway, for now I'm watching the quick development and tweaking of titchy, and using pdaxii13.
**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

raduga

  • Full Member
  • ***
  • Posts: 129
    • View Profile
    • http://
Sound On Titchylinux
« Reply #13 on: October 14, 2007, 04:09:22 am »
I'm not really sure what you guys are trying to do....
but pdaXrom with 2.6 era kernels had full sound equalizer support
quite a long while before pdaXii13 did - so it must be possible with newer kernels
(if configured properly)

/dev/sequencer is a little more tricky,  since Zaurii don't have any FM sound hardware
or anything directly supporting MIDI.

I don't think any stock kernels (for OE/angstrom/pdaXrom) have this enabled and working,
but you CAN build an ALSA kernel with timidity softsynth sequencer support.
I've done so, and it works    [sufficiently long ago that I can't remember all that I did to get it going]
Also.... quite slow, and it *will* impact overall responsiveness.

Programs that send waveform samples to the sound chip should work fine, with standard ALSA support
(or if they use OSS /dev/audio,  ALSA with OSS compatibility enabled)

Programs that send FM instructions, or MIDI frames to the sound chip
will require some more effort-  this is nothing new with Titchy, or 2.6 kernels,  just facts of life.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Sound On Titchylinux
« Reply #14 on: October 14, 2007, 08:03:39 am »
Thanks for the input.

I extracted zaurus-soundhack package from titchy and found something I cannot understand. The installation path seems unusual. All the alsa stuff got installed  in /opt/alsa14 (not /usr). And when I exeucted amixer I got this error:
Code: [Select]
/opt/alsa14/amixer: relocation error: /opt/alsa14/amixer: symbol optind. version GLIBC 2.4 not defined in file libc.so.6 with link time reference
I have just rebuilt alsa-libs and alsa-utils (with optimization flags). But I am still thinking what to do with them.  

@tux: You said you can get sound playing from the speaker. How? I only get sound with headphone plugged in.
I've already tried neil's tip:
Quote
Sound is a problem.  The "spitz" ALSA driver doesn't seem to work with the libasound2 in Debian.  I'm trying to create a working version.
In the meantime there's an inelegant hack, using bits of packages from OpenZaurus.  Edit /etc/default/soundhack to turn the speaker and/or headphone jack on (only the headphone jack is on by default), then run /etc/rcS.d/S50soundhack.  Works for me, at least.
But even though I turned up the speaker volume to 90, there is still no sound from the speaker.
« Last Edit: October 14, 2007, 08:05:30 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]