File libnjb-hal-fdi.patch of Package libnjb

--- libnjb.fdi
+++ libnjb.fdi
@@ -1,13 +1,20 @@
 <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
 <deviceinfo version="0.2">
   <device>
+     <!-- USB devices that are music players but uses a user-space library -->
+ 
     <match key="info.bus" string="usb">
+
+    <!-- Begin NJB devices (generated by njb-sharp for libnjb compatible devices) -->
+
+      <!-- Creative Nomad Jukebox -->
       <match key="usb.vendor_id" int="0x0471">
         <match key="usb.product_id" int="0x0222">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="oasis">
             <append key="portable_audio_player.access_method.protocols" type="strlist">oasis</append>
@@ -23,12 +30,17 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox 2 -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4100">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
+
+      <!-- Creative Nomad Jukebox 3 -->
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -50,6 +62,7 @@
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -65,12 +78,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox 3</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4108">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -86,12 +102,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen USB 2.0 -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x410b">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -107,12 +126,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen USB 2.0</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen NX -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4109">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -128,12 +150,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen NX</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen Xtra -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4110">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -149,12 +174,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen Xtra</merge>
         </match>
       </match>
+
+      <!-- Dell Digital Jukebox -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4111">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -170,12 +198,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Dell Digital Jukebox</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen Touch -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x411b">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -191,12 +222,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen Touch</merge>
         </match>
       </match>
+
+      <!-- Creative Zen (Zen Micro variant) -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x411d">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -212,12 +246,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Zen</merge>
         </match>
       </match>
+
+      <!-- Creative Nomad Jukebox Zen Micro -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x411e">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -233,12 +270,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Nomad Jukebox Zen Micro</merge>
         </match>
       </match>
+
+      <!-- Second Generation Dell Digital Jukebox -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4126">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -254,12 +294,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Dell Digital Jukebox (2nd Generation)</merge>
         </match>
       </match>
+
+      <!-- Dell Pocket DJ -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4127">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -275,12 +318,15 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Dell Pocket DJ</merge>
         </match>
       </match>
+
+      <!-- Creative Zen Sleek -->
       <match key="usb.vendor_id" int="0x041e">
         <match key="usb.product_id" int="0x4136">
           <match key="info.capabilities" contains_not="portable_audio_player">
             <append key="info.capabilities" type="strlist">portable_audio_player</append>
           </match>
           <merge key="info.category" type="string">portable_audio_player</merge>
+          <merge key="portable_audio_player.type" type="string">njb</merge>
           <merge key="portable_audio_player.access_method" type="string">user</merge>
           <match key="portable_audio_player.access_method.protocols" contains_not="pde">
             <append key="portable_audio_player.access_method.protocols" type="strlist">pde</append>
@@ -296,6 +342,9 @@
           <merge key="portable_audio_player.libnjb.name" type="string">Creative Zen Sleek</merge>
         </match>
       </match>
+
+    <!-- End NJB devices -->
+
     </match>
   </device>
 </deviceinfo>
openSUSE Build Service is sponsored by