[Debian] ar6000 and /proc/net/dev
luca at pca.it
Fri Mar 20 00:32:54 CET 2009
On Thu, 19 Mar 2009 19:04:36 +0100, Sebastian Reichel wrote:
> On Thu, Mar 19, 2009 at 06:00:18PM +0100, Luca Capello wrote:
>> eth0 is not present in /proc/net/dev at boot, but iwconfig shows it.
>> However, since it is now managed by frameworkd, `ifconfig eth0 up`
>> gives me the "No such device" error.
> if you modprobed ar6k and don't use frameworkd, the ar6000 needs
> power, even if the interface is down. The framework unbinds the
> device, so that wlan is completly disabled. The only other method
> for frameworkd to prevent wlan from sucking power would be to unload
> the module completly. Either way: The device is lost in
> /proc/net/dev , since it doesn't exist anymore ;)
Thank you for the explanation, but I find it a bit confusing: either the
module is loaded and the device exists or the opposite.
And I have compared it with the iwl3945/rfkill case on purpose: whenever
there is an hardware switch the correct way to disable a radio device
(like wireless) is through the rfkill class. Since this should be the
same as unbinding the device (if I understand correctly what "unbind a
device" means), well, the result WRT to /proc/net/dev should be
consistent, which is not the case.
NB, this is not a rant: unfortunately, I do not have the time nor the
capacity (both as formation and skills) to help here with any code.
However, I would like to undersand how the things work ATM and how (and
if) they are supposed to evolve.
>> First question: I cannot find how to enable it via frameworkd, is this
>> documented somewhere?
> DBUS Documentary is available @ http://docs.freesmartphone.org
> or in pkg-fso's package fso-frameworkd-doc
I am aware of both resources, thanks. However, when I look for the
command on docs.f.o, I could not find any direct reference to WiFi nor
Thanks to both Gregor and you for the reply, which however use D-Bus
methods. How can I do the same without frameworkd, thus D-Bus?
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 314 bytes
Desc: not available
More information about the Smartphones-kernel