Solved [SOLVED] mouse and kbd freezes after X starts in FreeBSD 10

Hi:

[SOLUTION: SEE MY LAST POST]

The mouse and keyboard stops responding after gdm starts. (on all occasions gdm and gnome enabled in rc.conf with or without hal and dbus enabled). The xorg 1.7.7 worked with a black border all over screen, so used poudriere to upgrade to xorg-server-1.12.4_4,1.

The card is:

Code:
vgapci0@pci0:1:0:0:	class=0x030000 card=0x04611043 chip=0x67791002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD] nee ATI'
    device     = 'Caicos [Radeon HD 6450]'
    class      = display
    subclass   = VGA

The only thing that I could see in the attached log (line 109-126):

Code:
[    38.408] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    38.428] (II) Module mouse: vendor="X.Org Foundation"
[    38.441] 	compiled for 1.7.7, module version = 1.9.0
[    38.463] 	Module class: X.Org XInput Driver
[    38.474] 	ABI class: X.Org XInput driver, version 7.0
[    38.486] (EE) module ABI major version (7) doesn't match the server's version (16)
[    38.497] (II) UnloadModule: "mouse"
[    38.508] (II) Unloading mouse
[    38.519] (EE) Failed to load module "mouse" (module requirement mismatch, 0)
[    38.530] (II) LoadModule: "kbd"
[    38.553] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[    38.564] (II) Module kbd: vendor="X.Org Foundation"
[    38.575] 	compiled for 1.7.7, module version = 1.8.0
[    38.597] 	Module class: X.Org XInput Driver
[    38.608] 	ABI class: X.Org XInput driver, version 7.0
[    38.619] (EE) module ABI major version (7) doesn't match the server's version (16)
[    38.630] (II) UnloadModule: "kbd"
[    38.642] (II) Unloading kbd

There is no xorg.conf created. Can someone tell me what makes the kbd and mouse modules keeps on getting unloaded?!

/z
 
Re: mouse and kbd freezes after X starts in FreeBSD 10.0-REL

hald is running because I enabled it in rc.conf
 
Re: mouse and kbd freezes after X starts in FreeBSD 10.0-REL

Your xf86-input-{keyboard,mouse} ports have been compiled against an older version of xorg-server. Just reinstall them.
 
Re: mouse and kbd freezes after X starts in FreeBSD 10.0-REL

I guess this is the right method to upgrade:

1) build a new package against new_xorg with poudriere
2) pkg update
3) pkg upgrade which says:
# pkg upgrade[/cmd]
Updating repository catalogue
Nothing to do

# pkg info xf86-input-keyboard
xf86-input-keyboard-1.8.0
Name : xf86-input-keyboard
Version : 1.8.0
Origin : x11-drivers/xf86-input-keyboard
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : x11-drivers
Maintainer : x11@FreeBSD.org
WWW : http://www.x.org
Comment : X.Org keyboard input driver
Shared Libs required:
libpixman-1.so.30
libpciaccess.so.0
Shared Libs provided:
kbd_drv.so
Flat size : 27.7KiB
Description :
This package contains the X.Org xf86-input-keyboard driver.

WWW: http://www.x.org

# pkg info xf86-input-mouse
xf86-input-mouse-1.9.0_1
Name : xf86-input-mouse
Version : 1.9.0_1
Origin : x11-drivers/xf86-input-mouse
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : x11-drivers
Maintainer : x11@FreeBSD.org
WWW : http://www.x.org
Comment : X.Org mouse input driver
Shared Libs provided:
mouse_drv.so
Flat size : 73.5KiB
Description :
This package contains the X.Org xf86-input-mouse driver.

WWW: http://www.x.org


I also reinstalled xorg-server, xf86-input-mouse, xf86-input-keyboard and hal using:
pkg install -Rf <pkgname>

So there is nothing I can do, I guess.
 
Re: mouse and kbd freezes after X starts in FreeBSD 10.0-REL

I don’t use poudriere but here I had to rebuild and reinstall these ports for them to work with the updated xorg-server, installing them from [edit: remote] packages won’t do it. Have you tried running portmaster xf86-input-{keyboard,mouse}?

Then I locked those to packages with pkg lock to prevent them being changed later by pkg upgrade.

EDIT: I’m confused about using poudriere: you use it to build packages that get later installed through the typical PKGNG tools? If it is the case your Xorg log says that your packages are not correctly built against the new xorg-server or, if correctly built, not installed to replace the older ones ( pkg upgrade does not find anything to upgrade in your log above). If I understand it well, which is not guaranteed at all… :)
 
Re: mouse and kbd freezes after X starts in FreeBSD 10.0-REL

This seems to be an issue discussed here: https://github.com/freebsd/pkg/issues/347

And it is solved by running:

pkg clean -ya

to disable cache.

#pkg update
#pkg upgrade
#pkg install -f xf86-input-keyboard xf86-input-keyboard


SOLVED. Thanks to everyone for the inputs.
 
Back
Top