The other thing I'd try, just because it's easy, is to remove the
"exec ".
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
Ah, okay, that explains it. The foreground command is indeed last and
here is "exec xterm".
So the xterm window named "login" is the one whose end causes X to shut
everything down. Presumably you do that with "exit" or "logout" or
Control+left-mouse-press menu Quit or the like in the "login" window.
So, back to your earlier problem... Have you been ending your X
sessions by having the "login" window exit? Does stopping that way
leave your keyboard working?
I had not tried that,but now I did,and yes,it has the same effect of
the screen going blank but for a flashing cursor in the upper left and
the keyboard no longer being read.
Winston <wbe@UBEBLOCK.psr.com.invalid> writes:
The other thing I'd try, just because it's easy, is to remove the
"exec ".
Before doing that, try reading /var/log/Xorg.?.log.old (typically Xorg.0.log.old). A clean shutdown might end like:
[1225319.579] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 [1225319.608] (II) config/devd: ignoring device uhid2
[2332926.247] (II) config/devd: terminating backend...
[2332926.265] (II) UnloadModule: "mouse"
[2332926.265] (II) UnloadModule: "kbd"
[2332926.680] (II) Server terminated successfully (0). Closing log file.
Earlier in the log file, you'll probably find keyboard related messages
such as:
[ 4303.450] (II) config/devd: probing input devices...
[ 4303.450] (II) config/devd: adding input device (null) (/dev/kbdmux)
[ 4303.450] (II) LoadModule: "kbd"
[ 4303.451] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 4303.451] (II) Module kbd: vendor="X.Org Foundation"
[ 4303.451] compiled for 1.18.4, module version = 1.9.0
[ 4303.451] Module class: X.Org XInput Driver
[ 4303.451] ABI class: X.Org XInput driver, version 22.1
[ 4303.451] (II) Using input driver 'kbd' for 'kbdmux'
[ 4303.451] (**) kbdmux: always reports core events
[ 4303.451] (**) kbdmux: always reports core events
[ 4303.451] (**) Option "Protocol" "standard"
[ 4303.451] (**) Option "XkbRules" "base"
[ 4303.451] (**) Option "XkbModel" "pc105"
[ 4303.452] (**) Option "XkbLayout" "us"
[ 4303.452] (**) Option "config_info" "devd:kbdmux"
[ 4303.452] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6)
[ 4303.452] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[ 4303.452] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
Perhaps your X log file will have something that indicates why your
keyboard stopped working.
-WBE
Previously, Louis Epstein <le@top.put.com> posted his .xinitrc, which
ended with:
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
I replied:
Ah, okay, that explains it. The foreground command is indeed last and
here is "exec xterm".
So the xterm window named "login" is the one whose end causes X to shut
everything down. Presumably you do that with "exit" or "logout" or
Control+left-mouse-press menu Quit or the like in the "login" window.
So, back to your earlier problem... Have you been ending your X
sessions by having the "login" window exit? Does stopping that way
leave your keyboard working?
Louis Epstein <le@top.put.com> replied:
I had not tried that,but now I did,and yes,it has the same effect of
the screen going blank but for a flashing cursor in the upper left and
the keyboard no longer being read.
Foo. And, IIRC, you said earlier that Ctrl+Alt+F1 and the like to
switch to a different virtual console didn't work at that point either.
Just thought of a possible hack: if you have a USB keyboard, after
things are dead, any chance unplugging the keyboard, waiting a moment,
and plugging it back in gets it working again? Not really a solution,
but perhaps better than rebooting if it works.
The other thing I'd try, just because it's easy, is to remove the
"exec ". By itself, that probably won't help, but it would let you add commands at the end when it's about to quit and write the output to a
file. E.g.,
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
xterm -geometry 80x66+0+0 -name login
(sleep 10; ps aguwx >$HOME/foo; dmesg >>$HOME/foo) &
Using '&' allows the .xinitrc script to finish so X shuts down, (which generally happens pretty quickly) and then 8-9 seconds later records
what's still running and the recent console messages, which maybe will provide some clue as to what's hung.
-WBE
Just thought of a possible hack: if you have a USB keyboard, after
things are dead, any chance unplugging the keyboard, waiting a moment,
and plugging it back in gets it working again? Not really a solution,
but perhaps better than rebooting if it works.
Unplug-replug of the keyboard does NOT make the machine read it
after the exit-hang.
[...] try reading /var/log/Xorg.?.log.old (typically
Xorg.0.log.old). A clean shutdown might end like:
Earlier in the log file, you'll probably find keyboard related
messages such as:
Perhaps your X log file will have something that indicates why your
keyboard stopped working.
Here is a tail -99 /var/log/Xorg.0.log.old:
[ 36993.553] (II) VESA(0): VESA VBE OEM Software Rev: 15.21
[ 36993.553] (II) VESA(0): VESA VBE OEM Vendor: (C) 1988-2010, Advanced Micro Devices, Inc.
[ 36993.553] (II) VESA(0): VESA VBE OEM Product: VERDE
[ 36993.553] (II) VESA(0): VESA VBE OEM Product Rev: 01.00
[ 36993.554] (II) VESA(0): virtual address = 0x807600000, VGAbase = 0x8008eb000
physical address = 0xe0000000, size = 16777216
[ 36993.634] (II) VESA(0): Setting up VESA Mode 0x1D4 (1920x1200)
[ 36993.634] (II) VESA(0): VBESetVBEMode failed, mode set without customized refresh.
[ 36993.761] (==) VESA(0): Default visual is TrueColor
[ 36993.762] (==) VESA(0): Backing store enabled
[ 36993.763] (==) VESA(0): DPMS enabled
[ 36993.763] (II) Initializing extension Generic Event Extension
[ 36993.764] (II) Initializing extension SHAPE
[ 36993.764] (II) Initializing extension MIT-SHM
[ 36993.764] (II) Initializing extension XInputExtension
[ 36993.765] (II) Initializing extension XTEST
[ 36993.765] (II) Initializing extension BIG-REQUESTS
[ 36993.765] (II) Initializing extension SYNC
[ 36993.766] (II) Initializing extension XKEYBOARD
[ 36993.767] (II) Initializing extension XC-MISC
[ 36993.767] (II) Initializing extension SECURITY
[ 36993.767] (II) Initializing extension XFIXES
[ 36993.767] (II) Initializing extension RENDER
[ 36993.767] (II) Initializing extension RANDR
[ 36993.768] (II) Initializing extension COMPOSITE
[ 36993.768] (II) Initializing extension DAMAGE
[ 36993.768] (II) Initializing extension MIT-SCREEN-SAVER
[ 36993.769] (II) Initializing extension DOUBLE-BUFFER
[ 36993.769] (II) Initializing extension RECORD
[ 36993.769] (II) Initializing extension DPMS
[ 36993.769] (II) Initializing extension Present
[ 36993.769] (II) Initializing extension DRI3
[ 36993.770] (II) Initializing extension X-Resource
[ 36993.770] (II) Initializing extension XVideo
[ 36993.770] (II) Initializing extension XVideo-MotionCompensation
[ 36993.770] (II) Initializing extension GLX
[ 36993.770] (II) AIGLX: Screen 0 is not DRI2 capable
[ 36994.022] (II) IGLX: Loaded and initialized swrast
[ 36994.022] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 36994.022] (II) Initializing extension XFree86-VidModeExtension
[ 36994.023] (II) Initializing extension XFree86-DGA
[ 36994.023] (II) Initializing extension XFree86-DRI
[ 36994.023] (II) Initializing extension DRI2
[ 36994.146] (II) config/devd: probing input devices...
[ 36994.146] (II) config/devd: adding input device /dev/kbdmux0
[ 36994.146] (II) LoadModule: "kbd"
[ 36994.147] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 36994.147] (II) Module kbd: vendor="X.Org Foundation"
[ 36994.147] compiled for 1.20.7, module version = 1.9.0
[ 36994.147] Module class: X.Org XInput Driver
[ 36994.147] ABI class: X.Org XInput driver, version 24.1
[ 36994.147] (II) Using input driver 'kbd' for 'kbdmux0'
[ 36994.147] (**) kbdmux0: always reports core events
[ 36994.147] (**) kbdmux0: always reports core events
[ 36994.147] (**) Option "Protocol" "standard"
[ 36994.147] (**) Option "XkbRules" "base"
[ 36994.147] (**) Option "XkbModel" "pc105"
[ 36994.147] (**) Option "XkbLayout" "us"
[ 36994.147] (**) Option "config_info" "devd:/dev/kbdmux0"
[ 36994.147] (II) XINPUT: Adding extended input device "kbdmux0" (type: KEYBOARD, id 6)
[ 36994.148] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
[ 36994.148] (II) config/devd: kbdmux is enabled, ignoring device kbdmux0
[ 36994.148] (II) config/devd: detected mouse: hwid=0000, model=0000, type=0000, iftype=0004,
buttons=10
[ 36994.148] (II) config/devd: adding input device /dev/sysmouse
[ 36994.148] (II) LoadModule: "mouse"
[ 36994.148] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 36994.149] (II) Module mouse: vendor="X.Org Foundation"
[ 36994.149] compiled for 1.20.7, module version = 1.9.3
[ 36994.149] Module class: X.Org XInput Driver
[ 36994.149] ABI class: X.Org XInput driver, version 24.1
[ 36994.149] (II) Using input driver 'mouse' for 'sysmouse'
[ 36994.149] (**) sysmouse: always reports core events
[ 36994.149] (**) Option "Device" "/dev/sysmouse"
[ 36994.149] (==) sysmouse: Protocol: "Auto"
[ 36994.149] (**) sysmouse: always reports core events
[ 36994.149] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[ 36994.149] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[ 36994.149] (**) sysmouse: Buttons: 5
[ 36994.149] (**) Option "config_info" "devd:/dev/sysmouse"
[ 36994.149] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[ 36994.149] (**) sysmouse: (accel) keeping acceleration scheme 1
[ 36994.149] (**) sysmouse: (accel) acceleration profile 0
[ 36994.149] (**) sysmouse: (accel) acceleration factor: 2.000
[ 36994.149] (**) sysmouse: (accel) acceleration threshold: 4
[ 36994.149] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 36994.149] (II) sysmouse: SetupAuto: protocol is SysMouse
[ 36994.149] (II) config/devd: detected USB HID of unknown type
[ 36994.149] (II) config/devd: [sysctl] usb_id: 0x046d:0xc31d
[ 36994.149] (II) config/devd: [sysctl] vendor: USB, product: Keyboard
[ 36994.149] (II) config/devd: adding input device /dev/uhid0
[ 36994.149] (II) No input driver specified, ignoring this device.
[ 36994.149] (II) This device may have been added with another device file.
[ 36994.149] (EE) config/devd: error 1 adding device /dev/uhid0
[ 36994.149] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[ 36994.149] (WW) config/devd: device /dev/ums0 already opened
[ 37012.636] (II) config/devd: terminating backend...
[ 37012.642] (II) UnloadModule: "mouse"
[ 37012.642] (II) UnloadModule: "kbd"
[ 37012.837] (II) Server terminated successfully (0). Closing log file.
I have been testing X on the third terminal session (i.e. Ctrl Alt F3)
with xinit openttd (launching a game only if it works correctly)
and the second (Ctrl Alt F2) with startx (launching a window manager
if it works correctly) while reserving the Ctrl Alt F1 session for
a root login that does CLI administrative tasks.
When X hangs I find the Ctrl-Alt commands don't switch sessions now;
formerly they did and I could return to the aborted session and
see the error message described earlier.
I previously posted:
[...] try reading /var/log/Xorg.?.log.old (typically
Xorg.0.log.old). A clean shutdown might end like:
[redacted]
Earlier in the log file, you'll probably find keyboard related
messages such as:
[redacted]
Perhaps your X log file will have something that indicates why your
keyboard stopped working.
Louis Epstein <le@top.put.com> posted in reply:
Here is a tail -99 /var/log/Xorg.0.log.old:
A couple of things catch my eye, but I can't say for sure that they're wrong. They just look odd to me.
[ 36993.553] (II) VESA(0): VESA VBE OEM Software Rev: 15.21
[ 36993.553] (II) VESA(0): VESA VBE OEM Vendor: (C) 1988-2010, Advanced Micro Devices, Inc.
[ 36993.553] (II) VESA(0): VESA VBE OEM Product: VERDE
[ 36993.553] (II) VESA(0): VESA VBE OEM Product Rev: 01.00
[ 36993.554] (II) VESA(0): virtual address = 0x807600000, VGAbase = 0x8008eb000
physical address = 0xe0000000, size = 16777216
[ 36993.634] (II) VESA(0): Setting up VESA Mode 0x1D4 (1920x1200)
[ 36993.634] (II) VESA(0): VBESetVBEMode failed, mode set without customized refresh.
[ 36993.761] (==) VESA(0): Default visual is TrueColor
[ 36993.762] (==) VESA(0): Backing store enabled
[ 36993.763] (==) VESA(0): DPMS enabled
[ 36993.763] (II) Initializing extension Generic Event Extension
[ 36993.764] (II) Initializing extension SHAPE
[ 36993.764] (II) Initializing extension MIT-SHM
[ 36993.764] (II) Initializing extension XInputExtension
[ 36993.765] (II) Initializing extension XTEST
[ 36993.765] (II) Initializing extension BIG-REQUESTS
[ 36993.765] (II) Initializing extension SYNC
[ 36993.766] (II) Initializing extension XKEYBOARD
[ 36993.767] (II) Initializing extension XC-MISC
[ 36993.767] (II) Initializing extension SECURITY
[ 36993.767] (II) Initializing extension XFIXES
[ 36993.767] (II) Initializing extension RENDER
[ 36993.767] (II) Initializing extension RANDR
[ 36993.768] (II) Initializing extension COMPOSITE
[ 36993.768] (II) Initializing extension DAMAGE
[ 36993.768] (II) Initializing extension MIT-SCREEN-SAVER
[ 36993.769] (II) Initializing extension DOUBLE-BUFFER
[ 36993.769] (II) Initializing extension RECORD
[ 36993.769] (II) Initializing extension DPMS
[ 36993.769] (II) Initializing extension Present
[ 36993.769] (II) Initializing extension DRI3
[ 36993.770] (II) Initializing extension X-Resource
[ 36993.770] (II) Initializing extension XVideo
[ 36993.770] (II) Initializing extension XVideo-MotionCompensation
[ 36993.770] (II) Initializing extension GLX
[ 36993.770] (II) AIGLX: Screen 0 is not DRI2 capable
[ 36994.022] (II) IGLX: Loaded and initialized swrast
[ 36994.022] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 36994.022] (II) Initializing extension XFree86-VidModeExtension
[ 36994.023] (II) Initializing extension XFree86-DGA
[ 36994.023] (II) Initializing extension XFree86-DRI
[ 36994.023] (II) Initializing extension DRI2
[ 36994.146] (II) config/devd: probing input devices...
[ 36994.146] (II) config/devd: adding input device /dev/kbdmux0
Hmm: yours says kbdmux0 rather than kbdmux.
[ 36994.146] (II) LoadModule: "kbd"
[ 36994.147] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 36994.147] (II) Module kbd: vendor="X.Org Foundation"
[ 36994.147] compiled for 1.20.7, module version = 1.9.0
[ 36994.147] Module class: X.Org XInput Driver
[ 36994.147] ABI class: X.Org XInput driver, version 24.1
[ 36994.147] (II) Using input driver 'kbd' for 'kbdmux0'
[ 36994.147] (**) kbdmux0: always reports core events
[ 36994.147] (**) kbdmux0: always reports core events
[ 36994.147] (**) Option "Protocol" "standard"
[ 36994.147] (**) Option "XkbRules" "base"
[ 36994.147] (**) Option "XkbModel" "pc105"
[ 36994.147] (**) Option "XkbLayout" "us"
[ 36994.147] (**) Option "config_info" "devd:/dev/kbdmux0"
[ 36994.147] (II) XINPUT: Adding extended input device "kbdmux0" (type: KEYBOARD, id 6)
[ 36994.148] (II) config/devd: kbdmux is enabled, ignoring device atkbd0
Through here looks OK to me, though maybe I missed something.
What I think I'm seeing is that there's not a USB keyboard.
[ 36994.148] (II) config/devd: kbdmux is enabled, ignoring device kbdmux0
Now that looks strange to me. I'm used to seeing ukbd0 and atkbd0 being ignored, but kbdmux0? Not sure what to make of that.
[ 36994.148] (II) config/devd: detected mouse: hwid=0000, model=0000, type=0000, iftype=0004,
buttons=10
[ 36994.148] (II) config/devd: adding input device /dev/sysmouse
[ 36994.148] (II) LoadModule: "mouse"
[ 36994.148] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[ 36994.149] (II) Module mouse: vendor="X.Org Foundation"
[ 36994.149] compiled for 1.20.7, module version = 1.9.3
[ 36994.149] Module class: X.Org XInput Driver
[ 36994.149] ABI class: X.Org XInput driver, version 24.1
[ 36994.149] (II) Using input driver 'mouse' for 'sysmouse'
[ 36994.149] (**) sysmouse: always reports core events
[ 36994.149] (**) Option "Device" "/dev/sysmouse"
[ 36994.149] (==) sysmouse: Protocol: "Auto"
[ 36994.149] (**) sysmouse: always reports core events
[ 36994.149] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[ 36994.149] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[ 36994.149] (**) sysmouse: Buttons: 5
[ 36994.149] (**) Option "config_info" "devd:/dev/sysmouse"
[ 36994.149] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[ 36994.149] (**) sysmouse: (accel) keeping acceleration scheme 1
[ 36994.149] (**) sysmouse: (accel) acceleration profile 0
[ 36994.149] (**) sysmouse: (accel) acceleration factor: 2.000
[ 36994.149] (**) sysmouse: (accel) acceleration threshold: 4
[ 36994.149] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[ 36994.149] (II) sysmouse: SetupAuto: protocol is SysMouse
[ 36994.149] (II) config/devd: detected USB HID of unknown type
[ 36994.149] (II) config/devd: [sysctl] usb_id: 0x046d:0xc31d
[ 36994.149] (II) config/devd: [sysctl] vendor: USB, product: Keyboard
Those 3 lines look like it didn't properly recognize a USB keyboard.
[ 36994.149] (II) config/devd: adding input device /dev/uhid0
[ 36994.149] (II) No input driver specified, ignoring this device.
[ 36994.149] (II) This device may have been added with another device file. >> [ 36994.149] (EE) config/devd: error 1 adding device /dev/uhid0
And this says there was an error. When you're successfully typing in an
X window, are you using a USB keyboard?
[ 36994.149] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[ 36994.149] (WW) config/devd: device /dev/ums0 already opened
[ 37012.636] (II) config/devd: terminating backend...
[ 37012.642] (II) UnloadModule: "mouse"
[ 37012.642] (II) UnloadModule: "kbd"
[ 37012.837] (II) Server terminated successfully (0). Closing log file.
Good: X terminated cleanly, so that's not the problem.
I'm running low on ideas, so I hope the updated xorg-server code fixes things. :-)
In a different subset of this thread, Louis wrote:
I have been testing X on the third terminal session (i.e. Ctrl Alt F3) >>>> with xinit openttd (launching a game only if it works correctly)
and the second (Ctrl Alt F2) with startx (launching a window manager
if it works correctly) while reserving the Ctrl Alt F1 session for
a root login that does CLI administrative tasks.
When X hangs I find the Ctrl-Alt commands don't switch sessions now;
formerly they did and I could return to the aborted session and
see the error message described earlier.
Does the keyboard work after exiting if you log in as you on Ctrl Alt F1?
I've never had occasion to try running X from any of the other virtual consoles, so I don't know how well or poorly that works. It sounds like running X from other virtual terminals used to work for you, though.
-WBE
I previously suggested:
Just thought of a possible hack: if you have a USB keyboard, after
things are dead, any chance unplugging the keyboard, waiting a moment,
and plugging it back in gets it working again? Not really a solution,
but perhaps better than rebooting if it works.
Louis Epstein <le@top.put.com> writes:
Unplug-replug of the keyboard does NOT make the machine read it
after the exit-hang.
That's with a USB keyboard? If it is, and ifyou have a second USB
keyboard, maybe try plugging that in while the first one is plugged in...
-WBE
[After reading your Xorg.0.log.old file, I'm not sure whether your
keyboard is USB or old-style PC-AT plug.]
I previously posted:
Louis Epstein <le@top.put.com> posted in reply:
I'm running low on ideas, so I hope the updated xorg-server code fixes things. :-)
Can you switch virtual consoles while X is still running? If not, check
your xorg.conf for this option:
'man Xorg' says:
Ctrl+Alt+F1...F12
For systems with virtual terminal support, these keystroke
combinations are used to switch to virtual terminals 1 through
12, respectively. This can be disabled with the DontVTSwitch
xorg.conf(5) file option.
Another thing to try would be to run (as root, while X isn't running)
xorg -configure
and compare the xorg.conf file it generates in the current directory
with your xorg.conf. They probably won't match exactly, but the
differences should be sensible.
[snip]
Your xorg.conf looks sane to me. I don't see anything that would cause
the keyboard to stop working when X stops.
There's still this issue from a few articles back:
[ 36994.149] (II) config/devd: detected USB HID of unknown type
[ 36994.149] (II) config/devd: [sysctl] usb_id: 0x046d:0xc31d
[ 36994.149] (II) config/devd: [sysctl] vendor: USB, product: Keyboard
Those 3 lines look like it didn't properly recognize a USB keyboard.
[ 36994.149] (II) config/devd: adding input device /dev/uhid0
[ 36994.149] (II) No input driver specified, ignoring this device.
[ 36994.149] (II) This device may have been added with another device file.
[ 36994.149] (EE) config/devd: error 1 adding device /dev/uhid0
And this says there was an error.
Grasping at straws now ...
Does your /etc/rc.conf have the two lines
hald_enable="YES"
dbus_enable="YES"
? Since things used to work, it probably does.
kbdcontrol(1) looks interesting. Have a look at its man page. Based on
that ...
Do you have /dev/ukbd0 ? Unless you have >1 keyboard plugged in, or
IPMI, I'd expect that to be your Logitech keyboard. If so, an
experiment might be worth trying. At the end of your .xinitrc,
1) change the "exec xterm" on the last line to just "xterm", and
2) add after it:
(sleep 4; ps augwx >/var/tmp/foo; kbdcontrol -a ukbd0 < /dev/kbdmux0) &
and see if that makes any difference. Even if it doesn't, we'll at
least get to see what's running (or hung) by looking at /var/tmp/foo
after rebooting.
If you don't have /dev/ukbd0 even before starting X, then that's
interesting by itself.
-WBE
[ 36994.149] (II) config/devd: detected USB HID of unknown type
[ 36994.149] (II) config/devd: [sysctl] usb_id: 0x046d:0xc31d
[ 36994.149] (II) config/devd: [sysctl] vendor: USB, product: Keyboard
Those 3 lines look like it didn't properly recognize a USB keyboard.
[ 36994.149] (II) config/devd: adding input device /dev/uhid0
[ 36994.149] (II) No input driver specified, ignoring this device.
[ 36994.149] (II) This device may have been added with another device file. >>> [ 36994.149] (EE) config/devd: error 1 adding device /dev/uhid0
And this says there was an error.
...however,I note this content from /usr/ports/UPDATING:
===========
20200220:
AFFECTS: users of x11-servers/xorg-server
AUTHOR: zeising@FreeBSD.org
x11-servers/xorg-server has been updated to 1.20.7.
With this update, xorg-server has switched from using the devd
backend to the udev backend for device configuration on FreeBSD 12
and 13. If you have issues with input devices, please see the
install message for details.
The HAL backend option has been completely removed, as it was deprecated.
If you have problems with input devices, ensure that both
x11/libinput and x11-drivers/xf86-input-libinput are installed.
They are installed in the default configuration, but if you have a
custom configuration, they might not be.
============
Could my problem relate to the "HAL backend option" removal?
My pkg info list does include both libinput and xf86-input-libinput.
Louis Epstein <le@top.put.com> writes:
...however,I note this content from /usr/ports/UPDATING:
===========
20200220:
AFFECTS: users of x11-servers/xorg-server
AUTHOR: zeising@FreeBSD.org
x11-servers/xorg-server has been updated to 1.20.7.
With this update, xorg-server has switched from using the devd
backend to the udev backend for device configuration on FreeBSD 12
and 13. If you have issues with input devices, please see the
install message for details.
Since (IIRC) you said the system having problems is running 11.4, so I wouldn't think the devd => udev switch would be an issue for you.
The HAL backend option has been completely removed, as it was deprecated.
If you have problems with input devices, ensure that both
x11/libinput and x11-drivers/xf86-input-libinput are installed.
They are installed in the default configuration, but if you have a
custom configuration, they might not be.
============
Could my problem relate to the "HAL backend option" removal?
My pkg info list does include both libinput and xf86-input-libinput.
I don't know, and I'm so sure of my lack of knowledge on that subject I wouldn't even hazard a guess. :)
I've lost track of what all you've tried. IIRC, in the beginning, using
the radeon driver, you couldn't get X to even start. You also had a vanishing cursor problem. As part of trying to fix those problems, you
began compiling newer versions from the ports tree, which didn't help.
Did you ever try using the pkg repository default version with just the radeon => vesa change? Whatever issues X might have on 11.4, I would
hope that the standard default version wouldn't have the kind of
keyboard issues you've had.
-WBE
Since (IIRC) you said the system having problems is running 11.4, so
I wouldn't think the devd => udev switch would be an issue for you.
the current patch of 11.3 actually...as 11.4 will not be released
until this coming summer.
Did you ever try using the pkg repository default version with just
the radeon => vesa change?
Version of what,xorg?
Whatever issues X might have on [11.3], I would hope that the
[repository] version wouldn't have the kind of keyboard issues
you've had.
I previously posted:
Since (IIRC) you said the system having problems is running 11.4, so
I wouldn't think the devd => udev switch would be an issue for you.
Louis Epstein <le@top.put.com> writes:
the current patch of 11.3 actually...as 11.4 will not be released
until this coming summer.
Oops. 1,$s/11\.4/11.3/g :)
Did you ever try using the pkg repository default version with just
the radeon => vesa change?
Louis Epstein <le@top.put.com> writes:
Version of what,xorg?
If I'm recalling the sequence of events right (and I might not be), you
went down the rabbit hole of building X from the ports tree because the radeon driver died on the undefined symbol reference during start-up. Fetching a recent version of the source into the ports tree took you
from the repository version (1.18?) to 1.20.7, but (again, IIRC) didn't
fix the radeon problem, and 1.20.7 is what we've been trying to get
working.
I'm thinking maybe uninstall all the 1.20.7 X stuff that came from the
ports tree, go back to the pkg repository version, and that maybe with
just the xorg.conf change from "radeon" to "vesa" things might work.
Whatever issues X might have on [11.3], I would hope that the
[repository] version wouldn't have the kind of keyboard issues
you've had.
-WBE
Did you ever try using the pkg repository default version with just the radeon => vesa change? Whatever issues X might have on 11.4, I would
hope that the standard default version wouldn't have the kind of
keyboard issues you've had.
You mean the version that was new at the same time as 11.3?
I pkg update with some regularity as well.
No, I meant the current pkg repository version you'd get with
pkg install, which ought to work well with 11.3.
I think that's not 1.20.* but an older version of X.
Did you ever try using the pkg repository default version with just
the radeon => vesa change? Whatever issues X might have on 11.4, I
would hope that the standard default version wouldn't have the kind
of keyboard issues you've had.
There seems to be some misunderstanding here .. the package repository
is just a complete build of the ports tree, and this ports tree has no relation at all to the version of FreeBSD used.
You just have the option to either always use the most recent
pots/packages or a quarterly snapshot. So, maybe xorg-server 1.18.4 is
still in the quarterly snapshot, but this will change soon: 1.20.7 hit
the ports on Feb, 20st.
Of course, trying an older version is still a strategy to nail down an
issue, [...] and not a lasting solution.
Since (IIRC) you said the system having problems is running 11.4, so
I wouldn't think the devd => udev switch would be an issue for you.
the current patch of 11.3 actually...as 11.4 will not be released
until this coming summer.
Oops. 1,$s/11\.4/11.3/g :)
Did you ever try using the pkg repository default version with just
the radeon => vesa change?
Version of what,xorg?
If I'm recalling the sequence of events right (and I might not be), you
went down the rabbit hole of building X from the ports tree because the
radeon driver died on the undefined symbol reference during start-up.
Fetching a recent version of the source into the ports tree took you
from the repository version (1.18?) to 1.20.7, but (again, IIRC) didn't
fix the radeon problem, and 1.20.7 is what we've been trying to get
working.
You mean the version that was new at the same time as 11.3?
I pkg update with some regularity as well.
I'm thinking maybe uninstall all the 1.20.7 X stuff that came from the
ports tree, go back to the pkg repository version, and that maybe with
just the xorg.conf change from "radeon" to "vesa" things might work.
One thing that has not been fixed with that change is that
Instagram videos haven't played for me for quite a while.
I previously posted:
Did you ever try using the pkg repository default version with just
the radeon => vesa change? Whatever issues X might have on 11.4, I
would hope that the standard default version wouldn't have the kind
of keyboard issues you've had.
felix@palmen-it.de (Felix Palmen) kindly replied:
There seems to be some misunderstanding here .. the package repository
is just a complete build of the ports tree, and this ports tree has no
relation at all to the version of FreeBSD used.
You just have the option to either always use the most recent
pots/packages or a quarterly snapshot. So, maybe xorg-server 1.18.4 is
still in the quarterly snapshot, but this will change soon: 1.20.7 hit
the ports on Feb, 20st.
Timing matters, it appears. :)
When last I checked (a few days ago), "pkg rquery %v xorg-server" was
still saying 1.18.4*, but that was also back about the time there was a problem with the pkg repository so that "pkg update" was failing.
You're right: it's now saying 1.20.7_1.1, so "most recent" snapshot is
no longer a way to go back to 1.18.4, which is what I was suggesting.
It may now be necessary for Louis to tweak the pkg.conf repository URL
to use the quarterly snapshot in order to go back to 1.18.
As to 1.20, I'd still trust the "pkg install" version a little bit more
than one I'd built myself.
Of course, trying an older version is still a strategy to nail down an
issue, [...] and not a lasting solution.
Yes, but if he tries the pkg repository version of 1.20 and that doesn't
work for him, and 1.18 does, it allows him to hold off upgrading until
either he finds something such as a configuration issue that causing the problem or maybe it's a bug that gets fixed in a later version.
-WBE
I previously posted:
Since (IIRC) you said the system having problems is running 11.4, so >>>>> I wouldn't think the devd => udev switch would be an issue for you.
Louis Epstein <le@top.put.com> writes:
the current patch of 11.3 actually...as 11.4 will not be released
until this coming summer.
to which I replied:
Oops. 1,$s/11\.4/11.3/g :)
Did you ever try using the pkg repository default version with just
the radeon => vesa change?
Louis Epstein <le@top.put.com> writes:
Version of what,xorg?
If I'm recalling the sequence of events right (and I might not be), you
went down the rabbit hole of building X from the ports tree because the
radeon driver died on the undefined symbol reference during start-up.
Fetching a recent version of the source into the ports tree took you
from the repository version (1.18?) to 1.20.7, but (again, IIRC) didn't
fix the radeon problem, and 1.20.7 is what we've been trying to get
working.
Louis Epstein <le@top.put.com> writes:
You mean the version that was new at the same time as 11.3?
I pkg update with some regularity as well.
No, I meant the current pkg repository version you'd get with
pkg install, which ought to work well with 11.3.
I think that's not 1.20.* but an older version of X.
I'm thinking maybe uninstall all the 1.20.7 X stuff that came from the
ports tree, go back to the pkg repository version, and that maybe with
just the xorg.conf change from "radeon" to "vesa" things might work.
One thing that has not been fixed with that change is that
Instagram videos haven't played for me for quite a while.
If other videos play OK and it's only Instagram ones that don't, I would
think that's not an X problem. I would think it more likely that it's a video decoder, Javascript or URL access issue, in which case it'd be a browser issue more than an X issue, but that's just going by the odds.
-WBE
As to 1.20, I'd still trust the "pkg install" version a little bit
more than one I'd built myself.
Are you saying that synth mis-builds packages?
I have lately had a problem with launching X...the system hangs at startx
and if I switch to another terminal session and back an error message appears ending
/usr/local/lib/xorg/modules/drivers/radeon.drv.so: Undefined symbol "exaGetPixmapDriverPrivate"
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I am told that this bug has been reported for Debian as related to an upgrade of
xserver-xorg-video-radeon-1%3a19.0.1-1_ppc64.deb to xserver-xorg-video-radeon-1%3a19.1.0-1_ppc64.deb
but of course FreeBSD versions have different names.
What's the fix prognosis?
I note that there is a new update-patch for the xorg-server
port that I am now preparing to install...will report whether
or not it makes a difference.
Louis Epstein <le@top.put.com> wrote:
I have lately had a problem with launching X...the system hangs at startxNot using FreeBSD, but it happened to me in OpenBSD when it was using another computer's
and if I switch to another terminal session and back an error message appears
ending
/usr/local/lib/xorg/modules/drivers/radeon.drv.so: Undefined symbol "exaGetPixmapDriverPrivate"
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I am told that this bug has been reported for Debian as related to an upgrade of
xserver-xorg-video-radeon-1%3a19.0.1-1_ppc64.deb to
xserver-xorg-video-radeon-1%3a19.1.0-1_ppc64.deb
but of course FreeBSD versions have different names.
What's the fix prognosis?
IP address (weird but it happened) in my LAN. The problem dissapeared when the other
computer was turned off.
I am not an expert, but it might be in your case.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:31:42 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,951 |