From owner-freebsd-x11@freebsd.org Thu Mar 2 10:50:01 2017 Return-Path: Delivered-To: freebsd-x11@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 0D42DCF568F for ; Thu, 2 Mar 2017 10:50:01 +0000 (UTC) (envelope-from freebsd-x11@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3D0181C for ; Thu, 2 Mar 2017 10:49:59 +0000 (UTC) (envelope-from freebsd-x11@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Thu, 02 Mar 2017 11:49:56 +0100 id 00F4BED1.58B7F8D4.000109CF Date: Thu, 2 Mar 2017 11:49:49 +0100 From: Milan Obuch To: freebsd-x11@freebsd.org Subject: Re: Some help needed - keyboard does not work after recent update [addendum - workaround] Message-ID: <20170302114949.3b9e8530@zeta.dino.sk> In-Reply-To: <20170302112155.0ba69a67@obuch.sk> References: <20170302112155.0ba69a67@obuch.sk> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; i386-portbld-freebsd10.3) 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.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 10:50:01 -0000 On Thu, 2 Mar 2017 11:21:55 +0100 Milan Obuch wrote: > Hi, > > as part of my update routine I rebuild my system to recent 10-STABLE. > After reboot X did not start. This may be caused by some not yet > tested update in ports installed, so I looked in log files and find > some issues with drivers. In order to clear things I rebuild some > ports, found some help googling for hints and got display to work > this way. Mouse works too, so I can do something to verify I did not > screwed my system badly, but could not find a way to get keyboard > working again. > > I tried to build X with minimum dependencies, also rebuilt xserver > with no devd nor hal configure backend and did a static configuration. > Autoconfigure did not work for me either - trying to use ati driver > while there is Radeon HD 6290 (Wrestler) seems to not work. > > I create minimal 'almost working' configuration by butting module.conf > into /usr/local/etc/X11/xorg.conf.d loading just shadow, fb and > glamoregl modules. This way startx does not complain, X is started, > but keystrokes on keyboard seems to be ignored. > > Xorg.0.log is pasted as http://paste2.org/vmjxhYmX > it was with no conf backend in xserver, however devd backend does not > changed much. > > Are there any flags i can try? I did search for ideas, tried them, but > nothing helped. > > Regards, > Milan > I found a bit cumbersome workaround. Putting hint.kbdmux.0.disabled="1" into /boot/device.hints disables kbdmux. Then I can boot FreeBSD with my keyboard connected in PS/2 port, login after system is up and issue startxfce command. Then I have to unplug my keyboard from PS/2 port on motherboard and plug it into keyboard port of dual PS/2->USB adapter for both mouse and keyboard and work normally. I tried after exiting XFCE to use keyboard again, and guess what? I need to plug it into PS/2 port of my motherboard. There is a problem with it, I have no working display after leaving X, so I can only blind type. If that worked, and I could use both X and console port, that would be nice. Just for completeness, # cat /usr/local/etc/X11/xorg.conf.d/module.conf Section "Module" Load "shadow" Load "fb" Load "glamoregl" EndSection is my full configuration right now, and this xf86-input-keyboard-1.9.0_1 X.Org keyboard input driver xf86-input-mouse-1.9.2_1 X.Org mouse input driver xf86-video-ati-7.8.0_1,1 X.Org ati display driver xorg-server-1.18.4,1 X.Org X server and related programs is part of my currently installed ports (I think the most important related to this problem). Regards, Milan