From nobody Sun Feb 18 18:31:29 2024 X-Original-To: desktop@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 4TdDlP6hVLz5BRCY for ; Sun, 18 Feb 2024 18:31:29 +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 4TdDlP40bJz4cYQ for ; Sun, 18 Feb 2024 18:31:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708281089; 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=1nQNeYmRtE33nEZuDQQPM7dDLQ5oOQud6r8cCmZOWhk=; b=fAE8B6I7B8sm6Okk+M1cdEdZNja5Iik6+rUP7yuEeG1IpmcPbtf5qj2PLLHp9H55TyFM+X HIb0554g6b3ulSqTlFN/r91UjRRtiz4aS5FPE4AbuSzHVmEHmx/Qwp55PgmFgP4+thcU+v 5hcZz0ioyX4HelmzmnTTs7vsFkbmalXHm0Xq9lvoNVnNFsP4XazoiBvPJyqtoT9ZQp2Yr7 ufQoYdaMfmfLLS0YNAGXZO7/DyJKDA/EoDXfUjrTmYN8FtB3fulKG0BDp+zuAMLYzVzqkk pOwQCywbX0MZjpfezckAVPU1u4RPJ+cUJ1OMJwigAvUKjU5E7hxwpCzVyBolbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708281089; a=rsa-sha256; cv=none; b=WQh5Y2jYSWcDsrF9BLFiZA4/UuwMSNtAJBjCFStZ6tTBSWmMmXct3RSaCcnYtEJilg9bdS RhRuzFDDqPgCzaMhbNVnd7xeI1WSYROXpZZLNcFTiJG0AFJJovdZIDSh4xhj+F3wH/113s kYrwZmBrb84VyqujDA1rVCIUiRrmlBAtvnnKqq0a+0OiPu+DTF9YXgRRngZ4W/pxPlUbKa hWdbnWF3f9gVvs8S1vDLgwYCi3MyEzdE4PiPCpEwBTe9kn7RN1upys0Mp8xEvpGC1DfqHz VXlG+xQHBgZBLMg5j7A5DbYaxRZNTbR8eyrOIDuWEO025fdzPU4GR9rpCGUEOg== 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 4TdDlP346Sz12Gx for ; Sun, 18 Feb 2024 18:31:29 +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 41IIVTAV028507 for ; Sun, 18 Feb 2024 18:31:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41IIVTVu028505 for desktop@FreeBSD.org; Sun, 18 Feb 2024 18:31:29 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: desktop@FreeBSD.org Subject: [Bug 277114] x11/lightdm: fix tty counting in patch-src_x-server.c Date: Sun, 18 Feb 2024 18:31:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277114 --- Comment #2 from Guido Falsi --- About device numbering for virtual ttys, I've found no definitive data, loo= king at the source code. Anyway defaults are 12 ttys for vt(4) and 16 for legacy sc(4). Both number = them with sequential numbers and it looks like they are rendered in /dev like th= is: > ls -1 /dev/ttyv* /dev/ttyv0 /dev/ttyv1 /dev/ttyv2 /dev/ttyv3 /dev/ttyv4 /dev/ttyv5 /dev/ttyv6 /dev/ttyv7 /dev/ttyv8 /dev/ttyv9 /dev/ttyva /dev/ttyvb Now, the issue is what happens when we get more than 16, if it becomes ttyv= 00 -> ttyv0a or it goes ttyv0 -> ttyvf and then ttyv10 -> ttyv1f (my guess is = the latter). I'm not sure calling the naming scheme "base32" is correct though. These are anyway hex numbers. Base32 is a completely different thing. I could not identify the kernel code actually doing the naming of these devices. My best guess if that rendering there as hex numbers is the correct way to proceed. I'm not sure I understand what should be changed in the consolekit patch. t= hat patch is in a repo external to ports, and there is no such patch in the por= ts tree I can see. So you will need to suggest any changes there. P.S. To get more than 12 vtys with vt and 16 with sc one needs to recompile the kernel changing a kernel config variable, so I guess the number of people w= ith more than these terminals to be quite low. --=20 You are receiving this mail because: You are the assignee for the bug.=