PDA

View Full Version : WiFi disconnect issue?


pruss
04-01-2007, 11:00 AM
On the TX, when WiFi disconnects due to inactivity (or loses the connection or fails to connect) an unnecessary event gets sent to the underlying app by the OS. This is an OS bug, and can manifest itself by weird functionality (e.g., search window or dictionary lookup popping up in Plucker) or a freeze or a crash or nothing at all, depending on the underlying app.

I am curious if the issue is present on the LD. If you have Plucker, the easiest way to test for the issue is to turn on WiFi, then read a document in Plucker until WiFi disconnects due to inactivity (but make sure you're tapping the screen or pressing the nav button or something to make sure the LD doesn't turn off). If the issue exists on the LD, then you are likely to see something odd when WiFi disconnects, e.g., the search window will pop up.

pruss
04-02-2007, 11:23 AM
I have a fix for the problem as it appears on the TX (in the System Patches section of 1src freeware Applications). I still don't know if the problem appears on the LD.

mrp123
04-02-2007, 12:15 PM
I've never had a problem like you describe on the LD. But I'm just one person.

However, the one problem I have encountered with WiFi disconnecting is within Opera Mini. It's doesn't behave well under certain circumstances. It's not at all what you're describing, but maybe it's still connected for all I know.

For instance, and i'm just going from memory here, if I'm browsing within Opera Mini using WiFi, and the battery runs low and the OS shuts down WiFi until I recharge, and I immediately plug in the wall adapter, WiFi will turn back on when asked/called. Normally within every other app, this process is totally transparent and I simply carry on with life as normal after plugging in the power. However, Opera Mini gives me a funky error message about a data connection problem when it calls upon WiFi even after I plug in. I'm forced to exit Opera Mini, reenter Opera Mini and I can continue browsing.

I can't recreate it this moment because my battery is still good. Does it interest you for more testing?

Furball
04-07-2007, 05:14 AM
I've had this problem for quite a while already: my LifeFlash soft-resets after turning off WiFi while browsing in Blazer AND/OR synching my AvantGo Channels. At first, I got the tip about clearing Blazer's cache to prevent this from happening. But I noticed that this also happens for most other WiFi-capable application.... it just resets right after I disconnect the WiFi connection (as long as of course, I ACTUALLY used the internet connection... meaning, downloaded data, etc.)

I'm looking forward to a solution to this as well...

pruss
04-07-2007, 06:31 AM
I've had this problem for quite a while already: my LifeFlash soft-resets after turning off WiFi while browsing in Blazer AND/OR synching my AvantGo Channels. At first, I got the tip about clearing Blazer's cache to prevent this from happening. But I noticed that this also happens for most other WiFi-capable application.... it just resets right after I disconnect the WiFi connection (as long as of course, I ACTUALLY used the internet connection... meaning, downloaded data, etc.)

I'm looking forward to a solution to this as well...

Let me know if FixWiFi fixes this for you;
http://www.1src.com/freeware/fileinfo.php?id=1702&jump=1144

AlienTX
04-07-2007, 02:44 PM
I installed FixWiFi but my TX still freezes sometimes when WiFi should turn off. :confused:

eccleshill
04-07-2007, 04:17 PM
Just tried it on my LD, reading a Plucker document, and the 'fault' you described happened (i.e. search window opening up). Can't say it would bother me too much - never noticed it before! Just another of the LD's little ways...

pruss
04-07-2007, 09:05 PM
OK, I suggest you install FixWiFi. In Plucker it's just a search window. In other apps it might be a crash.

magura
04-08-2007, 05:46 AM
FixWifi works for me on my LD.

thanks, Alex!!

pruss
04-08-2007, 07:29 AM
I installed FixWiFi but my TX still freezes sometimes when WiFi should turn off. :confused:
There may be more than one disconnect bug. FixWiFi only fixes one.

Furball
04-08-2007, 02:14 PM
Thanks very much pruss! I just did a sync of my AvantGo Channels then disconnected WiFi immediately... and no problem! :) I'll post back if I run into problems along the way, but for now, you can consider this one solved!

Have a great day! :D

Update 04/10/07: After doing an in-AvantGo sync, I exited AvantGo then promptly disconnected WiFi... and boom! The LifeDrive did a soft-reset. I'm thinking that there might still be some data being transferred but wasn't shown, and that disconnecting WiFi during this time is a very bad thing. Sort of like unplugging your flashdrive without doing the "Remove safely" option in WinXP...

Ciao!

lohanchien
04-11-2007, 07:15 PM
I'm not having any problems like the ones mentioned but I have some issues with wifi claiming it is connected but not working when I try to browse... I have to turn it off and back on to be able to surf around or sync using wifi... I'm wondering if getting this app will fix this... anybody know what the FixWifi program actually does internally? is it changing some OS settings that we don't have access to?

pruss
04-12-2007, 06:16 PM
I'm not having any problems like the ones mentioned but I have some issues with wifi claiming it is connected but not working when I try to browse... I have to turn it off and back on to be able to surf around or sync using wifi... I'm wondering if getting this app will fix this... anybody know what the FixWifi program actually does internally? is it changing some OS settings that we don't have access to?

FixWiFi watches for a WiFi disconnect notification. After that, it watches for event-dequeued notifications over the next two seconds (watching for event-dequeued notifications slightly slows down the system, so it only does this over these two seconds). The first firstUserEvent (this is the event that is erroneously generated by the OS) that it sees over this period of time gets changed into a nilEvent.

It is unlikely to fix your problem.

Moreover, it has little effect in cases of manual disconnection because, I think, then the erroneous firstUserEvent is handled by the WiFi dialog anyway.

khertan
04-13-2007, 06:07 AM
Just give a try to Artelope it's a great free Vectorial Drawing Notes Application ...

http://www.artelope.biz/

Furball
04-17-2007, 10:07 PM
Update: Ok, it's been more than a week today and so far, I haven't had any soft resets due to auto-syncing (using MacroPlay) my AvantGo Channels every morning.

Thanks for this fix, pruss.