On Sat, 21 Aug 2010, Marco d'Itri wrote:

Is a partition needed or not? In your first message you tried to mount
the raw device.

A partition is needed. Since only /dev/sdb was available, I was only trying to force reading the device, in the hope that the partition table would be read.

Did the kernel actually report reading a partition table on the card?
Does /sys/block/sdb/sdb1/ exist?
If it does, does "echo add > /sys/block/sdb/sdb1/uevent" create the
device?

/sys/block/sdb/sdb1/ does (did) not exist...

It this does not, will a manually created sdb1 work?

A manually created sdb1 would report "no medium found" as well.

Apparently, the problem is related to hal. I found that hal specifically ignores the storage side of this modem due to the following section in /usr/share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks.fdi

     <!-- Ignore the Huawei E169/E620 USB HSDPA modem -->
     <match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1001">
         <merge key="info.ignore" type="bool">true</merge>
       </match>
     </match>

The other machines had an older version of hal-info installed, and were polling /dev/sdb for media changes. Eventually, the card got detected. Removing that section from the above file seems to fix it. Whether that should be needed, I don't know.

In addition, there seems to be some kind of interation between media detection in the card reader (which is LUN 1 of the device), and whether the "CD-ROM" (LUN 0) has been accessed or not, but since it is working right now, perhaps this bug can be closed.

Thanks,

Carlos




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to