matthieu castet wrote:
I make a script :
grep pnp:c /lib/modules/2.6.8-2-k7/modules.alias | cut -c19- | while
read line; do NAME=$(echo $line | cut -d'*' -f2); ID=$(echo $line | cut
-d'*' -f1); OLDIFS=$IFS; IFS=$IFS'd'; set $ID; while [ $# != 1 ] ; do
echo "alias pnp:d${2} $NAME"; shift; done ;IFS=$OLDIFS; done | sort | uniq
the result is attached
------------------------------------------------------------------------
alias pnp:d@@@0001 snd_als100
alias pnp:d@@@0001 snd_cmi8330
alias pnp:d@@@0001 snd_dt019x
arf, they have the same id, so modprobe will load only the first one.
This won't work :(
alias pnp:dADV0010 snd_interwave
alias pnp:dADV0010 snd_interwave_stb
idem
alias pnp:dCSC0000 snd_cs4232
alias pnp:dCSC0000 snd_cs4236
alias pnp:dCSC0000 snd_wavefront
alias pnp:dCSC0010 snd_cs4232
alias pnp:dCSC0010 snd_cs4236
alias pnp:dCSC0010 snd_wavefront
alias pnp:dCTL0031 snd_sb16
alias pnp:dCTL0031 snd_sbawe
alias pnp:dCTL0041 snd_sb16
alias pnp:dCTL0041 snd_sbawe
alias pnp:[EMAIL PROTECTED]@0001 snd_als100
alias pnp:[EMAIL PROTECTED]@0001 snd_dt019x
alias pnp:dOPT0000 snd_opti92x_ad1848
alias pnp:dOPT0000 snd_opti92x_cs4231
alias pnp:dOPT0002 snd_opti92x_ad1848
alias pnp:dOPT0002 snd_opti92x_cs4231
alias pnp:dOPT0002 snd_opti93x
alias pnp:dOPT9250 snd_opti92x_ad1848
alias pnp:dOPT9250 snd_opti92x_cs4231
alias pnp:dPNPb003 snd_sb16
alias pnp:dPNPb003 snd_sbawe
alias pnp:dPNPb006 snd_cs4232
alias pnp:dPnPb006 snd_wavefront
alias pnp:[EMAIL PROTECTED]@0001 snd_als100
alias pnp:[EMAIL PROTECTED]@0001 snd_cmi8330
alias pnp:[EMAIL PROTECTED]@0001 snd_dt019x
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]