No sound from internal amplifier

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

No sound from internal amplifier

Postby hqwrong » Wed Dec 21, 2011 9:39 am

Hi,all.

I moved from Ubunt to Arch yesterday, Everything works well except that I could not hear any sound from internal amplifier. Anyway, the headphones works well,

Because the amplifier functions well when I on Ubuntu, So it can't be a hardware problem, I think. Is there some driver I missed installing?

My machine is Dell Vostro 1400
Here is "uname -a" output:
Code: Select all
Linux Vostro 3.1.5-1-ARCH #1 SMP PREEMPT Sun Dec 11 06:26:14 UTC 2011 i686 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux

Here is ossinfo output:
Code: Select all
Version info: OSS 4.2 (b 2005/201111292012) (0x00040100) GPL
Platform: Linux/i686 3.1.5-1-ARCH #1 SMP PREEMPT Sun Dec 11 06:26:14 UTC 2011 (Vostro)

Number of audio devices:   10
Number of audio engines:   14
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=2640 (47754)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086284b
    Subvendor ID 0x102801f3
     Codec  0: STAC9228X (0x83847616/0x102801f3)
     Codec  1: Conexant2c06 (0x14f12c06)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio STAC9228X (Mixer 0 of device object 1)

Audio devices
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play rear                /dev/oss/oss_hdaudio0/pcm2  (device index 2)
HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
HD Audio play modem-out           /dev/oss/oss_hdaudio0/pcm4  (device index 4)
HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 5)
HD Audio rec rec1-mux             /dev/oss/oss_hdaudio0/pcmin0  (device index 6)
HD Audio rec rec2-mux             /dev/oss/oss_hdaudio0/pcmin1  (device index 7)
HD Audio rec rec3-mux             /dev/oss/oss_hdaudio0/pcmin2  (device index 8)
HD Audio rec modem-out            /dev/oss/oss_hdaudio0/pcmin3  (device index 9)

Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm3
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


and "lspci"
Code: Select all
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)


and "ossmix" :
Code: Select all
Selected mixer 0/High Definition Audio STAC9228X
Known controls are:
jack.fp-black.mode1 <front|center/LFE|input> (currently front)
jack.internal.mode1 <front|center/LFE|input> (currently center/LFE)
jack.internal.mode2 <center/LFE|input> (currently center/LFE)
jack.internal.center/lfe [<leftvol>:<rightvol>] (currently 95.1:95.1 dB)
jack.int-speaker.mode <front|input> (currently front)
jack.int-speaker.front [<leftvol>:<rightvol>] (currently 95.1:95.1 dB)
jack.fp-black.mode2 <rear|input> (currently rear)
jack.fp-black.rear [<leftvol>:<rightvol>] (currently 95.1:95.1 dB)
jack.fp-black.mode3 <side|input> (currently side)
jack.fp-black.side [<leftvol>:<rightvol>] (currently 95.1:95.1 dB)
jack.internal.mode3 <rear|input> (currently rear)
jack.internal.mode4 <center/LFE|input> (currently center/LFE)
jack.black.mode <spdif-out|adat|rec1-mux|rec2-mux|rec3-mux> (currently spdif-out)
record.rec1-mux.input1-mux1 [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
record.rec1-mux.input1-mux2 <rear|cd|internal|center/LFE|rear|center/LFE> (currently rear)
record.rec1-mux [<leftvol>:<rightvol>] (currently 20.9:20.9 dB)
record.rec1-mux.mute ON|OFF (currently OFF)
record.rec1-mux.rec1-mux <input1-mux|dig-mic1|dig-mic2> (currently dig-mic1)
record.rec2-mux.input2-mux1 [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
record.rec2-mux.input2-mux2 <rear|cd|internal|center/LFE|rear|center/LFE> (currently rear)
record.rec2-mux [<leftvol>:<rightvol>] (currently 20.9:20.9 dB)
record.rec2-mux.mute ON|OFF (currently ON)
record.rec2-mux.rec2-mux <input2-mux|dig-mic1|dig-mic2> (currently input2-mux)
record.rec3-mux.input3-mux1 [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
record.rec3-mux.input3-mux2 <rear|cd|internal|center/LFE|rear|center/LFE> (currently rear)
record.rec3-mux [<leftvol>:<rightvol>] (currently 20.9:20.9 dB)
record.rec3-mux.mute ON|OFF (currently OFF)
record.rec3-mux.rec3-mux <input3-mux|dig-mic1|dig-mic2> (currently dig-mic1)
misc.headphone [<leftvol>:<rightvol>] (currently 80.1:95.1 dB)
misc <-28.-8dB|-19.-2dB|-9.-6dB|0.0dB> (currently -28.-8dB)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 22.7:22.7 dB)
vmix0.pcm13 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


Please tell me what additional information do you need.
Thank you.
hqwrong
New Member
 
Posts: 1
Joined: Wed Dec 21, 2011 9:26 am

Re: No sound from internal amplifier

Postby igorzwx » Wed Dec 21, 2011 5:28 pm

Did it work with Ubuntu?

You may try OSS4 with old kernels on Arch LiveCDs:
viewtopic.php?f=3&t=3933#p17316
viewtopic.php?f=3&t=3933#p17359

Perhaps, you have to study "NEWS" (after 2011.08.19) and fix something manually: http://www.archlinux.org/

Have you already removed PulseAudio, libpulse, and other crap?
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: No sound from internal amplifier

Postby cesium » Wed Dec 21, 2011 6:06 pm

It worked on Ubuntu? Perhaps all you need do therefor is copy the mixer.save (at /usr/lib/oss/etc/) from that install?

Btw, how did you test the headphone? Did you test with osstest?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: No sound from internal amplifier

Postby igorzwx » Wed Dec 21, 2011 6:32 pm

cesium wrote:It worked on Ubuntu? Perhaps all you need do therefor is copy the mixer.save (at /usr/lib/oss/etc/) from that install?

Btw, how did you test the headphone? Did you test with osstest?


He told that "the headphones works well". It is unclear whether his microphones (internal/external) work or not.

hqwrong wrote:Hi,all.

I moved from Ubunt to Arch yesterday, Everything works well except that I could not hear any sound from internal amplifier. Anyway, the headphones works well,

Because the amplifier functions well when I on Ubuntu, So it can't be a hardware problem, I think. Is there some driver I missed installing?


Perhaps, he also had OSS4 on Ubuntu. In any case, it makes sense to try "simple solutions" first:
viewtopic.php?f=3&t=3933#p17316
viewtopic.php?f=3&t=3933#p17359

Is "mixer.save" buggy now?
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: No sound from internal amplifier

Postby cesium » Wed Dec 21, 2011 9:03 pm

I'm thinking maybe the default settings need adjustment and he set it up earlier and forgot about it (this can happen). Worth a shot, if he has a copy around...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: No sound from internal amplifier

Postby igorzwx » Wed Dec 21, 2011 9:14 pm

cesium wrote:I'm thinking maybe the default settings need adjustment and he set it up earlier and forgot about it (this can happen). Worth a shot, if he has a copy around...

Just boot Arch LiveCD and make a copy.

In a word, on a Dell notebook (Intel HDA, Latitude D531), external mic works with Arch LiveCD, but the internal mic does not.
It is other way round with Arch installed on the same notebook: the internal mic works and the external does not.

To make mic working with ICH7, one may need to remove OSS4, load ALSA, then install OSS4. Mic will work till the next reboot.
With ICH6, this problem can be fixed with chattr. It does not help with ICH7. It is a very old bug (since, at least, 2009).
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest