Compaq CQ40-304TU Drivers for OpenSUSE10.3

Hi,

I lately Installed OpenSUSE 10.3

I am not sure if every drivers are installed properly.

My sound isn’t working, but it’s showing the mixer in the task bar.

Another thing my wireless isn’t recognized; it’s Broadcom.

My wired network card is recognized… I Configured it on DHCP but when i connect a cable, it doesnt give any IP address.

Just for the info, i have a dual boot… Vista and Suse.

I am not even sure if my other drivers are isntalled.

**System Information
**

  • Intel Pentium Dual-Core Processor T3400 (2.16GHz. , 667MHz. , 1MB L2)
  • 250GB 5400rpm (Serial ATA)
  • 4 GB Ram
  • Intel Graphics Media Accelerator 4500MHD
  • Broadcom Wireless LAN
  • Realtek Fast Ethernet NIC Driver
  • JMB38X Card Reader
  • ALPS Touchpad
  • IDT High-Definition Audio CODEC

here is the link to the laptop specs

login.co.th - Compaq Presario CQ40-304TU - Thailand

Can anyone help me out pleasee…

That looks like a nice laptop. OpenSUSE-10.3 is nearing the end of its supported life, but still, there is a reasonable chance we can get the sound working on it.

But most important is getting Internet to work. Do you have a wired connection to the internet that you can use until you get your wireless working? If not, then you may need to post again, but this time on our wireless forum (please read and follow the advice in the 3 stickies at the top of the page) in the wireless forum: Wireless - openSUSE Forums

Reference your sound, there is guidance here for sound: SDB:AudioTroubleshooting - openSUSE

Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole:

speaker-test -Dplug:front -c2 -l5 -twav
Note Linux is case sensitive, and “D” is not the same as “d”. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.

If that test yields errors (and its not uncommon to get errors there), try instead this more simple test: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).

Try those speaker-tests as both a regular user, and with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).

Assuming no sound, can you provide more very detailed information so a good recommendation can be given? For openSUSE-10.3, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and copy and paste the following into that terminal/konsole

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

That will run a diagnostic script and post the output to a web site on the Internet. It will give you the URL of the web site. Please post that URL here. JUST the URL.

Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound… with that information I may be able to make a recommendation (as opposed to a guess).

But note you MUST have internet access on that laptop for that all to work.

Hi,

I did the following test and came up with this result.

shiraz@Shiraz-Laptop:~> rpm -q alsa alsa-utils
alsa-firmware
alsa-1.0.14-31
alsa-utils-1.0.14-27
alsa-firmware-1.0.14-24

shiraz@Shiraz-Laptop:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.14

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy

shiraz@Shiraz-Laptop:~> speaker-test -c2 -l5 -twav

speaker-test 1.0.14

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left

shiraz@Shiraz-Laptop:~> cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).

shiraz@Shiraz-Laptop:~> cat /proc/asound/modules
0 snd_hda_intel

shiraz@Shiraz-Laptop:~> cat /proc/asound/modules
0 snd_hda_intel

shiraz@Shiraz-Laptop:~> cat /proc/asound/cards

0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xdc500000 irq 22

So far so good i guess. for the next step i need internet.
I will get back to you as soon as i will have a internet connection.
Thanks for the help.

It is easiest with Internet. Without Internet your Linux is really crippled.

You could instead save the configuration to your hard drive by downloading

http://www.alsa-project.org/alsa-info.sh

and then copying alsa-info.sh to /home/your-user-name. Then run it from /home/your-user-name with:

bash alsa-info.sh --no-upload

then go to /tmp, copy the /tmp/alsa-info.txt to a bootable PC with internet access, then copy the alsa-info.sh file to an Internet paste bin site pastebin - Type, paste, share. and provide the url.

You do not need internet for:
rpm -qa | grep alsa
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Hi,

My wired is working now :slight_smile:

Please find the link below, it’s the link you were asking for:

http://www.alsa-project.org/db/?f=32531b7f68d0930429195573a4a1fc4613742dd8

shiraz@Shiraz-Laptop:~> rpm -qa | grep alsa
alsa-utils-1.0.14-27
alsa-1.0.14-31
alsa-firmware-1.0.14-24
alsa-oss-1.0.14-23
alsa-devel-1.0.14-31
alsa-plugins-1.0.14-41

shiraz@Shiraz-Laptop:~> rpm -qa | grep pulse
(It gave nothing :frowning: )
shiraz@Shiraz-Laptop:~> rpm -q libasound2
libasound2-1.0.14-31

shiraz@Shiraz-Laptop:~> uname -a
Linux Shiraz-Laptop 2.6.22.5-31-bigsmp #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux

shiraz@Shiraz-Laptop:~> cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

OK, thanks for the script output. I checked your mixer, … its very limited and is ok as it is. I note openSUSE-10.3 with the 2.6.22.5-31-bigsmp kernel and a 1.0.14 version of alsa.

That version is struggling with your PC’s hardware audio codec as it identifies it as Codec: Generic 111d ID 76b2 which means nothing to me.

I recommend you update your version of alsa from 1.0.14 to 1.0.20 using the six zypper commands below.

You will need to have your PC connected to the internet for this to work …

The commands I am going to recommend are based on your PC still having the 2.6.22.5-31-bigsmp kernel. If you have changed that to the 2.6.22.19 then the commands MUST be changed. Tell me if that is the case. You can do a final check on your kernel version by typing:
uname -a

So, assuming still the 2.6.22.5-31 kernel, please open a konsole/terminal, and type ‘su’ (no quotes) and enter the root password when prompted for a password. Then once you have root permissions, copy and paste the following six lines to update your alsa, selecting “yes” when prompted:

zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_10.3/ multimedia
zypper install alsa alsa-docs libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3/ multimedia
zypper install alsa-driver-kmp-bigsmp
zypper rr multimedia

The guidance for the above is here: Alsa-update - openSUSE Note those commands are for the 2.6.22.5-31 big smp kernel and if you update to the 2.6.22.19 kernel, then the commands WILL be different. So be careful here.

Once those commands are finished, reboot and test your audio.

Daily Snapshots: If it still does not work, then you can either run the script again

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

post here the output and ask for further help, or go one step further and install the daily snapshots that are available.

Again, below is based on the 2.6.22.5-31 big smp kernel and if you update to the 2.6.22.19 kernel, then the commands WILL be different. So be careful here.

You can install the daily snapshots by again opening a konsole/terminal, and type ‘su’ (no quotes) and enter the root password when prompted for a password. Then once you have root permissions, copy and paste the following six lines to update your alsa, selecting “yes” when prompted:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/snapshot/openSUSE_10.3/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3/ multimedia
zypper install alsa-driver-kmp-bigsmp
zypper rr multimedia

and again reboot your PC when complete, and test your audio.

If it still does not work, then you can run the script again

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

post here the output URL and ask for further help.

Hi There,

Sorry for staying out of touch…

I hope you won’t get angry if i tell you that i removed OpenSUSE 10.3 and installed 11.1, and we might have to do everything from the start.

Your help would be highly appreciated!

It will probably be easier to get working with 11.1.

Do you have sound now in 11.1 ?

How i wish, i had sound just working out of the box :smiley:

well find the info below:

Shiraz:/home/shiraz # speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.18

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
^C

Shiraz:/home/shiraz # speaker-test -c2 -l5 -twav

speaker-test 1.0.18

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
0 - Front Left
^C

Shiraz:/home/shiraz # alsamixer

Shiraz:/home/shiraz # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.

Shiraz:/home/shiraz # cat /proc/asound/modules
0 snd_hda_intel

Shiraz:/home/shiraz # cat /proc/asound/card
cat: /proc/asound/card: No such file or directory

Shiraz:/home/shiraz # cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xdc500000 irq 22

I do not understand why it’s showing

0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xdc500000 irq 22

It should be showing the model number of card or something right?

One more thing, as per the guide here : SDB:AudioTroubleshooting - openSUSE
**
YAST > HARDWARE > SOUND and select your audio card and delete it (which deletes the configuration, not the card). Then add the card, and configure the card. Test your sound.**

I did that and setup it up automatically, is that the right way to do it.
I also tried the normal way… the figure comes out the same :smiley:

Unfortunately that does not work all the time (but it does most the time).

Sometimes the hardware is new (or exotic) and requires manual tuning.

Assuming no sound, can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and twice copy and paste the following into that terminal/konsole

/usr/sbin/alsa-info.sh

Run it the 1st time with root permissions. It will ask if you wish to do an update of the script. Select YES.

Then run it again (as either a regular user or as root). This time it will diagnose your PC’s hardware and software configuration for audio, and it will post its output on the Internet/web. It will give you the URL of the web site. Please post that URL here. JUST the URL.

Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound… with that information I may be able to make a recommendation.

Hi,

It asked me if I want to run the script I select yes.
After that it asked me there is a new version of alsa do you wish to udpate
i again selected yes.

Here is the link:
http://www.alsa-project.org/db/?f=bd82cbce448f945fe331486770e95552cfed58f6

and the output result:

shiraz@Shiraz:~> rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-1.0.18-8.7
alsa-plugins-1.0.18-6.12
alsa-firmware-1.0.17-1.42
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37

shiraz@Shiraz:~> rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libpulse0-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-jack-0.9.12-9.6

shiraz@Shiraz:~> uname -a
Linux Shiraz 2.6.27.25-0.1-pae #1 SMP 2009-07-01 15:37:09 +0200 i686 i686 i386 GNU/Linux

shiraz@Shiraz:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.ymTDDUiFrW9:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Thanks for getting back to me :slight_smile:

Ok, thanks.

I note your openSUSE-11.1 now has the 2.6.27.25-0.1-pae kernel (ie you have not updated it to the latest official kernel) and your Compaq’s hardware audio codec is the IDT 92HD71B7X. I also note your PC has 1.0.17/1.0.18 version of alsa (where alsa is the sound driver).

Its possible you will have to update to 1.0.20 of alsa and/or force a manual configuration by specifying a codec model, where the HD-Audio-Models list is here (for 1.0.20 of alsa):
Linux Kernel Documentation :: sound : alsa : HD-Audio-Models.txt

The list looks like this:

	STAC92HD71B*
	============
	  ref		Reference board
	  dell-m4-1	Dell desktops
	  dell-m4-2	Dell desktops
	  dell-m4-3	Dell desktops
	  hp-m4		HP mini 1000
	  hp-dv5	HP dv series
	  hp-hdx	HP HDX series
	  auto		BIOS setup (default)

However, BEFORE wasting any time on that, I note your mixer is poorly configured.

Specifically, I note this from the diagnostic script:

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

!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0xdc500000 irq 22’
Mixer name : ‘Intel G45 DEVCTG’
Simple mixer control ‘Master’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control ‘Headphone’,0
Capabilities: pvolume pswitch
Front Left: Playback 64 [100%] [0.00dB] [off]
Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control ‘PCM’,0
Capabilities: pvolume
Front Left: Playback 0 [0%] -51.00dB]
Front Right: Playback 0 [0%] -51.00dB]
Simple mixer control ‘IEC958’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]
Simple mixer control ‘IEC958 Playback Source’,0
Items: ‘Digital Playback’ ‘Analog Mux 1’ ‘Analog Mux 2’
Item0: ‘Digital Playback’
Simple mixer control ‘IEC958 Playback Source’,1
Items: ‘Digital Playback’ ‘Analog Mux 1’ ‘Analog Mux 2’
Item0: ‘Digital Playback’
Simple mixer control ‘IEC958’,1
Mono: Playback [off]
Simple mixer control ‘Speaker’,0
Capabilities: pvolume pswitch
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Please note the Items I highlighted in Red. Your PC has Master volume, PCM volume, and Headset volume all muted. That guarantees NO analogue sound. Your PC also has IEC958 switched OFF. That guaranteeds NO digital sound. ie even if your driver was correct (and I am not convinced it is appropriate) you would have no sound.

Please fix your PC’s mixer settings. Move Master, PCM, and Headphone volumes up to 95%. Also, when testing your audio, test both speaker and headphones, and test as both a regular user and as root.

Note your mixer is:

  • under KDE: kmix
  • under Gnome: alsaxmixer

Please try that and let me know how it works.

Hey…

Can you please have a look at this image and tell me if it’s okay?

or there is any another way to configure it.

Still i do not have any sound in my computer…

I tried speaker-test -Dplug:front -c2 -l5 -twav
&
speaker-test -c2 -l5 -twav
from root and normal user… but no sound.

Could you please tell me more about alsa?

Whoops forgot to give you the link of image :d

http://img168.imageshack.us/img168/9123/10197305.png

What happens if you mute the analogue loop back ?

Ok, my mistake. The 2.6.27.25-0.1-pae is the latest kernel. I’m not sure where my mind was at.

Assuming after muting the analogue loop back, that you still have no sound, try updating alsa. To do so, with your laptop connected to the Internet, please open a terminal or a konsole, and type “su” (no quotes - enter root password when prompted) and then copy and paste the following six zypper commands into that terminal/konsole, executing them in sequence, one by one (and select Y to any update questions):

zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.1/ multimedia
zypper install alsa alsa-docs libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia

That will provide a partial update to 1.0.20 of alsa. Please then reboot your PC and test your sound. Please check your mixer, ensuring PCM, Master and Speaker volume are moved up to 95% volume. Check as both a regular user and as root. Also check speakers and plug in a headphone. Does that work?

If not, then lets try updating to the daily snapshot. To do so, please with your laptop connected to the Internet, please open a terminal or a konsole, and type “su” (no quotes - enter root password when prompted) and then copy and paste the following six zypper commands into that terminal/konsole, executing them in sequence, one by one (and select Y to any update questions):

zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/snapshot/openSUSE_11.1/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia

I know the first 3 of those commands look the same, but they are not, as they access different repositories and update different rpms. If told you already have the rpms installed, keep sending the remaining commands. After you are complete, please reboot, and test your PC’s sound. Please check your mixer, ensuring PCM, Master and Speaker volume are moved up to 95% volume. Check as both a regular user and as root. Also check speakers and plug in a headphone. Does that work?

If it still does not work, please post and let me know, and we can then try forcing a boot configuration using the entries (one by one) from the HD-Audio-Models.txt file noted previous. I will explain to you how to do that if we come to that point.

Ohh that’s very generous of you.

I will do it right away…

and the aswer for first question: Still no sound.
Plus whenever i restart my computer every thing goes on mute and i get this notification when suse boot up…

The audio playback device HDA Intel (STAC92xx Analog) doesnt not work.
Falling back to HDA Intel, INTZL DHMI (HDMI Audio Output)

I believe that to be not relevant … ie I think thats a bug - with minimal to no impact on your sound not working.

… and I believe a number of users have reported this. There are a more than a fewthreads here, where users have posted solutions that worked for them:

But for now, I recommend you ignore that.

Hi,

It’s working more or less i guess :smiley: not sure if it suppose to be that way or it is doing that way…

For the info: I have only updated alsa not daily snapshot.

Now when I insert command speaker-test -Dplug:front -c2 -l5 -twav
It says front left

but when i insert command speaker-test -c2 -l5 -twav
it keeps on saying front front front… :smiley:
that’s actually funnie :smiley:

Is it normal?

Hmmm. … check your mixer balance. At least one of those tests should say “front right”, “front left”, “front right”, “front left” …