From owner-freebsd-gnome@FreeBSD.ORG Sun Apr 19 01:53:59 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 87A6F106566B for ; Sun, 19 Apr 2009 01:53:59 +0000 (UTC) (envelope-from rdunkle@smallcatbrain.com) Received: from smallcatbrain.com (m209-39.dsl.rawbw.com [198.144.209.39]) by mx1.freebsd.org (Postfix) with ESMTP id 4771C8FC0C for ; Sun, 19 Apr 2009 01:53:59 +0000 (UTC) (envelope-from rdunkle@smallcatbrain.com) Received: from smp5.smallcatbrain.com (smp5.smallcatbrain.com [192.168.0.3]) (authenticated bits=0) by smallcatbrain.com (8.14.3/8.14.2) with ESMTP id n3J1reNP030352; Sat, 18 Apr 2009 18:53:41 -0700 (PDT) (envelope-from rdunkle@smallcatbrain.com) Message-ID: <49EA8424.1030805@smallcatbrain.com> Date: Sat, 18 Apr 2009 18:53:40 -0700 From: Rich Dunkle User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Robert Noland References: <49EA2EC9.2080906@smallcatbrain.com> <1240104490.1995.0.camel@balrog.2hip.net> In-Reply-To: <1240104490.1995.0.camel@balrog.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smp5.smallcatbrain.com Cc: freebsd-gnome@FreeBSD.org Subject: Re: gnome 2.26 hal - keyboard / mouse problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2009 01:53:59 -0000 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: > 2> on uhub1 >> ums0: 8 buttons and Z dir. >> ums0: at uhub1 port 2 (addr 2) disconnected >> ums0: detached >> ukbd0: >> 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" >>