[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#576861: Realtek Card Reader doesn't emit add or remove events for SD media



On Wed, 2010-04-07 at 21:36 +0200, lirel83 wrote:
> Package: linux-image-2.6.26-2-amd64
> Version: 2.6.26-21lenny4
> Severity: low
> 
> while trying to use a usb
>   0bda:0111 Realtek Semiconductor Corp. Card Reader
> to access a sd-card i found that there is no output on from
>   udevadm monitor
> when plugging such a card in our out.
[...]

This is very likely a bug in the reader itself.  The usb-storage driver
normally relies on the device to report media changes.

It is possible that you can work around this by configuring the 'HAL'
service to poll the device i.e. check for changes regularly, as it
already does for CD drives.

First you would need to find the HAL Universal Device Identifier (UDI)
for the device.  You can list the devices HAL knows with 'lshal'; the
reader will have a UDI beginning with:
    /org/freedesktop/Hal/devices/storage_serial_
and the 'storage.originating_device' for it will begin with:
    /org/freedesktop/Hal/devices/usb_device_bda_111_

You can then run 'hal-disable-polling --enable-polling' followed by the
reader's UDI.  Note that I have not tried this myself and don't know
that it will really work.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: