Date: Sun, 14 Nov 2010 20:09:10 +0700 From: Veniamin Gvozdikov <g.veniamin@googlemail.com> To: Hans Petter Selasky <hselasky@c2i.net>, jkim@FreeBSD.org, freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: MacBookPro7,1 and FreeBSD 8.1 Message-ID: <4CDFDF76.3080102@googlemail.com> In-Reply-To: <201011131345.43364.hselasky@c2i.net> References: <4CDD7922.1060105@googlemail.com> <201011122131.57554.hselasky@c2i.net> <4CDE8738.1040406@googlemail.com> <201011131345.43364.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040602000703070109000602 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi. I think that I can broke my laptop %) I same found information about MacBook in the files: sys/dev/asmc/asmc.c sys/dev/asmc/asmcvar.h sys/dev/usb/input/atp.c I attached acpi dumps from this is how to http://www.projectosx.com/forum/index.php?showtopic=359 > On Saturday 13 November 2010 13:40:24 Veniamin Gvozdikov wrote: >> Hello. >> I fund a few lines about the macbook but I have issue. >> >> if (strncmp(sysenv, "MacBook5,1", 10) == 0 || >> strncmp(sysenv, "MacBookPro5,5", 13) == 0 || >> strncmp(sysenv, "Macmini3,1", 10) == 0) >> strncmp(sysenv, "Macmini3,1", 10) == 0 || >> strncmp(sysenv, "iMac9,1", 7) == 0) >> >> I see for macbookpro5,5 value 13, where is can I found value for 7,1? > 13 is the length of the string exluding the terminating zero. > > --HPS > >> thank you! >> >>> This might be because your model is not listed in a quirk-table: >>> >>> grep -ri macbook /usr/src/sys/amd64 >>> >>> /usr/src/sys/amd64/amd64/machdep.c >>> >>> --HPS --------------040602000703070109000602--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CDFDF76.3080102>