Request to add card reader to 10-usb-card-readers.fdi

Joeri Capens joeri at capens.net
Tue Jan 6 13:26:11 PST 2009


Hello everybody

My 9-in-1 Card Reader was not recognized by hal. I would like the
following to be added to the 10-usb-card-readers.fdi file:


      <!-- Yet another common theme -->
      <match key="storage.model" contains="CardReader CF">
        <merge key="storage.drive_type" type="string">compact_flash</merge>
      </match>
      <match key="storage.model" contains="CardReader MS">
        <merge key="storage.drive_type" type="string">memory_stick</merge>
      </match>
      <match key="storage.model" contains="CardReader SM">
        <merge key="storage.drive_type" type="string">smart_media</merge>
      </match>
      <match key="storage.model" contains="CardReader SD">
        <merge key="storage.drive_type" type="string">sd_mmc</merge>
      </match>


This makes it work for me.



dmesg info:


[    8.525481] scsi 6:0:0:0: Direct-Access     USB2.0   CardReader CF RW
0.0> PQ: 0 ANSI: 0
[    8.527131] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[    8.527851] sd 6:0:0:0: Attached scsi generic sg4 type 0
[    8.529025] scsi 6:0:0:1: Direct-Access     USB2.0   CardReader SD RW
0.0> PQ: 0 ANSI: 0
[    8.530936] sd 6:0:0:1: [sde] Attached SCSI removable disk
[    8.530998] sd 6:0:0:1: Attached scsi generic sg5 type 0
[    8.532863] scsi 6:0:0:2: Direct-Access     USB2.0   CardReader SM RW
0.0> PQ: 0 ANSI: 0
[    8.535812] sd 6:0:0:2: [sdf] Attached SCSI removable disk
[    8.535871] sd 6:0:0:2: Attached scsi generic sg6 type 0
[    8.536854] scsi 6:0:0:3: Direct-Access     USB2.0   CardReader MS RW
0.0> PQ: 0 ANSI: 0
[    8.538310] sd 6:0:0:3: [sdg] Attached SCSI removable disk
[    8.538379] sd 6:0:0:3: Attached scsi generic sg7 type 0
[    8.538531] usb-storage: device scan complete



usb info:


07cc:0350    Carry Computer Eng., Co., Ltd    9-in-1 Card Reader



lsusb info:


Bus 001 Device 005: ID 07cc:0350 Carry Computer Eng., Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x07cc Carry Computer Eng., Co., Ltd
  idProduct          0x0350
  bcdDevice            0.05
  iManufacturer           1         Ltd
  iProduct                2 Winter Ver1.3   
  iSerial                 3 394609411836
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              4 1.06.30.0704
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)




thank you

Joeri Capens




More information about the hal mailing list