#4 emu-script working with devfsd autoload Edit

open
nobody
tools (7)
5
2012-07-08
2002-06-10
Georgi Georgiev
No

adding

post-install emu10k1 /usr/local/etc/emu-script reload

to /etc/modules.conf when using devfsd and relying on
the on-demand loading of modules was not working.
Executing emu-script manually after emu10k1 was loaded
was behaving as it ought to. After hunting down the
problem I adjusted the emu-script to support the
devfsd. The main problem was that the script was
executed BEFORE devfsd could create the compatibility
symlinks /dev/mixer, /dev/dsp etc. Also fixed a couple
of minor typos.

I guess it would be nice to include this version of the
script as a separate file in the distribution. Or
maybe both versions of the conflicting lines could be
included with a little note about commenting out the
unnecessary one.

Discussion

  • Chris Chester
    Chris Chester
    2002-07-01

    Logged In: YES
    user_id=380790

    How do you install the patch??
    Thanks.

     
  • Logged In: YES
    user_id=196211

    Sorry about that. This patch patches the emu-script file, but the patch does not contain any paths to the filenames, since it is not backward compatible (as far as I recall). The best thing to do in my opinion is to patch the script AFTER it is installed, which means that if all the default settings are used, it would be:

    cd /usr/local/etc

    patch -p0 < [full-path-of-the-patch]

    or if you prefer to patch it in the source, once you are in the emu10k1 root do

    cd utils/scripts

    patch -p0 < [full-path-of-the-patch]

     


Anonymous


Cancel   Add attachments