From owner-freebsd-x11@FreeBSD.ORG Sun Jun 1 19:36:12 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A53DAC96 for ; Sun, 1 Jun 2014 19:36:12 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F5B7299E for ; Sun, 1 Jun 2014 19:36:11 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Sun, 01 Jun 2014 21:36:07 +0200 id 00BBF4CD.538B80A7.00003805 Date: Sun, 1 Jun 2014 21:35:58 +0200 From: Milan Obuch To: freebsd-x11@freebsd.org Subject: X with vt instead of sc - keyboard problem Message-ID: <20140601213558.0f0f2981@zeta.dino.sk> X-Mailer: Claws Mail 3.10.0 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 19:36:12 -0000 Hi, today I tried 'new' vt console for the first time on my workstation with AMD C-60 CPU, in dmesg CPU: AMD C-60 APU with Radeon(tm) HD Graphics (999.98-MHz 686-class CPU) pciconf -lvb identifies vga as vgapci0@pci0:0:1:0: class=0x030000 card=0x853a1043 chip=0x98071002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Wrestler [Radeon HD 6290]' class = display subclass = VGA bar [10] = type Prefetchable Memory, range 32, base 0xc0000000, size 268435456, enabled bar [14] = type I/O Port, range 32, base 0xf000, size 256, enabled bar [18] = type Memory, range 32, base 0xfeb00000, size 262144, enabled Everything seems to work well, just no response for key pressed, thus no input from keyboard, but mouse works as expected. I can logout from X with mouse (I use XFCE, so this is just three clicks or so). There is no config file in /etc/X11, everything is autoconfigured. If I ssh to this box and do a 'vidcontrol -s 1' switch from there, I can work with text console, only minor issue is there is no cursor, but it appears when I type anything and delete it with backspace. Then Alt-Fn switches to other terminal as usual, but if I switch to terminal where I started X originally from, keyboard works in raw mode, I can't type commands, just keypress/keyrelease scancodes are displayed in octal notation. At this point, I need 'vidcontrol -s 1' again from ssh session to be able to do anything useful. I did today a full buildworld/buildkernel, with old sc + vga kernel and another kernel with new vt + vt_vga, so I can just switch kernel used and try any hint. Maybe I just did something stupid and I should recompile something to reflect new vt console being used, which I would expect if display would not work as expected, but when the problem is with keyboard, I am a bit surprised. Regards, Milan