[RFC] Noname multi-card Reader - LUN problem

Carlos Corbacho cathectic at slackadelic.com
Fri Sep 14 05:36:15 PDT 2007


(Re-sending  - sent this from the wrong e-mail address)

(CC'ing Frederic Crozat as he wrote the original patch which added support for 
this card reader - commit ae31fad70d51ec94f82252f4814984c0ce7c9ed9).

I have a card reader here that matches the product & device ID of the "Noname 
multi-card Reader" (this particular one is a "Vantec 7-in-1").

However, on my device, the LUNs for Smart Media and Memory Stick appear to be 
reversed (patch below to illustrate - I don't have any CF or SD/ MMC cards, 
so cannot vouch for those entries).

Is this a case of an error in the original patch, or do we have multiple card 
readers with the same IDs, but different devices on different LUNs?

-Carlos

diff --git a/fdi/information/10freedesktop/10-usb-card-readers.fdi 
b/fdi/information/10freedesktop/10-usb-card-readers.fdi
index 44b07f8..243317a 100644
--- a/fdi/information/10freedesktop/10-usb-card-readers.fdi
+++ b/fdi/information/10freedesktop/10-usb-card-readers.fdi
@@ -98,13 +98,13 @@
 		     <merge key="storage.drive_type" type="string">compact_flash</merge>
 	     </match>
 	     <match key="storage.lun" int="1">
-		     <merge key="storage.drive_type" type="string">memory_stick</merge>
+		     <merge key="storage.drive_type" type="string">smart_media</merge>
 	     </match>
 	     <match key="storage.lun" int="2">
 		     <merge key="storage.drive_type" type="string">sd_mmc</merge>
 	     </match>
 	     <match key="storage.lun" int="3">
-		     <merge key="storage.drive_type" type="string">smart_media</merge>
+		     <merge key="storage.drive_type" type="string">memory_stick</merge>
 	     </match>
         </match>
       </match>

-- 
E-Mail: cathectic at gmail.com
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D


More information about the hal mailing list