> >> So the crucial question for me is:
> >> Is it possible to use zd1211rw without udev? and
> >> What has to be done for this working? (I'm sure there is something to do:-)
> >>
> > 
> > The only problem I can think of is loading the device's firmware.

Correct, thats my problem too.
 
> You can use a much simpler script for embedded work that can cope with 
> firmware loading then the hotplug or udev packages would use.
> 
> #!/bin/sh
> # Both $DEVPATH and $FIRMWARE are already provided in the environment.

Andi, could you post your DEVPATH, please?

> HOTPLUG_FW_DIR=/lib/firmware
> 
> date >>/tmp/hotplug_debug
> echo ACTION=$ACTION >>/tmp/hotplug_debug
> echo DEVICE=$DEVICE >>/tmp/hotplug_debug
> echo PRODUCT=$PRODUCT >>/tmp/hotplug_debug
> set >>/tmp/hotplug_debug
> 
> 
> if [ "$ACTION" = "remove" ] ; then
>   echo "(aborting as it is remove)">>/tmp/hotplug_debug
>   exit 0
> fi
> 
> echo DEVPATH=\'$DEVPATH\' >>/tmp/hotplug_debug
> echo FIRMWARE=\'$FIRMWARE\' >>/tmp/hotplug_debug
> ll $HOTPLUG_FW_DIR/$FIRMWARE >>/tmp/hotplug_debug
> echo >>/tmp/hotplug_debug
> ll /sys/$DEVPATH >>/tmp/hotplug_debug
> sleep 1
> echo -n "1">/sys/$DEVPATH/loading

How did you manage writing to sysfs. I tried to mount it with 'exec' option, 
but without success. Nowhere I can find a file named 'loading' or 'data', so I 
assume you create it?

regards, Stephan
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to