2 Oct 2007 03:46
ADB setup
Michael Lorenz <macallan <at> netbsd.org>
2007-10-02 01:46:48 GMT
2007-10-02 01:46:48 GMT
Hello, I thought I fixed this in 4.0 but I guess I was wrong. On some newer *Books we accidentally power down when the adb driver attaches. As far as I know this happens on machines which don't have an ADB bus, so the PMU regards ADB commands as error and powers down. The attached patch will prevent the adb driver from issuing any ADB commands when the pmu node doesn't have an adb child. I've tested it on a PowerMac G4 which doesn't have ADB but the PMU is similar enough to the one used in newer PowerBooks although it doesn't power down on every error and a PowerBook 3400c which does have ADB. On the G4 no ADB commands are issued ( usually there would be a timeout message ) and on the PowerBook the normal ADB devices attach. Please test this on machines with or without ADB, if it fixes the power down problem and doesn't have any funny side effects I'll request pullup into 4.0 have fun Michael
RSS Feed