Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Jul 2014, 19:13
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
SD card readers not being picked up when hotplugged
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Wed 14 Nov 2012, 17:45    Post_subject:  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?

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10928
Location: Arizona USA

PostPosted: Wed 14 Nov 2012, 20:13    Post_subject:  

Which version of Puppy? How old is the computer hardware?
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 16 Nov 2012, 02:07    Post_subject:  

Puppy 5.31
Compyters Dell Optiplex 740 & 745 Fairly modern 2.7 Mhz

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 16 Nov 2012, 02:10    Post_subject:  

Quote:
Hmm 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 don't know why you would use a PM for this but I have tried it both ways to no avail

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 ?

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Fri 16 Nov 2012, 02:31    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 16 Nov 2012, 06:36    Post_subject:  

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.

Ehh?
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 ?

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.

Edited_time_total
Back to top
View user's profile Send_private_message 
Barkin


Joined: 12 Aug 2011
Posts: 675

PostPosted: Fri 16 Nov 2012, 07:05    Post_subject:  

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 ]
Puppy Linux 525, SD card reader in USB OK.png
 Description   screengrab of Pmount showing SD card connected via USB
 Filesize   3.64 KB
 Viewed   641 Time(s)

Puppy Linux 525, SD card reader in USB OK.png

Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 16 Nov 2012, 16:49    Post_subject:  

Yes thanks for the Photorec
Had Plenty for windows but none for Linux

I.m starting to think its time to change the card reader

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8906
Location: Stratford, Ontario

PostPosted: Fri 16 Nov 2012, 18:18    Post_subject:  

It's been my experience that some old card readers won't read the new generation of SD cards.
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Wed 19 Dec 2012, 14:45    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Wed 19 Dec 2012, 20:11    Post_subject:  

Yes OK Thanks .
I don't think it gets me any further out of the mystery.
The micro sd cards seem to read fine in the old gear I have but not its larger brother.

Later issues of card readers seem to read it fine but not older models

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 13 (0.0094s) ][ GZIP on ]