From owner-freebsd-current@freebsd.org Fri Feb 2 11:23:43 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7514BED19C7 for ; Fri, 2 Feb 2018 11:23:43 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B288186F11 for ; Fri, 2 Feb 2018 11:23:41 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from fortune.joker.local (124-18-70-98.dz.commufa.jp [124.18.70.98]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id w12BNWgp010203; Fri, 2 Feb 2018 20:23:33 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Fri, 2 Feb 2018 20:23:32 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: bdysonsmith@gmail.com Subject: Re: Lenovo T470s Questions Message-Id: <20180202202332.791eef96ccdf40e8a0a2c17d@dec.sakura.ne.jp> In-Reply-To: References: Organization: Junchoon corps X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 11:23:43 -0000 Not 100% sure but possibly some (one?) EisaId are (is) missing in ibm_ids definition of sys/dev/acpi_support/acpi_ibm.c. Currently it contains "IBM0068" and "LEN0068". Run `acpidump -d -t | fgrep EisaId` as root on your T470s and look for EisaId something other than... IBM0068 LEN0068 IBM3780 PNP???? If there's something new, insert them (it) to static char *ibm_ids[] = {"IBM0068", "LEN0068", NULL}; line of sys/dev/acpi_support/acpi_ibm.c, between "LEN0068" and "NULL". If there's none, it's over my hand. :-( There could be some incompatibility, like struct member change etc. See my web page [1] of part "Note for limitations of ACPI in ThinkPad T420" and The FreeBSD Forums' thread noted there [2] for more info. Although old, but part of them can be useful. [1] http://www.dec.sakura.ne.jp/~junchoon/machine/freebsd-e.html [2] https://forums.freebsd.org/threads/26759/ On Thu, 1 Feb 2018 21:13:05 -0500 Bridger Dyson-Smith wrote: > Hi list and Michael - > > I received a T470s at work and decided to jump into the CURRENT end of the > FreeBSD pool. I have a weird acpi_ibm issue and I'm not sure where to start > trying to diagnose the issue. > > # uname -a > FreeBSD spanner 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r328126: Thu Jan 18 > 15:25:44 UTC 2018 root@releng3.nyi.freebsd.org:/ > usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > I've loaded acpi_ibm via /boot/loader.conf: > acpi_ibm_load="YES" > > and the module shows as being loaded: > # kldstat | grep acpi_ibm > 8 1 0xffffffff8278e000 7570 acpi_ibm.ko > > However, I don't have any of the sysctl knobs available; e.g. > # sysctl -a | grep acpi_ibm > # > > or > # sysctl dev.acpi_ibm.0.fan_speed > sysctl: unknown oid 'dev.acpi_ibm.0.fan_speed' > > I've (tried) to look through the commit messages on svn-src-head, but I'm > not seeing anything specifically related to acpi work, or I just don't know > what I'm looking at (a definite possibility). > > Would someone be able to provide a bit of debugging direction here? > Reviewing `dmesg -a` doesn't tell me anything specific about acpi_ibm. > > Thanks in advance for your time and trouble. > Bridger > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Tomoaki AOKI