Author: pebender
Date: Wed Jan  7 07:59:50 2009
New Revision: 4179

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-event.rules.disabled

Log:
- Fixed a bug that would cause a non-bootable USB HID device to not be
   detected as a valid event input device for X.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Wed Jan  7  
07:59:50 2009
@@ -84,6 +84,8 @@
        level rather than the 'err' level.
      - Fixed a bug that could cause the fakeroot script to use the wrong  
shell.
      - Fixed spurious warnings in the web.pm and x.pm init scripts.
+    - Fixed a bug that would cause a non-bootable USB HID device to not be
+      detected as a valid event input device for X.

  Modified build system
      - Enabled building of wmgui in utils/cwiid package.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-event.rules.disabled
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-event.rules.disabled
     
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/rules.d/05-minimyth-detect-event.rules.disabled
     
Wed Jan  7 07:59:50 2009
@@ -9,15 +9,13 @@
  ENV{mm_detect_state_event}=""

  # Serial or PS2 keyboard device.
-DRIVERS=="atkbd",                                                              
    
ENV{mm_detect_state_event}="keyboard"
+DRIVERS=="atkbd",                                 
ENV{mm_detect_state_event}="keyboard"
  # Serial or PS2 mouse device.
-DRIVERS=="psmouse",                                                            
    
ENV{mm_detect_state_event}="mouse"
-# USB keyboard device.
-SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03",  
ATTRS{bInterfaceProtocol}=="01", ENV{mm_detect_state_event}="keyboard-usb"
-# USB mouse device.
-SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03",  
ATTRS{bInterfaceProtocol}=="02", ENV{mm_detect_state_event}="mouse-usb"
+DRIVERS=="psmouse",                               
ENV{mm_detect_state_event}="mouse"
+# USB HID device.
+SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03",  
ENV{mm_detect_state_event}="usb-hid"
  # Wiimote
-ATTRS{name}=="Nintendo  
Wiimote",                                                   
ENV{mm_detect_state_event}="wiimote"
+ATTRS{name}=="Nintendo Wiimote",                  
ENV{mm_detect_state_event}="wiimote"

  # The state has been set, so save it.
  ENV{mm_detect_state_event}=="?*", RUN+="/lib/udev/mm_detect event %k  
$env{mm_detect_state_event} state_prepend_devname"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to