|
2008-01-17
, 00:27
|
|
Posts: 166 |
Thanked: 26 times |
Joined on Jun 2007
@ Hampshire, UK
|
#302
|
You hope this helps?
I am over the moon, and if you ever can find your way down to Trinidad, I'll buy you a cold Carib. Hell, I'll buy you a 12-year-old Angostura rum with fresh coconut water.
|
2008-01-20
, 19:21
|
Posts: 76 |
Thanked: 19 times |
Joined on Apr 2007
|
#303
|
#!/bin/sh if $(grep -q b_idle /sys/devices/platform/musb_hdrc/mode) then #echo "guest mode enabled" hostmode=0 else #echo "host mode" hostmode=1 fi case "$1" in "enable" | "host" | "hostmode" ) echo host > /sys/devices/platform/musb_hdrc/mode run-standalone.sh dbus-send --print-reply \ --type=method_call --dest=org.freedesktop.Notifications \ /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog \ string:'USB HOST MODE - ENABLED' uint32:0 string:'OK' 2> /dev/null 1> /dev/null ;; "disable" | "guest" | "otg" | "peripheral" ) echo otg > /sys/devices/platform/musb_hdrc/mode run-standalone.sh dbus-send --print-reply \ --type=method_call --dest=org.freedesktop.Notifications \ /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog \ string:'USB HOST MODE - DISABLED' uint32:0 string:'OK' 2> /dev/null 1> /dev/null ;; "toggle" ) if [ $hostmode -eq 1 ] ; then #"Calling $0 to disable" $0 disable else #"Calling $0 to enable" $0 enable fi ;; * ) echo "$0 usage: enable | disable | toggle | --help" ;; esac
The Following User Says Thank You to mplawner For This Useful Post: | ||
|
2008-01-20
, 20:02
|
Posts: 631 |
Thanked: 837 times |
Joined on May 2007
@ Milton, Ontario, Canada
|
#304
|
|
2008-01-20
, 23:50
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#305
|
|
2008-01-21
, 14:33
|
Posts: 245 |
Thanked: 25 times |
Joined on Apr 2007
|
#306
|
3) Use a pair of pliers to bend up the metal top cap of the mini USB connector on the other end of the cable. There's a kind of "zig-zag" line where the two pieces of metal meet up, and all you have to do is bend them up slightly to either side to expose the copper pins.
4) Take a soldering iron and apply a tiny smear of solder between the exposed pins 4 and 5 near the back; if the solder beads up too much just scrape it down a bit with either the soldering iron or a small file so that it's fairly flat.
5) Bend the metal top cap back down into original position.
|
2008-01-21
, 15:38
|
Posts: 33 |
Thanked: 6 times |
Joined on Oct 2007
|
#307
|
I purchased (and am using) this adapter, though you may be able to find a better deal elsewhere.
EDIT: The linked USB adapter is not wired correctly to let OS2008 on an N800 do its USB mode autoswitching magic.
|
2008-01-22
, 02:56
|
Posts: 44 |
Thanked: 2 times |
Joined on Jan 2008
|
#308
|
So, just to clarify, this adapter will not work? Can you add a link to adapter you did get to work? Thanks!
|
2008-01-22
, 03:07
|
Posts: 44 |
Thanked: 2 times |
Joined on Jan 2008
|
#309
|
|
2008-01-22
, 13:06
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#310
|
I am over the moon, and if you ever can find your way down to Trinidad, I'll buy you a cold Carib. Hell, I'll buy you a 12-year-old Angostura rum with fresh coconut water.
It was a simple job, without too much bloodshed, to peel back the shielding on the mini-A connector and then cut it off. After only one setback - I'd forgotten to turn my camera to mass-storage mode - I was using my N800 to browse the photos on my Nikon D200.
I've been wanting to do that ever since I bought my N800 a year ago.
My only concern is that the connector is a bit wobbly without the shielding.
Anyone fancy porting gphoto2?