DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th May 2021
bceverly bceverly is offline
Shell Scout
 
Join Date: Mar 2015
Posts: 88
Default 6.9 -current, Gnome 40 not picking up keyboard

Hi,

I decided to switch over to 6.9 - current and installed my normal Gnome/GDM setup and was really happy to discover that folks are working on Gnome 40!

Unfortunately for me, my keyboard is not working in either GDM or Gnome-Shell. I can see the caps lock light toggle on and off when I press it and Ctrl+Alt+F2 gets me to console where everything works perfectly.

I can use the on screen keyboard to log into Gnome so I know everything else appears to be working.

Any ideas on what sort of diagnostic info I can grab to help out? It doesn't work with the builtin W541 keyboard or an external USB keyboard (Logitech K200).

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 20th May 2021
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Any ideas on what sort of diagnostic info I can grab to help out?
Your dmesg(8) may describe the keyboard hardware, and /var/log/Xorg.0.log may describe any X11 keyboard connections. Examples of both from this working laptop:
Code:
$ dmesg | grep kbd
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
$

$ grep kbd /var/log/Xorg.0.log
[    27.424] (II) config/wscons: checking input device /dev/wskbd
[    27.424] (II) wskbd: using layout us
[    27.425] (II) LoadModule: "kbd"
[    27.426] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    27.427] (II) Module kbd: vendor="X.Org Foundation"
[    27.427] (II) Using input driver 'kbd' for '/dev/wskbd'
[    27.427] (**) /dev/wskbd: always reports core events
[    27.427] (**) /dev/wskbd: always reports core events
[    27.427] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
$
Sometimes, provisioning problems occur due to an accidental xorg.conf(5) config file remaining from an earlier customization by the admin. The Xorg log file will tell you if something is provisioned from a probe (--), from a config file (**), or a default setting (==).
Reply With Quote
  #3   (View Single Post)  
Old 20th May 2021
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

This is what I have on a month old 6.9 snapshot:
Code:
dmesg | head -5
OpenBSD 6.9 (GENERIC.MP) #467: Thu Apr 15 14:05:19 MDT 2021
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4242419712 (4045MB)
avail mem = 4098453504 (3908MB)
random: good seed from bootblocks
After the video/display stuff is done it starts with configuring the keyboard and mouse on line 405:

Code:
   398  [    64.085] (II) AIGLX: Screen 0 is not DRI2 capable
   399  [    67.709] (II) IGLX: Loaded and initialized swrast
   400  [    67.709] (II) GLX: Initialized DRISWRAST GL provider for screen 0
   401  [    67.709] (II) Initializing extension XFree86-VidModeExtension
   402  [    67.709] (II) Initializing extension XFree86-DGA
   403  [    67.710] (II) Initializing extension XFree86-DRI
   404  [    67.729] (II) Initializing extension DRI2
   405  [    68.432] (II) config/wscons: checking input device /dev/wskbd
   406  [    68.432] (II) wskbd: using layout us
   407  [    68.432] (II) LoadModule: "kbd"
   408  [    68.433] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
   409  [    68.452] (II) Module kbd: vendor="X.Org Foundation"
   410  [    68.452]    compiled for 1.20.10, module version = 1.9.0
   411  [    68.452]    Module class: X.Org XInput Driver
   412  [    68.452]    ABI class: X.Org XInput driver, version 24.1
   413  [    68.453] (II) Using input driver 'kbd' for '/dev/wskbd'
   414  [    68.453] (**) /dev/wskbd: always reports core events
   415  [    68.453] (**) /dev/wskbd: always reports core events
   416  [    68.453] (**) Option "Protocol" "standard"
   417  [    68.453] (**) Option "XkbRules" "base"
   418  [    68.453] (**) Option "XkbModel" "pc105"
   419  [    68.453] (**) Option "XkbLayout" "us"
   420  [    68.453] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
   421  [    68.739] (II) config/wscons: checking input device /dev/wsmouse
   422  [    68.739] (II) LoadModule: "ws"
   423  [    68.740] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
   424  [    68.744] (II) Module ws: vendor="X.Org Foundation"
   425  [    68.744]    compiled for 1.20.10, module version = 1.3.0
   426  [    68.745]    Module class: X.Org XInput Driver
   427  [    68.745]    ABI class: X.Org XInput driver, version 24.1
   428  [    68.745] (II) Using input driver 'ws' for '/dev/wsmouse'
   429  [    68.745] (**) /dev/wsmouse: always reports core events
   430  [    68.745] (II) ws: /dev/wsmouse: debuglevel 0
   431  [    68.745] (**) Option "Device" "/dev/wsmouse"
   432  [    68.745] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
   433  [    68.745] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
   434  [    68.745] (**) ws: /dev/wsmouse: associated screen: 0
   435  [    68.745] (II) ws: /dev/wsmouse: minimum x position: 0
   436  [    68.745] (II) ws: /dev/wsmouse: maximum x position: 1279
   437  [    68.745] (II) ws: /dev/wsmouse: minimum y position: 0
   438  [    68.745] (II) ws: /dev/wsmouse: maximum y position: 1023
   439  [    68.745] (==) ws: /dev/wsmouse: Buttons: 7
   440  [    68.745] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
   441  [    68.745] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7)
   442  [    68.746] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
   443  [    68.746] (**) /dev/wsmouse: (accel) acceleration profile 0
   444  [    68.746] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
   445  [    68.746] (**) /dev/wsmouse: (accel) acceleration threshold: 4
For my monitor, lacking support for DDC, I had to add a Monitor section.
See http://daemonforums.org/showthread.php?t=11734 that has a script that you could adapt to add, if needed, the kbd -Keyboard input driver to the /usr/X11R6/share/X11/xorg.conf.d/ directory.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Tried Gnome 3 in Current? shep OpenBSD Packages and Ports 0 22nd November 2011 09:53 PM
Keyboard layout lost after upgrade to -current sepuku OpenBSD General 28 23rd September 2011 08:37 PM
Current Gnome 2.32 rc.d Startup scripts shep OpenBSD Packages and Ports 6 30th January 2011 10:25 PM
NetBSD 5 keyboard layout in gnome jaideep_jdof NetBSD Package System (pkgsrc) 1 17th September 2009 03:50 PM


All times are GMT. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick