Hi, On Friday, September 30, 2011 2:44:53 PM UTC+2, Vishwanath Hegde wrote: > > Hi, > > I am seeing the mounting and auto mounting of SD Card is not happening > when the SD card is inserted through a card reader on android tablet. > Can someone explain me in this particular scenario, how the auto > mounting works in android? As of my understanding the mount of sd > card shall happen through USB port, because the SD card is inserted in > a card reader which is plugged in to the tablet's USB port. > Normal sd-card readers that are not connected via a usb port (e.g. mmc) usually have a card-detect that can be used to detect the removal of a card. The kernel will handle this and send device added/removed events to userland.
For card readers that are attached via usb you usually need to poll the media to detect insertion and removal and the component in android that does mounting (vold) does or did not do this. as you mentioned inserting the card-reader with the card inserted usually works. I think these problems are related to the way mass storage is implemented e.g. be emulating a scsi bay Greetings -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
