Re: Power consumption and WLAN APs

2008-11-04 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> On Fri, 22 Aug 2008, Kalle Valo wrote:
>
>> First of all, sorry for taking so long. I was on vacation and had some
>> urgent things to do first. The capture data is really helpful, thanks
>> a lot for that. I'm looking at them right now.
>
> Did you ever find anything ?

Didn't even look until now, sorry :/

> I still have the problem, after a minor Diablo update. I've taken to
> putting the tablet in offline mode at work unless I'm actually using it.
> I have a ticket open with Proxim but their engineers have not got back
> to the support guy.
>
> http://andrew.triumf.ca/reqauth/PSM/  (test/test)
> https://bugs.maemo.org/show_bug.cgi?id=3708

Let's discuss more in the bug. That way all the needed information is
easily available.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wifi name

2008-08-25 Thread Kalle Valo
Patrik Flykt <[EMAIL PROTECTED]> writes:

>> icd got major overhaul (to put it mildly) in diablo, that
>> might have an effect here.
>
> Starting with Diablo, ICd2 now sets the DHCP hostname option if the
> device has a non-NULL hostname. If the above file is changed, the
> hostname is picked up in the next reboot. Or as root set it from the
> command line (as in 'hostname foobar').
>
> And yes, major overhaul is a mild understatement :-).

But hey, I got your attention that way ;-)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wifi name

2008-08-25 Thread Kalle Valo
"ext John Holmblad" <[EMAIL PROTECTED]> writes:

>  It is possible that your DHCP service is not recognizing/processing the 
> host name option parameter^1 in the DHCP request from the N800.  I know 
> for a fact that the Linksys RV series of routers, which do support an 
> optional DHCP server, do process the parameter properly. The client host 
> name appears as
>
> Nokia-N800-23-14

Jeff and John, what software versions are you using? diablo or still
chinook? icd got major overhaul (to put it mildly) in diablo, that
might have an effect here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-08-21 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> I was able to get the IBM laptop into monitor mode using the madwifi
> instructions (thanks) - airodump did not do it as it does on the tablet.
> # wlanconfig ath0 destroy
> # wlanconfig ath0 create wlandev wifi0 wlanmode monitor
> # ifconfig ath0 up
> # echo '801' > /proc/sys/net/ath0/dev_type
>
> then I could use tcpdump or ethereal/wireshark. If I don't suppress
> prism headers then I can't refilter with "tcpdump wlan host "
> which makes it hard to sift through the traffic at work.
>
> I have placed some capture data on my server at
> http://andrew.triumf.ca/reqauth/PSM/
> (password test/test to keep out robots and the clueless)

First of all, sorry for taking so long. I was on vacation and had some
urgent things to do first. The capture data is really helpful, thanks
a lot for that. I'm looking at them right now.

I cannot download mad26.home.no.unique.beacons.cap and
mad27.home.test.beacon.cap, server gives me 403. Please fix this
whenever you find the time.

Filtering usually makes my work harder and I prefer unfiltered capture
data, but at the same time I fully understand your privacy concerns.
Especially I'm interested with PS-Poll and Ack frames but, for
example, broadcast frames from the AP might have an effect. But I can
manage with this for now, it's just that I have to do more guesswork.

Also can you please file a bug for this? I really don't want to get
this buried into email. Having this in bugzilla makes it much more
visible.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-24 Thread Kalle Valo
"ext John Holmblad" <[EMAIL PROTECTED]> writes:

> Kalle,

Hi John,

> thanks for the response,and yes, after another day of work with the
> upgraded OS on the N800 I concluded that the N800 was low on battery
> as a result of either
>
> a) the unit was not fully charged to begin with, or
>
> b) for a while I used the speakers on the N800 to listen to the radio
> while I was working, or
>
> c)  the processor was working hard while doing the downloads/upgrades.
>
> At this point the unit is behaving quite nicely from a power
> consumption perspective even though the wilaninfo app shows signal
> quality at ~40% with the poll interval set to 5 sec.

Ok, let's hope that the problem you saw was just a random glitch.

> It also appears that all of my client wireless cards are running
> 802.11g because the wilaninfo app is showing the raw channel rate as
> fluctuating between  36, 48, and 54mbps.

Actually 11g devices can always use 54 Mbps even if there are 11b
devices around. What the AP will do is that it will enable the so
called ERP protection methods CTS-to-Self and long slot time, which
make it possible for 11g devices to still use higher bitrates.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-24 Thread Kalle Valo
"ext Frederic Crozat" <[EMAIL PROTECTED]> writes:

> On Wed, Jul 23, 2008 at 9:43 PM, Kalle Valo <[EMAIL PROTECTED]> wrote:
>>
>> This is getting difficult. So if your ADSL line is dead for a day your
>> WLAN AP will not work, did I understand this right? If yes, that sucks
>> big time.
>
> Only if there is also a power loss and AP need to reboot (it needs
> ADSL line working to download its firmware over DSL at each boot).
> And frankly, it is not really an issue (no downtime for several
> years for myself ;).

Good then. For me that kind of setup just sounds too much of a company
control for my taste.

>>> Anyway, I've pinged Freebox engineer in hope they might have a clue on
>>> the issue.
>>
>> That's your only chance, unfortunately. I would assume now that WLAN
>> is getting more popular in mobile phones they would get more pressure
>> to fix this. Let's hope for the best.
>
> Well, when I discussed with them, they told me they already fixed
> PSM for usage with Wifi phones they are selling. So, PSM is working,
> but not (yet) with Nokia internet tablet ;)

Then that's very strange. I wonder do they refer here that they fixed
the frame loss problems (ie. disconnecting from networks etc) or power
consumption problems.

If I would just get access to this device for few hours. This is not
easy.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-24 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> I opened a ticket with Proxim.

Very good, thanks.

> They suggest turning off SSID broadcast and see if that reduces the
> battery use. Sounds like b/s to me, but I may be wrong. 

Yes, that has nothing to do with your problem.

> If I try that at home, I have to mark the connection as "hidden"
> otherwise I can't select it to connect to, and I suspect it would
> annoy people at work. I still get beacons every 100ms.

Yeah, hiding SSID just makes it more difficult (=slower) to find the
network while scanning, because you have to explicitly scan for all
saved networks. My strong recommendation is to avoid that feature
altogether, and it doesn't really improve security.

> I can't set the wireless chip in my IBM laptop to monitor mode 
> (atheros/madwifi driver)

Madwifi does it a bit differently, here's some documentation:

http://madwifi.org/wiki/UserDocs/MonitorModeInterface

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-24 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> Lots of detail I don't understand. I can see the beacon interval on
> the Proxim APs is 100ms (same as the Linksys default), and see the
> DTIM info (whether data is being held).
>
> IEEE 802.11 Beacon frame, Flags: 
> Type/Subtype: Beacon frame (0x08)
> Frame Control: 0x0080 (Normal)
> Flags: 0x0
> ...0  = PWR MGT: STA will stay up
> IEEE 802.11 wireless LAN management frame
> Fixed parameters (12 bytes)
> Beacon Interval: 0.102400 [Seconds]
> Capability Information: 0x0421
>    ...1 = ESS capabilities: Transmitter is an AP
>  0...   = Automatic Power Save Delivery: apsd not 
> implemented
>
> home and work have the same flags, except at home
> short preample is allowed. I.e. PWR MGT is 0 at home, too.

Beacons (and all other frames originating from the AP) will always
have the PWR MGT bit zeroed, because AP will never sleep.

> We have multiple APs at work; I assume that in normal operation the
> tablet is registered with only one and will ignore beacons from
> the others.

Correct.

> All the packets from home, and most from work, show as "malformed
> packet" for some reason. airodump didn't offer a capture length and
> the packets are fairly small (85 bytes) so I don't think truncated

Usually missing FCS causes this. There's a setting in Wireshark under
IEEE 802.11 to enable and disable FCS calculation. Try reverting that
option.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Need C++ Compiler

2008-07-23 Thread Kalle Valo
"ext Matt Emson" <[EMAIL PROTECTED]> writes:

> As Maemo doesn't use C++ that much (if at all?)

The browser is written in C++ AFAIK.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-23 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> Excellent writeup, thanks :-)

You welcome.

> So, what devices apart from the Nokia tablets use PSM ?

Nokia phones (N95, N81 etc) use WLAN PSM. They might even have more
aggressive PSM tablets have.

> iPhone ? 

I once (like a year ago) played with an iPhone. What it did was that
it disassociated (ie. disconnected) from the AP few minutes after the
display was turned off. But I haven't looked at it since.

> Palm ? Windows Mobile devices like the UTstarcom PocketPC ?

No idea. I haven't had access to those kind of devices.

> I opened a ticket with Proxim; not sure if our contract includes
> support but maybe I'll get a reply.

I wish you luck.

> Is there anything for the tablets that can log wireless traffic in
> enough detail to show whether PSM is working ? airodump-ng ??
>
> How about on laptops ? Airmagnet drivers perhaps (which we don't have)

Good question. I should write something about this as well because
having proper airlogs would help a lot with these kind of problems. I
just don't have the time to do it right now :/

But basically you use can set the driver to monitor mode (iwconfig
wlan0 mode monitor), set the correct channel (iwconfig wlan0 channel
7) and use tcpdump to save the log to a file (tcpdump -i wlan -w
wlandump.cap). The cap file can be read with wireshark and you can see
all the WLAN frames trasmitted over the air.

Please note that not all drivers support monitor mode or they have
some quirks using it. Here's a link to page describing how to use
monitor mode with madwifi:

http://madwifi.org/wiki/UserDocs/MonitorModeInterface

> I have an ancient Orinoco Gold card on a Dell Latitude, and a slightly
> less old Thinkpad with (I think) madwifi driver, and a new Lenovo on
> the way (Windows, though)

I have used madwifi to sniff WLAN frames quite a lot, but nowadays I
use iwl3945 because it's fully Open Source.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-23 Thread Kalle Valo
"ext Frederic Crozat" <[EMAIL PROTECTED]> writes:

>> Why is PSM so fragile then? Since I can't sleep (jet lag, argh), I'll
>> write a bit about this.
>
> 
>
> wow, thanks for the detail explanations. I kind of better understand
> PSM issues.

Excellent.

>>> A first bug was found in ralink proprietary driver which was losing
>>> AP association after some time in PSM mode, which was fixed by
>>> Ralink.
>>
>> Hmm, I would first suspect that the AP is not really buffering all
>> frames. I have seen APs which periodically send Null frames to check
>> that the client is really alive. Maybe the AP vendor forgot to check
>> if the client is sleeping when they send the Null frame? Wouldn't be
>> the first.
>
> I've forwarded your email to Freebox engineer ;)

Thanks.

>> But what I could do is to analyse the problem myself. It would take
>> only an hour or two, including writing a small report about the
>> problem which I can send everyone interested (hopefully this includes
>> the vendor). So if you would be able to convince the vendor to send
>> the AP for a loan? If that's not possible, are you coming to Maemo
>> Summit? If I manage to come and you can take the AP with you, I could
>> take a look at it onsite.
>
> Unfortunately, it won't be possible because Freebox (the name of
> set-top-box = ADSL modem + wifi mimo router + many other nice things)
> can only work when they are synchronized over ADSL with Free ISP
> DSLAM. So, even if we could send you a Freebox, you couldn't do
> anything with it :(

This is getting difficult. So if your ADSL line is dead for a day your
WLAN AP will not work, did I understand this right? If yes, that sucks
big time.

> Anyway, I've pinged Freebox engineer in hope they might have a clue on
> the issue.

That's your only chance, unfortunately. I would assume now that WLAN
is getting more popular in mobile phones they would get more pressure
to fix this. Let's hope for the best.

>> BTW, is there a bug about this? If not, please file one. I'll forward
>> it to our IOP testers so that they could try get access to the AP as
>> well.
>
> Done : https://bugs.maemo.org/show_bug.cgi?id=3481

Thanks a lot.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-23 Thread Kalle Valo
"ext John Holmblad" <[EMAIL PROTECTED]> writes:

> Kalle.

Hi John,

> thanks for sharing your deep, if sleep deprived,  insights re 802.11
> power management.

I'm glad that it was helpful.

> I have read them out of both general interest in the workings of
> 802.11 but also as a result of the fact that just this weekend I
> upgraded my N800 to OS2008 (~20 minutes-yeah) and
> reinstalled/upgraded/tested most of my apps (~7 hours-boo). 
>
> As you know, the 802.11g standard  which uses OFDM modulation supports
> backward compatibility with 802.11b which uses DSSS modulation. Does
> the PSM method you describe work the same way for 802.11g irrespective
> of which modulation method is being used by the radio? I should think
> so.

Yes, PSM does not depend on the modulation (DSSS, OFDM) or the band
(2.4 or 5 GHz).

> However, the reason I ask this question relates to the following
> observation:
>
> After the OS upgrade I started getting low battery warnings when my
> N800 was not connected to AC power for "a while" (less than a few
> hours).  I do not remember having this problem when my N800 was
> running OS2007.

I would first recommend to see if you have badly behaving application
which is waking up CPU too often. Other option is to disable WLAN
altogether using Offline mode and try to test if it's really WLAN
related.

> Noteworthy here is the fact that both before and after the OS upgrade,
> my method of network access for the N800 was the same, that is, 802.11
> wireless to a Proxim (formerly Lucent)  Orinoco AP-2000. Now this
> AP-2000 is a dual radio (802.11a and 802.11g) system with both radios
> active at the same time, albeit in their respective frequency bands
> (5.7 ghz and 2.4 ghz respectively).

Like I said, the band and modulation shouldn't affect here in any way.

> Furthermore, I am fairly certain that at least one of the client
> devices associated with the 802.11g radio on the AP-2000 is operating
> in 802.11b (DSSS) mode (I can, but did not verify this), which, of
> course, means that any other 802.11g clients associated with that
> radio will "downshift" to 802.11b mode.
>
> One thing that is different is that, prior to the upgrade, my N800
> while at my desk was less than ~1 meter from the AP-2000. Now, because
> I have moved my desk to a different location,  it is ~5 meters from
> the AP-2000 and the signal has to penetrate a ceiling/floor to get to
> the AP.  I will do some more testing today of the N800 while detached
> from its AC power source to see how long it can go before the battery
> runs down.

There's also the background scan which is enabled if the RSSI value
goes below a certain threshold. But the threshold is nowadays quite
low and it doesn't increase power consumption that much, even with
background scanning enabled you should still get days of standby time.

I bet my money on a badly behaving application. But as usually with
gambling, I'm just guessing here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-21 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> On Mon, 21 Jul 2008, Kalle Valo wrote:
>
>>> I recently noticed that my tablet battery runs down faster at work than
>>> at home, with the WiFi enabled but otherwise sitting idle (12%/hour vs
>>> 1%/hour).
>>
>> What do you mean by 12%/hour? That the battery will run out in eight
>> hours?
>
> I guess. I was using the "battery-status" application which reports
> percentage of battery left, and measuring the slope.

Ok, I'm not aware of that application. I hope the percentage is
linear, so that we can trust that.

>> Yes, multicast and broadcast traffic will increase WLAN power
>> consumption. But there has to be a lot of traffic going on to really
>> notice it.
>
> I tried doing a broadcast ping every 200ms at home (the tablet sees it
> if I run tcpdump) but it had no noticable effect on the battery
> consumption graph.

Ok, the result was as expected.

>> If the AP is behaving correctly, the power consumption in PSM on a
>> idle N800/N810 are mostly affected by these:
>>
>> o beacon interval (longer has smaller power consumption)
>> o DTIM interval (same as above)
>> o broadcast/multicast traffic
>
> I'll have a look at the AP config tomorrow and see if I can find
> anything.

I doubt that you will find anything which will fix your problem, I'm
afraid. These are usually software bugs in the AP firmware and which
can be only fixed by a firmware update :/

> My linksys at home has beacon interval 100ms, DTIM=1 (i.e. default
> values). The Linksys docs suggest that DTIM data is only sent if
> there are broadcast packets waiting, so perhaps setting this larger
> would have little effect if I don't have much broadcast traffic.

Actually DTIM makes a difference, because N8x0 will wake up only for
DTIM beacons. Let's take an example: if beacon interval is 100 ms and
DTIM is 10, N8x0 will wake up for beacons every 1000 ms. But if DTIM
would be 3, N8x0 would wake up for beacons every 300 ms.

> Besides, the problem is at work, not home.

That's right. Optimising DTIM might get you, for example, from 5 days
to 6 days of standby time with correctly working APs. But, if at your
work the standby time is 8 hours, optimising DTIM doesn't do any good
because the chip is obviously sleeping very litte, if any.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-21 Thread Kalle Valo
a tablets) was
> known to be problematic (Freebox is using Ralink chipset).

I doubt that the Conexant chipset itself is the problematic one, most
probably all chipsets using PSM (with PS-Poll frames) would be
problematic. We have tried to solve a lot of the PSM problems with
Conexant, and usually the problems have been in AP. And usually even
in the i-need-a-time-machine category just to be not able to
workaround them.

I'm quite confident that the PSM mode in the Conexant chip is working
fine. Of course there might be bugs lurking somewhere, I don't deny
that. But I want to see concrete proof of that before I'll believe it :)

> A first bug was found in ralink proprietary driver which was losing
> AP association after some time in PSM mode, which was fixed by
> Ralink.

Hmm, I would first suspect that the AP is not really buffering all
frames. I have seen APs which periodically send Null frames to check
that the client is really alive. Maybe the AP vendor forgot to check
if the client is sleeping when they send the Null frame? Wouldn't be
the first.

> Unfortunately, this fix was not sufficient to fix the power
> consumption issue and we are kind of stuck now :(

Too bad :(

> If Eero or another Nokia hackers have some information which might
> help Freebox engineers to track the issue, I'll be happy to serve as a
> proxy.

Dealing with vendors is very slow, it takes hours and hours of work,
consisting mostly writing emails. I simply don't have time for that,
and I rather write code than email. 

But what I could do is to analyse the problem myself. It would take
only an hour or two, including writing a small report about the
problem which I can send everyone interested (hopefully this includes
the vendor). So if you would be able to convince the vendor to send
the AP for a loan? If that's not possible, are you coming to Maemo
Summit? If I manage to come and you can take the AP with you, I could
take a look at it onsite.

Please note that I might not be able to join the Summit because of a
reason or another. So don't travel long journeys just because of this
testing session.

This offer is available for others coming to the Summit as well. If
you have badly behaving APs (with PSM or some other problems), take it
with you and I'll take a look.

BTW, is there a bug about this? If not, please file one. I'll forward
it to our IOP testers so that they could try get access to the AP as
well.

>> Would it affect other laptops as well or just the tablets ?
>
> I guess it will depend on laptop wifi chipset. And compared to Nokia
> tablets, entire laptop power consumption is way more important than a
> tablet, so if wifi is too important, it is probably hidden by other
> component consumption.

I'm guessing that none of Windows drivers use PSM. I have seen in few
drivers PSM setting hidden somewhere very deep in the driver settings
maze, but it has been always disabled by default. But I don't use
Windows, so someone more knowledgable can give you an better answer.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Power consumption and WLAN APs

2008-07-21 Thread Kalle Valo
"ext Andrew Daviel" <[EMAIL PROTECTED]> writes:

> On Mon, Apr 21, 2008 at 4:58 PM, Eero Tamminen <[EMAIL PROTECTED]> 
> wrote:
>>  One possibility is a WLAN AP with broken power management
>
> I recently noticed that my tablet battery runs down faster at work than 
> at home, with the WiFi enabled but otherwise sitting idle (12%/hour vs 
> 1%/hour).

What do you mean by 12%/hour? That the battery will run out in eight
hours?

My rule of thumb is basically this:

o battery lasts 6-8 hours -> PSM not working at all
o battery lasts 6-8 days -> PSM working well

This is on a N810 with clean install (no badly behaving applications
so that CPU can sleep), display turned off and no data traffic in the
network. ping needs to be run occasionally (from network, not from
tablet!) to be sure that the device is really associated to the AP.

> I thought the issue might be that there's more broadcast/multicast 
> traffic at work, which would get through the filters in the ethernet chip 
> and into the kernel, but then I found a reference to your post on the 
> list.

Yes, multicast and broadcast traffic will increase WLAN power
consumption. But there has to be a lot of traffic going on to really
notice it.

If the AP is behaving correctly, the power consumption in PSM on a
idle N800/N810 are mostly affected by these:

o beacon interval (longer has smaller power consumption)
o DTIM interval (same as above)
o broadcast/multicast traffic

If the AP is violating the spec then, well, everything goes.

Disclaimer: written under influence of jet lag at 4am. Reader
discretion is advised.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: install zimage.n800

2008-07-18 Thread Kalle Valo
"ext Lina" <[EMAIL PROTECTED]> writes:

> I try to install HIP on n8OO, I found zimage.n8OO on the site of
> infrahip, but i don(t know how to install it. Any help please??

I assume that zimage.n800 is a kernel image. You can flash it like
this:

flasher -k zimage.n800 -f

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Cant flash N810

2008-07-17 Thread Kalle Valo
"ext Keywan Najafi Tonekaboni" <[EMAIL PROTECTED]> writes:

> i follow the steps mentioned in
> http://maemo.org/community/wiki/howto_flashlatestnokiaimagewithlinux
>
> I got this output:
>
> # ./flasher-3.0 RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
> flasher v0.8.7 (Oct 17 2006)
>
> USB device found found at bus 007, device address 010
> Found device RX-44, hardware revision 0805
> NOLO version 1.1.7
> Version of 'sw-release': 
> #
>
> And then it drops back to shell
>
> How important is it, that the battery is full? Must it be fresh charged?
> The icon mentioned full (6days standby/3h using). 

Basically the battery must have charge enough to keep the device on
during the flashing process, which takes less than a minute. But you
really don't want to run out of battery when flashing the bootloader,
so it's better to be on the safe side and charge the battery full
before flashing.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Good stock answers (was Re: N810 Now Resets Very Frequently)

2008-07-16 Thread Kalle Valo
"ext Aniello Del Sorbo" <[EMAIL PROTECTED]> writes:

> About the "always", I too suggest it should be there.

My point was that the meaning of the word "always" is not precise. It
would be a lot better if the bug report says "always, tested two
times". That way I can know that the bug might need to be tested quite
a few times before seeing it.

> For example bug #3304 can be always reproduced. No matter what
> software you've installed or if it a fresh install.

Of course there are bugs which have probability of 100%, I guess most
of the bugs are like that. But there are also tricky bugs which have,
for example, a probability of 10% and that's why it's important to know
how many times the reporter has tested it.

This is the reason why I prefer always to use M/N notation. But this
is a minor issue, we shouldn't waste too much time on this.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Good stock answers (was Re: N810 Now Resets Very Frequently)

2008-07-16 Thread Kalle Valo
"ext Alberto Mardegan" <[EMAIL PROTECTED]> writes:

> ext Kalle Valo wrote:
>
>>> FREQUENCY OF OCCURRENCE: 
>>> (always, less than 1/10, 5/10, 9/10)
>> 
>> Remove the word "always" from the template. The reason being that
>> usually the reporter is able to reproduce the bug two times and
>> concludes that it happens always. But in reality that might well not
>> be the case, and marking it as 2/2 would be a lot more informative for
>> the developer.
>
> Then what about something like this?
>
> FREQUENCY OF OCCURRENCE:
> (happened X times out of Y trials)

Sounds good to me.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Good stock answers (was Re: N810 Now Resets Very Frequently)

2008-07-15 Thread Kalle Valo
Igor Stoppa <[EMAIL PROTECTED]> writes:

> On Tue, 2008-07-15 at 22:07 +0300, ext Kalle Valo wrote:
>
>> Now that I'm categorised as a bad boy, hehe, I have to improve my
>> public image and do my share on the WLAN part ;)
>
> Since I have no public image left to defend

:)

> After some random sampling of bugs present in the external bugzilla, I
> don't see such template being used in the bug creation.
>
> Why?

Yeah, that would be a good addition. One minor point before any copies
it:

> FREQUENCY OF OCCURRENCE: 
> (always, less than 1/10, 5/10, 9/10)

Remove the word "always" from the template. The reason being that
usually the reporter is able to reproduce the bug two times and
concludes that it happens always. But in reality that might well not
be the case, and marking it as 2/2 would be a lot more informative for
the developer.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Good stock answers (was Re: N810 Now Resets Very Frequently)

2008-07-15 Thread Kalle Valo
Quim Gil <[EMAIL PROTECTED]> writes:

> ext Kalle Valo wrote:
>
>> That's a very good summary how a bug owner should behave. Maybe you
>> should write an essay about that? :)
>
> Instead, he and others are writing https://wiki.maemo.org/Bugs:Stock_answers

I guess the idea is to make it easy to copy&paste the answers to the
bug reports? If so, that's a very good idea.

> You (plural) might want to give a hand there and give a rest to your
> mailboxes.  :)

Now that I'm categorised as a bad boy, hehe, I have to improve my
public image and do my share on the WLAN part ;)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810 Now Resets Very Frequently

2008-07-15 Thread Kalle Valo
ext Karsten Bräckelmann <[EMAIL PROTECTED]> writes:

> On Tue, 2008-07-15 at 19:25 +0300, Kalle Valo wrote:
>> "ext Mark" <[EMAIL PROTECTED]> writes:
>> > On Tue, Jul 15, 2008 at 8:12 AM, Igor Stoppa <[EMAIL PROTECTED]> wrote:
>> >>
>> >> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
>> >
>> > This is not helpful and in fact is inflammatory.
>> 
>> I have no clue what inflammatory means (and I'm too lazy to find out),
>> but the link Igor provided was helpful. I recommend you to calm down
>> and just read it. Or better yet, read it twice.
>> 
>> I'll definitely start using this link in bad bug reports. Igor, this
>> is just what I have needed, grazie!
>
> Please don't.
>
> Or at least, don't do it without any other comment.

Don't worry, I will definitely comment more than just a link. I'll let
the reporter know what are the specific problems with the report, and
only after that I will recommend reading the essay. I have been
planning for many years write something about how to make good bug
reports, but never had the time.

Usually the biggest problem with bug reports I receive is that they
are not precise enough. I think the author of the essay summed up it
quite nicely:

* Be specific.
* Be verbose.
* Be careful of pronouns.
* Read what you wrote.

<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>

> Remember you may be dealing with a real, non-tech-savvy user. He
> might not know how to better describe the issue, he may be
> confronted with a problem he doesn't have any idea how to
> investigate, why it started happening, or even what's going on at
> all.
>
> If you need more information, tell the user. Try to explain what info
> you'll need, what he should be looking for, and what might be related
> however unlikely it may seem for a user.
>
> If the report lacks the most important (or any, FWIW) information, also
> please tell him. Be polite and treat him as an adult.

That's a very good summary how a bug owner should behave. Maybe you
should write an essay about that? :)

> The point is not about the link. My point is about throwing a bare URI
> at the user, with absolutely no conversation or responding to the user.
> This will be perceived as rude.
>
> If you're polite, talk to the user and help him understand, you're more
> likely to get the user to respond, add the missing bits, and end up with
> a happy user (read: customer).

Thanks for the good hints. I'll print it next to my workstation so
whenever I receive a bad bug report, I'll read it, take a deep breath
and answer politely.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810 Now Resets Very Frequently

2008-07-15 Thread Kalle Valo
"ext Dave Neary" <[EMAIL PROTECTED]> writes:

> Hi Kalle,

Hello Dave,

>>> When one has a problem with a device it is helpful to find out if
>>> others are having the same problem, and may have already solved it.
>
> 
>
>> So basically you want others do all the work for you? It doesn't work
>> that way. Try to show that you have tried to do something to solve the
>> problem, for example by writing as much as info as possible. That way
>> people might be a bit more motivated to answer.
>
> Are you sure you haven't misinterpreted Mark here?

No idea. Maybe, wouldn't be the first :)

> It seems to me like the original question was "Is this happening to
> anyone else?" which is a reasonable question to ask on a users list.

Still I think the original poster should do more than just say that
"my device reboots". He should explain what version he is using, did
he install any applications, what kind of network environment he has
etc. It would take only 10 minutes of his time but it would have
helped a lot.

> Asking him to search Bugzilla and/or read a FAQ for Diablo might
> have been good answers, as would be "First I've heard of it - looks
> like you'll have to dig deeper", which is probably what I'd've said.

[...]

> That is: there's a difference between being nice and not nice, or
> welcoming and unwelcoming.

You have a point, of course. Usually if someone is nice to me, I'm
nice to him as well. But Igor gave a good link to the original poster
and all he got back was flaming. Well, that wasn't nice. Original
poster spent one minute writing the email, Igor spent a second with
the reply. Had the original poster spent 10 minutes writing the email,
Igor might have very well spent a minute writing a (better) answer.

What I'm trying to say here is that there's a correlation how much
time you spend on solving the problem and how good answers you get.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810 Now Resets Very Frequently

2008-07-15 Thread Kalle Valo
"ext Mark" <[EMAIL PROTECTED]> writes:

> On Tue, Jul 15, 2008 at 8:12 AM, Igor Stoppa <[EMAIL PROTECTED]> wrote:
>>
>> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
>>
>
> This is not helpful and in fact is inflammatory.

I have no clue what inflammatory means (and I'm too lazy to find out),
but the link Igor provided was helpful. I recommend you to calm down
and just read it. Or better yet, read it twice.

I'll definitely start using this link in bad bug reports. Igor, this
is just what I have needed, grazie!

> When one has a problem with a device it is helpful to find out if
> others are having the same problem, and may have already solved it.
> If so, great. If no one else is having the same problem, then it's
> probably an installed app rather than the OS. Then one can start
> narrowing down suspects as to the cause. People have to start
> somewhere, and why should they duplicate efforts that others have
> already made, or go to great lengths to fix something that is
> impossible because it's a bug in the OS?

So basically you want others do all the work for you? It doesn't work
that way. Try to show that you have tried to do something to solve the
problem, for example by writing as much as info as possible. That way
people might be a bit more motivated to answer.

> RTFM is *never* an acceptable response.

That's the best way to learn and educate yourself, and in the end you
get better results. But if you insist doing everything your way, don't
be surprised if people are not willing to help you.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Nokia N800 as wifi router

2008-02-11 Thread Kalle Valo
"ext Martin Grimme" <[EMAIL PROTECTED]> writes:

> The problem I see here is having a bluetooth DUN connection and a WiFi
> connection at the same time. This could be a problem because the maemo
> desktop does not allow this. However it might be possible if the DUN
> connection was made from xterm via the bluetooth utilities.

Actually I recommend to setup DUN connection from UI and WiFi using
wireless-tools. It's easier that way.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Canola2 beta2 is out!

2008-02-03 Thread Kalle Valo
"ext Michael Wiktowy" <[EMAIL PROTECTED]> writes:

>> another process) and then having it to check for DB consistency.   To
>> improve the situation here, we could do like Canola1 and not kill
>> Canola-Daemon, it would start faster, but then we'd waste your
>> precious RAM while we're not running.  NB: atabake and canolad will
>> shutdown themselves after a while when they notice no users are
>> connected.
>
> Leaving persistent daemons around is definitely *not* the way to go.
> RAM is not in huge supply and it might interfere with all the
> power-saving on the tablets.

Exactly. Always try to preserve RAM as much as possible. We have they
too many daemons running already in stock image, which is a shame.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: network priority and autoreconnect (OS2008)

2008-01-21 Thread Kalle Valo
"ext Jesper Cheetah" <[EMAIL PROTECTED]> writes:

> On Fri, Jan 18, 2008 at 07:08:27AM +0200, Kalle Valo wrote:
>> "ext Joshua Layne" <[EMAIL PROTECTED]> writes:
>> 
>> > The biggest problem for me is that if I am connected to my phone (say, on
>> > my commute...) it keeps the phone connection even if the Home wireless
>> > network is available.  Same is true of the work network, although the work
>> > network never autoconnects.  The real problem here is it drains my phone
>> > battery unnecessarily when a WLAN is available.
>> >
>> > I have no problem editing configuration files by hand, but is this even
>> > possible?  It is really a source of irritation for me.
>> 
>> Our current software implementation does not support this, not even
>> with some tweaking. Sorry.
>
> I believe I have seen wpa_supplicant for the N800 somewhere (probably
> OS2007 at that time). Wouldn't that work, with the regular network
> selection set to a dummy AP?

I don't see any easy way to do this (ie. automatically switch from
BT-DUN to WLAN). Basically you would have to replace icd with some
other component handling higher level connection switching.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: network priority and autoreconnect (OS2008)

2008-01-21 Thread Kalle Valo
"ext Joshua Layne" <[EMAIL PROTECTED]> writes:

> Thanks for the reply. Do you know if it is possible to use
> wpa_supplicant (I realize I might have to port it myself), just
> wondering about driver compatibility.

Current WLAN driver is incompatible with wpa_supplicant, but Lauro
Venancio has posted a patch to cx3110x-devel for supporting
wpa_supplicant:

https://garage.maemo.org/pipermail/cx3110x-devel/2007-November/000005.html

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: network priority and autoreconnect (OS2008)

2008-01-17 Thread Kalle Valo
"ext Joshua Layne" <[EMAIL PROTECTED]> writes:

> The biggest problem for me is that if I am connected to my phone (say, on
> my commute...) it keeps the phone connection even if the Home wireless
> network is available.  Same is true of the work network, although the work
> network never autoconnects.  The real problem here is it drains my phone
> battery unnecessarily when a WLAN is available.
>
> I have no problem editing configuration files by hand, but is this even
> possible?  It is really a source of irritation for me.

Our current software implementation does not support this, not even
with some tweaking. Sorry.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can't Wifi since loading OS2008

2008-01-16 Thread Kalle Valo
"ext Jeffrey Barish" <[EMAIL PROTECTED]> writes:

> Thanks for the suggestion.  No, my SSID is not hidden.  I am using a Linksys
> WRT-54G with WEP.  The day after I posted my initial message, the
> connection was working again.  I am baffled, but for now, at least, there
> is no problem.

That's strange. Did you reboot the device in the mean time? Also, do
you remember what channel your AP is configured to?

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can't Wifi since loading OS2008

2008-01-16 Thread Kalle Valo
"ext william maddler" <[EMAIL PROTECTED]> writes:

> Jeffrey Barish wrote:
>> Since installing OS2008 on my N800, I am having trouble using Wifi.  I
>> created a connection using Connection manager (Tools | Connectivity
>> settings | Connections).  My N800 used to connect automatically whenever I
>> turned it on.  Now it does not, and my WAP does not even appear under
>> Select connection. 

[...]

> Perhaps you checked already, but is your WAP broadcasting SSID?

Good point. I have seen cases where people have forgotten that AP uses
hidden SSID and our UI does not show hidden SSIDs so they just think
something is broken. In that case the user has to create the
connection manually through Connectivity Control Panel Applet.

But my recommendation is not to use hidden SSID. It does not improve
security in any way and makes more difficult to implement WLAN drivers
(scanning is more complicated etc.). 

Jeffrey, I'm also interested details about your AP and it's settings.
Please describe more about your setup.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: fm radio

2008-01-11 Thread Kalle Valo
"ext Luca Olivetti" <[EMAIL PROTECTED]> writes:

>> Just what I was thinking. My first guess would be that there's a GPIO
>> for this. Anyone interested should check the kernel sources. And with
>> luck there's already a sysfs interface.
>
> /sys/devices/platform/gpio-switch/headphone/state

Bingo! Thanks for finding this.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: fm radio

2008-01-10 Thread Kalle Valo
"ext Andrew Flegg" <[EMAIL PROTECTED]> writes:

>> Interesting. Is there an API that an application can detect if a headset
>> is connected or not?
>
> There must be some software mechanism because the switch to headphone
> output for audio is controlled in software, rather than hardware.
>
> This can be seen by the fact that the FM radio application allows
> audio to be output through the speakers when a pair of headphones is
> acting as aerial.

Just what I was thinking. My first guess would be that there's a GPIO
for this. Anyone interested should check the kernel sources. And with
luck there's already a sysfs interface.

Disclaimer: I know nothing about this, this is purely guessing. And
right now I don't have time to check this.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: fm radio

2008-01-10 Thread Kalle Valo
"ext Chris Dobbs" <[EMAIL PROTECTED]> writes:

> Aha - forget last posting I just read that u need a stereo headset
> to act as an antenna!!! Duh! I was right about being stupid

No, you're not stupid. The application instead is stupid if it does
not warn about missing headset.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WPA PEAP MSCHAPV2 wifi net access not working

2008-01-07 Thread Kalle Valo
"ext [EMAIL PROTECTED]" <[EMAIL PROTECTED]>
writes:

> I've been trying to connect to my office wifi network but it is not
> working. Would someone, please, give me a clue to what may be
> happening?
>
> Here is a description of the problem:
>
> The network APs (CISCO) are configured to answer to a PEAP MSCHAPv2
> access request. I configured wpa_supplicant on my linux laptop and it
> works. On the N810, it detects the network, starts the access proccess,
> but then asks for the WEP key (I have no other key besides the
> password).

[...]

> Here is the wpa_supplicant.conf file on the linux laptop:
>
> network={
>ssid="Biotempo"
>scan_ssid=1
>key_mgmt=IEEE8021X
>eap=PEAP
>phase2="auth=MSCHAPV2"
>identity="Biotempo"
>password="X"
> }

The wpa_supplicant configuration was really helpful and I could
immeaditely see the problem. The network uses IEEE 802.1x
authentication with dynamic WEP keys. I'm really sorry to tell you
that it's not supported by N800/N810. If the network used TKIP or AES
as encryption method, N800/N810 would support that out of the box.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Connection Problem - N800

2008-01-04 Thread Kalle Valo
"ext James Knott" <[EMAIL PROTECTED]> writes:

>> This is a software limitation. IEEE 802.1x with WEP encryption is not
>> supported by our current software implementation. It's because 802.1x
>> with WEP is considered lecacy implementation and it's being phased out
>> by WPA and WPA2.
>>
>> this has been unsupported with 770, N800 and N810 products, so it's
>> not a new issue.

[...]

>> Oh, I just noticed that I accidentally left out the words "WEP
>> encryption" from my previous mail. IEEE 802.1x is supported with TKIP
>> and AES encryptions, but not with WEP encryption. Sorry for the
>> confusion.
>>
>>   
> Better not tell that to my N800 running OS2008.  I can connect at both
> home and work, using WEP.

You are confusing different authentication methods here. I was talking
specifically about IEEE 802.1x authentication with WEP encryption,
which predates WPA. Basically you need to have a radius server with
EAP-PEAP, EAP-TTLS or EAP-TLS running on your network to make it work.

I bet you are using the normal WEP encryption with Open System
authentication, as almost all WEP users do. That has been supported
from day one.

This all is very confusing because IEEE 802.11 is full of acronyms and
special terms. That's why it's also very difficult to create good UI
for users.

Here are some references in case your are interested:

http://en.wikipedia.org/wiki/IEEE_802.1X
http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Connection Problem - N800

2008-01-03 Thread Kalle Valo
"ext Josh Z" <[EMAIL PROTECTED]> writes:

> Is this a software drawback with OS2008 or a hardware limitation
> with N800? I'm thinking the former.

This is a software limitation. IEEE 802.1x with WEP encryption is not
supported by our current software implementation. It's because 802.1x
with WEP is considered lecacy implementation and it's being phased out
by WPA and WPA2.

this has been unsupported with 770, N800 and N810 products, so it's
not a new issue.

> I think 1/3 of the purpose for getting a N800 has just failed me...sad.

Yes, this is very unfortunate and there's nothing I can help you with
right now. I'm sorry about this.

Oh, I just noticed that I accidentally left out the words "WEP
encryption" from my previous mail. IEEE 802.1x is supported with TKIP
and AES encryptions, but not with WEP encryption. Sorry for the
confusion.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Connection Problem - N800

2008-01-02 Thread Kalle Valo
"ext Josh Z" <[EMAIL PROTECTED]> writes:

> Requirements: "If you would like to try using software (e.g. Dell
> Wireless Utility, Intel ProSet Wireless, etc.) already installed on
> your computer, it must be able to support 802.1X security with the
> TTLS authentication protocol, and the TTLS inner authentication
> protocol of PAP. You must also add the Thawte Premium Server CA to the
> Verify Server Certificates option."
>
> I'm using OS2008, and i couldn't go through with the wireless setup
> without inputing the WEP(SSID, Infrastructure, not hidden, WEP... ),
> which I have no idea of. But I didn;t have to do that with my laptop
> setup.

Ok, it seems that your network supports IEEE 802.1x with EAP-TTLS
authentication. Unfortunately that's an unsupported method in
N800/N810. There's a bug about it in bugzilla:

https://bugs.maemo.org/show_bug.cgi?id=1017

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Browsing Does Not Work OS2008

2008-01-02 Thread Kalle Valo
"ext Chris" <[EMAIL PROTECTED]> writes:

> Thanks for your help, but I have since returned the device (n800) back to
> the store, convinced I had a hardware problem. I had the same issue with any
> access point I tried. I even visited a mall and tried a few open hot spots.
> Same bad results.
>
> I did order another N800 , should be arriving in a few days, so I hope to be
> back with positive results.

Ok, let's hope for the best. If the new one doesn't work either, ask
for help from here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Browsing Does Not Work OS2008

2008-01-02 Thread Kalle Valo
"ext Chris" <[EMAIL PROTECTED]> writes:

> If I read this bug right, it has been fixed in OS2008 by providing the
> "Power Savings Off" selection in Advanced Setting for the Connection. I
> tried this setting and I still have the same issue.

Good that you tried that so we can rule out Power Saving problems.

BTW, have you ever managed to get WiFi working with your device? I'm
just thinking that is this a hardware or a software problem. But if
you manage to get the network address using DHCP I doubt this is a
hardware issue.

> Anyone know if utilities that I can use to help determine what the
> issue is?

The best would be to use a wireless sniffer to capture the WLAN
packets sent through the air. But that's quite difficult to setup
unless you're a Linux hacker. You could also try to use a ethernet
sniffer before your gateway, but that's also quite tricky.

My guess is that this an IP level problem, but I don't yet have any
facts to confirm this. My recommendation is that you change the
setting on the internet tablet to use manual IP and then try pinging
both from the network to the tablet and from the tablet to the network
and send the results here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WiFi Browsing Does Not Work OS2008

2008-01-02 Thread Kalle Valo
"ext Chris" <[EMAIL PROTECTED]> writes:

> I have tried for the last 3 days to browse the internet via WiFI.

What WiFi Access Point you have? I would like to know at least make
and model, but firmware version would be nice to have (because
firmware upgrades sometime introduce or fix serious bugs in APs).

> I initially ran into connection issues (failed to Connect), but was
> able to overcome these. 

How did you overcome the connection fail problem? Please be precise as
possible.

> Now I'm able to hold a connection (Connection Manager stays
> connected). However, any time I try to browse a site, the browser
> times out. I have successfully connected to 3 different routers and
> with all I cannot browse the internet. Tried reflashing, recreating
> the connections, nothing works.

I need more information to help you with this. Here are few questions:

o What device you have? N800 or N810?

o If the previous answer is N800, did you use OS2007 before? Did it
  work? (That is, has your tablet ever worked with your network?)

o What's your network setup? (DHCP, DSL router, WLAN encryption
  method, IP address of the gateway, network netmask etc.)

I also need the output from 'ifconfig -a' and 'route -n' after you
have established the connection to your WLAN network.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Noob Questions

2007-12-13 Thread Kalle Valo
"ext Luca Olivetti" <[EMAIL PROTECTED]> writes:

> En/na Kalle Valo ha escrit:
>
>>> Just so I can understand more clearly what you are saying, is the 
>>> problem you are talking about the way dnsmasq is used or the fact 
>>> that dnsmasq is used at all?
>> 
>> I mean the latter (used at all).
>
> Why it was used instead of, say, resolvconf?

To be able to update DNS servers without restarting applications. With
resolvconf you would have to restart the applications, or the
application would need to poll /etc/resolv.conf for changes (which is
ugly and unmaintainable). Glibc resolver does not support updating of
/etc/resolv.conf on the fly.

Unless this hasn't changed since we last looked at this. If it has,
please tell us.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: OS2008: beta version of Modest e-mail client available

2007-12-11 Thread Kalle Valo
"ext [EMAIL PROTECTED]" <[EMAIL PROTECTED]>
writes:

I really hate our mail servers and their From line mangling...

> If you're using OS2008 (Chinook), you might be interested in 
> the Modest email program (http://modest.garage.maemo.org)

Excellent, I will certainly try it.

>   - IMAP folders support, and IMAP-IDLE ("push-email")

IMAP-IDLE is very nice. What kind of traffic pattern would you expect
with the IDLE mode when there is no new email? For example, is there
any polling and if so, what's the interval?

I'm just thinking about the WLAN power consumption here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Noob Questions

2007-12-11 Thread Kalle Valo
"ext Steve Yelvington" <[EMAIL PROTECTED]> writes:

> dnsmasq has all grown up since last time I looked at the manpage, but
> won't this do what you're seeking?
>
> *S, --local,
> --server=[/[]/[domain/]][[#][@[#]]]*
>Specify IP address of upstream servers directly. Setting this flag
>does not suppress reading of /etc/resolv.conf, use -R to do that. If
>one or more optional domains are given, that server is used only for
>those domains and they are queried only using the specified server.
>This is intended for private nameservers: if you have a nameserver
>on your network which deals with names of the form
>xxx.internal.thekelleys.org.uk at 192.168.1.1 then giving the flag
>*-S /internal.thekelleys.org.uk/192.168.1.1 * will send all queries
>for internal machines to that nameserver, everything else will go to
>the servers in /etc/resolv.conf.

That's not it (if I understood it correctly). What we are after is
domain search functionality, that is we if a DNS query fails the DNS
resolver would need to to expand the query with the domain. Here's a
simplified example where domain search contains 'example.com':

-> DNS query server1.
<- no answer
-> DNS query server1.example.com1.
<- server1.example.com1 is at 123.122.121.120

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Noob Questions

2007-12-11 Thread Kalle Valo
"ext James Sparenberg" <[EMAIL PROTECTED]> writes:

>> Yes, this is a missing feature in N800/N810. The problem is the
>> usage of dnsmasq, we can't easily add support for search domains. I
>> don't remember the details anymore, but I think the only way solve
>> is to change dnsmasq to something else.
>>
>>
>
> Just so I can understand more clearly what you are saying, is the 
> problem you are talking about the way dnsmasq is used or the fact 
> that dnsmasq is used at all?

I mean the latter (used at all).

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Disabling password on user certificate for Wifi

2007-12-11 Thread Kalle Valo
[please try to CC me for a faster reply]

ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

>> Yes, the automatic WLAN connection does not work with EAP connections.
>> That's a feature which should be changed.
>
> Argg :(

Yes, I share the pain :/

> I've just filled https://bugs.maemo.org/show_bug.cgi?id=2503 for this issue

Thanks.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Disabling password on user certificate for Wifi

2007-12-07 Thread Kalle Valo
ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

> as I wrote in a previous post, my ISP (Free.fr) has just allow access to
> its private Wifi network dedicated to VoIP (called Freephonie.net)
> through EAP-TLS, with a set of certificate and public/private key.
>
> It works fine (you need to do some openssl magic to convert the
> certificate in pkcs12 format) but IT2008 is requiring a password to
> store user certificate. This is extremely frustrating since it requires
> typing this password each time you connect to the private Wifi network.
> And since this network is provided from a lot of DSL modem provided by
> this ISP (about 500 000 modems are already enabled in France), it
> doesn't allow to use "always connected" feature of IT2007/2008, while
> moving.

Yes, the automatic WLAN connection does not work with EAP connections.
That's a feature which should be changed.

> Is there a way to disable the password for some user certificates ?

I faintly recall that it was possible to save passwords for the user
certificates. But I haven't used EAP-TLS for a long time so I can be
wrong though.

But even if you manage to save the certificate passwords, the device
won't automatically connect to an EAP network :/

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Noob Questions

2007-12-07 Thread Kalle Valo
"ext Urivan Saaib" <[EMAIL PROTECTED]> writes:

>> question is I'm wondering if it's possible to setup DNS suffix? I don't want
>> to type the long domain every time I try to go to a box on my company's
>> network.

Yes, this is a missing feature in N800/N810. The problem is the usage
of dnsmasq, we can't easily add support for search domains. I don't
remember the details anymore, but I think the only way solve is to
change dnsmasq to something else.

> This is a generic Linu networking question and you can accomplish that by
> adding your company's network domain into /etc/resolv.conf as:
>
> search company.com
>
> If you already have a search statement, just add the company.com to the end 
> of the search path. Note that this might slow some initial host resolution.

Yeah, that will work but it will be a global (not per connection)
setting and most probably applications need to be restarted.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: DHCP problems on nokia n800 after OS2008 beta update

2007-12-03 Thread Kalle Valo
"ext Ruben Mur" <[EMAIL PROTECTED]> writes:

> after updating my nokia n800 to OS2008 i can´t connect to my wlan. It
> seems a problem with dhcp client, because if I configure the
> connection manually everything works correctly.
>
> I tried to connect with my pc and dhcp works fine.
>
> Does anyone have the same problem?.

Sometime there might be some interoperability problems with certain
DHCP servers. My recommendation is to file a bug about this to
Connectivity/Networking and provide information as much as possible.
That way there are better chances to get the bug fixed.

Here are some questions for you:

What is the make and model of your AP? (Please to be precise as
possible.) What are the DHCP settings in AP? Does changing them help?

It would help a lot if you can take wireless or Ethernet dump of the
DHCP packets. For example you can use tcpdump or wireshark. But it
might be tricky if you haven't done this before.

Also check this bug, it might be related:

https://bugs.maemo.org/show_bug.cgi?id=2464

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: dual boot with 2007 from device and 2008 from MMC - possible?

2007-12-03 Thread Kalle Valo
"ext Joshua Layne" <[EMAIL PROTECTED]> writes:

> I am new to the list - just bought an N810 - having fun with it, but am
> experiencing some frustration with my work network (WPA 1/2 - Cisco WLAN
> with MS IAS RADIUS backend (PEAP MSCHAPv2)) - I can't connect to the
> network.  I can connect to a guest SSID that is open (same access points
> broadcast multiple SSIDs), but I really need access to the secured WLAN.

Do you see any errors? How does it fail?

First I recommend you to try different settings from N810, especially
the ones in advanced dialog. For example, I have heard cases of some
Radius servers which require some special username and such.

But if you don't get it working, I recommend you to file a bug. But it
just might be a some configuration issue in N810, WLAN EAP is a tricky
business.

> I have successfully connected to this same network using wpa_supplicant, so
> I know it is possible, but wpa_supplicant doesn't seem to (yet?) be
> available for OS2008

Can you post your wpa_supplicant settings (with a fake password, of
course)?

>> I would guess that it's a Wireless Extension problem. I did some
>> changes for cx3110x in OS2008 and that most probably broke the
>> backwards compatiblity with wlancond from OS2007.
>> 
>> Wireless Extensions is a bit of a challenge, to put it mildly. The
>> worst Linux kernel interface I have seen :/
>> 
>
> Does this seem related? Should I expect a fix on this? Should I
> submit a bug? WPA-PSK seems to work fine (home network)

These guys are hacking os2007 kernel to work with os2008 rootfs (or
was it vice versa, I don't remember anymore). That's very experimental
and definitely not supported. Your problem is not related to this in
anyway, don't worry.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: OS2008 on N800: probable bugs

2007-11-28 Thread Kalle Valo
"ext Laurent GUERBY" <[EMAIL PROTECTED]> writes:

> - when selecting a wifi connection the list refreshes and moves
> all the time: in a street in Paris with about 50 signals it's nearly
> impossible to select something down the list, refresh sends cursor
> back to beginning of list every second or so ("Searching" never goes
> away).

That's bad, I will forward this to our UI specialists. Please also
file a bug about this, if you have the time. It makes things a lot
easier.

Now I just need to convince my boss that we need to personally go to
Paris to test this. It's (again) getting too cold in Finland ;)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: dual boot with 2007 from device and 2008 from MMC - possible?

2007-11-28 Thread Kalle Valo
"ext Frantisek Dufka" <[EMAIL PROTECTED]> writes:

> Bob Lees wrote:
>> OK looking into this slightly more, the wifi chip firmware appears to be the 
>> same for both os2007 and os2008.  The bt firmware is different
>
> I guess it is in userspace connection manager stuff. One could verify it 
> by trying to bring wi-fi up via wireless-tools (commandline tools - 
> iwconfig etc.), they are in maemo Bora repository. Small howto was in 
> maemo list month ago or so with subject "WLAN connectivity using only 
> wireless-tools".

I would guess that it's a Wireless Extension problem. I did some
changes for cx3110x in OS2008 and that most probably broke the
backwards compatiblity with wlancond from OS2007.

Wireless Extensions is a bit of a challenge, to put it mildly. The
worst Linux kernel interface I have seen :/

> Sadly WPA does not work with this yet.

Fortunately Lauro Venancio posted a patch for supporting
wpa_supplicant to cx3110x-devel. I haven't yet tested them myself, but
it would be nice if someone else (you?) can test it.

> If you say the firmware is same one could also try to recompile older 
> cx3110x driver for new kernel.

Yes, that's a good idea.

> But this won't help if it is caused by some generic network changes
> in linux kernel between .18 and .21.

Yes, that too. Not worth the trouble to find the reason in my opinion,
might need a lot of work.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Aw: Re: Steve's Ranty Review #1: N800 ogg support

2007-11-04 Thread Kalle Valo
"ext Frederic Crozat" <[EMAIL PROTECTED]> writes:

> Le mardi 30 octobre 2007 à 10:58 +0100, Tu-zrz a écrit :
>> 
>> Would it make sense to add a table with different AP to document which
>> AP works with setting xyz unter itos 200x and which will not?
>
> I don't have any objection :)

I started to combine a list of problematic APs some time ago, but gave
up because it was just too much work for one person. The bugs depend
on model, software version, hardware version and what not so the list
is going to be huge.

But I think that a community effort might work, because everyone can
contribute and it's not burden of one individual.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WPA difficulties

2007-10-30 Thread Kalle Valo
"ext Peter Flynn" <[EMAIL PROTECTED]> writes:

>> I think you should try with client auth disabled, because you have
>> disabled similar sounding setting (Client Cert) from Network Manager.
>
>  From memory, I tired it, but the result was that it then doesn't prompt 
> for any password, and a password is essential in this configuration. I 
> was under the impression (obviously wrong) that "Require client auth" 
> meant "use a password". I'll be on campus tomorrow so I'll try.

I'm just guessing here, but try it again if you have the time.

>> If you have the time, I would appreciate if you could file a bug
>> report to bugzilla. Try to include as much as information as possible.
>
> No problem (what's the address of the maemo bugzilla?)

http://bugs.maemo.org/

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Use of enc wifi (wpa2 forced) causing streaming drop outs?

2007-10-29 Thread Kalle Valo
"ext Mike Klein" <[EMAIL PROTECTED]> writes:

> Guess this is going to be more difficult than I thought.
>
> After switching to wpa2/aes on AP...now it appears N800 drops streams
> after 30sec or so. Ends up resuming like 20-30 sec later every time.

Sounds like a (yet another) WLAN Power Save Problem to me.

> Not seeing same issue with any other clients (xp, 2k, wm) and I've run
> streaming tests on them all.

Unfortunately that doesn't tell much. I have understood that most of
Windows laptops don't support WLAN Power Save Mode, so testing an AP
with a Windows laptop doesn't tell much.

WM is Windows Mobile, right? I have never tried a Windows Mobile
device, I'm not aware of they use WLAN PSM or not.

> Everything's been power cycled. Using dd-wrt v24rc-4 on the ap.

Try disabling WLAN PSM from N800 by setting BOTH wlan_sleep_timeout
and inactive_wlan_sleep_timeout. Google is your friend.

But please note that this will kill your battery life.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: WPA difficulties

2007-10-29 Thread Kalle Valo
"ext Peter Flynn" <[EMAIL PROTECTED]> writes:

> Pretty much everything is working on my N800, including all my WEP 
> connections. WPA, however, is not.
>
> The campus LAN uses a hidden SSID and requires my MAC address and 
> provides a username and password. This works fine in WPA Enterprise 
> using Network-Manager on my Ubuntu Gutsy laptop:
>
> Network Name: (the SSID)
> EAP: PEAP
> Key: Auto Default
> Phase2: None
> Identity: (username)
> Password: (password)
> Anon Ident: (username again)
> Client Cert: none
> CA Cert: none
> Priv Key: none
> Priv Key password: blank
>
> In OS 2007, I am using:
>
> Connection name: (I made one up)
> Connection type: WLAN
> SSID: (the SSID)
> Network is hidden: checked
> Mode: Infrastructure
> Security: WPA with EAP
> EAP Type: PEAP
> Select cert: none
> EAP method: MSCHAPv2
> Usename: (username)
> Password: (password)
> Prompt for password: unchecked (ie No)
>
> In Advanced/EAP:
> Use manual username: checked
> Manual username: (username)
> Require client auth: checked

I think you should try with client auth disabled, because you have
disabled similar sounding setting (Client Cert) from Network Manager.

> Is there a known problem with WPA authentication? Or am I doing 
> something obviously wrong?

I'm not aware of any big problems with WPA authentication. With EAP
there's always a Radius server involved, so maybe this is a some kind
of interoperability problem with the Radius server?

If you have the time, I would appreciate if you could file a bug
report to bugzilla. Try to include as much as information as possible.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-29 Thread Kalle Valo
ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

>> > My AP (Freebox, an ISP set-top-box) seems to support WLAN PSM
>> > properly.
>> 
>> If you have problems WLAN standby times I'm not yet convinced that
>> your AP work correctly.
>
> After more tests, it appears both my AP don't support full PSM :(

I'm curious, what tests failed?

> Anyway, I've used your tests with full PSM and it appears both Freebox
> and Fonera (as noticed by Riku in another reply) have problems with
> it :(

Too bad :(

> I've taken the liberty to write a summary of the various informations
> you gave here about PSM and how to change it on Maemo wiki. Feel free to
> fix errors I might have introduced :
>  https://maemo.org/community/wiki/wifipsm/

Excellent, thank you! I have been planning to do that, but never
managed to find time for that. I will try to add more information to
the page at some stage.

> I tried disabling Wii and it didn't bring any improvement, since PSM is
> really a problem for both my AP. I'll contact my ISP for the AP inside
> Freebox, maybe they can do something about it (it is using Ralink 2661
> chipset).

Feel free to add me as a technical contact. I don't know what is the
exact problem with your AP, but at least I can explain to the
manufacturer what they should support.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Brick after battery dying?

2007-10-27 Thread Kalle Valo
"ext Jonathan D. Proulx" <[EMAIL PROTECTED]> writes:

> Battery died while in sleep mode over night (sayd it had days of idle
> time available but I guess waking up every 10min to scan for wireless
> killed it).

Nope, WLAN scanning every 10 minutes shouldn't kill the battery. I
don't remember the exact figures but it should last days also in that
state.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Unable to view https sites

2007-10-26 Thread Kalle Valo
"ext [EMAIL PROTECTED]" <[EMAIL PROTECTED]>
writes:
> I know this was mentioned a couple weeks ago. IIRC, the solution was
> to restart the device and not visit garage.maemo. In my situation, I
> am having a problem visiting /any/ SSL-enabled site, no matter
> whether I go to garage or not.
>
> I am running  2006.39.14

First check that date and time are correct. Then tell us what kind of
error message you get and any other details you can think of.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-26 Thread Kalle Valo
"ext Marius Gedminas" <[EMAIL PROTECTED]> writes:

>> Just of curiosity, who is issuing the DNS query? The Nintendo Wii
>> device? N800 shouldn't see DNS requests made by other devices. DNS is
>> unicast and N800 shouldn't see unicast packets between AP and other
>> WLAN clients.
>
> Doesn't multicast DNS use the same port and protocol as regular DNS?
>
> http://en.wikipedia.org/wiki/Zeroconf#Apple.27s_protocol:_Multicast_DNS.2FDNS-SD

Good point. If it's MDNS then it's normal. But if it's normal unicast
DNS requests origination from some other device, something is broken.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: connection scanning?

2007-10-25 Thread Kalle Valo
"ext Jonathan Greene" <[EMAIL PROTECTED]> writes:

> Does the tablet stop actively looking for wifi when you are connected
> via BT DUN?

Yes. icd issues WLAN scans only when there isn't any connection
established.

> I know it does not switch back, but just wondering if it's still
> possible to find hotspots actively without first starting to switch
> your connection.

If you ask if it's possible to do a WLAN scan when BT DUN is active
then yes, that is possible. BT DUN connection will stay up even though
you issue a WLAN scan.

Actually you can test this yourself. Start BT DUN connection and
choose change connection from Connection Manager. You will see WLAN
scan results but BT DUN connection should still work normally. If not,
that's a bug.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-24 Thread Kalle Valo
ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

>> o Buggy AP which does not support WLAN PSM properly.
>
> My AP (Freebox, an ISP set-top-box) seems to support WLAN PSM
> properly.

If you have problems WLAN standby times I'm not yet convinced that
your AP work correctly.

> I also have a Fonera. Is there any way to check, from n800 side, if WLAN
> PSM isn't working properly ? (I've enabled full PSM and pings are still
> working)

Usually I first try that unicast is working correctly with ping from
network (execute this from a PC connected to the AP, either with
Ethernet or WLAN):

ping -i 2 192.168.1.123

Next I will check broadcast with arping (also from a PC, need to be in
same in subnet):

arping -I eth0 -b 192.168.1.123

Packet loss should be zero percent in both cases. 

Next I measure the power consumption, but one needs special hardware
for that. Unfortunately I don't have any ideas how you could do that.

If I spot any problems with these tests, I use a wireless sniffer for
analysis. I have found that madwifi driver and Wireshark are the most
suitable for me.

>> o distance to AP (WLAN background scan will kick in if the signal level is
>>   -75 dBm or less)
>
> Not a problem here, I'm in about 2 to 5 meters of AP.

Ok, background can be ruled out.

>> o Lots of broadcast and multicast packets on the network (like
>>   Windows samba broadcasts).
>
> No Windows (nor Samba) on the network.
>
> However, I tried to run tcpdump on n800 to see what is going on.
>
> It seems Nintendo Wii "standby mode" is causing arp and DNS query, seen
> on n800, every 10 minutes.

If it's only one ARP and DNS query, every 10 minutes is not that bad.

Just of curiosity, who is issuing the DNS query? The Nintendo Wii
device? N800 shouldn't see DNS requests made by other devices. DNS is
unicast and N800 shouldn't see unicast packets between AP and other
WLAN clients.

> Since I have two AP available, I'll try to configure both n800 and Wii
> to use separate networks, to check if it improves situation.

Good idea.

> Can we expect any improvement when changing WLAN power from 100mA to
> 10mA ? 

I have been told that it doesn't affect much (if at all). I recommend
not to try that, it's not worth it. We have implemented it for
regulatory purposes.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: n810 GPS API?

2007-10-21 Thread Kalle Valo
"ext Mihamina Rakotomandimby"
<[EMAIL PROTECTED]> writes:
> Hi, My boss heard about the n810 and asked me to port a Pocket PC Java
> application to the n810.

A Java application? That might be difficult.

> It was a non free application that used the GPS of the pocket PC.
> Would you have any documentation about the interaction and frame
> capture of the GPS module on the n810?

I'm no GPS expert, but I found something for OS2007 (aka. bora):

http://maemo.org/community/wiki/howtousegpsframeworkinos2007/
http://maemo.org/development/documentation/how-tos/3-x/howto_connectivity_guide_bora.html

And here is the chinook version:

http://maemo.org/development/documentation/how-tos/4-x/maemo_connectivity_guide.html#GPS

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext dave" <[EMAIL PROTECTED]> writes:

> hmmm. My N800 recently  began running the battery dry in only a half day or
> so; as you mention, it used to go days between charges. This began suddenly
> with no change in habits or new packages having been installed. Since I
> really only use the device at home and at work, I ruled out anything to do
> with the whether or not the APs support WLAN Power Save Mode. As I said, it
> all worked great until recently.

Any changes to the network, new equipment or new software installed?
For example, some software sending lots of broadcast messages to the
network?

> It is frustrating. Even if I charge overnight, I'm sure to hear the N800's
> plaintive wail for the power adapter just after lunchtime.

It sure is.

> Could my battery simply be dying? Is there any way to check?

I would try testing the battery without WLAN and anything else
running, just in standby mode. It should last about 10 days like that.
If not, either there is something waking up the CPU all the or the
battery is broken.

I know that it's difficult to not use N800 for ten whole days. I
couldn't do it ;)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext Krischan Keitsch" <[EMAIL PROTECTED]> writes:

>>
>> It's a shame that there are so many broken APs on the market. I see
>> lots of them when dealing with bug reports :( I guess WLAN Power Save
>> Mode was really rare earlier, but fortunately nowadays it's getting
>> more popular and AP manufactures have noticed the problem.
>
> Hi Kalle,
> I had a similar problem with my Siemens sx541 wlan dsl router using dhcp. The 
> n800 keeps sending dhcp requests. That caused up to 20 - 30% cpu usage and 
> drains the battery really fast. 
>
> (See Bug 1627 & Bug 1646)
>
> Switching to a fixed ip solved that problem for me. 

Yeah, if applications send lots of data, naturally that will increase
power consumption dramatically. For these cases it would helpful if
you could install tcpdump to the device and take a dump of traffic.
You could do it like this:

tcpdump -i wlan -w dhcp-1.cap

And then attach dhcp-1.cap to the bug report. That would help a lot.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext Frederic Crozat" <[EMAIL PROTECTED]> writes:

> Just curious : is the n800 really supposed to last "days" when connected
> via Wifi (with full WLAN Power Save mode enabled), without any
> disconnect timeout and anything doing network access on the wifi link ?

Short answer: Yes, even with the default WLAN PSM settings.

Long answer: It depends on your network. Here are few items which
mostly affect WLAN power consumption:

o N800 transmitting something periodically (once in a minute is not
  bad, once in a second is really bad, Google talk has 30s interval
  which is ok).
o Buggy AP which does not support WLAN PSM properly.
o distance to AP (WLAN background scan will kick in if the signal level is
  -75 dBm or less)
o Lots of broadcast and multicast packets on the network (like
  Windows samba broadcasts).

Also WLAN settings (beacon and DTIM interval) affect power
consumption, but not before the issues I have listed above are ruled
out. And this was only about issues related to WLAN, if there are
other processes waking up the CPU that will naturally affect the
standby time.

For the background scan there are going to be some optimisations in
OS2008, for example the limit will be lowered to -85 dBm.

> When I check battery applet (which is really great btw), I'm never sure
> if the "in use" time is applicable when being idle AND wifi connected.

The applet does not provide WLAN standby time at all, sorry.

> I know I disable network auto-connect and set disconnect timeout to 5min
> because I had bad experience with first IT2007 version (before full WLAN
> Power Save mode gconf key were given here). Maybe I should try it
> again..

I think you should, you might be pleasently surprised. If not, I would
guess that after a bit of investigation you might find what's causing
the high power consumption. tcpdump is your friend. And if you have
any questions, post them here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810: any AZERTY keyboard?

2007-10-20 Thread Kalle Valo
"ext Jean-Christian de Rivaz" <[EMAIL PROTECTED]> writes:

>> I guess you get the German layout in Switzerland.
>
> Thanks for the info, I hope that your guess is right as the standard 
> German keyboard in far more near the standard Swiss one (French standard 
> keyboard is very different). Is there any picture of the N810 German 
> keyboard somewhere on the Web ?

I have only seen a US keyboard. But you can switch keyboard layouts
from Control Panel and, for example, I have been happily using a US
keyboard with finnish layout. Of course it took me few days to learn
the new keys, but it wasn't that bad.

My point here is that even if you get the wrong keyboard, you can
still change the layout.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-19 Thread Kalle Valo
"ext Marius Gedminas" <[EMAIL PROTECTED]> writes:

> You know what the killer feature is?  Automatic wifi connection.  I
> absolutely hate it when I have to tap the silly little globe, then tap
> the connect menu item, then wait a few boring seconds for my wifi network
> to appear, then press ok.  Only then I can ssh into my n800 and use
> apt-get.
>
> I could keep my tablet online all the time, of course, but then the
> battery wouldn't last till the end of the day.

It should stay online for days, not hours. Something is wrong with
your setup. I would guess that the AP is somehow broken regards to
WLAN Power Save Mode. Can you try with some other AP to see if it
helps? Also make sure that N800 isn't transmitting anything extra, for
example transmitting a packet every second would kill the battery
quite quickly.

Alternatively you could use a wireless sniffer to take a dump of WLAN
level traffic and send it to me. I could take a look and see if
there's something strange.

It's a shame that there are so many broken APs on the market. I see
lots of them when dealing with bug reports :( I guess WLAN Power Save
Mode was really rare earlier, but fortunately nowadays it's getting
more popular and AP manufactures have noticed the problem.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: External Monitor with N800

2007-10-17 Thread Kalle Valo
"ext Dr. Nicholas Shaw" <[EMAIL PROTECTED]> writes:

> My wife would like to display presentations, that reside on the N800,
> directly to a monitor without using another computer (such as what I do with
> VNC).  In other words, presentation runs on the N800 and output displays on
> an external monitor.  
>
> I believe we had a similar discussion several months back.  Is this
> possible?  The answer was, I believe, no but I want to verify.

You are correct, N810 does not have video output. But there was a
similar question posted to lwn.net and someone suggested to use
USB2VGA for that:

http://lwn.net/Articles/254916/

http://www.nslu2-linux.org/wiki/HowTo/AddVGAAdapter

It might or might not work. But this would be a hacker project, not
for normal users.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: using 2 ITs together

2007-10-15 Thread Kalle Valo
"ext John Rudd" <[EMAIL PROTECTED]> writes:

>> Sorry to be terminally stupid, but what does 'IT' stand for in this 
>> context?
>
> Internet Tablet.  I thought that IT was the common term around the 770 
> and N800 community?

Not for me, at least :)

It took me few seconds to realise what's this IT is all about.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Nokia 770 periodically lose WiFi connection

2007-09-25 Thread Kalle Valo
"ext Michael Stepanov" <[EMAIL PROTECTED]> writes:

>> You have to provide more information. What's your Access Point and
>> it's settings? How often does the problem appear? Also please be more
>> precise, "not accessible" doesn't tell that much.
>
> I have DLink DI-524 Wireless Router.

Sounds like an older AP to me.

> There is only one WiFi enabled device - Nokia770. When I said 'not
> accessible' I meaned that I cannot even ping it during some time.
> But the connection manager shows that WiFi signal is good. That
> happens very often but randomly. I'll be very appreciated if you can
> tell me a way how to trace it. Is there possibility to switch on
> logging system on Nokia770?

The best way to check this is with a wireless sniffer and analyse WLAN
packets.

http://en.wikipedia.org/wiki/Wireless_sniffer

But you have to be familiar with WLAN protocol. Alternatively you can
upload the capture to a webserver, send the link to this mailing list
and I can take a look.

(I don't generally give private support, I only answer questions in
public mailing lists.)

>> My first guess would be that your Access Point does not support WLAN
>> Power Save Mode properly. 770 uses Power Save Mode and it's not widely
>> used yet. Especially the older APs seem to be more buggy than the
>> newer ones.
>
> Is it possible to switch off WLAN Power Save Mode?

There's no easy solution with 770, sorry. And besides, if you disable
WLAN Power Save Mode the battery will run out within few hours.

I would recommend trying with another AP first. Most of the APs
support WLAN Power Save Mode properly.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Nokia 770 periodically lose WiFi connection

2007-09-19 Thread Kalle Valo
"ext Michael Stepanov" <[EMAIL PROTECTED]> writes:

> I try to use Nokia 770 as control panel for open source system for home
> automation Plutohome. The application is very critical to losing WiFi
> connection. But I see that sometimes 770 is not accessible. Even it cannot
> be pinged. It's strange because device is very close to the access point
> (about one meter). any idea how to solve that problem?

You have to provide more information. What's your Access Point and
it's settings? How often does the problem appear? Also please be more
precise, "not accessible" doesn't tell that much.

My first guess would be that your Access Point does not support WLAN
Power Save Mode properly. 770 uses Power Save Mode and it's not widely
used yet. Especially the older APs seem to be more buggy than the
newer ones.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memory corruption during WLAN use: detailled analysis and workaround

2007-09-13 Thread Kalle Valo
"ext Tilman Vogel" <[EMAIL PROTECTED]> writes:

>> How long does it take you to see the corruption with memtester?
>
> With test sizes of about 24 MB, chances seem to be very good to catch
> the bad bytes. In other words, usually if I run memtester 24 after
> booting and still without WLAN, everything is ok. As soon as I click on
> "Choose connection..." and scanning starts, I see FAILURE messages from
> memtester. I don't have to wait for it.

Ok, good to know. I have tried to reproduce this with N800 but I
haven't seen any memory corruption.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memory corruption during WLAN use: detailled analysis and workaround

2007-09-12 Thread Kalle Valo
"ext Tilman Vogel" <[EMAIL PROTECTED]> writes:

> This is going to be a bit longer, but may be interesting to many Nokia
> 770 users as I suspect that this problem is present on all 770s:

Thank you for the excellent report, but I have some extra questions:

What about N800 or is this reproducible only on 770?

What are your WLAN settings? Is this related to some particular
settings, like WPA for instance?

How long does it take you to see the corruption with memtester?

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Memory corruption during WLAN use: detailled analysis and workaround

2007-09-12 Thread Kalle Valo
"ext Siarhei Siamashka" <[EMAIL PROTECTED]> writes:

> On 12 September 2007, Frantisek Dufka wrote:
>> Well done, thank you. This was already observed but solution was not
>> found. See details here https://bugs.maemo.org/show_bug.cgi?id=677
>> (comment #7). Please can you add your findings to the bug report?
>
> Maybe it is better to submit a new bugreport with the descriptive
> summary and all the details explained to keep bugzilla in a good
> shape?

Yes, please file a bug about this. It's a lot easier to track these
kind of issues.

One problem per bug report is a really good rule. It's not like we are
running out of bug ids :)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: IPv6 on N800

2007-08-20 Thread Kalle Valo
> Anybody using IPv6 on N800? I am trying to enable IPv6 on N800 and it
> doesn't seem to be enabled on the kernel. Any Idea?

Somebody has compiled a kernel with IPv6 enabled for 770:

http://maemo.org/downloads/product/os2006-ipv6-ext2-mmc2gb/

Don't know if there's one for N800. I would imagine that there is.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Flaky connection after upgrade

2007-07-23 Thread Kalle Valo
ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

>>> Does it mean setting '/system/osso/connectivity/IAP/wlan_sleep_timeout'
>>> to 0 is still relevant for those of us which are happy with it ?
>>
>> Yes, except that the latest release introduced a new variable called
>> inactive_wlan_sleep_timeout which is used when display is turned off.
>> You would want to change that to zero as well.
>
> This is great news. Is the inactive display used when screen backlight
> goes off or only when display lcd is turned off ?

I think it's used when lcd is turned off, but I'm not sure about that.
You might want to check it from osso-wlan sources.

> It would be great to add those two settings to osso gconf schema with
> their default value and a description. It would allow easier customization
> with gconf-editor.

Never tried gconf-editor myself, but I'll forward your request.
Thanks.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Flaky connection after upgrade

2007-07-19 Thread Kalle Valo
"ext Neil MacLeod" <[EMAIL PROTECTED]> writes:

>>> Previous ver used to give rock solid wifi connection. However after
>>> latest firmware upgrade now find connection speeds slow and that
>>> behind a Belkin preN router connected to 20mb cable connection.
>>  The WLAN sleep timeout was reduced in this release to help power
>> consumption. Unfortunately with some Access Points which do not
>> support Power Save Mode properly there might be connection problems,
>> which I think you are seeing now.
>> 
>> Please report all problems to bugzilla. Remember to include at least
>> AP's make, model and firmware version. Thanks.
>> 
>
> Kalle - for the timeout problems, see
> https://bugs.maemo.org/show_bug.cgi?id=1636

Yeah, I'm aware of that bug. I'm on vacation now, and will be for the
next two and half weeks, so my response times will be high.

> Jake mistakenly tried to close it as INVALID. Unless you intend to
> revert back to the 3.2007 default you may want to think about adding a
> GUI checkbox that enables/disables the shorter timeout, or perhaps add
> a text/list box that allows the user to select their own timeout.

I think that revert is not an option, but a GUI would be appropriate
due to the number of people having problems.

> It would be nice to see some input from yourself on this bug - so far
> we're just discussing it amongst ourselves until it's either fixed,
> closed or marked as invalid. Not a good use of Bugzilla.

I will comment on that bug soon.

Neil, thank you for all your efforts on solving WLAN problems. I
really appreciate it.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Flaky connection after upgrade

2007-07-19 Thread Kalle Valo
"ext Paul Klapperich" <[EMAIL PROTECTED]> writes:

>> Does it mean setting '/system/osso/connectivity/IAP/wlan_sleep_timeout'
>> to 0 is still relevant for those of us which are happy with it ?
>>
> I think it's pretty safe to assume that only the default was changed
> from 1000 to something shorter.

You are correct. See my earlier post in this thread what we changed.

> I would be extremely surprised/upset if the gconf override no longer
> existed.

The gconf overrides are really handy way for us to debug problems or
test different optimisations. I would say that there will more of
these in future, definitely not less.

> 5 is my magic number.

I can't come up any benefit from having 5 ms timeout. Why not not just
enable full WLAN Power Save (by using 0 ms timeout)?

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Flaky connection after upgrade

2007-07-19 Thread Kalle Valo
ext Frédéric Crozat <[EMAIL PROTECTED]> writes:

>> The WLAN sleep timeout was reduced in this release to help power
>> consumption. Unfortunately with some Access Points which do not
>> support Power Save Mode properly there might be connection problems,
>> which I think you are seeing now.

[...]

> Does it mean setting '/system/osso/connectivity/IAP/wlan_sleep_timeout'
> to 0 is still relevant for those of us which are happy with it ?

Yes, except that the latest release introduced a new variable called
inactive_wlan_sleep_timeout which is used when display is turned off.
You would want to change that to zero as well.

IIRC, previously wlan_sleep_timeout was 1000 ms. These are the current
defaults:

wlan_sleep_timeout: 200 ms
inactive_wlan_sleep_timeout: 100 ms

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Flaky connection after upgrade

2007-07-14 Thread Kalle Valo
"ext Duncan MacCallum" <[EMAIL PROTECTED]> writes:

> Previous ver used to give rock solid wifi connection.
> However after latest firmware upgrade now find connection speeds slow
> and that behind a Belkin preN router connected to 20mb cable
> connection.

The WLAN sleep timeout was reduced in this release to help power
consumption. Unfortunately with some Access Points which do not
support Power Save Mode properly there might be connection problems,
which I think you are seeing now.

Please report all problems to bugzilla. Remember to include at least
AP's make, model and firmware version. Thanks.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N800 with FON wireless router

2007-06-28 Thread Kalle Valo
"ext Brenton Bills" <[EMAIL PROTECTED]> writes:

> I reflashed my Fon wireless router with dd-wrt and am using WPA2
> encryption between my N800 and the FON, except the N800 as soon as it
> connects to the Fon crashes and reboots, time after time. So are there
> issues with WPA2?

At least I don't recall having any problems. What does files
/var/lib/dsme/stats contain after the device has crashed few times?

Also, if you have the time, please file a bug.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Thanks: ITOS 2007 Nokia 770 / Hacker edition

2007-06-12 Thread Kalle Valo
"ext Magnus Larsson" <[EMAIL PROTECTED]> writes:

> Great! But where do I find it to try?

http://www.google.com/search?q=nokia+770+hacker+edition

Fourth result.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: new n800 user problem connecting

2007-06-01 Thread Kalle Valo
"ext Wahlau -" <[EMAIL PROTECTED]> writes:

> i think before he can get connection, he might not be able to even install
> xterm.

One can also ping from laptop and manual IP can be set from N800 UI,
so no need for xterm.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: new n800 user problem connecting

2007-05-31 Thread Kalle Valo
Sorry for the late reply, I somehow forgot to answer this earlier.

"ext NG" <[EMAIL PROTECTED]> writes:

> But my first problem is that i can't connect on internet :-(
>
> i set my macook pro as a wifi base (via sharing internet connection
> through wifi-airport) ) the n800 sees the connection, connects fine
> but neither mail nor web works, there is no firewall, everything is
> set on dhcp and no personnal dns set.

I would first setup manual IPs between your Mac and N800 and run ping
between the two verify if that works. That way you could know if it's
a problem with WLAN protocol or upper layers (DHCP, IP routing, DNS
etc.). If ping works then it's an upper layer problem.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Possible to use the N800 as WLAN Access Point?

2007-05-20 Thread Kalle Valo
"ext Frantisek Dufka" <[EMAIL PROTECTED]> writes:

> Toby Proctor wrote:
>> Just a thought I had last night, but is it possible to "reverse the 
>> polarity" of the WLAN on the N800 and turn it into a small, portable 
>> hotspot which uses e.g. an HSDPA cellphone as the backhaul?
>> 
>> Toby
>
> Well even if it was possible, it isn't very good idea battery-wise. When 
> running as AP battery would run out _very_ quicky since AP mode cannot 
> use WLAN power saving and need to communicate a lot. 

Exactly. With good luck you might get something like 5-6 hours of
usage time.

Also master mode is not supported on N800. But you might want to try
Ad-Hoc mode. But it doesn't support Power Save Mode either.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Slow SSH connect to N800.

2007-05-16 Thread Kalle Valo
"ext Matthew J Hendrickse" <[EMAIL PROTECTED]> writes:

> Has anyone that has used SSH with their N800 had any speed issues?
>
> I can connect to any machine using SSH *from* my N800 and it's the same
> nice speed that I get when I connect from my main PC. However if I try
> to SSH *to* my N800 from any machine on my network then it seems that
> the connection is stupidly slow - so slow it's not really useable.

There are few issues which would have an effect when connecting to
N800 with ssh. It's basically dependent on network latency from AP to
N800.

These at least come to my mind:

o wlan_sleep_timeout in N800. If it's low, N800 will go to WLAN
  Power Save Mode more quickly which will increase latency.

o Beacon period an DTIM in AP. The higher they are, more latency there
  will be when N800 is in Power Save Mode.

o Broken APs. I have seen APs which don't support Power Save Mode
  properly and connecting with ssh to N800 usually reveals these kind
  of problems.

You could try disabling wlan_sleep_timeout (ie. setting it to 12)
to see if that helps. But be aware that it will drain your battery
within few hours.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Instant on Loading

2007-05-08 Thread Kalle Valo
"ext Mathias Uebelacker" <[EMAIL PROTECTED]> writes:

> well and another useful thing is an ear protection so that you can work
> without any disturbs from the other passengers and there questions like ...
> oh what a nice little computer or whats that or please describe all the
> functions or can i see the video function please.

Move to Finland. Here people don't talk to strangers in a bus or a
train, everyone just sits dead quiet and try to even avoid eye 
contact ;)

Well, cell phones are an exception. It's okay to talk really loud to
your phone and discuss about your secret issues etc.

Okay, I'll admit that some people do talk to strangers in a bus. But
he will be immediately categorised as being drunk :)

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Accuracy of the power meter?

2007-05-08 Thread Kalle Valo
"Theodore Ts'o" <[EMAIL PROTECTED]> writes:

> I've been noticing that I don't get anywhere near the promised "10 days
> idle" battery life on my N800.  With bluetooth and the wireless turned
> off (offline mode), and with the display off and keys/touchscreen
> locked, I'm getting at best 8-10 hours of idle time before the battery
> is completely drained.  

8-10 hours of standby time implies that the MPU cannot sleep.

> Has anyone seen anything like this or any thoughts about why I might be
> seeing this?

Usually there are two cases, either serial-console RD flag is enabled
or USB cable is connected. Both block MPU from sleeping (or going into
retention or whatever it is called). If it's not that, I would guess
that it's some badly behaving application.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Accuracy of the power meter?

2007-05-08 Thread Kalle Valo
"ext Mikhail Sobolev" <[EMAIL PROTECTED]> writes:

> One possibility is if you use R&D mode or some other [non-default]
> options changed with flasher application.  In this case power management
> would not be able to deliver the promised time.

RD-mode itself shouldn't affect power consumption, but for example
serial-console RD flag will.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: N800 switches on by itself while recharging

2007-04-17 Thread Kalle Valo
Eero Tamminen <[EMAIL PROTECTED]> writes:

>> Ah, that explains why we couldn't get core dumps with dnsmasq.
>> This is a tricky bug, any ideas how to get more information?
>
> If you have trouble getting core-dumps, just attach to the process
> with Gdb (after giving it the binary and making sure you have the
> debug symbol file packages installed).

We are not able to reproduce the bug at our office, so we can't use
gdb to trace it :/

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: N800 switches on by itself while recharging

2007-04-17 Thread Kalle Valo
Eero Tamminen <[EMAIL PROTECTED]> writes:

>> Is there a way to enable core dumps for selected applications?
>> If so that may be a solution.
>
> You can enable them for all applications by creating a "core-dumps"
> directory to the external MMC.
>
> Unfortunately the cards are mounted with "user" user, so processes
> like "dsnmasq" which are run as user "nobody" cannot dump core to
> the MMC unless you re-mount it so that everybody can write there
> (and even then you don't always get core dumps from segfaulted
> processes for some reason).

Ah, that explains why we couldn't get core dumps with dnsmasq. This is
a tricky bug, any ideas how to get more information?

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: N800 switches on by itself while recharging

2007-04-16 Thread Kalle Valo
"ext Eero Tamminen" <[EMAIL PROTECTED]> writes:

>>> ~ $ cat /var/lib/dsme/stats/lifeguard_resets
>>> /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z : 1 *

[...]

> Seems that at some point dnsmasq has caused device reboot by
> dying too many times (10) in a row.

Dnsmasq seem to have these strange crashes occasionally and we have
been trying fix that to no avail. If anyone can provide more
information about the crash, please share it us.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Wifi vrs Bluetooth power.

2007-04-12 Thread Kalle Valo
"ext Brenton Bills" <[EMAIL PROTECTED]> writes:

> Well there has been a bit of talk on WIFI power usage for the N800,
> just wondering if it uses less power than bluetooth or the same or
> what?

When there's no data to transfer, Bluetooth with a DUN connection
established (ie. GPRS) consumes slightly less than WLAN connected to
an AP. But I suspect that you can't see the difference in real life.

But when you are transfering data, bluetooth is significantly better.
WLAN is quite a power hog.

> Also wondering if the N800 can listen to bluetooth requests while in
> sleep mode or if that would just kill the battery too quick or even
> if thats possible? I was thinking of seeing how difficult it would
> be to be to push say nagios alerts to the N800 over bluetooth and
> cause it to wake up if it gets such a request? Pushing stuff from my
> computer to the N800 would be cool.

I don't know much about bluetooth. But I would assume that having the
bluetooth enabled but without established connections consumes very
little.

-- 
Kalle Valo

___
maemo-users mailing list
[EMAIL PROTECTED]
https://maemo.org/mailman/listinfo/maemo-users


Re: IT2007 Hacker Edition - First impression

2007-04-12 Thread Kalle Valo
"ext Frantisek Dufka" <[EMAIL PROTECTED]> writes:

> Also I changed WLAN PSM timeout to 200ms in OS2007 on n770 so maybe
> it is even better for networking then with OS2006.

It makes a big difference. Especially if you have Jabber presence on,
but I would assume that it also helps while browsing.


-- 
Kalle Valo

___
maemo-users mailing list
[EMAIL PROTECTED]
https://maemo.org/mailman/listinfo/maemo-users


Re: N800 wifi power usage

2007-04-09 Thread Kalle Valo
"ext Michael Wetherell" <[EMAIL PROTECTED]> writes:

> I've found that applications that make fairly heavy use of the wlan for 
> more than a few minutes make the whole machine unstable. I'm wondering 
> if it is the same for everyone, or is there a fault with this 
> particular machine?

It might be a software problem or a hardware problem, difficult to
say. At least I'm not aware of such severe WLAN bugs currently. If
it's a software bug, it might related to your Access Point or radio
environment. There might be cases which could trigger some strange
bugs which others don't see. If possible, try running exactly the same
test cases in a different location with a differect AP.

What AP are using and what are the settings?

Also try to file a bug report about the issue. That way it would
easier to track.

> E.g. video plays fine if the video is copied onto the flash, but playing 
> it directly from a http server across the wlan causes the machine to 
> reboot after 10 minutes or so (that's with a full battery, sooner 
> otherwise).
>
> Similarly downloading, e.g. downloading large files with wget from a 
> local server that runs the wifi flat out, works for 10 mins or so then 
> it reboots or the wlan goes dead.

That's bad, it should not behave like that at all. Naturally we do
extensive testing before we release the software, and we haven't seen
anything like that.

> I saw there was a thread about dynamic PSM a few weeks ago, so I've 
> tried setting it to 0, i.e. full PSM. It reduces throughput which I 
> don't mind, but I'm not sure how much it helps with stability, I think 
> maybe a bit.

Actually that might make the things worse. Try with 12 instead,
with the newest software it will disable PSM altogether. It might
help, or not. But be aware that disabling PSM will drain your battery
really quickly, for example in 6 hours if the display is turned off.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: WLAN Power Save Mode timeout

2007-03-13 Thread Kalle Valo
"Levi Bard" <[EMAIL PROTECTED]> writes:

>> Sorry, but I find it hard to believe that Cisco APs would not properly
>> work with TKIP or AES. Cisco APs are of the best quality I have ever
>> seen. And all the EAP tests in Wi-Fi certifications are run with
>> either TKIP or AES (Wi-Fi Alliance calls it WPA-Enterprise, or
>> something like that), so it's widely tested as well.
>
> The problem (in my case) is that I don't have control over the AP
> configurations.  I would be perfectly happy to use the
> currently-supported WPA algorithms if I had the ability to do so.

Yes, I understand that. Most probably it would very difficult for the
network administrators as well. 

Here I was just wondering about Riku's comment of TKIP and AES not working
with Cisco Access Points.

I did receive good concrete examples where 802.1x+WEP is used, thanks
to everyone for that. I will raise the issue internally about
802.1x+WEP support, but of course I cannot make any promises.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: WLAN Power Save Mode timeout

2007-03-06 Thread Kalle Valo
Riku Voipio <[EMAIL PROTECTED]> writes:

>> This has been requested occasionally. It would help if you could come
>> up with some kind of examples where this is needed. That they I could
>> show that there's really a need for this. Technically there's no point
>> of supporting 802.1x with WEP encryption, because TKIP is already
>> widely supported.
>>
>>
> EAP-TTLS with wep was the best *functioning* radius-authenticated
> protocol supported by cisco access points (aironet 1100, 12xx). Yes
> they supported TKIP and AES, but not very well *together* with EAP.

Sorry, but I find it hard to believe that Cisco APs would not properly
work with TKIP or AES. Cisco APs are of the best quality I have ever
seen. And all the EAP tests in Wi-Fi certifications are run with
either TKIP or AES (Wi-Fi Alliance calls it WPA-Enterprise, or
something like that), so it's widely tested as well.

> wpasupplicant already supports EAP-TTLS, how hard would it be for
> a poweruser to use it instead of the current supplicant?

Do you already know that N800 already supports EAP-TTLS, with TKIP or
AES encryption?

About using wpasupplicant. I think it shouldn't be too hard to use
wpasupplicant on 770 or N800. The wireless extension interface to the
WLAN driver isn't quite up-to-date, so you would have to do some
tweaking there. And of course you would have to bypass all UI, icd and
wlancond components. But it should be doable.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: Nightly reboots

2007-03-05 Thread Kalle Valo
ext Kimmo Hämäläinen <[EMAIL PROTECTED]> writes:

> My guess is the WLAN. IIRC, there was rebooting problems that were
> caused by just leaving the WLAN connection idle.

I was just about say the same. I also suspect it's the WLAN driver
crashing.

> Fortunately, the next SW release should fix those.

Yup.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


Re: WLAN Power Save Mode timeout

2007-03-05 Thread Kalle Valo
"Frantisek Dufka" <[EMAIL PROTECTED]> writes:

>> Really? I remember that we only added it to N800. Oh well, I'm glad
>> that I was wrong :)
>>
>
> Just to clear possible confusion, 2007 was not a typo, I mean the
> hacker edition, not regular IT2006. So if 770 uses PSM and you would
> need just newer osso-wlan sources, this condition is probably true in
> 2007 on N770.

Ok, this makes sense now. The wlan_sleep_timeout gconf key is a
feature of wlancond (from osso-wlan). Thanks for the explanation.

-- 
Kalle Valo

___
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users


  1   2   >