From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 02:13:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9BDB106566B for ; Tue, 20 Oct 2009 02:13:30 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2717E8FC17 for ; Tue, 20 Oct 2009 02:13:29 +0000 (UTC) Received: (qmail invoked by alias); 20 Oct 2009 02:13:27 -0000 Received: from host-194126238033.net-serwis.pl (EHLO localhost) [194.126.238.33] by mail.gmx.net (mp051) with SMTP; 20 Oct 2009 04:13:27 +0200 X-Authenticated: #18511094 X-Provags-ID: V01U2FsdGVkX1+mK099kqSmg/q3kGlNns1GU65O/UK5eyv0YyyXiq c55FtXUJwkoiNP Date: Tue, 20 Oct 2009 04:13:24 +0200 From: herbert langhans To: Andrey Zhidenkov Message-ID: <20091020021324.GA1983@sandcat> References: <20091019185224.GA10790@desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091019185224.GA10790@desktop> User-Agent: Mutt/1.4.2.3i X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48 Cc: freebsd-questions@freebsd.org Subject: Re: Mouse and keyboard don't work in Xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 02:13:30 -0000 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-unsubscribe@freebsd.org" -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441