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.




215 posts

Master Geek
+1 received by user: 92

Subscriber

Topic # 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

732 posts

Ultimate Geek
+1 received by user: 128

Lifetime subscriber

  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

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


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.