Musca issue

Code:
% uname -a
FreeBSD *.*.com 9.1-STABLE FreeBSD 9.1-STABLE #0: Mon Feb 25 13:39:06 CST 2013     root@*.*.com:/usr/obj/usr/src/sys/K0225  amd64

pkg_add installed Xorg and Musca. Added Musca to .xinitrc. Ran startx and a new program window can't input any characters, but Musca on i386 is working. Can someone fix it?

Thanks.
 
Did you add the following to /etc/rc.conf and either start the hald/dbus services or reboot after installing Xorg?
Code:
hald_enable="YES"
dbus_enable="YES"
 
trh411 said:
Did you add the following to /etc/rc.conf and either start the hald/dbus services or reboot after installing Xorg?
Code:
hald_enable="YES"
dbus_enable="YES"

Yes. I added it.
 
Okay, but you ignored the second part of my question, namely, did you start the hald/dbus services or reboot after installing Xorg and making the change to /etc/rc.conf?

Do you see the daemons running:
Code:
root:/root# ps -aux | grep hald
haldaemon   1838   0.0  0.2   59292   6496 ??  Is    8:47AM    0:02.93 /usr/local/sbin/hald
root        1845   0.0  0.1   41460   5120 ??  I     8:47AM    0:00.03 hald-runner
root        1884   0.0  0.1   29352   3496 ??  I     8:47AM    0:00.00 hald-addon-mouse-sysmouse: /dev/u
root        1902   0.0  0.1   20868   2320 ??  S     8:47AM    0:04.30 hald-addon-storage: /dev/cd0 (hal
root:/root# ps -aux | grep dbus
messagebus  1704   0.0  0.1   14300   2516 ??  Is    8:47AM    0:00.01 /usr/local/bin/dbus-daemon --syst
tom         2010   0.0  0.1   27916   2992 ??  I     8:48AM    0:00.00 dbus-launch --autolaunch a1dd76a8
tom         2011   0.0  0.1   14300   2332 ??  Is    8:48AM    0:00.00 /usr/local/bin/dbus-daemon --fork
 
Code:
root@update:/root # ps -aux | grep hald
haldaemon  1718   0.0  0.2  56968   6356 ??  Is   12:13PM   0:00.59 /usr/local/sbin/hald
root       1725   0.0  0.1  39048   4884 ??  I    12:13PM   0:00.03 hald-runner
root       1750   0.0  0.1  29316   3548 ??  I    12:13PM   0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
root       1959   0.0  0.1  16308   2144  1  S+    1:07PM   0:00.00 grep hald
root@update:/root # ps -aux | grep dbus
messagebus 1616   0.0  0.1  14332   2488 ??  Is   12:13PM   0:00.01 /usr/local/bin/dbus-daemon --system
root       1961   0.0  0.1  16308   2144  1  S+    1:07PM   0:00.00 grep dbus
 
What does your /etc/X11/xorg.conf file say about your keyboard. The pertinent section may look something like this:
Code:
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Also, is this a USB keyboard? Wireless? Other?
 
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.51  (root@jail-53)  Tue Oct 16 18:49:35 UTC 2012

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/OTF"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/Droid/"
    FontPath        "/usr/local/lib/X11/fonts/TrueType/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "dri2"
    Load           "extmod"
    Load           "record"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "G96 [GeForce 9500 GT]"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection
 
Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/update.example.com:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RC2 amd64 
Current Operating System: FreeBSD update.example.com 9.1-STABLE FreeBSD 9.1-STABLE #0: Mon Feb 25 13:39:06 CST 2013     root@update.example.com:/usr/obj/usr/src/sys/K0225 amd64
Build Date: 15 October 2012  03:00:20PM
 
Current version of pixman: 0.24.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 16 21:55:25 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/,
	/usr/local/lib/X11/fonts/Droid/,
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/,
        /usr/local/lib/X11/fonts/TrueType/
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x7ba500
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0:1:0:0) 10de:0640:1682:400e NVIDIA Corporation G96 [GeForce 9500 GT] rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf4000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/65536
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  304.51  Tue Sep 18 17:33:56 PDT 2012
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  304.51  Tue Sep 18 17:15:56 PDT 2012
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/local/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/local/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
 
Code:
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Mar 16 21:55:25 NVIDIA(0): Enabling 2D acceleration
(II) Mar 16 21:55:27 NVIDIA(0): NVIDIA GPU GeForce 9500 GT (G96) at PCI:1:0:0 (GPU-0)
(--) Mar 16 21:55:27 NVIDIA(0): Memory: 524288 kBytes
(--) Mar 16 21:55:27 NVIDIA(0): VideoBIOS: 62.94.4b.00.87
(II) Mar 16 21:55:27 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Mar 16 21:55:27 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Mar 16 21:55:27 NVIDIA(0): Valid display device(s) on GeForce 9500 GT at PCI:1:0:0
(--) Mar 16 21:55:27 NVIDIA(0):     Samsung SyncMaster (CRT-0) (connected)
(--) Mar 16 21:55:27 NVIDIA(0):     CRT-1
(--) Mar 16 21:55:27 NVIDIA(0):     TV-0
(--) Mar 16 21:55:27 NVIDIA(0):     DFP-0
(--) Mar 16 21:55:27 NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
(--) Mar 16 21:55:27 NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(--) Mar 16 21:55:27 NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
(--) Mar 16 21:55:27 NVIDIA(0): TV encoder: (null)
(--) Mar 16 21:55:27 NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
(--) Mar 16 21:55:27 NVIDIA(0): DFP-0: Internal Single Link TMDS
(**) Mar 16 21:55:27 NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
(**) Mar 16 21:55:27 NVIDIA(0):     device Samsung SyncMaster (CRT-0) (Using EDID frequencies
(**) Mar 16 21:55:27 NVIDIA(0):     has been enabled on all display devices.)
(==) Mar 16 21:55:27 NVIDIA(0): 
(==) Mar 16 21:55:27 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Mar 16 21:55:27 NVIDIA(0):     will be used as the requested mode.
(==) Mar 16 21:55:27 NVIDIA(0): 
(II) Mar 16 21:55:27 NVIDIA(0): Validated MetaModes:
(II) Mar 16 21:55:27 NVIDIA(0):     "CRT-0:nvidia-auto-select"
(II) Mar 16 21:55:27 NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) Mar 16 21:55:27 NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
(--) Mar 16 21:55:27 NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) Mar 16 21:55:27 NVIDIA: Reserving 768.00 MB of virtual memory for indirect memory
(II) Mar 16 21:55:27 NVIDIA:     access.
(II) Mar 16 21:55:27 NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
(II) Loading extension NV-GLX
(==) NVIDIA(0): Disabling shared memory pixmaps
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device product 0x3107
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.7.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(WW) product 0x3107: No Device specified, looking for one...
(II) product 0x3107: Setting Device option to "/dev/sysmouse"
(--) product 0x3107: Device: "/dev/sysmouse"
(==) product 0x3107: Protocol: "Auto"
(**) product 0x3107: always reports core events
(**) Option "Device" "/dev/sysmouse"
(==) product 0x3107: Emulate3Buttons, Emulate3Timeout: 50
(**) product 0x3107: ZAxisMapping: buttons 4 and 5
(**) product 0x3107: Buttons: 9
(II) XINPUT: Adding extended input device "product 0x3107" (type: MOUSE)
(**) product 0x3107: (accel) keeping acceleration scheme 1
(**) product 0x3107: (accel) acceleration profile 0
(II) product 0x3107: SetupAuto: hw.iftype is 4, hw.model is 0
(II) product 0x3107: SetupAuto: protocol is SysMouse
(II) config/hal: Adding input device AT Keyboard
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.6.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Option "XkbRules" "base"
(**) Option "XkbModel" "pc105"
(**) Option "XkbLayout" "us"
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
 
Based on your log file, X is loading the kdb and mouse modules, but then unloading them. Ordinarily I would expect that to happen only if they could not be opened, but I don't see any message to that effect in your log file. Did you paste your whole Xorg.0.log file? It seems short to me.

Please paste the results of the following:
Code:
root:/usr/local/lib/xorg/modules/input# ls -l
total 92
-rwxr-xr-x  1 root  wheel    916 Feb 28 16:40 kbd_drv.la
-rwxr-xr-x  1 root  wheel  25423 Feb 28 16:40 kbd_drv.so
-rwxr-xr-x  1 root  wheel    928 Feb 28 16:40 mouse_drv.la
-rwxr-xr-x  1 root  wheel  55899 Feb 28 16:40 mouse_drv.so
 
JOHNordic said:
I means Musca can run, but the program window is wrong.

Okay, now this needs some explanation. What does "the program window is wrong" mean?

This thread was started as a keyboard input problem. Does that problem still exist?
 
Back
Top