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

Andy Green andy at openmoko.com
Wed May 28 20:53:04 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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;


- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkg9qhAACgkQOjLpvpq7dMrLugCZAUZtiUVKx+eE6e3UIc84Meuc
+i0An1FP0ngYSvkCZuGOforaCnW862WN
=PLJ7
-----END PGP SIGNATURE-----




More information about the community mailing list