[Debian-eeepc-devel] wwan3g rfkill: Operation not permitted

Thiemo Nagel thiemo.nagel at ph.tum.de
Fri Jul 10 13:35:39 UTC 2009


Corentin Chary wrote:
> On Fri, Jul 10, 2009 at 12:23 PM, Thiemo Nagel<thiemo.nagel at ph.tum.de> wrote:
>> I just tested the new GSM rfkill in 2.6.31-rc2 and I get the following on my
>> EeePC 1000HGO:
>>
>> eee:/# cat /sys/class/rfkill/rfkill2/name
>> eeepc-wwan3g
>> eee:/# echo 0 > /sys/class/rfkill/rfkill2/state
>> bash: echo: write error: Operation not permitted
>>
>> What could be the reason for that?
> 
> Reading the kernel source I can find:
>         /*
>          * The intention was that userspace can only take control over
>          * a given device when/if rfkill-input doesn't control it due
>          * to user_claim. Since user_claim is currently unsupported,
>          * we never support changing the state from userspace -- this
>          * can be implemented again later.
>          */
> 
> It seems that rfkill should be controlled by /dev/rfkill (cf
> Documentation/rfkill.txt).
> Maybe network-manager can control that .. But I'm not sure.
> Maybe you should CC the wireless mailing list.

Thanks for the quick reply.  The interesting thing is, that the direct
access works well for eeepc-wlan and eeepc-bluetooth rfkills.  I've CC'd
debian-eeepc-devel, maybe they know something.

Kind regards,

Thiemo

-- 
+-----------------------------------+--------------------------+
| Dipl.-Phys. Thiemo Nagel          |                          |
| Technische Universitaet Muenchen  | Room    PH1 3276         |
| Physik-Department E18             |                          |
| James-Franck-Strasse              | Phone  +49 89 289-12379  |
| D-85747 Garching                  | Fax    +49 89 289-12570  |
+-----------------------------------+--------------------------+



More information about the Debian-eeepc-devel mailing list