From owner-freebsd-x11@FreeBSD.ORG Mon Mar 2 16:31:59 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402E7106566C for ; Mon, 2 Mar 2009 16:31:59 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id 9C11A8FC13 for ; Mon, 2 Mar 2009 16:31:58 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by ewy10 with SMTP id 10so1828447ewy.43 for ; Mon, 02 Mar 2009 08:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Ed1AuIxrrc7pz43aqqnimmUULB+U2BQDcSvuL26Aogc=; b=HBA2UeJetoDm8U6hhXfUEK9tUlkbZlPXZ5ROQ0Xq/vscYkK90ktF4bAwfl7QeM6TCG Gd/Qyu1vFY8b3eVLf0NXhk820+Jtl2U7k9g4LQj3KTl9XDuz0Zs45pOLVs1TJx5XePk+ WUaNXEpy9c8FNgM8rDi9N/I8+C54dMr3HystQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=qKZYfNb0vTTsfAS6G0xX294/rYpVQMhJlFyvYJyxW8XF+Gp5BWUYzLVTKFSD0HmTiZ Y0sDzyHSqJZ15yxOz10NeCfnMqwMqNvJF6fVD+kkPjQ+aZpUBk5MLtePyJ5Qog/zWMn9 8MVtXMorQampeGq2xiDSBn3s9BR7qho/ULc7s= MIME-Version: 1.0 Received: by 10.220.98.209 with SMTP id r17mr691873vcn.20.1236010135328; Mon, 02 Mar 2009 08:08:55 -0800 (PST) Date: Mon, 2 Mar 2009 13:08:55 -0300 Message-ID: <747dc8f30903020808l15780b5fi2636555e6e51eb65@mail.gmail.com> From: Renato Botelho To: freebsd-x11@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Problems migrating xorg input confs to HAL X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:31:59 -0000 Hello, After xorg was upgraded to 7.4 I added AllowEmptyInput off and keep using xorg.conf intead of moving to hal, my system is a current r189278. Today I've decided to try to move my keyboard and mouse confs to hal to start using the new configuration model. Mouse did fine, but i have some problems with keyboard. I use a Sun type 7 unix us keyboard, on my xorg.conf I had: Option "XkbRules" "xorg" Option "XkbSymbols" "pc(pc105)+sun_vndr/usb(sun_usb)+pc(pc105)+us(intl)" when I simply start my window manager without change hal, it recognize the keyboard special keys, but it did a bit later, and windowmaker just find these special keys after a wmaker restart. Ah, I use xdm on /etc/ttys I've tried to add this keyboard.fdi on /usr/local/etc/hal/fdi/policy evdev pc(pc105)+sun_vndr/usb(sun_usb)+pc(pc105)+us(intl) But I still have same problem, when windowmaker is loaded, it ignore the Sun special keys, just if I do a restart it work fine. hal-device keyboard output is: 17: udi = '/org/freedesktop/Hal/devices/usb_device_430_a2_noserial_if0' usb_device.device_protocol = 0 (0x0) (int) usb_device.is_self_powered = false (bool) usb_device.can_wake_up = true (bool) usb_device.max_power = 100 (0x64) (int) info.udi = '/org/freedesktop/Hal/devices/usb_device_430_a2_noserial_if0' (string) usb_device.num_interfaces = 1 (0x1) (int) info.subsystem = 'usb' (string) freebsd.driver = 'ukbd' (string) usb_device.num_ports = 0 (0x0) (int) info.product = 'product 0x00a2' (string) freebsd.unit = 0 (0x0) (int) usb_device.speed = 12 (double) usb_device.speed_bcd = 4608 (0x1200) (int) usb_device.version = 2 (double) usb_device.product_id = 162 (0xa2) (int) usb_device.vendor_id = 1072 (0x430) (int) info.vendor = 'Sun Microsystems' (string) usb_device.device_revision_bcd = 512 (0x200) (int) usb_device.serial = '' (string) usb_device.product = 'product 0x00a2' (string) usb_device.vendor = 'Sun Microsystems' (string) info.bus = 'usb' (string) usb.interface.number = 0 (0x0) (int) usb.interface.class = 3 (0x3) (int) info.category = 'input.keyboard' (string) usb.interface.subclass = 1 (0x1) (int) info.capabilities = { 'input', 'input.keyboard' } (string list) usb.interface.protocol = 1 (0x1) (int) usb.interface.description = '' (string) usb.freebsd.devname = 'ukbd0' (string) freebsd.device_file = '/dev/ukbd0' (string) input.device = '/dev/ukbd0' (string) input.x11_options.XkbSymbols = 'pc(pc105)+sun_vndr/usb(sun_usb)+pc(pc105)+us(intl)' (string) input.x11_driver = 'evdev' (string) usb_device.bus_number = 3 (0x3) (int) usb_device.level_number = 3 (0x3) (int) usb_device.port_number = 4 (0x4) (int) usb_device.configuration = '' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_430_a2_noserial' (string) usb_device.configuration_value = 1 (0x1) (int) usb_device.num_configurations = 1 (0x1) (int) usb_device.device_class = 0 (0x0) (int) usb_device.device_subclass = 0 (0x0) (int) I had this same problem in the past when I use startx, and someone from xorg told me to start using *dm to fix the problem, I choose xdm and it worked fine untill now. Any kind of hellp will be appreciate Thanks in advance -- Renato Botelho