atom feed5 messages in org.freebsd.freebsd-gnomeRe: gnome 2.26 hal - keyboard / mous...
FromSent OnAttachments
Rich DunkleApr 18, 2009 12:49 pm 
Robert NolandApr 18, 2009 6:27 pm 
Rich DunkleApr 18, 2009 6:53 pm 
Ricardo JesusApr 21, 2009 6:21 am 
Rich DunkleApr 21, 2009 5:19 pm 
Subject:Re: gnome 2.26 hal - keyboard / mouse problem
From:Robert Noland (rnol@FreeBSD.org)
Date:Apr 18, 2009 6:27:47 pm
List:org.freebsd.freebsd-gnome

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: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.20, addr 2> on uhub1 ums0: 8 buttons and Z dir. ums0: at uhub1 port 2 (addr 2) disconnected ums0: detached ukbd0: <CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 2> on uhub1 kbd2 at ukbd0 ums0: <CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 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.

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: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [<bool>] #Option "HWcursor" # [<bool>] #Option "NoAccel" # [<bool>] #Option "ShadowFB" # [<bool>] #Option "UseFBDev" # [<bool>] #Option "Rotate" # [<str>] #Option "VideoKey" # <i> #Option "FlatPanel" # [<bool>] #Option "FPDither" # [<bool>] #Option "CrtcNumber" # <i> #Option "FPScale" # [<bool>] #Option "FPTweak" # <i> #Option "DualHead" # [<bool>] 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