maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

alainlux 2010-11-21 23:12

Re: [Announce] USB hostmode beta release
 
Thanks for the great news.

I am planning to use my N900 during my next holydays to offload pictures from my digital camera. Unfortunately, my camera only has support for PTP (Picture Transfer Protocol), not USB storage. Is a PTP client available on the N900? (On PC Linux, I've got digikam, gphoto, ... but I guess those are too bulky for the N900?)

An does anybody know where to get these USB-A female-to-female adapters without paying 7 times more in shipping and handling than the value of the connector?

mr id 2010-11-21 23:30

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by alainlux (Post 879863)
Thanks for the great news.

I am planning to use my N900 during my next holydays to offload pictures from my digital camera. Unfortunately, my camera only has support for PTP (Picture Transfer Protocol), not USB storage. Is a PTP client available on the N900? (On PC Linux, I've got digikam, gphoto, ... but I guess those are too bulky for the N900?)

What memory card does it use internally? Usb adaptor for most cards (sd etc) are cheap and I've had success with the ones I've tried. I believe otherwise the PTP handshaking isn't natively supported.

Quote:

Originally Posted by alainlux (Post 879863)
An does anybody know where to get these USB-A female-to-female adapters without paying 7 times more in shipping and handling than the value of the connector?

I've recently bought these from eBuyer which worked great:
http://www.ebuyer.com/product/124017
http://www.ebuyer.com/product/234050

delivery rates
http://www.ebuyer.com/help/delivery

imperiallight 2010-11-21 23:33

Re: [Announce] USB hostmode beta release
 
Great stuff

retsaw 2010-11-22 00:08

Re: [Announce] USB hostmode beta release
 
gphoto2 is a command line app, so it can probably be made to run on the N900 quite easily.

As for a USB-A female-to-female adapter, you could make your own if you want to be really cheap. I just took a double port of a USB1.1 hub I had bought from the pound shop and soldered the pins together, though this was more due to me being too impatient to wait for an adapter to be delivered when I wanted to try out USB hostmode on my N900, I do intend to buy myself a proper micro USB host cable sometime.

5spdvl 2010-11-22 06:43

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by retsaw (Post 879891)
gphoto2 is a command line app, so it can probably be made to run on the N900 quite easily.

As for a USB-A female-to-female adapter, you could make your own if you want to be really cheap. I just took a double port of a USB1.1 hub I had bought from the pound shop and soldered the pins together, though this was more due to me being too impatient to wait for an adapter to be delivered when I wanted to try out USB hostmode on my N900, I do intend to buy myself a proper micro USB host cable sometime.

That's what I did! I had a bunch of spare bits left over when I upgraded the case on my desktop, and the old case has four USB ports on a PCB, which I simply bridged the pairs of pins with solder. Just using it until my proper adaptor arrives in the mail.

alainlux 2010-11-22 07:41

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by mr id (Post 879873)
What memory card does it use internally? Usb adaptor for most cards (sd etc) are cheap and I've had success with the ones I've tried. I believe otherwise the PTP handshaking isn't natively supported.

It uses an Olympus xD picture card. Good idea with the card reader... I still have a spare reader around, and the picture card fits... Thanks for the tip.

Quote:

I've recently bought these from eBuyer which worked great:
http://www.ebuyer.com/product/124017
http://www.ebuyer.com/product/234050

delivery rates
http://www.ebuyer.com/help/delivery

They seem to only deliver to the UK, not mainland Europe. However, in the meantime, I found what I was looking for at adaptare-shop.de, with S&H only twice as much as price of the connector. By ordering a couple of other needed items along with it, I got the overhead down to bearable levels :-)
http://www.adaptare-shop.de/USB-micr...-b2a6d36ce7c9/
http://www.adaptare-shop.de/USB-USB-...-b2a6d36ce7c9/

alainlux 2010-11-22 07:45

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by retsaw (Post 879891)
gphoto2 is a command line app, so it can probably be made to run on the N900 quite easily.

Good idea, thanks. Is there already a Maemo .deb in a repository somewhere out there, or do I have to compile it from source?

alainlux 2010-11-22 12:52

Re: [Announce] USB hostmode beta release
 
After an upgrade to PR 1.3, hostmode-gui seems to conflict with kernel-headers (needed for gcc):

Nokia-N900-51-1:/home/user/MyDocs/gcc# apt-get install hostmode-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
i2c-tools
The following NEW packages will be installed:
hostmode-gui i2c-tools
0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B/83.2kB of archives.
After this operation, 426kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package i2c-tools.
(Reading database ... 29851 files and directories currently installed.)
Unpacking i2c-tools (from .../i2c-tools_3.0.2-1maemo2_armel.deb) ...
WARNING!===============WARNING!===============WARN ING!
Using i2c-tools and especially i2cset may cause serious permanent HARDWARE damage to the device, use it with caution and ONLY if you know what you're doing.
The developers and the maintainers are NOT responsible for any damage done. Use i2c-tools at your own risk!
YOU HAVE BEEN WARNED!
WARNING!===============WARNING!===============WARN ING!
dpkg: error processing /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb (--unpack):
trying to overwrite `/usr/include/linux/i2c-dev.h', which is also in package linux-kernel-headers
Selecting previously deselected package hostmode-gui.
Unpacking hostmode-gui (from .../hostmode-gui_0.2-8_armel.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any ideas?

ivyking 2010-11-22 13:05

Re: [Announce] USB hostmode beta release
 
see post #408 just 1 page before...

joerg_rw 2010-11-22 14:50

Re: [Announce] USB hostmode beta release
 
Mohammad has updated h-e-n GUI pkg and I2Ctools pkg (should fix issue as of posts above)
I hope he'll edit http://talk.maemo.org/showpost.php?p=866260&postcount=1 in a minute to update the info there as well

cheers
jOERG


All times are GMT. The time now is 18:20.

vBulletin® Version 3.8.8