SD card readers not being picked up when hotplugged
SD card readers not being picked up when hotplugged
I have tried SD cards from various cameras by plugging them into 7 in 1 readers and directly in an SD only type reader. None of them are picked up by Pmount or mutt
Anyone know whats happening here?
Anyone know whats happening here?
I don't know why you would use a PM for this but I have tried it both ways to no availHmm my general experience of puppy is that it will not detect a card inserted into a reader... ie it has to be inserted into the reader and then that is inserted into the usb port.
This may or may not be related to your issue
regards
Mike
I tried it in a Windows 7 Laptop I have and it came up saying it could not format it . When I put the card in the laptops slot it worked fine ?
Ehh?amigo wrote:Card readers do not send any sort of hardware signal when a card is plugged in. The system only sees a single device -unless the card is plugged in when the reader gets connected.
The card reader usually comes up with something like 5 addresses on windows in the mycomputer directory
Clicking on one asks you to insert a card
When you do you get the card directory listing
Are you saying this does not happen in Linux or do you mean Puppy?
I would expect these readers to return the normal USB data when plugged in.
Such as power requirements , manufacturer id and numbers,interface descriptors,endpoints etc etc - do you know what I mean ?
Last edited by tytower on Fri 16 Nov 2012, 20:39, edited 1 time in total.
I happened to have a card reader nearby just and tried it for the first time on Puppy 525, no problems : it reads the SD card whether it is in the reader when the reader is plugged into the USB port, or if you plug the empty card reader into the USB port then plug the SD card into the card reader.
[ BTW If you are trying to get photos off of corrupted memory try photorec ... http://www.theunixtips.com/recover-photos-corrupted-memory-card-photorec ]
[ BTW If you are trying to get photos off of corrupted memory try photorec ... http://www.theunixtips.com/recover-photos-corrupted-memory-card-photorec ]
- Attachments
-
- Puppy Linux 525, SD card reader in USB OK.png
- screengrab of Pmount showing SD card connected via USB
- (3.64 KiB) Downloaded 1482 times
tytower, sorry I had not seen your question. You mention a behaviour under windows which is not duplicated under linux. pmount and other 'mount helpers' may handle hotplugged cards, but that is not 'Linux' doing that. Since the hardware *itself* does not send any signal, the OS cannot do anything with a hotplugged card -unless some software is running which periodically *polls* for devices or new partitions. The closest the *kernel* comes to this, is that in newer kernels, polling *can be* done in the kernel itslef -although this does not mean that the kernel does anything with the device. The most the kernel can do is send a signal to hotplug which can then be directed to run some program which will mount the new partition.
It's the same regarding a CD drive -when closing or opening the drive tray, no hardware signal is sent. Hence, the only way for the OS to know when and how the status of the drive has changed is by polling the device.
Polling works fine, with the right logic. It's just that polling is an expensive process which most of the time is just waiting, but still consuming resources.
It's the same regarding a CD drive -when closing or opening the drive tray, no hardware signal is sent. Hence, the only way for the OS to know when and how the status of the drive has changed is by polling the device.
Polling works fine, with the right logic. It's just that polling is an expensive process which most of the time is just waiting, but still consuming resources.