[Gta04-owner] qtmoko wireless
Radek Polak
psonek2 at seznam.cz
Wed Mar 20 15:42:44 CET 2013
On Tuesday, March 19, 2013 09:36:37 PM e.waelde wrote:
> Hello,
>
> I installed qtmoko-v53 afresh on a new shiny microSDcard.
> Thanks for all the hard work, folks!
>
> I wanted to use wlan, I had difficulties so far with that. This
> is what I found:
>
> 1.
> After turning on logging, studying the scripts in /opt/qtmoko/bin
> and reading /tmp/qtopia-network.log a bit, it turned out, that
> "Internet" partly aka /opt/qtmoko/bin/lan-network.sh is expecting
> Information in $HOME/Settings/Network.
>
> However,
> $HOME == /root
> whereas the wanted files reside in
> /home/root/Settings/...
>
> A symbolic link
> /root/Settings -> /home/root/Settings
> cured it for now. I could connect to my access point, which had not
> worked before. :-)
>
> Bug or feature?
> Where is the right place to fix this?
$HOME=/root should be set only when you ssh to the device. On QtMoko runtime
it's changed to /home/root. This is done in /opt/qtmoko/qpe.env which is
sourced by /opt/qtmoko/qpe.sh which lauches qtmoko binary (qpe).
https://github.com/radekp/qtmoko/blob/master/devices/gta04/src/devtools/startup/qpe.env
So now i wonder how it could have started working :) Did it start working from
the gui or you launched the script from ssh?
Btw i was running for some time qtmoko with symlink /root -> /home/root and it
worked well. I quite dont understand the /root and /home/root separation -
what is it good for...
> 2.
> I suspect that wireless is powered on by default.
> rfkill list does not say, anything "blocked". This is
> *before* I started with the action under point 1.
> Power consumption during suspend is 20mA and I had seen
> 14 mA some time ago.
>
> Can someone please comment on this? Thanks.
Hmm i think QtMoko does not touch wifi rfkill. Maybe it should start using it,
but maybe it's not needed. We would have to check if kernel shuts wifi power
automatically when the interface is down - i guess it does.
Regards
Radek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130320/e53d53fd/attachment.html>
More information about the Gta04-owner
mailing list