Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 2008 19:38:15 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        =?ISO-8859-1?Q?Andreas_J=F6nsson?= <tn06aj0@student.lth.se>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: ADB support? [UPDATE]
Message-ID:  <48E56977.9050407@freebsd.org>
In-Reply-To: <48E0DDE6.5030909@freebsd.org>
References:  <46171.83.233.155.226.1222694615.squirrel@webmail.student.lth.se> <48E0DDE6.5030909@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E56977.9050407>