ADB support? [UPDATE]

Nathan Whitehorn nwhitehorn at freebsd.org
Fri Oct 3 00:33:43 UTC 2008


Nathan Whitehorn wrote:
> Andreas Jönsson wrote:
>> Hi,
>>
>> I'm wondering how the ADB keyboard support is coming along?
>> The last thing I've seen on this list is from July.
> 
> I've been stymied by a lack of hardware. It works great on my PowerMac 
> G3, but that has a different controller chip (CUDA) than the one 
> everybody wants support for (PMU, found in laptops). My current work is 
> here:
> 
> http://people.freebsd.org/~nwhitehorn/adb.diff
> 
> It has a PMU driver, which may just work. Of course, it more likely 
> won't... Motivated people are welcome to hack it, and I'd appreciate any 
> reports. To add this support, apply the patch to sys on a recent 
> -CURRENT, add the following to your kernel config, and recompile:
> 
> device cuda
> device pmu
> device adb

It appears my ability to fix bugs without hardware is better than I 
thought. I managed to borrow a G4 iBook today, and the internal keyboard 
works perfectly with the above patch applied. I'd appreciate some more 
testing, and will clean it up a little before committing.

On another note, it appears that loader is broken on this machine. I had 
to roll back to one from the end of 2007 to get it to boot -- it stalled 
right before loading loader.conf. Maybe it has to do with how it started 
opening the NIC several times?
-Nathan


More information about the freebsd-ppc mailing list