Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 11:04:39 +0200
From:      =?iso-8859-1?Q?Peter_Ankerst=E5l?= <peter@pean.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        rpaulo@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: Keyboard problem with new MacBook Pro.
Message-ID:  <DAF464AA-DE6B-4C88-8EB9-304C892EEE97@pean.org>
In-Reply-To: <201004250951.19561.hselasky@c2i.net>
References:  <B783F7E2-A1AC-4896-9F51-4B36E2837D75@pean.org> <201004250951.19561.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 25 apr 2010, at 09.51, Hans Petter Selasky wrote:

> On Sunday 25 April 2010 09:30:12 Peter Ankerst=E5l wrote:
>> Hi,
>>=20
>> I have the newly released macbook pro 13" (7,1). (swedish keyboard) =
And it
>> seems that I have some problem with the USB-keyboard driver. The =
keyboard
>> seems to work more or less in the boot meny, I can type and so on. =
But
>> when the system is booted the keyboard dosent work. It seems like =
ctrl is
>> constantly pressed or something like that. Nothing that I've done =
gives me
>> normal characters on screen. Its the FreeBSD 7.3 amd64 version i have
>> installed btw. (8.0 or 9.0 freeezes during boot due to some =
acpi-problem
>> =
http://wiki.freebsd.org/AppleMacbook#head-083ebc072fcd20e07a74a11565fc41af=

>> b2ca099b)
>>=20
>> I have got the keyboard to partially work when using the fixit cd. If =
I
>> choose US UNIX keymap first and then switch to some other keymap, say =
US
>> ISO och Swedish ISO it works to type but shift, ctrl and so on doesnt
>> work.
>=20
> Hi,
>=20
> In 8-stable and 9-current, we have made several patches in the USB =
keyboard=20
> area for Apple Keyboards, like supporting the eject key, swapping =
keys, etc.
>=20
> Regaring the boot issue with Mac, I think it can be solved by adding a =
quirk=20
> in the kernel:
>=20
> amd64/machdep.c:                if (strncmp(sysenv, "MacBook1,1", 10) =
=3D=3D 0 ||
> amd64/machdep.c:                    strncmp(sysenv, "MacBook3,1", 10) =
=3D=3D 0 ||
> amd64/machdep.c:                    strncmp(sysenv, "MacBookPro1,1", =
13) =3D=3D 0=20
> ||
> amd64/machdep.c:                    strncmp(sysenv, "MacBookPro1,2", =
13) =3D=3D 0=20
> ||
> amd64/machdep.c:                    strncmp(sysenv, "MacBookPro3,1", =
13) =3D=3D 0=20
> ||
> amd64/pmap.c:                   if (strncmp(sysenv, "MacBook5,1", 10) =
=3D=3D 0 ||
> amd64/pmap.c:                       strncmp(sysenv, "MacBookPro5,5", =
13) =3D=3D 0=20
> ||
>=20
> Similar for i386.
>=20
> Could you print out your sysenv during boot and try adding your =
MacBook to the=20
> quirk list?
>=20
> --HPS
>=20

How do I print out the sysenv during boot? And when I find it how do I =
go about creating a
install-cd with the changes on it? (i know how to compile kernel/world =
but not how to package
it for a CD/DVD) Can I just add the modified part to a already =
downloaded cd-image?=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAF464AA-DE6B-4C88-8EB9-304C892EEE97>