From owner-freebsd-current@freebsd.org Mon Mar 20 22:02:09 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAECDD13930 for ; Mon, 20 Mar 2017 22:02:09 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5E512C6 for ; Mon, 20 Mar 2017 22:02:09 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x232.google.com with SMTP id n11so75407276wma.0 for ; Mon, 20 Mar 2017 15:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=KleOoh7atuzbX+989cqpjXP014iyjpSa0Kc0UHaFVpI=; b=l/E2FR6Ez69ln/NNhHSjSwhkzP0Ik/bdMLSBvMHaNidxyVJHG5DBmImLYnnGD+Xyvj Vr6mUjgH4gaff7pT8qVyNpWz3kz6zM05qgZDTiRztAxcuiQ59Ypu3vTrm8dyJuobV2TR 0XakUDvziN8nvg2v6pdAMX5XvT5s3IX5lFcmuSZr04GnDIUq44quJ7P24jU0icxkgYiH /S6AFGYSvOVGUYXYGmrMeVc+RCnQf7PdzxKJhT3f0hqCDDsuWI+slyvwPc/Jl/WI6zpr /98AzM9APQntFAieio8mWeEmLEGz/OJlkaIANWKwjT25ZmcgO4RQcdliri3ssZhaLm2K 1W5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=KleOoh7atuzbX+989cqpjXP014iyjpSa0Kc0UHaFVpI=; b=GYE4ok+5hxmLOWWJXVTC0/kTGzizzLkXek8iYIeRogm6xMHSGF03yWjyYstQFVeOwg bUoRZqKXx7aJLN6xqXGjiL7HPr/pUXtv/zOP04q5nHVnWkMd4elh4alOEGtO9aSt6gWU FbJpHluWzlS47Vk1cn9bl7Kzvhfyg0sqXquDbkhlnz3HWTSxU1V5qFtMbVINog9W/OD1 5t2ZveLeRBHkahklPEhSaGmV0CBZZko7t25KOUT8XmsMno92dXYAYANqKT9kWMvd2xaA xqorlF/yhOhgxXKfAWT9yHt0S3HBn4PBUgbMcd+El+7cfpQCKMGQx607k5+QvKUdHFAl GohQ== X-Gm-Message-State: AFeK/H3LEaru75zqy3HTG657Wvn5rHtWhZuIfdSVqmabcTrx4elkJ6z0cRgXI7MhAAZv8RLI X-Received: by 10.28.19.207 with SMTP id 198mr11544548wmt.49.1490047327397; Mon, 20 Mar 2017 15:02:07 -0700 (PDT) Received: from [10.10.1.58] ([185.97.61.26]) by smtp.gmail.com with ESMTPSA id j34sm22175774wre.7.2017.03.20.15.02.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Mar 2017 15:02:06 -0700 (PDT) Subject: Re: Are textmode consoles/terminals still supported? To: freebsd-current@freebsd.org References: <05ff1f84a0f3856823fda4b08266f211@ultimatedns.net> From: Steven Hartland Message-ID: <4c0a947f-34b3-2188-269d-8b79286700b2@multiplay.co.uk> Date: Mon, 20 Mar 2017 22:02:06 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <05ff1f84a0f3856823fda4b08266f211@ultimatedns.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 20 Mar 2017 22:02:09 -0000 Add the following to /boot/loader.conf Its a tunable but not a sysctl so you can't query it, you just need to set it by adding it to /boot/loader.conf: hw.vga.textmode="1" On 20/03/2017 21:58, Chris H wrote: > I'm attempting to get a video card that DTRT on FreeBSD. > I started with the graphics provided by an AMD A6-7470K, > only to discover it's not yet supported. So I forked out > for a recent nvidia card, and build/installed a new > world/kernel. > Everything seemed to be as one would expect, except there > was an issue with loader.efi. So I had to move mine aside, > and use the one off the install media (tho I understand > the (u)efi has since been fixed). Now, I'm attempting to > obtain textmode. The text stripped from a tty, and pasted > to a new file in a textmode editor -- ee(1) for example; > pads the line with spaces to EOL, and prefaces each line > following the first line with rubbish (about 1 to 2 > characters worth). > So "graphics mode" or vt(4) isn't going to get it, for me. > Textmode, and syscons(4) has always worked as expected, and > I thought I'd try to re-enable it, or get textmode via vt(4). > But all attempts fail. > excerpt from my KERNCONF > > device vga > options VESA > > device sc > options SC_PIXEL_MODE > > device vt > device vt_vga > device vt_efifb > > However, following the advice on the freebsd wiki, querying > the value in sysctl(8) returns: > # sysctl hw.vga.textmode > sysctl: unknown oid 'hw.vga.textmode' > > OK how bout vidcontrol(1) > # vidcontrol -i adapter > vidcontrol: obtaining adapter information: Inappropriate ioctl for device > > So, it appears from my standpoint that textmode is no longer > supported? > > FWIW: > FreeBSD trump.whitehouse.gov.test 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r314700: > Sun Mar 5 09:01:30 PST 2017 > root@trump.whitehouse.gov.test:/usr/obj/usr/src/sys/TESTKERN amd6 > > Thank you for anything that might help me obtain textmode again. > > --Chris > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"