Codec + Mixer: IDT 92HD71B7X - STAC92xx Analog sound device not working on Dell Inspiron 1545 laptop in Ubuntu 9.04

Asked by sabuoffice

I have purchased a new Laptop Dell inspiron 1545 and installed ubuntu 9.04 for my regular use. I am very much impressed by Ubuntu installation & fond of it. But I am unable to play any music or sound on ubuntu, whereas it is working on Windows XP partition very well. At the same time, I am unable to start webcam. I am new to ubuntu & don't know the command line parameters to set right the above problems. I have searched the dell website & surprised to note that they have not any support note or driver for linux or ubuntu for inspiron 1545, all drivers are for windows vista or windows xp. It is very regrettable for such a reputed computer manufacturer that they are not supporting openware or linux & promoting only proprietary softwares.

I have installed in sound & video section, the following programmes:
ALSA Mixer, Alsamixergui, Audacity, Dragon Player, Elisa Media Center, GNOME ALSA Mixer, Sound Recorder

Please guide me to run sound & webcam on ubuntu on my above laptop.

With Regards....
gopal sabu

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

In order to gather essential troubleshooting information about your sound card, please first follow this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following command (copy/paste the following command into the Terminal and then hit <enter> -> this is a single command)

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

When the alsa-info.sh script asks "Do you want to run this script? [y/n]", press y and then hit <enter> to make sure the script actually runs. Please send us the full terminal output after the script has actually run.

Step 3: Run the following command (copy-paste the line below into a Terminal, press enter, then enter password when sudo asks for password, then press enter again)

cat /proc/asound/cards; sudo aptitude install gnome-alsamixer asoundconf-gtk alsa-utils; asoundconf list; aplay -l; ls -lart /dev/snd; cat /dev/sndstat; lspci -nn; lsmod | grep snd

Step 4: Please post results (copy/paste terminal output) on this thread

Step 5: Please also report on this thread if you cannot hear sound through the speakers, the headphones or cannot hear sound on both.

Step 6: If you are using a dual boot system (with Windows and Ubuntu installed on separate partitions),
then make sure to set the sound volume in Windows to a high level before booting into Ubuntu.
Also make sure to use the special function keys in Windows to make sure the loudspeakers are physically switched ON and working properly in Windows before installing and testing Ubuntu. This step is necessary with certain Toshiba Tecra laptops.

Step 7: Experiment with the audio settings in gnome-alsamixer and asoundconf-gtk until you get sound (hopefully)

Step 8: In System/Administration/Users and Groups , make sure that your user and the root user are members of the following 5 groups:

 pulse
 pulse-access
 pulse-rt
 audio
 video

Step 9: Run the command gnome-volume-control and set the Sound Theme to "No sounds" (Sound Theme is also accessible via System > Preferences > Sound)

Step 10: Try connecting headphones to different audio jacks/ports on the backpanel of the sound card until you hopefully hear sound

======================================================================================================

Please also read the following pages

http://www.ubuntugeek.com/sound-solutions-for-ubuntu-904-jaunty-users.html

http://doc.ubuntu-fr.org/audio_intel_hda (check for correct /etc/modprobe.d/alsa-base.conf options at bottom of this page)

https://help.ubuntu.com/community/SoundTroubleshooting

for some initial suggestions.

You should add the following string to the /etc/modprobe.d/alsa-base.conf file

options snd-hda-intel model=YOUR_MODEL

Valid model names (that replace YOUR_MODEL) depending on the codec chip, can be found at

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=blob_plain;f=Documentation/sound/alsa/ALSA-Configuration.txt

If you do not know your codec chip name, you can execute the following Terminal command to find out:

cat /proc/asound/card*/codec* | grep Codec

Each combination of audio codec, audio mixer and audio device name requires a very specific configuration in the alsa-base.conf file, if the audio chipset does not work out-of-the-box.

Make sure to set all channels to high volume levels in gnome-alsamixer.

Make sure all the different speakers (including 'Front', 'Master', and 'PCM") are NOT muted and NOT set to low volume levels.

Kind regards,

Mark

Revision history for this message
Tamilmozhi (tamilmozhi-gunasekar) said :
#2

Hi Mark,
I'm having similar issue with my Dell Inspiron 1545.

ALSA Report: http://www.alsa-project.org/db/?f=849324b5298db4e8d2b673b2d5a209ab15ac313c

I managed to get the sound working with Amarok. by adding that last line to the alsa-base.conf file.
But sound not working with pidgin and the front end jack is also not working if i connect a head set.

I couldn't find exact model because the cat command just gives my card name as STAC92xx and there were many sound cards for xx . ie. 9200, 9204 etc. So dont know what should i use.

The sound is very low and if i reduce volume to about 75% it nearly goes mute and i'm unable to hear sound.

Any help would be appreciated. I did lot of google but couldn't find a proper fix to issue.

Regards
Tamil

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi Tamilmozhi,

Can you please create a separate thread for your question?

Thanks,

Mark

Revision history for this message
sabuoffice (gs-sabuindia) said :
#4

!!################################
!!ALSA Information Script v 0.4.56
!!################################

!!Script ran on: Thu Jul 2 09:20:22 UTC 2009

!!Linux Distribution
!!------------------

Ubuntu 9.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.04"

!!DMI Information
!!---------------

Manufacturer:
Product Name:

!!Kernel Information
!!------------------

Kernel release: 2.6.28-13-generic
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version:
Library version: 1.0.18
Utilities version: 1.0.18

!!Loaded ALSA modules
!!-------------------

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

!!Soundcards recognised by ALSA
!!-----------------------------

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:293e (rev 03)
 Subsystem: 1028:02aa

!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2

!!Loaded sound module options
!!--------------------------

!!ALSA Device nodes
!!-----------------

!!Aplay/Arecord output
!!------------

APLAY

aplay: device_list:217: no soundcards found...

ARECORD

arecord: device_list:217: no soundcards found...

!!Amixer output
!!-------------

!!Alsactl output
!!-------------

--startcollapse--
--endcollapse--

!!All Loaded Modules
!!------------------

Module
ppp_deflate
zlib_deflate
bsd_comp
ppp_async
crc_ccitt
option
usbserial
i915
drm
binfmt_misc
ppdev
bridge
stp
bnep
input_polldev
microcode
joydev
lp
parport
iptable_nat
nf_nat
nf_conntrack_ipv4
nf_conntrack
nf_defrag_ipv4
iptable_mangle
iptable_filter
ip_tables
uvcvideo
btusb
x_tables
ieee80211_crypt_tkip
compat_ioctl32
psmouse
videodev
dcdbas
pcspkr
wl
ieee80211_crypt
serio_raw
v4l1_compat
soundcore
iTCO_wdt
iTCO_vendor_support
video
usbhid
output
intel_agp
agpgart
usb_storage
sky2
fbcon
tileblit
font
bitblit
softcursor

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Hi sabuoffice,

In System/Administration/Users and Groups , make sure that your user and the root user are members of the following groups:

 pulse
 pulse-access
 pulse-rt
 audio
 video

Then try this procedure:

0. First upgrade alsa to version v1.0.20 using this procedure:

http://monespaceperso.org/blog-en/2009/05/09/upgrade-alsa-1020-on-ubuntu-jaunty-904/

1. Then copy-paste the following command into the Terminal:

gksudo gedit /etc/modprobe.d/alsa-base.conf

2. and add these lines to the end of the file:

# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-dv5
options snd-hda-intel enable_msi=1

3. Then navigate to System>Preferences>Sound and change everything to ALSA

4. reboot and retest sound

5. If sound still does not work after rebooting, then replace the model option hp-dv5 with one of the following. After saving the change to the alsa-base.conf file, make sure to reboot and retest sound again with each different model option, until sound works.

STAC92HD71B* model options
==================
  dell-m4-1 Dell desktops
  hp-m4 HP dv laptops
  ref Reference board
  dell-m4-2 Dell desktops
  dell-m4-3 Dell desktops
  hp-dv5 HP laptops

6. If the alsa device is still not detected after all these changes, you will need to downgrade or upgrade the Ubuntu kernel to try to get the sound issue sorted.

Regards,

Mark

Can you help with this problem?

Provide an answer of your own, or ask sabuoffice for more information if necessary.

To post a message you must log in.