From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 22 00:20:21 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 08F6E1065670; Wed, 22 Apr 2009 00:20:21 +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 A2C3B8FC20; Wed, 22 Apr 2009 00:20:20 +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 n3M0Juqs043604; Tue, 21 Apr 2009 17:19:56 -0700 (PDT) (envelope-from rdunkle@smallcatbrain.com) Message-ID: <49EE62AC.3000005@smallcatbrain.com> Date: Tue, 21 Apr 2009 17:19:56 -0700 From: Rich Dunkle User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: ricardo.m.jesus@criticalsoftware.com References: <49EA2EC9.2080906@smallcatbrain.com> <1240104490.1995.0.camel@balrog.2hip.net> <49EA8424.1030805@smallcatbrain.com> <49EDC871.4030800@gmail.com> In-Reply-To: <49EDC871.4030800@gmail.com> 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,AWL,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, 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 List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 00:20:21 -0000 Ricardo Jesus wrote: > 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: >>> 2> 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? I have already read the thread you mentioned. That thread appeared to be more for problems with the jump to Xorg 7.4 I did compile with hal. I was able to have keyboard and mouse when I upgraded to Xorg 7.4, the problem with no keyboard and mouse appeared when I upgraded to Gnome 2.26 hal and dbus are in rc.conf: moused_enable="YES" moused_type="auto" #moused_enable="NO" #moused_nondefault_enable="NO" sshd_enable="YES" apache22_enable="YES" apache22ssl_enable="YES" mysql_enable="YES" sendmail_enable="YES" cyrus_imapd_enable="YES" saslauthd_enable="YES" miltersid_enable="YES" samba_enable="YES" pf_enable="YES" pflog_logfile="/var/log/pflog" usbd_enable="YES" dbus_enable="YES" polkitd_enable="YES" hald_enable="YES" I don't see any documentation on creating policy for hal fdi. I have only seen a few comments with non-US keyboards and custom fdi policy. This keyboard/mouse problem appears if I use US or Russian keyboards. Can you point me to some documents on hal and fdi policy. I have an empty /usr/local/hal/ preprobe information policy