Re: [Qlandkartegt-users] Cannot load map on Linux PPC
Brought to you by:
kiozen
From: Mathieu B. <mba...@ar...> - 2008-12-21 12:15:41
|
Here you are... # TEST - start qlandkarte custom build, driver USB with DBG flag - try to download tracks # LOG [mbaudier@kal bin]$ ./qlandkartegt ------------ 4506687.439892 5432922.567629 ------------ +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=4500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs +towgs84=606.0,23.0,413.0 ------------ 4506687.439892 5432922.567629 ------------ +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=4500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs +towgs84=606.0,23.0,413.0 QStatusBar::insertPermanentWidget: Index out of range (1), appending widget name: "OSM-EU" basemap: "/home/mbaudier/Documents/GIS/OpenStreeMap/eu-081219/63239998.img" dimensions: N 1.29161 E 0.78233 S 0.384262 W -0.559136 13 6 true 14 6 false 17 5 false 20 4 false 21 3 false 22 2 false 23 1 false 24 0 false 24 7 24 7 "700 m" add "/home/mbaudier/.config/QLandkarteGT/OSM-EU.db" CMapTDB::CMapTDB() CDeviceGarmin::CDeviceGarmin() CDeviceGarmin::downloadTracks() 1d6b 2 91e 3 max. packet size:40 epBulkIn 1 epIntrIn 2 epBulkOut 3 4d9 420 1d6b 1 5ac 1000 1d6b 1 b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ b << 00 00 00 00 00 05 00 00 00 00 00 00 ............ On Sun, Dec 21, 2008 at 12:41, Oliver Eichler <oli...@gm...> wrote: > > Hi Mathieu, > > think that it as problem with the driver and bad big endian port. Looks like > you have to do some debugging. First step is to enable the DBG flag in > CUSB.cpp line 44. That will dump some protocol stuff to console. > > Oliver > >> Hi, >> >> further on my tests on Fedora 10 PPC with a GPSMAP 60CSx ... >> >> I am now trying to connect the device and keep getting: "Cannot sync >> with device" errors. >> >> I am using the version that I just built (that is a single binary >> generate in the build directory). >> When I tried to configure the device in Config, it told me that it >> could not find any plugins and that it was expecting them >> /usr/lib/qlandkarte. >> I have no /usr/lib/qlandkarte, but /usr/lib/qlandkartegt, so I made a >> symbolic link between them, and config did not complain anymore. >> >> But it is not working, I could not download tracks, which is working >> on my PC under Fedora 10 x86_64 with the same config, that is: Garmin >> / usb: (as device) / 60CSx (as type). >> >> 1. Should I build also the plugins directly from SVN? >> 2. Is there something wrong with my config? >> >> Please note that I manually gave 666 rights to the device as found >> through lsusb (under /dev/bus/sub/00x/00x) >> >> Thanks in advance for your help! >> >> Mathieu >> >> On Sun, Dec 21, 2008 at 12:07, Mathieu Baudier <mba...@ar...> wrote: >> > You will get feedback soon :) >> > >> > I'm travelling in teh next few weeks and I'll have the PowerBook with me. >> > >> > I tested TangoGPS yesterday which is more for this live purpose but I >> > could not get gpsd to work with my 60CSx. >> > I read that support for the GPSMAP 60CSx is broken in gpsd. Do you >> > have any info on this since I think you also use this device? (may be >> > not useful to answer on this list) >> > >> > On Sun, Dec 21, 2008 at 12:02, Oliver Eichler <oli...@gm...> > wrote: >> >> Am Sunday 21 December 2008 11:52:29 schrieben Sie: >> >>> Hi, >> >>> >> >>> indeed, it worked! >> >>> I commented out the #ifdef in CMapTDP.cpp (see below) and I could >> >>> import the *.tdb >> >> >> >> Hi Mathieu, >> >> >> >> that's good news :) Test a bit more and tell me. If it works I will >> >> remove the nag message. >> >> >> >>> Browsing the map is quite slow but this machine has its age. >> >> >> >> Well yes, and everything has to be converted from little to big endian. >> >> That is slow. >> >> >> >>> On this 12" screen, the buttons on the left are hardly visible (lossy >> >>> fullscreen screenshot attached), but since I will probably know all of >> >>> them by heart soon, this is not a big problem :) >> >> >> >> Close the summary / device select splitter in the middle. You don't >> >> really need that one on a small screen. >> >> >> >>> Thanks for the quick feedback, I think that I will go today test the >> >>> live log with the laptop on the countryside!! >> >> >> >> Uh :) Never did this. This live log stuff is always a request by some >> >> users. But I never got feedback if it's really usable. >> >> >> >> Oliver >> >> >> >>> Cheers, >> >>> >> >>> Mathieu >> >>> >> >>> # TECHNICAL >> >>> >> >>> [root@kal ~]# uname -a >> >>> >> >>> Linux kal 2.6.27.7-134.fc10.ppc #1 Mon Dec 1 22:10:23 EST 2008 ppc ppc >> >>> ppc GNU/Linux >> >>> >> >>> [mbaudier@kal QLandkarteGT]$ svn info >> >>> >> >>> Path: . >> >>> URL: >> >>> https://qlandkartegt.svn.sourceforge.net/svnroot/qlandkartegt/QLandkart >> >>>eGT/ trunk Repository Root: >> >>> https://qlandkartegt.svn.sourceforge.net/svnroot/qlandkartegt >> >>> Repository UUID: 0913f4f3-0441-0410-8e4e-9da9205379dc >> >>> Revision: 1074 >> >>> Node Kind: directory >> >>> Schedule: normal >> >>> Last Changed Author: kiozen >> >>> Last Changed Rev: 1074 >> >>> Last Changed Date: 2008-12-20 22:35:21 +0100 (Sat, 20 Dec 2008) >> >>> >> >>> [mbaudier@kal QLandkarteGT]$ svn diff >> >>> >> >>> Index: src/CMapTDB.cpp >> >>> =================================================================== >> >>> --- src/CMapTDB.cpp (revision 1074) >> >>> +++ src/CMapTDB.cpp (working copy) >> >>> @@ -576,10 +576,6 @@ >> >>> >> >>> void CMapTDB::readTDB(const QString& filename) >> >>> { >> >>> -#ifdef HAVE_BIGENDIAN >> >>> - QMessageBox::warning(0,tr("No big endian.."),tr("*tdb import has >> >>> not been ported to big endian architectures, >> >>> yet."),QMessageBox::Abort,QMessageBox::Abort); >> >>> - return; >> >>> -#endif >> >>> QByteArray data; >> >>> QFile file(filename); >> >>> QFileInfo finfo(filename); >> >>> >> >>> On Sun, Dec 21, 2008 at 11:21, Oliver Eichler <oli...@gm...> > wrote: >> >>> > Am Sunday 21 December 2008 10:52:42 schrieb Mathieu Baudier: >> >>> > > Should thes efixes already be in the official builds or only in >> >>> > > SVN? Is there something special I should do regarding to big endian >> >>> > > when building from SVN? >> >>> > > >> >>> > > I'm setting up a build from SVN meanwhile. >> >>> > >> >>> > Hi Mathieu, >> >>> > >> >>> > I tried to port all big endian related stuff from original QLandkarte >> >>> > to GT. However as I do not have a big endian machine to test. That's >> >>> > why I still block the code. Simply search for the string and remove >> >>> > it to test. I am happy to receive feedback on this :) >> >>> > >> >>> > Oliver >> >>> > >> >>> > --------------------------------------------------------------------- >> >>> >---- ----- _______________________________________________ >> >>> > Qlandkartegt-users mailing list >> >>> > Qla...@li... >> >>> > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users >> >> >> >> ------------------------------------------------------------------------ >> >>------ _______________________________________________ >> >> Qlandkartegt-users mailing list >> >> Qla...@li... >> >> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Qlandkartegt-users mailing list > Qla...@li... > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > |