Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


PolicyGuy

1820 posts

Uber Geek
+1 received by user: 1769

ID Verified
Lifetime subscriber

#211652 5-Apr-2017 15:38
Send private message

I am in contact with an organisation that wants to keep an eye on who plugs what into their systems.

 

They'd like to say "No USBs" but that won't fly.
As a compromise, they let people plug in USB devices that are 'approved', and keep track of this by monitoring the electronic serial number that the USB device report to the OS when it gets plugged in. Works pretty well most of the time.

 

Now people want to plug in SD cards to upload data (maybe from a fixed-mount dashcam that they can't bring into the office), but the trouble is that the USB SD Card reader always reports the same electronic serial number - the one belonging to the SD Card Reader, not the one associated with the actual SD card.
So can anyone help with an SD card reader that, when a card is plugged in, reports "Card #xxxxxxxxxxxxx" has been plugged in, not "I'm SD Card reader #yyyyyyyyy, something was plugged in"

 

 

 

[And yes, we're well aware that the electronic serial number may bear no resemblance to any number printed / stamped on the outside ;-)]

 

 

 

 

 

Thanks


Create new topic

neb

neb
11294 posts

Uber Geek
+1 received by user: 10018

Trusted
Lifetime subscriber

  #1757266 5-Apr-2017 20:32
Send private message

I don't think you can do it. What you want to read is the card's 16-byte CID or card ID register, however USB readers typically won't pass through the command to read the CID. If you have direct, raw I/O access to the SD reader you could do it.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.