You are not logged in.
tux@slitaz:~$ cat /proc/asound/cards
0 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with AD1985 at irq 17
It seems SliTaz detected and configured it at boot, yet no noise 
Could anyone shed some light on this one
Thank you!
Offline
root@slitaz:/home/tux# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5 - MIC2 ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
Subdevices: 1/1
Subdevice #0: subdevice #0
Offline
Firstly, I would check that nothing is muted in alsamixer
Offline
Thank you gdesilva 
How does one tell if something is muted in alsamixer would be a good start for me to know. I do notice some things are off though or I am understanding it that way.
For example:
Item: Headphone Jack Sense [Off]
Offline
In alsamixer, press F5 to get all capture and playback settings. Make sure there are no 'M' in any of the fields. If there is a 'M' that means it is muted. To unmute, tab to the field in question and press 'm' on your keyboard which will unmute the device.
Also, would be good to have the output of from 'cat /proc/asound/devices'
Offline
I shall look into that, thank you once again gdesilva 
root@slitaz:/home/tux# cat /proc/asound/devices
2: : timer
3: [ 0- 4]: digital audio playback
4: [ 0- 3]: digital audio capture
5: [ 0- 2]: digital audio capture
6: [ 0- 1]: digital audio capture
7: [ 0- 0]: digital audio playback
8: [ 0- 0]: digital audio capture
9: [ 0] : control
root@slitaz:/home/tux#
Offline
A lot seemd to be muted, I unmuted everything I could
However still no noise coming 
Offline
OK, in alsaplayer, make sure your sound levels are reasonably high. Tab to the field and use up arrow to raise the levels.
Also, find a sound file in wav format and try
aplay -D hw:0,0 <path to your wav file>
If you still cannot hear sound, what does the output say?
Offline
Well in alsaplayer, sound levels are reasonably high.
Also tabing in alsaplayer and use of arrow keys are not working for me. 
Here is aplay output...
tux@slitaz:~/Desktop$ aplay -D hw:0,0 002.wav
aplay: main:660: audio open error: Device or resource busy
tux@slitaz:~/Desktop$
Thank you again!
p.s. playing .wav by adding it into alsaplayer and pressing play seems to have no effect at all 
Offline
Sorry....what I meant was alsamixer NOT alsaplayer
And I was able to replicate your error message by running alsaplayer and trying to run the aplay command. Close alsaplayer and then run the aplay command.
Offline
I hope you get paid for this...
tux@slitaz:~/Desktop$ aplay -D hw:0,0 002.wav
aplay: test_wavefile:876: can't play WAVE-file format 0x0055 which is not PCM or FLOAT encoded
tux@slitaz:~/Desktop$
I managed to snatch a .wav of some comedians 
However I do have a .mp3 that alsaplayer streams still no sound coming out 
Yes I made sure levels are high enough in alsamixer 
Offline
I've tested another .wav
Here is output 
tux@slitaz:~/Desktop$ aplay -D hw:0,0 003.wav
aplay: test_wavefile:876: can't play WAVE-file format 0x0002 which is not PCM or FLOAT encoded
tux@slitaz:~/Desktop$
Offline
No, I don't get paid for this...this is the magic of open source software :-)
Just now I downloaded a test wav file from http://www.soundbyter.com/ - Robot Voice Sound Effect and aplay works without any problems with this file as it has got the right encoding. Can you try this please and post the output?
Offline
Shall we make it more interesting O.o
Well I was not able to download the test wav from http://www.soundbyter.com - Robot Voice Sound Effect as it seems to want Adobe Flash plugin. I do not have this installed yet, so this might be a bad place for me to grab a test or a sample .wav 
However I came across another something else prior to seeing your replay... Here is the output...
tux@slitaz:~/Desktop$ aplay -D hw:0,0 tone.wav
Playing WAVE 'tone.wav' : Unsigned 8 bit, Rate 48000 Hz, Mono
aplay: set_params:1059: Sample format non available
Available formats:
- S16_LE
- S32_LE
tux@slitaz:~/Desktop$
Offline
The problem is, as you can see, aplay is looking for Signed 16 or 32 bit little endian (LE) formatted file to play and your tone.wav is 8 bit 48000Hz Mono. The fact that it says that available formats are S16_LE and S32_LE means unless you convert your file to corresponding format it is not going to work. I have compressed the robot.wav file for you. Make sure your uncompress it first and then try aplay command.
Offline
trying to upload again....
EDIT: Sorry, it is not going to work as file type is not allowed to be uploaded.
Try the following link http://www.mediafire.com/?v14gqlivw1ca176 - this is my upload.
Offline
Well I managed to find something aplay will test for us, however, no sound coming out of the middle jack (green) where I have iPod earbuds plugged in.
Here is the output...
tux@slitaz:~/Desktop$ aplay -D hw:0,0 004.wav
Playing WAVE '004.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
tux@slitaz:~/Desktop$
Edit:
p.s. I managed to grab the right .wav as you were trying to upload for me 
Offline
Ok, I've also managed to downlolad your upload of the robot.wav
Here is the output...
tux@slitaz:~/Desktop$ aplay -D hw:0,0 robot.wav
Playing WAVE 'robot.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
tux@slitaz:~/Desktop$
However no sound coming out of these little tiny earbuds 
Edit:
I managed to find a ICH5 with AD1985 picture, just to be sure Im sane here and plugging my little earbuds into the correct jack
))
http://image161.poco.cn/mypoco/myphoto/20100529/02/46242270201005290243032639613975942_001.jpg
Plugged into the green one 
Offline
OK, this is good news, sort of... - at least aplay is playing the song without errors. You may want to re-check your headset is plugged into the correct port. In fact my sound card here is an ICH4 - Intel 82801DB-ICH4 and hence we are running almost the same configs. Only difference I can see so far is that robot.wav which I have uploaded has a sample rate of : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo and yours is 48000Hz. For whatever its worth download robot.wav and see what happens.
Offline
What more can I say? Nothing much, apart from testing the earbuds on a different player and connecting the lineout to a known working speaker. Is the sound card working with another distro? If you can easily get hold of another sound card it may be worth trying out with it. Sorry cannot think of anything else at this stage. Keep us posted of your findings - it may help someone else.
Offline
Fair enough, so far so good, I am not sure If I want to give up on it as I believe it should be working without any hicups! Eeek...
So I've tested both robot.wav you provided and mine that I downloaded, aplay playd both just fine, the only differance was the size of .wav
Mine is roughly around 2.9mb
Edit:
Fair Enough, just as I thought to begin with, SliTaz configured this ICH5 with AD1985 correctly at boot, so it should be playing just about anything in alsaplayer. Perhaps the jacks are not working right, but I shall try to do some more testing.
Erbuds have been tested and in working condition, however I have never tested the soundcard itself on another Distro. Perhaps this is the next step. I shall report back with anything new 
Thank you once again!
Offline
Also, check that you have the following modules loaded...
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer (command 'lsmod' will show you the modules currently in use)
Offline
Edit:
Modules snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer seem to be loaded correctly 
Offline
Hi Adnan,
Firstly. On my desktop's board I have (from top to bottom):
[*]green (line out);
[*]blue (line in);
[*]red (mic in).
I was never saw green connector in the middle. Make sure, maybe it's factory mismatch in your board.
Secondly. Please, show us screenshot of your alsamixer with F5 pressed. (how to make screenshots)
Enlarge your terminal if it needed, or make several screenshots to show us all.
I can't remember exactly, but I was deal with soundcard with selectable (switchable) connectors, when each connector can work as line out or mic in. There should be a switchers in the alsamixer (or anywhere else?)
Offline
@Aleksej, In fact I have a ICH4 unit and the line out (green) is in the middle. Yes, a screenshot of alsamixer will be very useful.
Offline
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]