Author: pebender
Date: Fri Jan  9 19:49:02 2009
New Revision: 4201

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/mm_uid

Log:
- Fixed a bug that caused there to be no PCI devices in /dev/persistent.



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     Fri Jan  9  
19:49:02 2009
@@ -1,6 +1,21 @@
  MiniMyth Changelog

   
--------------------------------------------------------------------------------
+Changes since 63 (2009-01-09):
+
+Current MythTV versions
+    MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch  
svn 16082,
+                                                 ticket 3035 as of  
2007.02.07, and
+                                                 softpad branch svn 11261  
(updated).
+    MythTV 0.20:         version 0.20.2,         release-0-20-fixes branch  
svn 16082, and
+                                                 ticket 3035 as of  
2007.02.07.
+    MythTV 0.21:         version 0.21.0,         release-0-21-fixes branch  
svn 19556.
+    MythTV trunk:        version trunk.19625     trunk svn 19625.
+
+Fixed bugs
+    - Fixed a bug that caused there to be no PCI devices in  
/dev/persistent.
+
+--------------------------------------------------------------------------------
  Changes since 62 (2009-01-09):

  Current MythTV versions

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/mm_uid
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/mm_uid     
 
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/lib/udev/mm_uid     
 
Fri Jan  9 19:49:02 2009
@@ -24,6 +24,7 @@
          $1 !~ /^ *looking at / { next }
          {
              x = 1
+            kernels=""
              subsystem=""
              while ( x < NF ) {
                  x++
@@ -33,6 +34,11 @@
                      sub(/"$/, "", kernel)
                      sub(/[0-9]*$/, "", kernel)
                  }
+                if ( $x ~ /^ *KERNELS==/ ) {
+                    kernels=$x
+                    sub(/^ *KERNELS=="/, "", kernels)
+                    sub(/"$/, "", kernels)
+                }
                  if ( $x ~ /^ *SUBSYSTEMS?=="acpi"/ ) {
                      subsystem="acpi"
                      break
@@ -95,9 +101,17 @@
                  device=""
                  subsystem_vendor=""
                  subsystem_device=""
-                bus_id=""
+                bus_id=kernels
                  while ( x < NF ) {
                      x++
+                    if ( $x ~ /^ *ATTRS?\{class\}==/ ) {
+                        class=$x
+                        sub(/^ *ATTRS?\{class\}=="0x/, "", class)
+                        sub(/.."$/, "", class)
+                        class_prog=$x
+                        sub(/^ *ATTRS?\{class\}=="0x..../, "", class_prog)
+                        sub(/"$/, "", class_prog)
+                    }
                      if ( $x ~ /^ *ATTRS?\{vendor\}==/ ) {
                          vendor=$x
                          sub(/^ *ATTRS?\{vendor\}=="0x/, "", vendor)

--~--~---------~--~----~------------~-------~--~----~
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