maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Connect Jolla to android tablet, is it possible? (https://talk.maemo.org/showthread.php?t=94397)

pichlo 2015-01-30 16:18

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Casanunda (Post 1458883)
This sounds like MTP is working on the tablet also in this direction.
(typical behaviour also on (Windows) PC when you connect an MTP device to it - Open some picture browsing app...

Does the gallery app on your tablet also show photos that are stored on Jolla?

That's exactly what I assumed when I saw that Schturman's post.

Please be aware that you won't be able to browse the entire file system, only what the Jolla's MTP decided to export. There is a file user-dirs.dirs in /home/nemo/.config with the list. It also has a comment with some useful info.

Schturman 2015-01-30 19:41

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Casanunda (Post 1458883)
Does the gallery app on your tablet also show photos that are stored on Jolla?

Yes, I can see photos from Jolla.

Quote:

Originally Posted by pichlo (Post 1458906)
Please be aware that you won't be able to browse the entire file system, only what the Jolla's MTP decided to export. There is a file user-dirs.dirs in /home/nemo/.config with the list. It also has a comment with some useful info.

What you mean "be aware" ? What can happen ?

pichlo 2015-01-30 20:34

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Schturman (Post 1458927)
Yes, I can see photos from Jolla.

Hurray! Mission accomplished.

Quote:

What you mean "be aware" ? What can happen ?
Nothing, just that a few pictures and videos is all you will see.

I think you can trick it by making a symlink from one of your exposed folders to a folder higher up the path. But I'm sure you know that already ;)

juiceme 2015-01-30 20:34

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Schturman (Post 1458845)
This is exactly what I want.. But I want it via ssh over USB... Through wifi it work perfectly..

Well, you are more than half way there since the difficult thing is to connect the 2 devices togther so that one is the master and one is the slave.

Now, what you need is to set up IP over USB on the connection you have between the devices. On Jolla side you can do it from the USB connection menu, but if the Android tablet dooes not have that you need to manually launch up the correct kernel module and configure IP address for the interface.

Schturman 2015-01-30 21:13

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by juiceme (Post 1458933)
Well, you are more than half way there since the difficult thing is to connect the 2 devices togther so that one is the master and one is the slave.

Now, what you need is to set up IP over USB on the connection you have between the devices. On Jolla side you can do it from the USB connection menu, but if the Android tablet dooes not have that you need to manually launch up the correct kernel module and configure IP address for the interface.

This what I tried to do.. but when I connect jolla to tablet and choose "Developer mode" or "PC connection" on jolla, the USB setting don't have any setting. It Just show "Connected as Dev mode" and Default USB mode: Always ask.
I can't do nothing here... From the tablet I tried ssh connection like via wifi in JuiceSSH app, but it can't connect. Probably like someone said my tablet don't have usb networking and I have no idea how to get it work.

juiceme 2015-01-30 21:33

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Schturman (Post 1458941)
This what I tried to do.. but when I connect jolla to tablet and choose "Developer mode" or "PC connection" on jolla, the USB setting don't have any setting. It Just show "Connected as Dev mode" and Default USB mode: Always ask.
I can't do nothing here... From the tablet I tried ssh connection like via wifi in JuiceSSH app, but it can't connect. Probably like someone said my tablet don't have usb networking and I have no idea how to get it work.

No, you need to go to the tablet console, load up the required module and configure the IP address manually.

It is possible your tablet does not have the module, in that case you need to get the correct kernel source (which is available from the manufacturer) and recompile the kernel with CONFIG_USB_ETH=m to get the support module.

Schturman 2015-01-30 23:13

Re: Connect Jolla to android tablet, is it possible?
 
You speak Chinese with me, I'm not programmer :D
I don't have a clue what to do with what you said.
Probably it's not for me.. For now I found another solution for bad wifi in my work. I just do tethering from jolla and connect tablet to this network. In this case ssh over wifi work quickly, but it eat my 3g internet..

m4r0v3r 2015-01-30 23:31

Re: Connect Jolla to android tablet, is it possible?
 
Quote:

Originally Posted by Schturman (Post 1458845)
This is exactly what I want.. But I want it via ssh over USB... Through wifi it work perfectly..

youll need a driver or module i take it? windows uses ndis, am guessing whats the android equivalent.

maybe this

http://raspberrypi.stackexchange.com...-rpi-using-usb

the Jolla would obviously be the raspberry pi, connected in dev mode, and the android is set in how that link says

thedead1440 2015-01-31 08:01

Re: Connect Jolla to android tablet, is it possible?
 
Hmm I wonder if reverse tethering following this guide is doable: http://forum.xda-developers.com/show....php?t=2287494

aegis 2015-01-31 10:51

Re: Connect Jolla to android tablet, is it possible?
 
Does anyone know how the mtp support is implemented in Sailfish?

I'm presuming it is libmtp http://libmtp.sourceforge.net/

Can it initiate a connection and browse an attached device? Does it need one of the file manager developers to add support? Does Jolla need to change the gallery app to browse cameras?


All times are GMT. The time now is 09:41.

vBulletin® Version 3.8.8