Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mb0 on May 15, 2012, 07:46:29 PM

Title: trying to blacklist oss_ich.. still loads?
Post by: mb0 on May 15, 2012, 07:46:29 PM
As titled, i'm trying to prevent oss_ich from loading (i have a USB sound device and want to not load the module for the onboard audio). I have added 'blacklist=oss_ich' to extlinux.conf (append section), but this seems to make no difference as lsmod still shows it there (and onboard sound still works, etc).

any ideas??
Title: Re: trying to blacklist oss_ich.. still loads?
Post by: Juanito on May 15, 2012, 11:19:36 PM
Is it possible the module name is "oss-ich" rather than "oss_ich"? I'm not at a linux machine to check.
Title: Re: trying to blacklist oss_ich.. still loads?
Post by: curaga on May 16, 2012, 05:36:49 AM
The soundon script does not respect the blacklist. It loads every driver mentioned in the driver list, which is created automatically if it doesn't exist.

I don't recall the exact filename, but it's under /usr/lib/oss. Though, the extension startup scripts get run before backup restore, so to have the file available at that time you'd either need to remaster the base, or create an extension with the file (probably the best way).
Title: Re: trying to blacklist oss_ich.. still loads?
Post by: mb0 on May 16, 2012, 11:08:34 AM
hmm.. theres a file /usr/lib/oss/etc/devices.list which looks like it might work..

how do i get a file that i create in an extension to load in /usr/lib/oss/etc/ ??

or is modifying the oss extension the better choice? (E: afaict this looks to be more complicated.. so no)
Title: Re: trying to blacklist oss_ich.. still loads?
Post by: curaga on May 16, 2012, 01:27:45 PM
Code: [Select]
sudo su
cd /tmp
mkdir -p ex/usr/lib/oss/etc
cp /usr/lib/oss/etc/devices.list ex/usr/lib/oss/etc # edit it to only have the usb driver
mksquashfs ex myossconf.tcz