If you dont need it for another reason, you can compile xorg-server without hal 
(#make config). Mouse and keyboard works without it too. This solved all such 
problems on my laptop.

Cheers
herb langhans

On Mon, Oct 19, 2009 at 10:52:24PM +0400, Andrey Zhidenkov wrote:
> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
> and keyboard don't work. when I start X server the only way to exit
> is Ctrl-Alt-F* and kill the process.
> 
> I've find out that Xorg now uses hal and dbus to configure mouse and
> maybe this is a problem.
> 
> #tail /var/log/messages
> 
> Oct 19 22:10:14 freebsd kernel: info: [drm] writeback test succeeded in 1 
> usecs
> Oct 19 22:10:14 freebsd kernel: drm0: [ITHREAD]
> Oct 19 22:10:34 freebsd kernel: info: [drm] Num pipes: 1
> Oct 19 22:35:02 freebsd hald[48486]: 22:35:02.636 [E] hald_dbus.c:5747: 
> dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: 
> No such file or directory
> Oct 19 22:36:03 freebsd kernel: info: [drm] Setting GART location based on 
> new memory map
> Oct 19 22:36:03 freebsd kernel: info: [drm] Loading R500 Microcode
> Oct 19 22:36:03 freebsd kernel: info: [drm] Num pipes: 1
> Oct 19 22:36:03 freebsd kernel: info: [drm] writeback test succeeded in 1 
> usecs
> Oct 19 22:36:03 freebsd kernel: drm0: [ITHREAD]
> Oct 19 22:36:09 freebsd kernel: info: [drm] Num pipes: 1
> 
> When I start hald (/usr/local/etc/rc.d/hald start) it don't tell anything, 
> even in
> verbose mode, except of:
> 
> #/usr/local/sbin/hald --verbose=yes
> 22:48:16.400 [I] hald.c:669: hal 0.5.11
> 22:48:16.400 [I] hald.c:678: Will daemonize
> 22:48:16.400 [I] hald.c:679: Becoming a daemon
> 
> But:
> 
> #ps aux | grep hal
> mutex 68396  0.0  0.1  1660  1060  p0  D+   10:48PM   0:00.00 grep hal
> 
> So I think it doesn't starts.
> 
> This is my xorg.conf (generated by `Xorg -configure):
> 
> ---------------
> 
> Section "ServerLayout"
>       Identifier     "X.org Configured"
>       Screen      0  "Screen0" 0 0
>       InputDevice    "Mouse0" "CorePointer"
>       InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "ServerFlags"
>     Option "AutoAddDevises" "off"
> 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/"
> EndSection
> 
> Section "Module"
> #     Load  "dbe"
> #     Load  "dri"
> #     Load  "dri2"
> #     Load  "extmod"
>       Load  "glx"
> #     Load  "record"
> 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      "radeon"
>       VendorName  "ATI Technologies Inc"
>       BoardName   "RV515 [Radeon X1300]"
>       BusID       "PCI:4:0:0"
> EndSection
> 
> Section "Screen"
>       Identifier "Screen0"
>       Device     "Card0"
>       Monitor    "Monitor0"
>       SubSection "Display"
>               Viewport   0 0
>               Depth     1
>       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
> -----------------
> 
> Any help will be greatly appreciated ...
>  
> 
> -- 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to