From nobody Fri Dec 24 14:16:46 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0937819007B5 for ; Fri, 24 Dec 2021 14:16:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JL8JG68q1z3vWb for ; Fri, 24 Dec 2021 14:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B05EC255B7 for ; Fri, 24 Dec 2021 14:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BOEGke8071649 for ; Fri, 24 Dec 2021 14:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BOEGkZu071648 for bugs@FreeBSD.org; Fri, 24 Dec 2021 14:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260214] acpi_battery: Should provide current/max battery charge in Wh (wine expects them) Date: Fri, 24 Dec 2021 14:16:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: georg.lastname@web.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640355406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QmaTj+dhocEEsC+dt9eOZMqy9xd2EBJ1Ix396jwTATk=; b=Yz1m+RUMsPNc5/hmpN7HFmxESYsdY+U8dRVE6PLG90v4iq9AvZvnfpB1MZ+/PAXXZ7C/Mi Ru/a5kt9VAPwwSLpDIsCusRDcWpxH3FiZbbzm8ZpS+8aYLj0bpOpIaRianYIORr/j4DnjW JemGIy8jX6mtIjgAG9f7nYKvnRqWGTR0SmAXtaHkUpoBEqQD8oIIc1xjNz+yeTVDUxXOox D2LoJYHPL1LGy27Z8p4mZ5H+2WX0vC/4tnqOyWz+bfXGC/Te2E73+BcLa2uPb2F0CPDX// QXLgPgp3v0bgmpNTkkMvsvyqQVNQVXnfxTrAVpG2+50rJ6CpXXvvCF9jynWg5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640355406; a=rsa-sha256; cv=none; b=xHoTxOLUPysijeugGEYm8WpG9ck8/dzhTrf7ofXIpBhPMwt5sBYOCK3r6JcElvZkYfVZbi p0kZQB6mcF2vZYLRB+0WbFiAOqekmqHBH48OFaJgkrw/0WwdeNghVT6ANUjDGAPtz31SYn GXIbsvyTjUY7sWdE0kHp3EfHr/JgoREP04vae7tVVHlFvX+HkgoIxw2ACBPxtnuBlkY2vU aDMUUv8P3YDg/CUQohKWFvbkfQj9nQntrpXKcTZKHZCuklSVfQuGEFXBrfLdeYoxrSpPsN X4wDurpQrkq07I24tnQMYMfXOcfBqtRRRnff2SuM07zfiUnGPajEiSbSnTfjIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260214 --- Comment #4 from georg.lastname@web.de --- (In reply to Damjan Jovanovic from comment #2) "when I successfully open it as non-root user with O_RDONLY, the ioctl() ge= ts: ioctl: Operation not permitted" This is commented in sys/dev/acpi.c (line 4000) /* * Core ioctls are not permitted for non-writable user. * Currently, other ioctls just fetch information. * Not changing system behavior. */ if ((flag & FWRITE) =3D=3D 0) return (EPERM); ... Just delete the if statement? xD --=20 You are receiving this mail because: You are the assignee for the bug.=