Re: ipw srcipts for hal



Sorry I didn't read the previous message!
What could be the problem of using both dell and ipw? what does the bios dell switch do?

Why should the script written in C?
All right it should pass the UDI. I will try to do it.

The script handles kill values 2 and 3:
[...]
elif [ "$value" = "1" ] || [ "$value" = "2" ] || [ "$value" = "3" ]; then
[...]


----- Messaggio originale -----
Da: Bastien Nocera <hadess hadess net>
A: yelo_3 <yelo_3 yahoo it>
Cc: network manager <networkmanager-list gnome org>
Inviato: Domenica 24 giugno 2007, 15:22:51
Oggetto: Re: ipw srcipts for hal

On Sun, 2007-06-24 at 13:00 +0000, yelo_3 wrote:
> Starting from the scripts Dan provided, I tried to add "set" to them. Here is what I've done

Same problems as Dan's scripts, I'll reiterate:

> You need to disable your script for Dell laptops, in the fdi,
> otherwise you end up with 2 levels of rfkill, one at the card level,
> one at the BIOS level.
> 
> The shell script should be in C, and probably use the UDI passed to
> it, instead of looking for the device by hand.
> 
> Finally, You don't handle values 2 and 3 in the Get. From the ipw2200
> README:
>  rf_kill
>         read - 
>         0 = RF kill not enabled (radio on)
>         1 = SW based RF kill active (radio off)
>         2 = HW based RF kill active (radio off)
>         3 = Both HW and SW RF kill active (radio off)
>         write -
>         0 = If SW based RF kill active, turn the radio back on
>         1 = If radio is on, activate SW based RF kill
> 
>         NOTE: If you enable the SW based RF kill and then toggle the
> HW
>         based RF kill from ON -> OFF -> ON, the radio will NOT come
> back on


-- 
Bastien Nocera <hadess hadess net> 








      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]