Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: system-config-soundcard: msg#00006

Subject: Re: system-config-soundcard
Le ven 01/10/2004 à 09:50, Bastien Nocera a écrit :
> It's a long time that modules are loaded on demand, and not force loaded
> by initscripts.

update you brain (from the latest initscripts, remember we are not
working on FC2 or RHEL 3) :
        /etc/rc.d/rc.sysinit
        echo -n $"Initializing hardware... "
        
        ide=""
        scsi=""
        network=""
        audio=""
        other=""
        eval `kmodule | while read devtype mod ; do
                case "$devtype" in
                        "IDE")  ide="$ide $mod"
                           echo "ide=\"$ide"\";;
                        "SCSI") scsi="$scsi $mod"
                           echo "scsi=\"$scsi"\";;
                        "NETWORK") network="$network $mod"
                           echo "network=\"$network"\";;
                        "AUDIO") audio="$audio $mod"
                           echo "audio=\"$audio"\";;
                        *) other="$other $mod"
                           echo "other=\"$other"\";;
                esac
        done`
        [...]
        # IDE
        for module in $ide ; do
                modprobe $module >/dev/null 2>&1
        done
        
        # SCSI
        for module in `/sbin/modprobe -c | awk 
'/^alias[[:space:]]+scsi_hostadapter[[:space:]]/ { print $3 }'` $scsi; do
                modprobe $module >/dev/null 2>&1
        done
        modprobe floppy >/dev/null 2>&1
        [...]
        # Sound
        for module in `/sbin/modprobe -c | awk 
'/^alias[[:space:]]+snd-card-[[:digit:]]+[[:space:]]/ { print $3 }'` $audio; do
                modprobe $module >/dev/null 2>&1
        done
        
        echo -n $" audio"
        
        # Everything else (duck and cover)
        for module in $other ; do
                modprobe $module >/dev/null 2>&1
        done

Try this :
boot FC3T2 at runlevel 1 and do "cat /proc/modules".

Here snd-dummy is also loaded as expected (configured in
/etc/modprobe.conf).

Is "runlevel 1" suppose to need sound support ?

Should I file I bugreport for initscripts ?

> Why am I lucky? I don't quite understand.

OK, demonstration :
[root@localhost ~]# rpm -q system-config-soundcard
system-config-soundcard-1.2.10-1
[root@localhost ~]# rpm -V system-config-soundcard
[root@localhost ~]# grep snd /proc/modules
[root@localhost ~]# system-config-soundcard > /dev/null 2>&1
[root@localhost ~]# grep snd /proc/modules
[root@localhost ~]#

Try this !
And if system-config-soundcard load modules :
- you are not using FC3T2.
or
- you are lucky.

> Which isn't a job for the config tool.

And this is what I ask in fedora-config-list.
Remember, my first post here :
        Does system-config-soundcard have to continue to load all
        modules whereas initscript/kmodule should do this job ?

> Most of the code actually isn't mine

Sorry :-)

> OSS will be removed in FC4. See the warnings in your kernel log every
> time an application uses OSS.

So ?

Another exemple with system-config-soundcard-1.2.10-1. Don't worry I
load all needed modules.

cat /etc/modprobe.conf :
        alias snd-card-0 snd-ens1371
        options snd-card-0 index=1
        options snd-ens1371 index=1
        remove snd-ens1371 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; 
}; /sbin/modprobe -r --ignore-remove snd-ens1371
        alias snd-card-1 snd-via82xx
        options snd-card-1 index=2
        options snd-via82xx index=2
        remove snd-via82xx { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; 
}; /sbin/modprobe -r --ignore-remove snd-via82xx

launch system-config-soundcard and set via82xx the default card :

[root@localhost ~]# cat /etc/asound.conf
# Generated by system-config-soundcard, do not edit by hand
pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }

launch system-config-soundcard and set ens1371 the default card :
[root@localhost ~]# cat /etc/asound.conf
# Generated by system-config-soundcard, do not edit by hand
pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }

Ooops, still broken. btw, this or no /etc/asound.conf don't make any
change.

Anymay, system-config-soundcard is not design to support this (even
debugged). It only works if start at 0, slot with no hole (0, 2, 5).
=> 0 hotplug.

> I'm not on fedora-devel-list.

Sorry.

> Same thing.

Same thing.

> Then your code doesn't work with FC2...

Great to know that s-c-sc for FC3 will be backported to FC2.
I have a bad English but hope you understand it.
http://www.redhat.com/archives/fedora-test-list/2004-September/msg01634.html
        I fix these issues and "Ooops", remove all code unneeded by FC3
        and do some cleanup.

It's not the first time I state this even in fedora-config-list.
Seems you don't want any external stuff (you don't read the previous
url).

> Yes, and we're dealing with bug reports one-by-one.

Again, you don't read mes previous url :
        So, what bug should I file ?
        All ?
=> no reply.

OK, contributions are limited to bug report.
Don't know that.

Don't try again (with you only).
Good bye, I am tired with you.

Fedora crew : Sorry for the noise.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

-- 
Fedora-config-list mailing list
Fedora-config-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-config-list
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe