Re: Not activate WiFi at PowerOn

2008-07-29 Thread kd8ikt
oh my bad i didnt read that correctly , its way past my bedtime anyway
> Disable Wifi at boot (cause its on by default)
>
> my suggestion is to drop in an `echo 0 > /sys/wlan/dev`
> the exact location? i dunno but here lets findout
>
> [EMAIL PROTECTED]:~# find /sys |grep power |grep eth0
> /sys/devices/pnp0/00:01/net/eth0/power
> /sys/devices/pnp0/00:01/net/eth0/power/wakeup
> [EMAIL PROTECTED]:~#
>
> so
>
> #current state ?
> cat /sys/devices/pnp0/00:01/net/eth0/power  
>
> #OFF!
> echo 0 > /sys/devices/pnp0/00:01/net/eth0/power
>
> drop the off cmd in a boot script
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Not activate WiFi at PowerOn

2008-07-29 Thread kd8ikt
Disable Wifi at boot (cause its on by default)

my suggestion is to drop in an `echo 0 > /sys/wlan/dev`
the exact location? i dunno but here lets findout

[EMAIL PROTECTED]:~# find /sys |grep power |grep eth0
/sys/devices/pnp0/00:01/net/eth0/power
/sys/devices/pnp0/00:01/net/eth0/power/wakeup
[EMAIL PROTECTED]:~#

so

#current state ?
cat /sys/devices/pnp0/00:01/net/eth0/power  

#OFF!
echo 0 > /sys/devices/pnp0/00:01/net/eth0/power

drop the off cmd in a boot script

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Not activate WiFi at PowerOn

2008-07-29 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Hi,
|
| Am Dienstag, den 29.07.2008, 08:54 +0100 schrieb Andy Green:
|> Somebody in the thread at some point said:
|> | Hello,
|> |
|> | How can I disable WiFi at PowerOn?
|> | It´s not nice to manually disable it after all Reboot.
|>
|> I was staring at this code the other day... we just force it up during
|> machine init.  It's expensive too, 300ms or so wasted on it blocking
|> startup and the power is subsequently always getting used.
|>
|> I will push it into its own powermanagement /sys file like we do bt and
|> gps for example, but this will break userspace until they start using
|> the /sys.  Still one the dust settles that will be much more sane.
|
| Are you tracking this with a bug in the tracker somehow, so that one can
| subscribe (using the CC field) and watch the status?

The patch is done already, here's the "ticket" -->

https://docs.openmoko.org/trac/ticket/1684

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiO834ACgkQOjLpvpq7dMrKFgCfUYkXycb8W026nokr3f+4cDZD
dKkAn24DxTwJKqqbhMBs1AnsMHNBdlKi
=Npft
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Not activate WiFi at PowerOn

2008-07-29 Thread Joachim Breitner
Hi,

Am Dienstag, den 29.07.2008, 08:54 +0100 schrieb Andy Green:
> Somebody in the thread at some point said:
> | Hello,
> |
> | How can I disable WiFi at PowerOn?
> | It´s not nice to manually disable it after all Reboot.
> 
> I was staring at this code the other day... we just force it up during
> machine init.  It's expensive too, 300ms or so wasted on it blocking
> startup and the power is subsequently always getting used.
> 
> I will push it into its own powermanagement /sys file like we do bt and
> gps for example, but this will break userspace until they start using
> the /sys.  Still one the dust settles that will be much more sane.

Are you tracking this with a bug in the tracker somehow, so that one can
subscribe (using the CC field) and watch the status?

Thank,
Joachim
-- 
Joachim "nomeata" Breitner
  mail: [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Key: 4743206C
  JID: [EMAIL PROTECTED] | http://www.joachim-breitner.de/
  Debian Developer: [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Not activate WiFi at PowerOn

2008-07-29 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Hello,
|
| How can I disable WiFi at PowerOn?
| It´s not nice to manually disable it after all Reboot.

I was staring at this code the other day... we just force it up during
machine init.  It's expensive too, 300ms or so wasted on it blocking
startup and the power is subsequently always getting used.

I will push it into its own powermanagement /sys file like we do bt and
gps for example, but this will break userspace until they start using
the /sys.  Still one the dust settles that will be much more sane.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiOzL4ACgkQOjLpvpq7dMqvwwCaA0ZfRGawovdD/PpqlSAMbOMY
jnAAnAmROtxbfARgimakUTCgw8Cd6JEU
=4O0O
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Not activate WiFi at PowerOn

2008-07-28 Thread atweb
Hello,

How can I disable WiFi at PowerOn?
It´s not nice to manually disable it after all Reboot.

cu
Markus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community