Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148475 - cannot disable fm_port for second soundcard (snd_cmipci)
Summary: cannot disable fm_port for second soundcard (snd_cmipci)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo ALSA team
URL: https://bugtrack.alsa-project.org/als...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 02:13 UTC by Felix Hammer
Modified: 2007-02-17 02:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Hammer 2006-09-21 02:13:13 UTC
Hello

I tried to disable the fm_port for my second soundcard "C-Media Electronics Inc CM8738". But i still appears. I cannot block :(

I use the kernel-alsa-modules!

here is my /etc/modules.d/alsa
-----------------------------------------------------------------------
[code]alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias snd-card-1 snd-cmipci
alias sound-slot-1 snd-cmipci

options snd-intel8x0 id="first"
options snd-cmipci id="second" mpu_port=0x330 fm_port=-1

options snd cards_limit=2
--------------------------------------------------------

this is my lsmod:
-------------------------------------------------------
snd_seq_midi            5920  0
snd_seq_midi_event      5888  1 snd_seq_midi
snd_opl3_synth          9732  0
snd_seq_instr           5888  1 snd_opl3_synth
snd_seq_midi_emul       5120  1 snd_opl3_synth
snd_ainstr_fm           2176  1 snd_opl3_synth
snd_seq                42448  5 snd_seq_midi,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul
snd_pcm_oss            31776  0
snd_mixer_oss          13696  1 snd_pcm_oss
snd_cmipci             27168  0
gameport               10504  1 snd_cmipci
snd_opl3_lib            7808  2 snd_opl3_synth,snd_cmipci
snd_hwdep               6404  1 snd_opl3_lib
snd_mpu401_uart         5888  1 snd_cmipci
snd_rawmidi            17440  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          6028  5 snd_seq_midi,snd_opl3_synth,snd_seq,snd_opl3_lib,snd_rawmidi
snd_intel8x0           25884  0
snd_ac97_codec         78880  1 snd_intel8x0
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm                64132  4 snd_pcm_oss,snd_cmipci,snd_intel8x0,snd_ac97_codec
snd_timer              16900  3 snd_seq,snd_opl3_lib,snd_pcm
snd                    40036  13 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7008  1 snd
snd_page_alloc          7176  2 snd_intel8x0,snd_pcm
-------------------------------------------------------------------

and emerge --info:
------------------------------------------------------------------
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 21 Sep 2006 09:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.26-r4
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apache2 apm asf audiofile berkdb bitmap-fonts browserplugin cdparanoia cli crypt cups curl dbus directfb divx4linux dlloader dri dssi dv dvd dvdr dvdread elibc_glibc emboss encode exif faad ffmpeg flash foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk2 hal i8x0 ieee1394 imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jackmidi jpeg kde kernel_linux libg++ libwww linguas_de lzo mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oscar pam pcre pda perl php png ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl session sms sndfile spell spl ssl sysfs tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nvidia vidix visualization vorbis vst win32codecs wxgtk1 xine xml xml2 xmms xorg xprint xv xvid yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
--------------------------------------------------------------------------------


Can anybody tell me how to get  the fm_port for snd-cmipci disabled?

regards
doitux
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 02:51:17 UTC
This is not a support forum. Please use forums.gentoo.org, #gentoo on freenode or gentoo-user mailing list for support questions. Bugzilla is for bugs.
Comment 2 Felix Hammer 2006-09-21 04:15:12 UTC
mmh i have tried #gentoo and forums.gentoo.org but no response.
may be it is a bug. the docs said i have to use "-1" for disable. but i doesnt work. 
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 23:08:10 UTC
If this is a bug, please report this upstream.
Comment 4 Felix Hammer 2006-10-02 00:24:08 UTC
sorry. what does "report upstream" means?
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-02 00:30:15 UTC
https://bugtrack.alsa-project.org/alsa-bug/
Comment 6 Felix Hammer 2006-10-04 00:28:59 UTC
A patch from alsa-developer helps to get the fm_port disabled:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2491
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 00:39:25 UTC
Reopening to reassign.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 00:40:44 UTC
Reassigning to new herd, and setting URL. Depending on when it will be patched, I'll see if it's the case to patch alsa-driver.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-17 02:30:23 UTC
I see there's work going on upstream, I'll wait for that.