Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 4 times | Joined on Nov 2009
#281
Originally Posted by too View Post
Weird problem....

g_nokia is always the "first" module for usb connection that is
loaded at boot. g_file_storage is loaded if user chooses file
storage when usb cable is plugged...

... which brings to first question: does file storage mode work
as expected ?

Second thing is to try first select g_ether, then plug usb cable
and when pc suite/mass storage requester appears, tap
outside of the dialog and see if it crashes again.

I just tested against linux: first chose g_ether. Then configured
usb0 interface, plugged cable and chose g_nokia (which doesn't
do anything when g_ether is chosen). No problem with connection.

Software version (see product information in settings window)
3.2010.02-8

We also test reqularly with windows ... and I just asked my
colleaque about crashing -- she tested yesterday with windows
and did not get a crash.

I wonder what kind of message from usb could crash the
device (or is it about signal levels that comes via the port)...
You could also try using another usb port and/or another
machine to lessen the change that there is some problem
with hardware ?

Also, what is your windows system and anything you can
tell how it sees the usb hardware (driver info). That information
could be useful.
Hi,
it's been some time since I have discovered this issue and have been fiddling with the phone + notebook a bit. The original issue is described here:
http://talk.maemo.org/showpost.php?p...&postcount=214

The results of my experiments are following:
1. Yes, file storage mode and pc suite mode works both well, I have not noticed single trouble.
2. When I connect after loading g_ether, it takes a second longer, but the device crashes the same way.
3. I have tried other USB ports on the same machine - same restarts always.
4. I have tried different computer also with windows and it works, loading g_ether doesn't trigger restart. So there is probably nothing wrong with my N900.
5. I managed to corrupt the "Linux USB Ethernet Gadget/RNDIS" device created on my computer the way that windows could not load/enable the device properly when I connect the phone with g_ether loaded. In that case the device appears in the device list marked with yellow exclamation mark saying that the registry settings are corrupted. When done this N900 in half of the occasions does not restart however message pops-up on N900 side saying that the charging is not possible due to insufficient power level and in the other half of occasions the device restarts.

Update: I managed to connect via externally powered USB hub. So there must be something wrong with power levels in my computer's USB ports. It somehow interferes with the charging over USB and causes N900 to restart.

Update 2: OK, so the powered USB hub was just a coincidence. I finally figured out what is causing the trouble. Not a HW / USB ports problem .. it is my VPN software (AT&T network client) what is causing this. Whenever I am connected with this VPN software and try to connect N900 via USB to the computer, when I load g_ether it causes N900 to restart. So obviously there must be some kind of bug in g_ether which triggers the restart. When I load g_ether Windows is via plug&play enabling the RNDIS gadget device, but there is this virtual network adapter (AGN virtual network adapter) used by the VPN SW and if it is enabled at that time something goes nasty and probably the sequence of USB commands is not as expected by g_ether .. that's what I am thinking. The virtual adapter is some kind of a filter network device which sits in between the network adapter and the windows TCP/IP stack. When I am connected with g_ether and then start the VPN SW, this virtual adapter is becoming enabled and this causes immediate restart of N900.

I'm posting here since the original questions went here though it is not MADDE / MAD Developer related - that is obvious now. Any hints / suggestions to help understand the root cause are welcome :-)

Thanks for your hints!

Last edited by flyskyhigh; 2010-06-30 at 08:27.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#282
Originally Posted by ETalvala View Post
The .pro file is in the same directory as the Makefile, and since qmake generated the Makefile from the .pro file, it should get the path right on its own.

Essentially, it's prepending a huge roundabout directory path in front of files inside the project, completely unneccessarily. If I manually remove the lengthy ../../../Users/talvala/Repositories/tmp/qthello/ section from all paths in the Makefile, it works fine. But that gets tedious very quickly, and qmake shouldn't be doing such a thing in any case - why doesn't it just encode the local relative paths, instead of what looks like an attempt to round-trip through 5 layers of directories?
Well, here is qmake is making that .../.../... roundtrip there is
missing too levels of ..:s (should be ../../../../../Users/talvala/...)

what does 'pwd -W' say on that .../tmp/qthello directory.

what does

mad gcc -v `pwd`/foo.c

outputs ? arg 4: is the most interesting.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#283
ETalvala:

So, did you do:

mad pscreate -t qt_simple qthello

and continued from there ?
 
JapieB's Avatar
Posts: 59 | Thanked: 42 times | Joined on Nov 2009 @ Wageningen (NL)
#284
Will there be another release of Madde containing all pr1.3 libs?
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#285
Originally Posted by JapieB View Post
Will there be another release of Madde containing all pr1.3 libs?
I think it's already there. I got updates in my Nokia QT SDK yesterday.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post:
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#286
Hello,

I am still on PR 1.2 and I updated to the latest Mad Developer version 2.0 when it came up, it looks like that was a mistake. Now whenever I run Mad Developer I get the following error:
Code:

./mad-developer: symbol lookup error: ./mad-developer: undefined symbol: _ZN9QListData11detach_growEPii

When I try to get the versiion prior to 2.0 from http://maemo.org/packages/package_in...eveloper/1.94/ I cannot download it due to a server error. The Status field on that site says "Old version cleaned by repository management." But it is the old version that I need.

Can anyone please tell me where I can get the previous version of Mad Developer which worked perfectly in PR 1.2, such as any version prior to 2.0? Perhaps someone has the binary saved on their computer?

Thank you

Last edited by mail_e36; 2010-10-31 at 20:00.
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#287
I received a response from Tomi Ollila, the person behind Mad Developer. Tomi's very useful response was:

That happens because that version mad-developer is compiled for PR1.3

Try this version:

http://www.iki.fi/too/mad-developer_2.0_armel.deb

This is built from the same source, but with MADDE using sysroot for PR 1.2

(I have this installed on my device)

(an alternative is to download the source and compile it yourselves)

--------
I am also attaching the binary to this post. The pre-reqs are:

fuse-utils
usb-network-modules
gdb

All the pre-reqs can be easily installed using "apt-get install"

Thank you Tomi Ollila for your assistance and hard work on this project.

Originally Posted by mail_e36 View Post
Hello,

I am still on PR 1.2 and I updated to the latest Mad Developer version 2.0 when it came up, it looks like that was a mistake. Now whenever I run Mad Developer I get the following error:
Code:

./mad-developer: symbol lookup error: ./mad-developer: undefined symbol: _ZN9QListData11detach_growEPii

When I try to get the versiion prior to 2.0 from http://maemo.org/packages/package_in...eveloper/1.94/ I cannot download it due to a server error. The Status field on that site says "Old version cleaned by repository management." But it is the old version that I need.

Can anyone please tell me where I can get the previous version of Mad Developer which worked perfectly in PR 1.2, such as any version prior to 2.0? Perhaps someone has the binary saved on their computer?

Thank you
 

The Following User Says Thank You to mail_e36 For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#288
Originally Posted by uvatbc View Post
I think it's already there. I got updates in my Nokia QT SDK yesterday.
I'm on Windows. How do I update MADDE to include all PR1.3 libs?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#289
Originally Posted by Wikiwide View Post
I'm on Windows. How do I update MADDE to include all PR1.3 libs?
The updating mechanism is platform agnostic, so you should use the updater plugin, just as anybody else to get the newest MADDE. IIRC there is a bug though that might prevent you from a proper update in older NQS versoins - if you do an update and seemingly nothing is offered/happens, just download&install the latest NQS over the old one.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#290
Originally Posted by attila77 View Post
The updating mechanism is platform agnostic, so you should use the updater plugin, just as anybody else to get the newest MADDE. IIRC there is a bug though that might prevent you from a proper update in older NQS versoins - if you do an update and seemingly nothing is offered/happens, just download&install the latest NQS over the old one.
MADDE for Windows from this download page
tablets-dev.nokia.com/MADDE.php
contains PR1.2 and Qt 4.6.

However, Nokia Qt SDK contains MADDE with Qt 4.7 and PR1.3. So my problem is solved: I just use MADDE terminal of Nokia Qt SDK.

Thanks to everybody for MADDE! It's very useful.
 
Reply

Tags
madde


 
Forum Jump


All times are GMT. The time now is 12:05.