ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] libXinput, hal
@ 2008-04-05 11:52 Sergey Bolshakov
  2008-04-05 12:03 ` Valery V. Inozemtsev
  0 siblings, 1 reply; 8+ messages in thread
From: Sergey Bolshakov @ 2008-04-05 11:52 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]


Hi.
After recent upgrade to libXiconfig-0:1.4.1-alt5 and
hal-0:0.5.11-alt2.rc2 i've lost my xkb settings, which
supposed to be applied from /etc/hal/fdi/policy/x11-input.fdi,
and actually worked until recent.

$ lshal -u /org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
  info.addons.singleton = {'hald-addon-input'} (string list)
  info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'  (string)
  info.product = 'AT Translated Set 2 keyboard'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'  (string)
  input.device = '/dev/input/event1'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'  (string)
  input.product = 'AT Translated Set 2 keyboard'  (string)
  input.xkb.layout = 'us,ru'  (string)
  input.xkb.model = 'evdev'  (string)
  input.xkb.options = 'grp:caps_toggle,grp:switch,grp_led:caps,altwin:meta_hyper'  (string)
  input.xkb.variant = ',winkeys'  (string)
  linux.device_file = '/dev/input/event1'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/class/input/input1/event1'  (string)


[-- Attachment #2: x11-input.fdi --]
[-- Type: text/plain, Size: 769 bytes --]

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">evdev</merge>
    </match>
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.xkb.model" type="string">evdev</merge>
      <merge key="input.xkb.layout" type="string">us,ru</merge>
      <merge key="input.xkb.variant" type="string">,winkeys</merge>
      <merge key="input.xkb.options" type="string">grp:caps_toggle,grp:switch,grp_led:caps,altwin:meta_hyper</merge>
    </match>
    <match key="info.capabilities" contains="input.touchpad">
      <merge key="input.x11_driver" type="string">synaptics</merge>
    </match>
  </device>
</deviceinfo>

[-- Attachment #3: Type: text/plain, Size: 5 bytes --]


-- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-05 11:52 [sisyphus] libXinput, hal Sergey Bolshakov
@ 2008-04-05 12:03 ` Valery V. Inozemtsev
  2008-04-05 13:49   ` Sergey Bolshakov
  2008-04-07 16:40   ` Andrey Rahmatullin
  0 siblings, 2 replies; 8+ messages in thread
From: Valery V. Inozemtsev @ 2008-04-05 12:03 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

В сообщении от 5 апреля 2008 Sergey Bolshakov написал(a):
> Hi.
> After recent upgrade to libXiconfig-0:1.4.1-alt5 and
> hal-0:0.5.11-alt2.rc2 i've lost my xkb settings, which
> supposed to be applied from /etc/hal/fdi/policy/x11-input.fdi,
> and actually worked until recent.

я удалил из hal'а 10-x11-input.fdi, поэтому потерялся x11_driver
установи libXiconfig-1.5.1-alt1, но заметь, в x11-input.fdi изменился 
синтаксис, хотя в нем все расписино

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-05 12:03 ` Valery V. Inozemtsev
@ 2008-04-05 13:49   ` Sergey Bolshakov
  2008-04-05 13:52     ` Valery V. Inozemtsev
  2008-04-07 16:40   ` Andrey Rahmatullin
  1 sibling, 1 reply; 8+ messages in thread
From: Sergey Bolshakov @ 2008-04-05 13:49 UTC (permalink / raw)
  To: sisyphus

>>>>> "Valery" == Valery V Inozemtsev <shrek-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org> writes:

 > В сообщении от 5 апреля 2008 Sergey Bolshakov написал(a):
 >> Hi.
 >> After recent upgrade to libXiconfig-0:1.4.1-alt5 and
 >> hal-0:0.5.11-alt2.rc2 i've lost my xkb settings, which
 >> supposed to be applied from /etc/hal/fdi/policy/x11-input.fdi,
 >> and actually worked until recent.

 > я удалил из hal'а 10-x11-input.fdi, поэтому потерялся x11_driver
 > установи libXiconfig-1.5.1-alt1, но заметь, в x11-input.fdi изменился 
 > синтаксис, хотя в нем все расписино

Да, теперь работает, спасибо.

-- 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-05 13:49   ` Sergey Bolshakov
@ 2008-04-05 13:52     ` Valery V. Inozemtsev
  0 siblings, 0 replies; 8+ messages in thread
From: Valery V. Inozemtsev @ 2008-04-05 13:52 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

В сообщении от 5 апреля 2008 Sergey Bolshakov написал(a):
> >>>>> "Valery" == Valery V Inozemtsev
> >>>>> <shrek-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org> writes:
>  >
>  > В сообщении от 5 апреля 2008 Sergey Bolshakov написал(a):
>  >> Hi.
>  >> After recent upgrade to libXiconfig-0:1.4.1-alt5 and
>  >> hal-0:0.5.11-alt2.rc2 i've lost my xkb settings, which
>  >> supposed to be applied from /etc/hal/fdi/policy/x11-input.fdi,
>  >> and actually worked until recent.
>  >
>  > я удалил из hal'а 10-x11-input.fdi, поэтому потерялся x11_driver
>  > установи libXiconfig-1.5.1-alt1, но заметь, в x11-input.fdi изменился
>  > синтаксис, хотя в нем все расписино
>
> Да, теперь работает, спасибо.

я просто не предполагал что у этой библиотеки уже есть пользователи :)

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-05 12:03 ` Valery V. Inozemtsev
  2008-04-05 13:49   ` Sergey Bolshakov
@ 2008-04-07 16:40   ` Andrey Rahmatullin
  2008-04-08  5:06     ` Andrey Rahmatullin
                       ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Andrey Rahmatullin @ 2008-04-07 16:40 UTC (permalink / raw)
  To: sisyphus


[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]

On Sat, Apr 05, 2008 at 04:03:22PM +0400, Valery V. Inozemtsev wrote:
> я удалил из hal'а 10-x11-input.fdi, поэтому потерялся x11_driver
> установи libXiconfig-1.5.1-alt1, но заметь, в x11-input.fdi изменился 
> синтаксис, хотя в нем все расписино
No luck here.

libXiconfig-1.5.1-alt1
hal-0.5.11-alt2.rc2

$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete+ledscroll(group_lock)"        };
        xkb_symbols   { include "pc+us+inet(evdev)+group(rwin_switch)+group(menu_toggle)"       };
        xkb_geometry  { include "pc(pc104)"     };
};



-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

<ravil> а что не так с альсой в стд-деф?
<raorn> она утонула (ц)

[-- Attachment #1.2: x11-input.fdi --]
[-- Type: text/plain, Size: 3247 bytes --]

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
  
    <!-- The way this works: 
    
    Match against some input device (see the HAL specification for more 
    information), and then merge in keys, which you can use to specify 
    the configuration similar to the way you would in xorg.conf. You will 
    need to restart HAL after making changes. If you are having issues,
    starting X with the -logverbose 7 flag may yield useful information.
    
    Keys Supported:
    
        Key "input.x11_driver" (string)
            This specifies the driver to use. You MUST specify this option,
            or a driver will not be loaded and the rest will be ignored by
            Xorg
            
        Key "input.x11_options.<option name>" (string)
            This allows you to specify arbitrary options to pass to the driver.
            Anything you would normally specify in xorg.conf goes here. So, for
            option "Mode" in xorg.conf, you would specify the key name of
            "input.x11_options.Mode". 

	    Do not specify "input.x11_options.Device" since "input.device"
	    will be used automatically.

        Legacy Keys
	     "input.xkb.rules"
             "input.xkb.model"
             "input.xkb.layout"
             "input.xkb.variant"
             "input.xkb.options"
             
            These keys are deprecated. Use these instead:
	     "input.x11_options.XkbRules"
	     "input.x11_options.XkbModel"
	     "input.x11_options.XkbLayout"
	     "input.x11_options.XkbVariant"
	     "input.x11_options.XkbOptions"

	    See the evdev documentation for more information. 
    
    You will probably want to add the following option to the ServerFlags of 
    your xorg.conf:
    
        Option "AllowEmptyInput" "True"
        
    FIXME: Support tablets too. 
    TODO: I think its fixed, can't test
    
    -->
    
    <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.x11_options.XkbRules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.x11_driver" type="string">kbd</merge>
      <merge key="input.x11_options.XkbModel" type="string">pc105</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
        <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
      </match>

      <merge key="input.x11_options.XkbLayout" type="string">us,ru</merge>
      <merge key="input.x11_options.XkbVariant" type="string">,winkeys</merge>
      <merge key="input.x11_options.XkbOptions" type="string">grp:menu_toggle,grp_led:scroll,grp:rwin_switch</merge>
    </match>
  </device>
</deviceinfo>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-07 16:40   ` Andrey Rahmatullin
@ 2008-04-08  5:06     ` Andrey Rahmatullin
  2008-04-22  5:56     ` Andrey Rahmatullin
  2008-04-22 15:17     ` Andrey Rahmatullin
  2 siblings, 0 replies; 8+ messages in thread
From: Andrey Rahmatullin @ 2008-04-08  5:06 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

On Mon, Apr 07, 2008 at 10:40:27PM +0600, Andrey Rahmatullin wrote:
> No luck here.
После ребута нормально.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

С каких это пор запрещается желать странного?
		-- slava in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-07 16:40   ` Andrey Rahmatullin
  2008-04-08  5:06     ` Andrey Rahmatullin
@ 2008-04-22  5:56     ` Andrey Rahmatullin
  2008-04-22 15:17     ` Andrey Rahmatullin
  2 siblings, 0 replies; 8+ messages in thread
From: Andrey Rahmatullin @ 2008-04-22  5:56 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

On Mon, Apr 07, 2008 at 10:40:27PM +0600, Andrey Rahmatullin wrote:
> No luck here.
> 
> libXiconfig-1.5.1-alt1
> hal-0.5.11-alt2.rc2
> 
> $ setxkbmap -print
> xkb_keymap {
>         xkb_keycodes  { include "evdev+aliases(qwerty)" };
>         xkb_types     { include "complete"      };
>         xkb_compat    { include "complete+ledscroll(group_lock)"        };
>         xkb_symbols   { include "pc+us+inet(evdev)+group(rwin_switch)+group(menu_toggle)"       };
>         xkb_geometry  { include "pc(pc104)"     };
> };
Мда, опять вылезло. Причём сразу после загрузки/просыпания (т.е.
определения устройства) всё работает, но через некоторое время
переключение отваливается.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

 * Lost .oO(Собери свое едро в сизиф и выиграй кучу писем от управдома по
   поводу анметов в модулях или в билд-зависимостях)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [sisyphus] libXinput, hal
  2008-04-07 16:40   ` Andrey Rahmatullin
  2008-04-08  5:06     ` Andrey Rahmatullin
  2008-04-22  5:56     ` Andrey Rahmatullin
@ 2008-04-22 15:17     ` Andrey Rahmatullin
  2 siblings, 0 replies; 8+ messages in thread
From: Andrey Rahmatullin @ 2008-04-22 15:17 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]

On Mon, Apr 07, 2008 at 10:40:27PM +0600, Andrey Rahmatullin wrote:
> $ setxkbmap -print
> xkb_keymap {
>         xkb_keycodes  { include "evdev+aliases(qwerty)" };
>         xkb_types     { include "complete"      };
>         xkb_compat    { include "complete+ledscroll(group_lock)"        };
>         xkb_symbols   { include "pc+us+inet(evdev)+group(rwin_switch)+group(menu_toggle)"       };
>         xkb_geometry  { include "pc(pc104)"     };
> };

Иными словами, вот это не срабатывает:
>       <merge key="input.x11_options.XkbLayout" type="string">us,ru</merge>
>       <merge key="input.x11_options.XkbVariant" type="string">,winkeys</merge>
а вот это срабатывает:
>       <merge key="input.x11_options.XkbOptions" type="string">grp:menu_toggle,grp_led:scroll,grp:rwin_switch</merge>
.


-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

В mysql chroot'изация всегда была сделана из рук вон плохо, и реакция от
upstream на мои патчи была невразумительной.  Как следствие, у меня есть
основание полагать, что в этой области там не все сделано правильно, вне
зависимости от того, что написано в документации.
		-- ldv in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-22 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 11:52 [sisyphus] libXinput, hal Sergey Bolshakov
2008-04-05 12:03 ` Valery V. Inozemtsev
2008-04-05 13:49   ` Sergey Bolshakov
2008-04-05 13:52     ` Valery V. Inozemtsev
2008-04-07 16:40   ` Andrey Rahmatullin
2008-04-08  5:06     ` Andrey Rahmatullin
2008-04-22  5:56     ` Andrey Rahmatullin
2008-04-22 15:17     ` Andrey Rahmatullin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git