On Sun, Oct 16, 2005 at 05:08:46PM +0200, matthieu castet wrote:
> 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 :(

No, modprobe will load all of them.  Please try it.

greg k-h


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to