<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>17760</bug_id>
          
          <creation_ts>2008-11-01 09:02:08 +0300</creation_ts>
          <short_desc>ButtonPress шлётся при отпускании кнопки</short_desc>
          <delta_ts>2008-12-04 11:30:40 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xorg-drv-evdev</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Rahmatullin">wrar</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>evg</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80551</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 09:02:08 +0300</bug_when>
    <thetext>xorg-server-1.5.2-alt3
xorg-drv-evdev-2.0.99.2-alt1

После ребута обнаружилось, что на нажатии кнопки мыши событий не идёт никаких, а все приходят на отпускании. После рестарта иксов вылечилось, но после засыпания-просыпания сломалось снова. AutoAddDevices включен.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80556</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-11-01 12:35:27 +0300</bug_when>
    <thetext>не воспроизводится. что за мышь?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80573</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 20:43:34 +0300</bug_when>
    <thetext>Воспроизвести удалось только через suspend2 на основном ядре (.27-rcмного). На std-wks через swsusp вроде как не получилось. Передёргиванием usbhid или железки тоже.
Когда начинает глючить, в логе иксов пишется: 
(II) USB-compliant keyboard: Device reopened after 1 attempts.
(II) HID 1241:1166: Device reopened after 1 attempts.

В остальных случаях такого нет, есть штатный removing device (либо error reading device, если железку выдернуть).

udi = &apos;/org/freedesktop/Hal/devices/usb_device_1241_1166_noserial_if0_logicaldev_input&apos;
  input.product = &apos;HID 1241:1166&apos;  (string)
  linux.subsystem = &apos;input&apos;  (string)
  info.capabilities = { &apos;input&apos;, &apos;input.mouse&apos; } (string list)
  linux.device_file = &apos;/dev/input/event4&apos;  (string)
  info.subsystem = &apos;input&apos;  (string)
  info.product = &apos;HID 1241:1166&apos;  (string)
  input.originating_device = &apos;/org/freedesktop/Hal/devices/usb_device_1241_1166_noserial_if0&apos;  (string)
  info.category = &apos;input&apos;  (string)
  info.udi = &apos;/org/freedesktop/Hal/devices/usb_device_1241_1166_noserial_if0_logicaldev_input&apos;  (string)
  input.x11_driver = &apos;evdev&apos;  (string)
  linux.sysfs_path = &apos;/sys/devices/pci0000:00/0000:00:10.4/usb5/5-3/5-3.1/5-3.1:1.0/input/input7/event4&apos;  (string)
  info.parent = &apos;/org/freedesktop/Hal/devices/usb_device_1241_1166_noserial_if0&apos;  (string)
  input.device = &apos;/dev/input/event4&apos;  (string)
  linux.hotplug_type = 2  (0x2)  (int)

(II) config/hal: Adding input device USB-compliant keyboard
(II) LoadModule: &quot;evdev&quot;

(II) Loading /usr/lib/X11/modules/input//evdev_drv.so
(II) Module evdev: vendor=&quot;X.Org Foundation&quot;
        compiled for 1.5.2, module version = 2.0.99
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(**) USB-compliant keyboard: always reports core events
(**) USB-compliant keyboard: Device: &quot;/dev/input/event6&quot;
(II) USB-compliant keyboard: Found 10 mouse buttons
(II) USB-compliant keyboard: Found x and y relative axes
(II) USB-compliant keyboard: Found keys
(II) USB-compliant keyboard: Configuring as mouse
(II) USB-compliant keyboard: Configuring as keyboard
(**) USB-compliant keyboard: YAxisMapping: buttons 4 and 5
(**) USB-compliant keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device &quot;USB-compliant keyboard&quot; (type: KEYBOARD)
(**) Option &quot;xkb_rules&quot; &quot;evdev&quot;
(**) USB-compliant keyboard: xkb_rules: &quot;evdev&quot;
(**) Option &quot;xkb_model&quot; &quot;evdev&quot;
(**) USB-compliant keyboard: xkb_model: &quot;evdev&quot;
(**) Option &quot;xkb_layout&quot; &quot;us&quot;
(**) USB-compliant keyboard: xkb_layout: &quot;us&quot;
(II) config/hal: Adding input device USB-compliant keyboard
(II) LoadModule: &quot;kbd&quot;

(II) Loading /usr/lib/X11/modules/input//kbd_drv.so
(II) Module kbd: vendor=&quot;X.Org Foundation&quot;
        compiled for 1.5.0, module version = 1.3.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(**) USB-compliant keyboard: always reports core events
(**) Option &quot;Protocol&quot; &quot;standard&quot;
(**) USB-compliant keyboard: Protocol: standard
(**) Option &quot;AutoRepeat&quot; &quot;350 35&quot;
(**) Option &quot;XkbRules&quot; &quot;xorg&quot;
(**) USB-compliant keyboard: XkbRules: &quot;xorg&quot;
(**) Option &quot;XkbModel&quot; &quot;pc105&quot;
(**) USB-compliant keyboard: XkbModel: &quot;pc105&quot;
(**) Option &quot;XkbLayout&quot; &quot;us,ru&quot;
(**) USB-compliant keyboard: XkbLayout: &quot;us,ru&quot;
(**) Option &quot;XkbVariant&quot; &quot;,winkeys&quot;
(**) USB-compliant keyboard: XkbVariant: &quot;,winkeys&quot;
(**) Option &quot;XkbOptions&quot; &quot;grp:menu_toggle,grp_led:scroll,grp:rwin_switch&quot;
(**) USB-compliant keyboard: XkbOptions: &quot;grp:menu_toggle,grp_led:scroll,grp:rwin_switch&quot;
(**) Option &quot;CustomKeycodes&quot; &quot;off&quot;
(**) USB-compliant keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device &quot;USB-compliant keyboard&quot; (type: KEYBOARD)
(II) config/hal: Adding input device HID 1241:1166
(**) HID 1241:1166: always reports core events
(**) HID 1241:1166: Device: &quot;/dev/input/event4&quot;
(II) HID 1241:1166: Found 5 mouse buttons
(II) HID 1241:1166: Found x and y relative axes
(II) HID 1241:1166: Configuring as mouse
(**) HID 1241:1166: YAxisMapping: buttons 4 and 5
(**) HID 1241:1166: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device &quot;HID 1241:1166&quot; (type: MOUSE)


Что ещё показать/что откатить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80574</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-11-01 20:47:50 +0300</bug_when>
    <thetext>ядро какое?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80575</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 20:57:48 +0300</bug_when>
    <thetext>Самосборный 2.6.27 с копейками (6da0b38f), точнее nigel-tuxonice-head/tuxonice a21d10fb
Конфиг надо?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80576</commentid>
    <comment_count>5</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-11-01 21:05:39 +0300</bug_when>
    <thetext>а на чем нибудь более приличном7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80577</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 21:18:22 +0300</bug_when>
    <thetext>На 2.6.25-std-def-alt9 нормально вроде.
.27 у нас &quot;более приличное&quot; где-то есть?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80578</commentid>
    <comment_count>7</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-11-01 21:38:43 +0300</bug_when>
    <thetext>(In reply to comment #6)
&gt; На 2.6.25-std-def-alt9 нормально вроде.

уже хорошо

&gt; .27 у нас &quot;более приличное&quot; где-то есть?
пока только у меня в пипл

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80580</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 22:23:20 +0300</bug_when>
    <thetext>Ну собсна повторяется не только на std-ng-2.6.27-alt4, но и на wks-smp-2.6.26-alt3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80582</commentid>
    <comment_count>9</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-11-01 22:30:37 +0300</bug_when>
    <thetext>видимо какие то ядерные проблемы</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80583</commentid>
    <comment_count>10</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-11-01 22:35:27 +0300</bug_when>
    <thetext>Ну так работало ж.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82205</commentid>
    <comment_count>11</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2008-12-04 11:30:39 +0300</bug_when>
    <thetext>На старых ядрах проверять влом, на основном починилось с какой-то версии иксов.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>