CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Reading data from usb device in windows

 



KingNothing
Novice

Jul 7, 2012, 5:14 AM

Post #1 of 3 (3197 views)
Reading data from usb device in windows Can't Post

Hi,
is there any way to read the data from a usb device in windows?
I managed to read data from a usb sensor but via serial port, I now need to read data from usb device that doesn't open a serial com port. Thanks.


wickedxter
User

Jul 12, 2012, 4:36 PM

Post #2 of 3 (3027 views)
Re: [KingNothing] Reading data from usb device in windows [In reply to] Can't Post

Other then looking threw cpan.org....... When u plug in the thumb drive windows automaticly sets its to a drive like e:/ or g:/ u can use a loop to go threw the possible drive letters and then if found u can use it the same way u would open and write to a file on the harddrive....


KingNothing
Novice

Jul 18, 2012, 9:49 AM

Post #3 of 3 (2664 views)
Re: [wickedxter] Reading data from usb device in windows [In reply to] Can't Post

Hi,
the thing is that the usb device is a smart card reader and it doesn't have any assigned letter like common usb flash disks.
I want to manage the device and to read from a script the info included in the card when I insert a card in the device.
The device is recognized under win7 as EMV Smart Card Reader.
Thanks!

EDIT:
As I see now in the device manager, the device appears as Generic Smart Card under the Smart Card section.
If I only could manage the device as a usb keyboard then it would be just fine but it seems to me that this can't happen


(This post was edited by KingNothing on Jul 18, 2012, 9:54 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives