1. i am using ubuntu 8.10
2. 3.55 mm pin connector style
3.the output of third command is
**** List of PLAYBACK Hardware Devices ****
card 0:
Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Right. (2) above shows that if your external speakers work, your
headphones should also work. Using headphones with a pin is the simplest to use in any computer.
You do realize that your speakers are connected to the light green socket on your computer. To use your headphone, you need to replace the speakers pin on your computer with your headphones pin.
Once you do that, if your speakers work and headphones do not, perhaps there is a problem with your headphone or check if they have a volume control on them.
So, finally:
1. Do speakers work?
2. If yes, if you replace the speakers' connector pin with the headphones pin, do the headphones work? If no, check the headphones with another audio device to confirm they are not faulty.
3. If you get no sound in either speakers or headphones, then open your colume control applet and check the volumes. The other way to check the volumes is to open a terminal and give the following command
$> alsamixer -c 0
(-c 0 tells alsamixer to use your card number 0).
In alsamixser, you will get levels for various channels, You can use Left, Right keys to move between them, and Up and Down keys to change the levels. M key mutes/unmutes the channel. In this alsamixer text gui, verify that your levels are not zero.