Boot Menu entry for charging

Harald Welte laforge at openmoko.org
Tue Mar 20 00:55:22 CET 2007


On Mon, Mar 19, 2007 at 07:01:50PM +0100, Michael 'Mickey' Lauer wrote:
> Michael 'Mickey' Lauer wrote:
> > Werner Almesberger wrote:
> >> Michael 'Mickey' Lauer wrote:
> >>> menu_5=Charge w/ backlight off: neo1973 backlight off; neo1973 charger
> >>> autofast
> 
> >> After that, you don't need the CPU anymore, so
> >> neo1973 power-off
> 
> > Oh really? Excellent, thanks.
> 
> Btw., I always get this on power-down:
> 
> drivers/usb/class/cdc-acm.c: This device cannot do calls on its own. It is no modem.
> cdc_acm 3-1:1.0: ttyACM0: USB ACM device
> [ power off Neo ]

'power off' is 'power off from u-boot by issuiong 'neo1973 power-off'?

If yes, then it's a bug in our u-boot code, and it's not properly
deactivating the USB pull-up resistor. Thus the host thinks there's
still an alive USB device attached (whereas it should think that we've
been disconnected).

> usb 3-1: USB disconnect, address 13
> usb 3-1: new full speed USB device using uhci_hcd and address 14
> usb 3-1: device not accepting address 14, error -71
> usb 3-1: new full speed USB device using uhci_hcd and address 15
> usb 3-1: device not accepting address 15, error -71
> usb 3-1: new full speed USB device using uhci_hcd and address 16
> usb 3-1: device descriptor read/64, error -71
> usb 3-1: device descriptor read/64, error -71
> usb 3-1: new full speed USB device using uhci_hcd and address 17
> usb 3-1: device descriptor read/64, error -71
> usb 3-1: device descriptor read/64, error -71
> usb0: no IPv6 routers present

> Will that interfere with 500mA charging or is it harmless?

if those 'usb 3-1' lines start _after_ the backlight has been switched
off, it will not intefere but is still ugly.

-- 
- Harald Welte <laforge at openmoko.org>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone



More information about the openmoko-uboot mailing list