From owner-freebsd-current@freebsd.org Thu Jan 28 07:33:57 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92E6D4FAE5A for ; Thu, 28 Jan 2021 07:33:57 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-tydg10021701.me.com (pv50p00im-tydg10021701.me.com [17.58.6.54]) (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 4DRBzn3CTGz4jW4 for ; Thu, 28 Jan 2021 07:33:57 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id 0A1938407AE; Thu, 28 Jan 2021 07:33:54 +0000 (UTC) From: Toomas Soome Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: vidcontrol < /dev/console -i active ioctl error Date: Thu, 28 Jan 2021 09:33:52 +0200 In-Reply-To: Cc: freebsd-current@freebsd.org To: Jesper Schmitz Mouridsen References: X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-28_02:2021-01-27, 2021-01-28 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2101280036 X-Rspamd-Queue-Id: 4DRBzn3CTGz4jW4 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Thu, 28 Jan 2021 07:33:57 -0000 > On 28. Jan 2021, at 01:35, Jesper Schmitz Mouridsen = wrote: >=20 > FreeBSD build.freebsd.lan 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 #0 = main-c255938-g7ae27c2d6c4: Thu Jan 14 06:29:55 UTC 2021 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 > jesper@build:~ $ su > Password: > root@build:~ # vidcontrol < /dev/console -i active > vidcontrol: getting active vty: Inappropriate ioctl for device >=20 > build is virtualized in bhyve, it happens as well on my pinebook pro. >=20 > This is annoying to sysutils/consolekit2 >=20 > on 12.2 it works (not tested on same HW) >=20 it should work for local console: root@freebsd:/usr/src # vidcontrol -i active < /dev/console 1 may it be your =E2=80=9Cprimary=E2=80=9D is actually serial console? rgds, toomas