View previous topic :: View next topic |
Author |
Message |
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Jun 01, 2008 10:15 am Post subject: (SOLVED) No sound in enemy territory / ut2004 |
|
|
Enemy territory and ut2004 both don't have sound. In the past I could fix this with running:
Code: | echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss |
Unfortunately this doesn't work anymore The only thing that changed is my desktop (now Gnome) and my kernel (now 2.6.24-gentoo-r Is there a new fix for this problem?
Code: | # cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.15 emulation code)
Kernel: Linux Zenpc 2.6.24-gentoo-r8 #1 SMP Sat May 31 23:57:52 CEST 2008 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xfebfc000 irq 17
Audio devices:
0: ALC882 Analog (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
31: system timer
Mixers: |
Code: |
# lspci
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) |
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Last edited by Kasumi_Ninja on Sun Jun 01, 2008 3:38 pm; edited 1 time in total |
|
Back to top |
|
|
olivier elmekki n00b
Joined: 29 Jan 2006 Posts: 55
|
Posted: Sun Jun 01, 2008 12:52 pm Post subject: |
|
|
There must be a lack in your kernel configuration. I can have sound now in ET without having to do the tweak trick anymore.
I use a rt-sources kernel, so it can have major differences about sound with your kernel, but the first thing I might look would be the support for OSS emulation in your alsa kernel config.
Did you include all the OSS options? (your logs seem to show that you didn't include OSS Mixer API, but I have no idea if this does the trick).
Here's some output :
Code: | kik@laptop ~ $ cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.15 emulation code)
Kernel: Linux laptop 2.6.24-rt1kik #1 SMP PREEMPT RT Sun Jun 1 13:41:17 CEST 2008 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xd0340000 irq 21
Audio devices:
0: CONEXANT Analog (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: Conexant CX20549 (Venice)
|
_________________ blog : http://kikhome.net
professional site (french) : http://olivier-elmekki.com |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Jun 01, 2008 3:16 pm Post subject: |
|
|
Thanks for the help. Afaik I have all option enabled in my kernel. Strangely enough I get this message when I start et from the commandline:
Code: | ------- sound initialization -------
/dev/dsp: Device or resource busy
Could not open /dev/dsp
------------------------------------ |
My kernel config:
Code: | ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────────────────────────────────────────── Advanced Linux Sound Architecture ────────────────────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are hotkeys. Pressing <Y> includes, │
│ <N> excludes, <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> for Search. Legend: [*] built-in │
│ [ ] excluded <M> module < > module capable │
│ │
│ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ <M> Advanced Linux Sound Architecture │ │
│ │ <M> Sequencer support │ │
│ │ <M> Sequencer dummy client │ │
│ │ <M> OSS Mixer API │ │
│ │ <M> OSS PCM (digital audio) API │ │
│ │ [*] OSS PCM (digital audio) API - Include plugin system │ │
│ │ [*] OSS Sequencer API │ │
│ │ <M> RTC Timer support │ │
│ │ [*] Use RTC as default sequencer timer │ │
│ │ [*] Dynamic device file minor numbers │ │
│ │ [*] Support old ALSA API │ │
│ │ [*] Verbose procfs contents │ │
│ │ [ ] Verbose printk │ │
│ │ [ ] Debug │ │
│ │ Generic devices ---> │ │
│ │ ISA devices ---> │ │
│ │ PCI devices ---> │ │
│ │ USB devices ---> │ │
│ │ PCMCIA devices ---> │ │
│ │ System on Chip audio support ---> │ │
│ │ │ │
│ │ |
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Jun 01, 2008 3:37 pm Post subject: |
|
|
Solved!
Rerunning alsaconf did the trick. It might be related to the fact that I didn't had the oss USEflag (I swicthed to the 2008 Desktop profile which turned out to be empty). I switched back to the 2007 profile and recompiled world. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
Back to top |
|
|
|