From owner-freebsd-acpi@freebsd.org Tue Feb 2 16:14:26 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A63CEA98488 for ; Tue, 2 Feb 2016 16:14:26 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from outbound2d.ore.mailhop.org (outbound2d.ore.mailhop.org [54.149.240.58]) (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 86A8E185E for ; Tue, 2 Feb 2016 16:14:26 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from homobox.opal.com (unknown [71.255.165.9]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA for ; Tue, 2 Feb 2016 16:15:25 +0000 (UTC) Received: from shibato (shibato.opal.com [IPv6:2001:470:8cb8:3:21e:33ff:fe5f:cb65]) (authenticated bits=0) by homobox.opal.com (8.15.2/8.15.2) with ESMTPSA id u12GEGVt067024 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 2 Feb 2016 11:14:16 -0500 (EST) (envelope-from fbsd@opal.com) Date: Tue, 2 Feb 2016 11:14:16 -0500 From: "J.R. Oldroyd" To: freebsd-acpi@freebsd.org Subject: acpi_toshiba.c enhancements for TOS1900 Message-ID: <20160202111416.3d443caf@shibato> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (homobox.opal.com [IPv6:2001:470:8cb8:2::1]); Tue, 02 Feb 2016 11:14:16 -0500 (EST) X-Spam-Status: No, score=-0.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, T_RP_MATCHES_RCVD shortcircuit=no autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on homobox.opal.com X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:14:26 -0000 As part of some work to get insight into what was going on with a non-working wireless device, I have added additional support in acpi_toshiba.c for the TOS1900 HID and then added additional sysctls for hw.acpi.toshiba.wireless_xyz, including wlan (wifi) and wwan (3G/4G) as well as some unknown devices that appear in the ACPI of two Toshiba laptop models that I have here. These sysctls are working and can be used to turn on/off each wireless device. I also implemented a general sysctl that turns all wireless devices on/off in one go. I also attempted to get the Fn+Fx hotkey support working on these models, but was not able to manage that. I have not found documentation for this, so have been working from ACPI dumps and looking at similar drivers. The enhancements are at the URL below [1]. -jr [1] http://opal.com/jr/toshiba_l675d/acpi_toshiba.c