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
>  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> 

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