ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* Re: [sisyphus] I: Xorg/config/hal
  @ 2008-06-21  3:12 ` Starodumoff Ilya
    1 sibling, 0 replies; 4+ messages in thread
From: Starodumoff Ilya @ 2008-06-21  3:12 UTC (permalink / raw)
  To: sisyphus

В сообщении от 21 июня 2008 Valery V. Inozemtsev написал(a):
> Hi
>
> Сказка на ночь для тех кто хочет заюзать в xorg input-hotplug
> 1. устанавливаем libXiconfig
> 2. из xorg.conf убираем все упоминания о InputDevice
> 3. в секцию ServerFlags добавляем Option "AllowEmptyInput" "true"
>
> в общем на этом можно и закончить, но бывают случаи когда драйвер evdev чем
> то не устраивает, на этот случай для примера мои конфиги в атаче

Сказку прочитал утром уже... Поэтому libXiconfig ушел пока... совсем... :)

-- 
С уважением,
Стародумов Илья

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

* Re: [sisyphus] I: Xorg/config/hal
  @ 2008-06-21 13:49   ` Valery V. Inozemtsev
  2008-06-24  5:50     ` Ildar Mulyukov
  0 siblings, 1 reply; 4+ messages in thread
From: Valery V. Inozemtsev @ 2008-06-21 13:49 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


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

> > в общем на этом можно и закончить, но бывают случаи когда драйвер evdev
> > чем то
> > не устраивает, на этот случай для примера мои конфиги в атаче
>
> (II) config/hal: Adding input device KYE Systems Corp. Wireless Keyboard &
> Mouse
[..]
>
> Мышь катается только по вертикали, кнопки вроде нажимаются. Куда копать?

с мышами на клавиатуре есть трабла. допустим у меня:
I: Bus=0003 Vendor=046e Product=5251 Version=0100
N: Name="BTC USB Multimedia Cordless Kit  "
P: Phys=usb-0000:00:1a.0-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-2/1-2:1.1/input/input10
U: Uniq=
H: Handlers=kbd mouse2 event7
B: EV=1f
B: KEY=7 70000 0 2000000 107a d800c401 1e0000 0 0 0
B: REL=3
B: ABS=103
B: MSC=10

т.к. Handlers=kbd mouse2 event7, evdev берет только kbd и считает мышь 
клавиатурой. пришлось нарисовать для нее отдельный fdi (в атаче). а вообще 
видимо придется собирать инфу по таким странным девайсам и складывать в 
xorg-drv-keyboard/mouse

-- 
Valery V. Inozemtsev

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

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
      <match key="input.product" contains="BTC USB Multimedia Cordless Kit">
        <merge key="info.product" type="string">BTC USB Mouse</merge>
        <merge key="input.x11_driver" type="string">mouse</merge>
        <merge key="input.device" type="string">/dev/input/by-path/pci-0000:00:1a.0-usb-0:2:1.1-</merge>
	<merge key="input.x11_options.Protocol" type="string">IMPS/2</merge>
	<merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
	<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
	<merge key="input.x11_options.EmulateWheelButton" type="string">3</merge>
	<merge key="input.x11_options.EmulateWheelInertia" type="string">10</merge>
	<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
      </match>
    </match>

    <match key="info.capabilities" contains="input.keyboard">
      <match key="input.product" contains="BTC USB Multimedia Cordless Kit">
        <merge key="info.product" type="string">BTC 9116U Mini Wireless Internet and Gaming</merge>
        <merge key="input.x11_driver" type="string">kbd</merge>
        <merge key="input.device" type="string"></merge>
	<merge key="input.x11_options.XkbRules" type="string">xorg</merge>
        <merge key="input.x11_options.XkbModel" type="string">btc9116u</merge>
	<merge key="input.x11_options.Protocol" type="string">standard</merge>
	<merge key="input.x11_options.AutoRepeat" type="string">350 35</merge>
      </match>
    </match>
  </device>
</deviceinfo>

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

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

* Re: [sisyphus] I: Xorg/config/hal
  2008-06-21 13:49   ` Valery V. Inozemtsev
@ 2008-06-24  5:50     ` Ildar Mulyukov
  2008-06-24  6:49       ` Valery V. Inozemtsev
  0 siblings, 1 reply; 4+ messages in thread
From: Ildar Mulyukov @ 2008-06-24  5:50 UTC (permalink / raw)
  To: sisyphus

On 21.06.2008 19:49:51, Valery V. Inozemtsev wrote:
> > > в общем на этом можно и закончить, но бывают случаи когда драйвер  
> evdev
> > > чем то
> > > не устраивает, на этот случай для примера мои конфиги в атаче
> >
> > (II) config/hal: Adding input device KYE Systems Corp. Wireless  
> Keyboard &
> > Mouse
> [..]
> > Мышь катается только по вертикали, кнопки вроде нажимаются. Куда  
> копать?
> 
> с мышами на клавиатуре есть трабла. допустим у меня:
> I: Bus=0003 Vendor=046e Product=5251 Version=0100
> N: Name="BTC USB Multimedia Cordless Kit  "
> P: Phys=usb-0000:00:1a.0-2/input1
> S:  
> Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-2/1-2:1.1/input/input10
> U: Uniq=
> H: Handlers=kbd mouse2 event7
> B: EV=1f
> B: KEY=7 70000 0 2000000 107a d800c401 1e0000 0 0 0
> B: REL=3
> B: ABS=103
> B: MSC=10
> 
> т.к. Handlers=kbd mouse2 event7, evdev берет только kbd и считает мышь
> клавиатурой. пришлось нарисовать для нее отдельный fdi (в атаче). а  
> вообще
> видимо придется собирать инфу по таким странным девайсам и складывать  
> в
> xorg-drv-keyboard/mouse

Валерий!

странно то, что Вы называете такие девайсы странными :) Неужели нет  
другого выхода, как собирать информацию по ним в fdi? Это же чистой  
воды quirk!
-- 
Ildar  Mulyukov,  free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================


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

* Re: [sisyphus] I: Xorg/config/hal
  2008-06-24  5:50     ` Ildar Mulyukov
@ 2008-06-24  6:49       ` Valery V. Inozemtsev
  0 siblings, 0 replies; 4+ messages in thread
From: Valery V. Inozemtsev @ 2008-06-24  6:49 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

В сообщении от 24 июня 2008 Ildar Mulyukov написал(a):
> On 21.06.2008 19:49:51, Valery V. Inozemtsev wrote:
> > > > в общем на этом можно и закончить, но бывают случаи когда драйвер
> >
> > evdev
> >
> > > > чем то
> > > > не устраивает, на этот случай для примера мои конфиги в атаче
> > >
> > > (II) config/hal: Adding input device KYE Systems Corp. Wireless
> >
> > Keyboard &
> >
> > > Mouse
> >
> > [..]
> >
> > > Мышь катается только по вертикали, кнопки вроде нажимаются. Куда
> >
> > копать?
> >
> > с мышами на клавиатуре есть трабла. допустим у меня:
> > I: Bus=0003 Vendor=046e Product=5251 Version=0100
> > N: Name="BTC USB Multimedia Cordless Kit  "
> > P: Phys=usb-0000:00:1a.0-2/input1
> > S:
> > Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-2/1-2:1.1/input/input10
> > U: Uniq=
> > H: Handlers=kbd mouse2 event7
> > B: EV=1f
> > B: KEY=7 70000 0 2000000 107a d800c401 1e0000 0 0 0
> > B: REL=3
> > B: ABS=103
> > B: MSC=10
> >
> > т.к. Handlers=kbd mouse2 event7, evdev берет только kbd и считает мышь
> > клавиатурой. пришлось нарисовать для нее отдельный fdi (в атаче). а
> > вообще
> > видимо придется собирать инфу по таким странным девайсам и складывать
> > в
> > xorg-drv-keyboard/mouse
>
> Валерий!
>
> странно то, что Вы называете такие девайсы странными :) Неужели нет
> другого выхода,

есть

> как собирать информацию по ним в fdi? Это же чистой 
> воды quirk!



-- 
Valery V. Inozemtsev

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

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

end of thread, other threads:[~2008-06-24  6:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-21  3:12 ` [sisyphus] I: Xorg/config/hal Starodumoff Ilya
2008-06-21 13:49   ` Valery V. Inozemtsev
2008-06-24  5:50     ` Ildar Mulyukov
2008-06-24  6:49       ` Valery V. Inozemtsev

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