From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 21 13:54:16 2009 Return-Path: Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 512801065670; Tue, 21 Apr 2009 13:54:16 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id ABB078FC18; Tue, 21 Apr 2009 13:54:15 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.139] (unknown [192.168.1.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 7E9662283EC; Tue, 21 Apr 2009 14:22:44 +0100 (WEST) Message-ID: <49EDC871.4030800@gmail.com> Date: Tue, 21 Apr 2009 14:21:53 +0100 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Rich Dunkle References: <49EA2EC9.2080906@smallcatbrain.com> <1240104490.1995.0.camel@balrog.2hip.net> <49EA8424.1030805@smallcatbrain.com> In-Reply-To: <49EA8424.1030805@smallcatbrain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@FreeBSD.org, Robert Noland Subject: Re: gnome 2.26 hal - keyboard / mouse problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 13:54:16 -0000 Rich Dunkle wrote: > Robert Noland wrote: >> On Sat, 2009-04-18 at 12:49 -0700, Rich Dunkle wrote: >> >>> Problem making the keyboard & mouse work with hal: >>> >>> i386 FreeBSD 7.1-RELEASE-p4 >>> xorg-7.4_1 >>> xf86-input-keyboard-1.3.2_1 >>> xf86-input-mouse-1.4.0_5 >>> hal-0.5.11_23 hal-info-20080508_1 >>> gnome-desktop-2.26.0 >>> ------------------------------------------------------------------------------------------------- >>> >>> Keyboard & mouse works fine except when gnome is running. >>> Keyboard & mouse works fine in fluxbox >>> >>> This keyboard is on a PS2 to USB connector: >>> >>> ums0: >> addr 2> on uhub1 >>> ums0: 8 buttons and Z dir. >>> ums0: at uhub1 port 2 (addr 2) disconnected >>> ums0: detached >>> ukbd0: >> 2> on uhub1 >>> kbd2 at ukbd0 >>> ums0: >>> on uhub1 >>> ums0: 5 buttons and Z dir. >>> ukbd0: at uhub1 port 1 (addr 2) disconnected >>> ukbd0: detached >>> --------------------------------------------------------------------------------------------------- >>> >>> I have tried this keyboard plugged into the ps2 port same problems >>> >>> --------------------------------------------------------------------------------------------------- >>> >>> lshal shows keyboard: >>> >>> >>> udi = '/org/freedesktop/Hal/devices/usb_device_a81_205_noserial' >>> freebsd.device_file = '/dev/ukbd0' (string) >>> freebsd.driver = 'ukbd' (string) >>> freebsd.unit = 0 (0x0) (int) >>> info.bus = 'usb_device' (string) >>> info.capabilities = {'input', 'input.keyboard'} (string list) >>> info.category = 'input.keyboard' (string) >>> info.parent = '/org/freedesktop/Hal/devices/pci_8086_2938' (string) >>> info.product = 'PS2 to USB Converter' (string) >>> info.subsystem = 'usb_device' (string) >>> info.udi = >>> '/org/freedesktop/Hal/devices/usb_device_a81_205_noserial' (string) >>> info.vendor = 'CHESEN' (string) >>> input.device = '' (string) >>> input.x11_driver = 'kbd' (string) >>> usb_device.bus_number = 1 (0x1) (int) >>> usb_device.can_wake_up = true (bool) >>> usb_device.configuration = 'PS2 to USB Converter' (string) >>> usb_device.configuration_value = 1 (0x1) (int) >>> usb_device.device_class = 0 (0x0) (int) >>> usb_device.device_protocol = 0 (0x0) (int) >>> usb_device.device_revision_bcd = 16 (0x10) (int) >>> usb_device.device_subclass = 0 (0x0) (int) >>> usb_device.is_self_powered = false (bool) >>> usb_device.max_power = 100 (0x64) (int) >>> usb_device.num_configurations = 1 (0x1) (int) >>> usb_device.num_interfaces = 2 (0x2) (int) >>> usb_device.num_ports = 0 (0x0) (int) >>> usb_device.port_number = 2 (0x2) (int) >>> usb_device.product = 'PS2 to USB Converter' (string) >>> usb_device.product_id = 517 (0x205) (int) >>> usb_device.speed_bcd = 336 (0x150) (int) >>> usb_device.vendor = 'CHESEN' (string) >>> usb_device.vendor_id = 2689 (0xa81) (int) >>> usb_device.version_bcd = 272 (0x110) (int) >>> ----------------------------------------------------------------------------------- >>> >>> I can hotplug in an extra usb mouse and it will start to work in Gnome >>> --------------------------------------------------------------------------------- >>> >>> >>> I have tried the >>> Option "AutoAddDevices" "False" >>> >> >> Is moused running? With the configuration you have it should be. >> >> robert. >> >> > Yes..... > $ ps -U root | grep mouse > 28800 ?? Ss 0:02.58 /usr/sbin/moused -p /dev/ums0 -t auto -I > /var/run/mous > > > >>> I thought that would disable the hal use for Xorg. No difference. >>> >>> ------------------------------------------------------------- >>> xorg.confSection "ServerLayout" >>> Identifier "X.org Configured" >>> Screen 0 "Screen0" 0 0 >>> InputDevice "Mouse0" "CorePointer" >>> InputDevice "Keyboard0" "CoreKeyboard" >>> Option "AllowEmptyInput" "OFF" >>> EndSection >>> >>> #Section "ServerFlags" >>> # Option "AutoAddDevices" "False" >>> #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 "extmod" >>> Load "record" >>> Load "dbe" >>> Load "glx" >>> Load "xtrap" >>> Load "dri" >>> Load "freetype" >>> 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" >>> ### Available Driver options are:- >>> ### Values: : integer, : float, : "True"/"False", >>> ### : "String", : " Hz/kHz/MHz" >>> ### [arg]: arg optional >>> #Option "SWcursor" # [] >>> #Option "HWcursor" # [] >>> #Option "NoAccel" # [] >>> #Option "ShadowFB" # [] >>> #Option "UseFBDev" # [] >>> #Option "Rotate" # [] >>> #Option "VideoKey" # >>> #Option "FlatPanel" # [] >>> #Option "FPDither" # [] >>> #Option "CrtcNumber" # >>> #Option "FPScale" # [] >>> #Option "FPTweak" # >>> #Option "DualHead" # [] >>> Identifier "Card0" >>> Driver "nv" >>> VendorName "nVidia Corporation" >>> BoardName "GeForce 8400 GS" >>> BusID "PCI:1: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 >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> freebsd-gnome@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome >>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >>> > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > This forum thread has loads on information regards the new xorg (specially from page 5 forward): http://forums.freebsd.org/showthread.php?t=1721. Did you compile with hal? Did you enable hal and dbus in rc.conf? Is moused in rc.conf? Did you create hal fdi policies?