Re: [Debian] Wlan and suspend/resume

2008-12-20 Thread Timo Juhani Lindfors
Fox Mulder quakem...@gmx.net writes: That's not good. Is there another way to get the wlan status with help of a console command like dbus or anything else? I am not sure. There's an ioctl but it seems to give different results than the power_on sysfs node.

Re: [Debian] Wlan and suspend/resume

2008-12-20 Thread Paul Fertser
Hi, Timo Juhani Lindfors timo.lindf...@iki.fi writes: That's not good. Is there another way to get the wlan status with help of a console command like dbus or anything else? I am not sure. There's an ioctl but it seems to give different results than the power_on sysfs node. It was recently

Re: [Debian] Wlan and suspend/resume

2008-12-20 Thread Timo Juhani Lindfors
Paul Fertser fercer...@gmail.com writes: echo s3c2440-sdi /sys/bus/platform/devices/s3c2440-sdi/driver/unbind Aha, so this should reduce power consumption? ___ Openmoko community mailing list community@lists.openmoko.org

Re: [Debian] Wlan and suspend/resume

2008-12-20 Thread Paul Fertser
Hi, Timo Juhani Lindfors timo.lindf...@iki.fi writes: Paul Fertser fercer...@gmail.com writes: echo s3c2440-sdi /sys/bus/platform/devices/s3c2440-sdi/driver/unbind Aha, so this should reduce power consumption? As far as i understand it is as effective as sending the magic ioctl and equally

[Debian] Wlan and suspend/resume

2008-12-19 Thread Fox Mulder
I build a little script which logs important status information to a text file immediatly before i suspend and after i resume. I wrote it to have some information about how much capacity of the battery is drained while in suspend. Therefore i log the current capacity of the battery (in %) and

Re: [Debian] Wlan and suspend/resume

2008-12-19 Thread Timo Juhani Lindfors
Fox Mulder quakem...@gmx.net writes: My problem now is, that i can't find any suitable file for wlan. I only Which kernel? andy-tracking de473 has one for wlan too. Btw, I have a similar script too. It tells me how many percentage units of capacity per hour were lost during suspend when the

Re: [Debian] Wlan and suspend/resume

2008-12-19 Thread Fox Mulder
Timo Juhani Lindfors wrote: Fox Mulder quakem...@gmx.net writes: My problem now is, that i can't find any suitable file for wlan. I only Which kernel? andy-tracking de473 has one for wlan too. Btw, I have a similar script too. It tells me how many percentage units of capacity per hour