3G USB Dongle (was Re: Neo as cellular modem?)

Joerg Reisenweber joerg at openmoko.org
Thu May 29 03:52:40 CEST 2008


Am Mi  28. Mai 2008 schrieb Andy Green:
> Somebody in the thread at some point said:
> | Am Mi  28. Mai 2008 schrieb Brad Midgley:
> |> Joerg
> |>
> |> On Wed, May 28, 2008 at 2:30 AM, Joerg Reisenweber <joerg at openmoko.org>
> | wrote:
> |>> Am Mi  28. Mai 2008 schrieb Brad Midgley:
> |>>> i think it may still be up in the air
> |>> Nope it's not, see Y-cable in wiki. Should work perfectly. You just
> have
> | to
> |>> find the 5pin-mini-USB-plug to DIY one.
> |> is EN_USBHOST is deasserted by the system automatically now? I'll
> |> update the section in
> |> http://wiki.openmoko.org/wiki/Neo_FreeRunner_GTA02_Hardware if it is.
> |
> | No idea, it's a driver issue. On detection of 47k device is switching to
> | fastcharge, which I think is actually working. Also it should activate
> | LOGICAL hostmode for USB-controller same time (NOT asserting
> EN_USBHOST!),
> | which is needed for Y-Cable and doesn't hurt charger. I don't have the
> | slightest idea whether this already is in kernel or not.
> 
> It is deasserted if it sees you have a 1A charger in there, has been for
> a while.
> 
> 	case CHARGER_TYPE_1A:
> 		pcf50633_usb_curlim_set(pcf, 1000);
> 		/*
> 		 * stop GPO / EN_HOSTUSB power driving out on the same
> 		 * USB power pins we have a 1A charger on right now!
> 		 */
> 		dev_info(&pcf->client.dev, "Charger -> CHARGER_TYPE_1A\n");
> 		__reg_write(pcf, PCF50633_GPO - PCF50633_GPIO1 +
> 				 PCF50633_REG_GPIO1CFG,
> 				 __reg_read(pcf, PCF50633_GPO - PCF50633_GPIO1 +
> 						 PCF50633_REG_GPIO1CFG) & 0xf0);
> 		break;
> 

YEP. but from this sniplet I don't understand whether it also will enter 
LOGICAL hostmode like with a short to GND on ID-pin.

That's the crux, do *both*

/j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20080529/863e7087/attachment.pgp 


More information about the community mailing list