From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11500 invoked from network); 28 May 2023 19:17:58 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 28 May 2023 19:17:58 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id CFD9F1F439 for ; Sun, 28 May 2023 15:17:54 -0400 (EDT) (envelope-from bounce.mMc5341681965ce6a9c895bf53.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id CC9F81AB728A; Sun, 28 May 2023 15:17:54 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1685301474; bh=eN0TlnItdZMve7C2Tn5svj/JoEi3V1yTyMo7t uRNe/s=; b=ekwZKORAZNtLay+l1zjODKuQREL22f1wzld6GoV1qreGFTYH/9Py3 qX5l84zHAgN4RNMI0pAddvc065D8FzWqvg909NqM1dwsU+AqTJG5mAVP92/otN49 kosNp9XkX+/RpQqeaDRuP3J765ot7juRPXeFMJH0b9SRDqRtvmdjT8= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1685301474; b=ZnpsMwm3tfue/Fl5Qh3UC8WKCPK0dpH6ulKq4m2xhB19mpShwQ 6SBUsCIDYJMzxANi/0snD+nTKg7WC2yJ++i2LwAWrWPaDpIIKAD0c6jythXYRxc0 O0jPATwk3JcdLKrxYaJDZwcp9id/bd6kGdZo//i1JxzVXl6EVtHTZ0nNo= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1685301474; x=1685387874; bh=59G5Kg+xzoIH3aY3ugg8rgvGFwBPxBBbLPU yr9vlWGU=; b=j5A5WSRUIvYLOSR8F57trVXsH73oeuda9FTeges9Q2J4a9TkOG9 /b17dFfBRNnDxmsmENBRDOCCgphSdAHth6XgIg01z9cABToAxmGRSMS9j+bPHHHF 92OXCTLW+VmUVhKLNyo/3CYr8onPlbjHnruCUOFZUffyEDdWma1B9Rds= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 9AEDB14E93C8 for <9fans@9fans.net>; Sun, 28 May 2023 15:17:43 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 7200DB5DB2A; Sun, 28 May 2023 15:17:43 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1685301463; b=oIvj21j2NXnrqmps5qEesv8O49ZD50GZc+mcFL0E5XXrSjEyRz YMzN8o7f0eOAmzopluKMbDIBK6H9fYQAnai5PCrvg7rm2iNDgrrJjqiAw/TXp3o4 Cj7uw51uITPXrY3zVwD02bPEyTRb5/HmdLICfQQYV59gt2gk1NtlcYfi8EBl3DIK YtRXvcf1i8JsZ8OAOMKiP1FsS7cm84+xWyZ/NG04mws8QLikdr4E1skzMKDe3rti PjfhevqDsvuPGCEc7Jh81egZNBbtWqMmOOWdtr4sYVcsaMgmofujE4tBbaeVcgzm x/Mi2wdc782hWemEF504KkTT8azDK8p44Bpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1685301463; bh=DY5G2gvNVXpRAg8e1uOBVj+OGWkF4MjfzBrCFw7FFyk=; b= lUA58EBXZr1aJAtg7K8SaVga9t9DAJnS7tP6M1nqHVlShtBis0i0N5sg6Bo25KNJ EkpPdRYXK8TVcOAoIPRv0oouHFnBxulIGYZSZg1aLsjOsWtf2XdkE0OwMa6+kGs2 m7f6d4FfOZ6h29Yt64SCpQhl9FQVsLJ/65hBf6X3LTJfBsIqaLVAQc6jDoK9C7xi bQMzlhQCnEJAhopsLs8xwQxREpUr9J7prgRqj6KqMP1L5obt7rMKY44FN3ex18mq K3sTP+7FLcuA1R605d5J5+6fJVCoJ5xP2kye7p5Mi4qtCi7P551Lr6cmb8j3Qb9j g/FM0+SITt9VNjqJ5fhYUA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeekfedgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvuf ffhfgjgggtgfesthejjedttddtvdenucfhrhhomhepohhrihesvghighgvnhhsthgrthgv rdhorhhgnecuggftrfgrthhtvghrnhepvdehtdeffeetgeelhfegkeehhfeuhfehvddvie duueehjeetgeevkeeitdevuefhnecukfhppedvtdeirdduvdegrddufedvrddutdejpddu tdekrddvjedrheefrdduiedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hinhgvthepvddtiedruddvgedrudefvddruddtjedphhgvlhhopehmihhmihhrrdgvihhg vghnshhtrghtvgdrohhrghdpmhgrihhlfhhrohhmpeeoohhrihesvghighgvnhhsthgrth gvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 28 May 2023 15:17:42 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 6891083c (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Sun, 28 May 2023 12:17:40 -0700 (PDT) Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] Adjust Thinkpad Screen Brightness Date: Sun, 28 May 2023 15:17:38 -0400 From: ori@eigenstate.org In-Reply-To: <16852918170.Dc4450F.32826@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 55260024-fd8c-11ed-a712-ac869bce4f33 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGM0MjQ3ZWMxYzA0MjlmNi1NYzUzNDE2ODE5NjVjZTZhOWM4OTVi?= =?UTF-8?B?ZjUzPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc5341681965ce6a9c895bf53:1:BvzK1MiLdA3dR1oQJ3aQGQJI5TuJTubNy3wxuTHAjo8 Quoth zxcdewqa8@gmail.com: > Hi >=20 > Is there anyway to adjust my laptop's (T440P) screen brightness? >=20 > Thanks! not nicely integrated. Depending on your card, something like this may work: #!/bin/rc # SBLC_PWM_CTL2: bytes 15:0, range 0 (off) to v>>16 (full) =20=20=20=20=20=20=20=20 if(! ~ $#* 1){ echo usage: $0 factor exit 'usage' } echo -n type igfx > /dev/vgactl v=3D`{seg -Lr igfxmmio 0x400000 0xc8254} if(~ $#v 0) exit 'no such named segment' v=3D`{echo 'v=3D'$v'; v & ~0xffff | ((v>>16) / '$1')' | pc -n} if(! ~ $#v 1) exit 'invalid factor' sleep 0.1 seg -Lw igfxmmio 0x400000 0xc8254 $v You'll have to figure out where the backlight PWM register is on your model of video card if this doesn't just work out of the box. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4c4247ec1c0429f6-Mc5341= 681965ce6a9c895bf53 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription