2009/4/1 Daniel Ribeiro <drw...@gmail.com>: > You can do this on userspace until somebody come with a proper driver. > All PCAP ADCs may be read on sysfs, one of the adcs is connected to the > miniUSB ID pin, and depending on the value of this ADC you can detect > the accessory type.
looks like /sys/devices/platform/pxa2xx-spi.1/spi1.0/adc_chargerid always returns 1023 -- wbr, Ilya ICQ: none, Jabber: ilya.muro...@jabber.ru