Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 4.00 average. Display Modes
Old 13-12-2012, 04:24   #91
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCpn install on android tablets easier now.

General information relevant to this thread:

Until a significant number of people perform a linux/OpenCpn installation on different tablets, we won't know what kind of results people are getting. The consequence is that common problems cannot be addressed in a comprehensive manner. Unless you are planning to buy a xoom like mine, are running the same kernel version and rom, using the same or very similar gps -- you may or may not get the same results. So, go ahead and do the rooting and installation so more people are working together on this project. Do not wait to see my results. Depending upon the above variables you may have a working gps before I do.

A rooted device can be unrooted and returned to factory rom if that's what you want. Nothing you try here is undoable.

Linux Installer does not supply a 'normal user'. Linux Deploy supplies as close to a normal user as you will get in a chroot environment. The default name of this user is 'android'. Not my doing...

'Easier' in the title to this thread would be understood by anyone who read my original instructions. You were required to compile and install wxWidgets. No longer and this installation faster and easier.

Lost, confused? Ask, and maybe I can help. Maybe not.

armido
__________________

__________________
armido is offline   Reply With Quote
Old 13-12-2012, 07:43   #92
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

I would go with ubuntu...as there kernel support is more advanced then debian. A couple of things Armdo.

1. Linux is linux, in the case its an ARM port to match your processor, some flavours are more up to date then others.

2. When you do an exercise like this, its very important to document your steps for two reasons. (a) so others can help you (b) the claims you make are verifiable. If it cant be replicated on another machine or by another user its considered bogus.

3. Not meaning to be hard on you but when it comes to linux, its very important to document everything, like the steps you take, saying I followed your instructions, is not valid in this scenario, consider it a science experiement that is your obligation to provide the information so that others can repeat your steps.

4. I see no evidence from what you present that the device is located at USB0.

5. A corroded port, would not give the partial dmesg output that you present. It is far more likely the the USB controller is barfing with a kernel oops as from the partial data that you present there are no device assignments. Its a known issue with this chipset as posted the the kernel developers are working on. But to be sure I need a complete dmesg output.

6. I have not seem a complete dmesg output but have requested it three times now.

7. Suggestion: get debian off that machine, install ubuntu, it more up todate, and repeat the exercise, create the needed user accoount armido and then post the complete "dmesg" output.

8. This is a good exercise and needs to be done, but you are not providing enough technical information that can be verified. That is a learning curve issue as well.

Stick with it, but give us some data to play or at least look at and by that I mean step by step procedures with machine associated output. Its work but its worth it.

Best and kind regards

/ch
__________________

__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 07:53   #93
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Quote:
Originally Posted by sinbad7 View Post


'OpenCpn install on android tablets easier now.'


Youve gotta be kidding!!!

I would change it to:

'OpenCpn access on android tablets easier now.'


and use TeamViewer or PocketCloud.

Tore

P.S. My compliments for perserverance and patience!
Hi Tore

Thanks for your information on TeamServer, have it working now on my linux machine. The last update did the trick and I have the desktop on now on my little Samsung Ace phone....pretty cool but slow.

What you are seeing is a standard exercise to get linux running on a particular machine. Its an exercise and many times leads to a dead end until the kernel group get the drivers sorted. It would be a lot easier if companies released the data on the chip sets but not enough do for a variety of reasons. The main issue is always kernel support of the hardware and what you are watching is an exercise to determine if the hardware is indeed supported. The gps stuff and application software stuff is really irrelevant at this point as what needs to be determined is if all the hardware on the Motorola zoom is in fact detected properly. That is always the first step. So changing to another tablet or using a windows based tablet would not solve _that_ problem perhaps others.

So the exercise for now is to determine if in fact all the hardware is recognized, the proper drivers loaded (called modules) and we have a happy kernel doing what it does best...perform at twice the speed of comparative operating systems and typically at less power. Its kinda a hobby to try to make this stuff work.

Best and kind regards

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 10:45   #94
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCpn install on android tablets easier now.

Sailias,

I am documenting every command, every step - but nothing here has progressed to the point where I can formulate a how-to for others. Plus, the thread progression promotes people going to the very end of the thread - skipping everything between. When there is enough to present in a helpful way to others I'll ask for consent to post another guide in the Developer's Handbook section at opencpn.org. Step by step guidelines are much more usable than scattershot posts in this thread.

I believe the .txt files I'm sending are no different from what was in the email I sent you - but they're on there way.

Finally, the installers I've used warn people away from Ubuntu at this point. You'd think they have enough knowledge about what's going on to lead people in the right direction.

Maybe you need to obtain a tablet and give this a go yourself - with Ubuntu if that's what suits you. Ignore the developers and see what you accomplish.

Text files are on the way.

armido
__________________
armido is offline   Reply With Quote
Old 13-12-2012, 10:52   #95
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Not even close to a howto Armido..what Im getting at is that at this early stage machine output to support an opinion is critical. At this time we dont even know if all the hardware is detected properly. Looking forward to the complete dmesg output. That is the definitive answer.

Best regards

/ch

PS: have linux on my Samsung Ace...all I need for now..
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 10:55   #96
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Just to update the thread Amido...I have received nothing at the email address I provided. Send it through quickly as Im off on vacation in a couple of days. Want to clean the decks prior too leaving.

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 10:59   #97
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

BTW...ubuntu was intalled on the Xoom in 2011....Installing Ubuntu on your Motorola Xoom tablet | TalkAndroid.com

Here are the instructions on doing it with 12.10 and most of the development is happening:

[APP] Linux-on-Android project (Complete Linux Installer) - xda-developers

Need to see your dmesg output first before I can make a suggestion.

Best of luck.

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 11:16   #98
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCpn install on android tablets easier now.

Sailias,

Sent the attachments to the address provided. Is it possible a filter is rejecting my messages?

armido
__________________
armido is offline   Reply With Quote
Old 13-12-2012, 11:18   #99
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCpn install on android tablets easier now.

Sailias,

I've been privy to that thread for a long time. Development has not proceeded for a long time. I am aware of one post recently asking if anyone had images. Have not gone to the thread since then, but will take a look. Would definitely like to replace android altogether!

armido
__________________
armido is offline   Reply With Quote
Old 13-12-2012, 11:23   #100
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: OpenCpn install on android tablets easier now.

Sailias,

Complete Linux Installer is another chroot installer. Tried it before using Linux Deploy and cannot recommend. Thought your link would lead me here: Got My Xoom running Debain native (without chroot) - xda-developers Been dormant for a long time, but who knows? From the post I saw recently there may still be development in the wings.

armido
__________________
armido is offline   Reply With Quote
Old 13-12-2012, 13:44   #101
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Thanks for the heads up. Found it in the spam filter. Ok..summation....sorry to say your dead in the water.

Here is the reason. The usb controller cannot be managed by the linux kernel at this time. The only thing to do is to get the latest development kernel and patches for the controller and you may be in luck. The other alternative, is to wait till the next official release when the changes will be incorporated.

Also this implementation is interesting. Its not a true install rather a virtual system that runs inside the android environment. That generally sucks, however the good news is that in 2014 the android and linux kernel will be merged into one again.

So here's the data:
--------------------------
[ 320.450898] usb usb2: Product: Tegra EHCI Host Controller [ 320.451021] usb usb2: Manufacturer: Linux 2.6.39.4-Eos3 ehci_hcd [ 320.451090] usb usb2: SerialNumber: tegra-ehci.0 [ 320.451687] hub 2-0:1.0: USB hub found [ 320.451773] hub 2-0:1.0: 1 port detected [ 343.980574] usb 2-1: new full speed USB device number 2 using tegra-ehci [ 344.241045] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 344.241180] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 449.403117] usb 2-1: USB disconnect, device number 2 [ 449.860564] usb 2-1: new full speed USB device number 3 using tegra-ehci [ 456.380500] usb 2-1: device not accepting address 3, error -71 [ 456.440575] hub 2-0:1.0: unable to enumerate USB device on port 1 [ 456.720556] usb 2-1: new full speed USB device number 5 using tegra-ehci [ 456.950509] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 456.950598] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 457.218138] usb 2-1: USB disconnect, device number 5 [ 458.720600] usb 2-1: new full speed USB device number 6 using tegra-ehci [ 458.950553] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 458.950684] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 511.252107] usb 2-1: USB disconnect, device number 6 [ 511.610574] usb 2-1: new full speed USB device number 7 using tegra-ehci [ 511.742186] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 511.742325] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 512.987104] usb 2-1: USB disconnect, device number 7 [ 513.430529] usb 2-1: new full speed USB device number 8 using tegra-ehci [ 513.570688] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 513.570797] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 668.472930] init: untracked pid 32515 exited [ 668.487009] init: untracked pid 32518 exited [ 668.719461] init: untracked pid 32517 exited [ 668.719586] init: untracked pid 32522 exited [ 674.927484] init: untracked pid 964 exited [ 675.146400] init: untracked pid 978 exited [ 677.046867] init: untracked pid 1517 exited [ 677.272374] init: untracked pid 1523 exited [ 680.472102] init: untracked pid 2237 exited [ 680.711106] init: untracked pid 2239 exited [ 687.902432] init: untracked pid 3918 exited [ 688.122236] init: untracked pid 3923 exited [ 695.345623] init: untracked pid 4796 exited [ 695.561259] init: untracked pid 4798 exited [ 695.628104] usb 2-1: USB disconnect, device number 8 [ 698.219247] init: untracked pid 5383 exited [ 698.442612] init: untracked pid 5386 exited [ 705.230502] usb 2-1: new full speed USB device number 9 using tegra-ehci [ 705.560567] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 705.560647] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 706.099229] init: untracked pid 6757 exited [ 706.326398] init: untracked pid 6761 exited [ 706.900097] usb 2-1: USB disconnect, device number 9 [ 708.014460] init: untracked pid 7035 exited [ 708.239064] init: untracked pid 7039 exited [ 709.320547] usb 2-1: new full speed USB device number 10 using tegra-ehci [ 709.650569] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 709.650661] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 721.684649] init: untracked pid 9142 exited [ 721.905509] init: untracked pid 9147 exited [ 724.249106] usb 2-1: USB disconnect, device number 10 [ 725.700552] usb 2-1: new full speed USB device number 11 using tegra-ehci [ 725.930523] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 725.930614] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 753.216171] usb 2-1: USB disconnect, device number 11 [ 753.810562] usb 2-1: new full speed USB device number 12 using tegra-ehci [ 760.440567] usb 2-1: device not accepting address 12, error -71 [ 760.500520] hub 2-0:1.0: unable to enumerate USB device on port 1 [ 760.783964] usb 2-1: new full speed USB device number 14 using tegra-ehci [ 761.011046] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 761.011182] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 762.192130] usb 2-1: USB disconnect, device number 14 [ 762.760550] usb 2-1: new full speed USB device number 15 using tegra-ehci [ 763.090518] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 763.090608] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 772.415371] usb 2-1: USB disconnect, device number 15 [ 773.430753] usb 2-1: new full speed USB device number 16 using tegra-ehci [ 773.581168] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [ 773.581713] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
------------------------

what you see here is the kernel module trying to load the usb controller and allocate a device to it
but it refuses to load, and accept its assignment. It tries several time and fails.

So the conclusion is not good, the usb-subsystem on Xoom is not working hence when
you attach a gps device to it, it does not recognize it.

Sorry I dont have better news. Will run this by a friend and see what comes back.
Give me a day or two.

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 14:02   #102
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Code:
[  320.450898] usb usb2: Product: Tegra EHCI Host Controller [  320.451021] usb usb2: Manufacturer: Linux 2.6.39.4-Eos3 ehci_hcd [  320.451090] usb usb2: SerialNumber: tegra-ehci.0 [  320.451687] hub 2-0:1.0: USB hub found [  320.451773] hub 2-0:1.0: 1 port detected [  343.980574] usb 2-1: new full speed USB device number 2 using tegra-ehci [  344.241045] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  344.241180] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  449.403117] usb 2-1: USB disconnect, device number 2 [  449.860564] usb 2-1: new full speed USB device number 3 using tegra-ehci [  456.380500] usb 2-1: device not accepting address 3, error -71 
****the main tegra ehci.o module is not functional*****

[  456.440575] hub 2-0:1.0: unable to enumerate USB device on port 1 [  456.720556] usb 2-1: new full speed USB device number 5 using tegra-ehci [  456.950509] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  456.950598] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  457.218138] usb 2-1: USB disconnect, device number 5 [  458.720600] usb 2-1: new full speed USB device number 6 using tegra-ehci [  458.950553] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  458.950684] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  511.252107] usb 2-1: USB disconnect, device number 6 [  511.610574] usb 2-1: new full speed USB device number 7 using tegra-ehci [  511.742186] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  511.742325] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  512.987104] usb 2-1: USB disconnect, device number 7 [  513.430529] usb 2-1: new full speed USB device number 8 using tegra-ehci [  513.570688] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  513.570797] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  668.472930] init: untracked pid 32515 exited [  668.487009] init: untracked pid 32518 exited [  668.719461] init: untracked pid 32517 exited [  668.719586] init: untracked pid 32522 exited [  674.927484] init: untracked pid 964 exited [  675.146400] init: untracked pid 978 exited [  677.046867] init: untracked pid 1517 exited [  677.272374] init: untracked pid 1523 exited [  680.472102] init: untracked pid 2237 exited [  680.711106] init: untracked pid 2239 exited [  687.902432] init: untracked pid 3918 exited [  688.122236] init: untracked pid 3923 exited [  695.345623] init: untracked pid 4796 exited [  695.561259] init: untracked pid 4798 exited [  695.628104] usb 2-1: USB disconnect, device number 8 [  698.219247] init: untracked pid 5383 exited [  698.442612] init: untracked pid 5386 exited [  705.230502] usb 2-1: new full speed USB device number 9 using tegra-ehci [  705.560567] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  705.560647] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  706.099229] init: untracked pid 6757 exited [  706.326398] init: untracked pid 6761 exited [  706.900097] usb 2-1: USB disconnect, device number 9 [  708.014460] init: untracked pid 7035 exited [  708.239064] init: untracked pid 7039 exited [  709.320547] usb 2-1: new full speed USB device number 10 using tegra-ehci [  709.650569] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  709.650661] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  721.684649] init: untracked pid 9142 exited [  721.905509] init: untracked pid 9147 exited [  724.249106] usb 2-1: USB disconnect, device number 10 [  725.700552] usb 2-1: new full speed USB device number 11 using tegra-ehci [  725.930523] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  725.930614] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  753.216171] usb 2-1: USB disconnect, device number 11 [  753.810562] usb 2-1: new full speed USB device number 12 using tegra-ehci [  760.440567] usb 2-1: device not accepting address 12, error -71 [  760.500520] hub 2-0:1.0: unable to enumerate USB device on port 1 [  760.783964] usb 2-1: new full speed USB device number 14 using tegra-ehci [  761.011046] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  761.011182] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  762.192130] usb 2-1: USB disconnect, device number 14 [  762.760550] usb 2-1: new full speed USB device number 15 using tegra-ehci [  763.090518] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  763.090608] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [  772.415371] usb 2-1: USB disconnect, device number 15 [  773.430753] usb 2-1: new full speed USB device number 16 using tegra-ehci [  773.581168] usb 2-1: New USB device found, idVendor=091e, idProduct=0003 [  773.581713] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Lets see if this is cleaner.

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 14:06   #103
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

S&^%T....this system is different. Sorry

Does not like code. To summarize the Tegra ECHCI Host Controller is not able to enumerate the devices on the USB bus. In short, I does not give them a device assignment. This is a known issue as reported earlier from the kernel list.
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 14:08   #104
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Final comment on this. Everything else looks good, its just the controller that is not working properly that is the kernel module not the hardware. Its being worked on so eventually this will work once the single module is fixed. Work on the module is ongoing.

Sorry I dont have better news.

/ch
__________________
sailias is offline   Reply With Quote
Old 13-12-2012, 14:58   #105
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: OpenCpn install on android tablets easier now.

Ive attached the dmesg output for others to take a look at and comment on. Also send it off to a friend to see if a different opinion comes back. Lets see what comes of this.

Best regards

/ch
Attached Files
File Type: doc Motorola_Xoom_linux_dmesg.doc (105.5 KB, 39 views)
__________________

__________________
sailias is offline   Reply With Quote
Reply

Tags
opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xoom Quad Band Int'l Armel Running OpenCPN armido OpenCPN 25 03-11-2012 07:44
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 16:32
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:41.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.