El Jue 16 Ene 2003 01:25, Todd Lyons escribi� sabiamente:
> oscar wrote on Thu, Jan 16, 2003 at 12:55:01AM +0100 :
> > Hi all,
> > I wrote to the list about sony micro vault 128 usb storage. Now I have it
> > working in my LM 8.2 thanks to Todd with modprobe sd_mod.
> > Now I have tested it in my LM 9.0 computer and I presume that we have a
> > little My computer was in a loop, and when I ran "top", I discovered a
> > program which was running over an over again eating 50% of cpu time:
> > drakupdate_fsta. How I stoped the loop? I should rename
> > /usr/sbin/drakupdate_fsta to
>
> Well that just shows how much the kernel changed inbetween 8.2 and 9.0.
> Remove that line from /etc/modules.conf and that will get rid of the
> loop. As for how to make it automatic, look in /etc/hotplug/usb
> directory. You'll have to put a script there that will modprobe that
> module in.
>
> Blue skies... Todd
I already tried it. The result is the same. When I plug the micro vault, the
loop start. I can use the micro vault only if I rename drakupdate_fsta. Then,
will I have any problem if I rename drakupdate_fsta?
Now, this is my solution:
/etc/hotplug/usb.usermap:
sony_microvault 0x0003 0x054c 0x0105 0x0000 0x0000 0x00
0x00 0x00 0x00 0x00 0x00
0x00000000
/etc/hotplug/usb/sony_microvault:
#! /bin/sh
if [ -t -o ! -x /usr/bin/logger ]; then
mesg () {
echo "$@"
}
else
mesg () {
/usr/bin/logger -t $0 "$@"
}
fi
mv /usr/sbin/drakupdate_fsta /usr/sbin/drakupdate_fsta.off
modprobe sd_mod
mesg Module sd_mod running. Now /dev/sda is here.
echo "#!/bin/bash" > $REMOVER
echo "if [ -t -o ! -x /usr/bin/logger ]; then" >> $REMOVER
echo " mesg () {" >> $REMOVER
echo " echo \"\$@\"" >> $REMOVER
echo " }" >> $REMOVER
echo "else" >> $REMOVER
echo " mesg () {" >> $REMOVER
echo " /usr/bin/logger \"\$@\"" >> $REMOVER
echo " }" >> $REMOVER
echo "fi" >> $REMOVER
echo "modprobe -r sd_mod" >> $REMOVER
echo "mesg Module sd_mod removed." >> $REMOVER
echo "mv /usr/sbin/drakupdate_fsta.off /usr/sbin/drakupdate_fsta" >> $REMOVER
chmod a+x $REMOVER
Thank you
--
�scar Santacreu
Usuario de Linux Registrado #227443
http://counter.li.org/
Windows Free Environment
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com