NetBSD Problem Report #50789

From campbell@mumble.net  Wed Feb 10 01:26:23 2016
Return-Path: <campbell@mumble.net>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3E7107ABDA
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Feb 2016 01:26:23 +0000 (UTC)
Message-Id: <20160210012540.BA68F603D2@jupiter.mumble.net>
Date: Wed, 10 Feb 2016 01:25:40 +0000 (UTC)
From: riastradh@NetBSD.org
Reply-To: riastradh@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: drmkms backlight/brightness controls are not hooked up
X-Send-Pr-Version: 3.95

>Number:         50789
>Category:       kern
>Synopsis:       drmkms backlight/brightness controls are not hooked up
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 10 01:30:00 +0000 2016
>Closed-Date:    Sun Aug 20 06:34:57 +0000 2023
>Last-Modified:  Sun Aug 20 06:34:57 +0000 2023
>Originator:     riastradh@NetBSD.org
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
>How-To-Repeat:

	All the backlight/brightness controls was never properly ported
	from the Linux backlight_device_register API.

>Fix:

	Either use pmf(9) to implement the backlight_device_register
	API and use the Linux code verbatim, or adapt the code
	explicitly.  There's a perhaps broken draft of the latter at
	<https://www.NetBSD.org/~riastradh/tmp/20160117/intel_brightness.patch>.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Wed, 10 Feb 2016 01:31:13 +0000
Responsible-Changed-Why:
mine


State-Changed-From-To: open->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sun, 20 Aug 2023 06:34:57 +0000
State-Changed-Why:
Fixed on the machines I tested by fixing acpivga(4).
If other specific machines still have problems, let's open a new PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.