You are not logged in.
Pages: 1
Hi everyone.
(To avoid unnecessary reading, I link a possible fix at the end of the post. It's a thread refering a .patch file but I don't know what to do with it)
I'm having problems with my laptop speakers, and I'm sure it's because of the configuration. They worked fine before I formatted my computer, but now they don't work anymore. When I formatted, I switched from Gnome to Openbox so either I forgot to install/configure something, or they worked because of Gnome and I need an additionnal package. The speakers work fine on Windows so the problem is in Linux.
My headphones are working fines, only the speakers refuse to work
.
The ALSA page on the wiki didn't help me and I didn't find anything on google.
Here are a couple infos to help you find the problem. I don't really know what I'm doing so I'll post more info than necessary:
Laptop model: Gateway P-6831FX
(sudo) lspci -v
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
Subsystem: Gateway 2000 Device 0690
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel modules: intel-agp
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: cc000000-ceffffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: [88] Subsystem: Gateway 2000 Device 0690
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [140] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 1800 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) (prog-if 00 [UHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 1820 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20 [EHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 18
Memory at f4604800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Gateway 2000 Device 0690
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at f4600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: f4000000-f40fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [90] Subsystem: Gateway 2000 Device 0690
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f4100000-f41fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [90] Subsystem: Gateway 2000 Device 0690
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f4200000-f42fffff
Prefetchable memory behind bridge: 00000000c2000000-00000000c20fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [90] Subsystem: Gateway 2000 Device 0690
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [90] Subsystem: Gateway 2000 Device 0690
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=07, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: f2000000-f3ffffff
Prefetchable memory behind bridge: 00000000f0000000-00000000f1ffffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+
Capabilities: [90] Subsystem: Gateway 2000 Device 0690
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 1840 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 1860 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 1880 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f4604c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=32
Memory behind bridge: f4300000-f43fffff
Capabilities: [50] Subsystem: Gateway 2000 Device 0690
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel modules: iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 18a0 [size=16]
Kernel driver in use: ata_piix
Kernel modules: ide-pci-generic, piix, ata_piix, pata_acpi, ata_generic
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 761
I/O ports at 18d8 [size=8]
I/O ports at 18cc [size=4]
I/O ports at 18d0 [size=8]
I/O ports at 18c8 [size=4]
I/O ports at 18e0 [size=32]
Memory at f4604000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Mask- 64bit- Count=1/4 Enable+
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA <?>
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
Subsystem: Gateway 2000 Device 0690
Flags: medium devsel, IRQ 19
Memory at c2100000 (32-bit, non-prefetchable) [size=256]
I/O ports at 1c00 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800M GTS (rev a2) (prog-if 00 [VGA controller])
Subsystem: Gateway 2000 Device 0690
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at cc000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 2000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nvidia
02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
Subsystem: Intel Corporation Device 1100
Flags: bus master, fast devsel, latency 0, IRQ 759
Memory at f4000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Mask- 64bit+ Count=1/1 Enable+
Capabilities: [e0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 0b-bc-99-ff-ff-e0-1d-00
Kernel driver in use: iwlagn
Kernel modules: iwlagn
03:00.0 Mass storage controller: Silicon Image, Inc. Sil 3531 [SATALink/SATARaid] Serial ATA Controller (rev 01)
Subsystem: Gateway 2000 Device 0690
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f4102000 (64-bit, non-prefetchable) [size=128]
Memory at f4100000 (64-bit, non-prefetchable) [size=8K]
I/O ports at 3000 [size=128]
Capabilities: [54] Power Management version 2
Capabilities: [5c] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: sata_sil24
Kernel modules: sata_sil24
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Gateway 2000 Device 0690
Flags: bus master, fast devsel, latency 0, IRQ 760
I/O ports at 4000 [size=256]
Memory at f4200000 (64-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at c2000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] MSI: Mask- 64bit+ Count=1/2 Enable+
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [84] Vendor Specific Information <?>
Capabilities: [100] Advanced Error Reporting
Capabilities: [12c] Virtual Channel <?>
Capabilities: [148] Device Serial Number 68-81-ec-10-00-00-00-1e
Capabilities: [154] Power Budgeting <?>
Kernel driver in use: r8169
Kernel modules: r8169
0c:06.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70) (prog-if 10 [OHCI])
Subsystem: Agere Systems FW323
Flags: bus master, fast Back2Back, medium devsel, latency 96, IRQ 16
Memory at f4300000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci1394
Kernel modules: ohci1394lsmod|grep '^snd'
snd_seq_oss 35584 0
snd_seq_midi_event 9344 1 snd_seq_oss
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 9364 2 snd_seq_oss,snd_seq
snd_hda_intel 531252 4
snd_hwdep 10632 1 snd_hda_intel
snd_pcm_oss 45440 0
snd_pcm 82952 3 snd_hda_intel,snd_pcm_oss
snd_timer 24720 3 snd_seq,snd_pcm
snd_page_alloc 11792 2 snd_hda_intel,snd_pcm
snd_mixer_oss 18944 1 snd_pcm_oss
snd 65096 15 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_ossls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 9 2009-03-20 13:04 controlC0
crw-rw---- 1 root audio 116, 8 2009-03-20 13:04 hwC0D1
crw-rw---- 1 root audio 116, 7 2009-03-20 13:04 hwC0D2
crw-rw---- 1 root audio 116, 6 2009-03-20 13:04 pcmC0D0c
crw-rw---- 1 root audio 116, 5 2009-03-20 13:05 pcmC0D0p
crw-rw---- 1 root audio 116, 4 2009-03-20 13:04 pcmC0D1p
crw-rw---- 1 root audio 116, 3 2009-03-20 13:04 seq
crw-rw---- 1 root audio 116, 2 2009-03-20 13:04 timerMODULES line of my rc.conf
MODULES=(acpi-cpufreq cpufreq_ondemand r8169 iwl4965 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore nvidia evdev vboxdrv vboxnetflt pcspkr snd-pcsp usblp)/etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=laptop enable=1 index=0/etc/modprobe.conf
#
# /etc/modprobe.conf (for v2.6 kernels)
#
options snd-pcsp index=2Possible fix I found while googling:
This thread. Look at the 2 last posts. They mention a .patch file but I don't know what they are or what to do with it...
edit: copy-pasted a wrong command.
Last edited by FunkNapkin (2009-03-20 17:40:11)
Arch64, Openbox & Awesome3
Offline
Are you sure that you have unmuted the volume on your sound card. Since you're using Alsa, you need to use some mixer (alsamixer maybe) in order to turn up the main volume. I remember from a long time ago that when Alsa is loaded by the kernel, it sets the volume off by default. Usually you set it to the desired volume and then use a tool called 'alsactl' or something like that to reset it back to your default every time the sound card's modules are loaded.
Sorry - It has been a while since I messed with Alsa, so I can't remember the exact mixer/control apps for alsa. Try doing an 'apropos alsa' for help.
Last edited by stbill (2009-03-20 21:48:16)
Offline
I did try multiple things on alsamixer, and I'm almost certain I unmuted every channel during my tests. I'm not home though, so I can't check.
Now that I think of it, do I have to MUTE something else (headphones) to get the speakers to work?
Arch64, Openbox & Awesome3
Offline
Here's a picture of my alsamixer. I don't know what the buttons in the middle do, but I don't think it changes anything.
Any help appreciated.
Arch64, Openbox & Awesome3
Offline
Did you do a "alsactl store" as root after adjusting the sound levels with alsamixer like stbill was hinting?
Last edited by blackhole (2009-03-21 22:03:45)
Coming closer and closer to the ultimate goal: replacing boring old Windows XP desktop with shiny new Arch KDE 4 desktop. ^^
Already registered? Your vote counts!
Offline
Did you do a "alsactl store" as root after adjusting the sound levels with alsamixer like stbill was hinting?
Yup. Still no luck ![]()
Arch64, Openbox & Awesome3
Offline
Try blacklisting snd-pcsp, try removing all the snd* modules from that list, try blacklisting pcspkr, and add alsa to your daemons list if it's not there already.
Offline
Try blacklisting snd-pcsp, try removing all the snd* modules from that list, try blacklisting pcspkr, and add alsa to your daemons list if it's not there already.
I tried what you said, and it didn't change anything. Alsa was already in the daemons list and most of the removed modules got loaded anyway. The ones that don't get loaded now are thoses I blacklisted.
EDIT:
On my original post, the modules pcspkr and snd-pcsp are in my rc.conf but they don't appear in lsmod. Is this normal?
Also, my laptop now makes annoying beeps through my headphones whenever there's and "error", like pressing TAB for autocompletion when there's no match.
Last edited by FunkNapkin (2009-03-22 02:56:38)
Arch64, Openbox & Awesome3
Offline
Also, my laptop now makes annoying beeps through my headphones whenever there's and "error", like pressing TAB for autocompletion when there's no match.
That's because of pcspkr and/or snd-pcsp.
Offline
Pages: 1