473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Need driver help!

Hey,

My boss put me in charge of getting this pin pad device to work with our software.

We have it plugging into the usb port with a converter cable that converts it to a rs232 port. This converter cable uses the pl2303 driver to aid with this.

I am new to drivers, particularly on the windows OS. My question is how do I use this driver to communicate with the device?

I'm trying to read into it but am being overloaded by information and I think I could use some help. I was reading something about using the win32 api and using create file to get a handle? I found this to be quite confusing and am having trouble finding examples of how to use this handle. Isn't there just some standard I/O library I can use to communicate? Please help!



2 ] : [USB DEVICE] on Port 1 Address : 2

uniqueID : USB/Adr_2&Port_1&Vid_067b&Pid_2303&Rev_0400&Ver_0110&D evClass_00&DevSubClass_00&NumC_01

driverKeyName : {4d36e978-e325-11ce-bfc1-08002be10318}\0000

friendlyDeviceName: Prolific USB-to-Serial Comm Port

Object Type : Device, DeviceImpl, NonJUSB

Device Descriptor:

bcdUSB : 1.1

Device Class : 0 ( device )

Device Subclass : 0

Device Protocol : 0

Max Packet Size : 64

idVendor : 1659 0x67b

idProduct : 8963 0x2303

bcdDevice release number : 4.0

iManufacturer : 1

iProduct : 2

iSerialNumber : 0

NumConfiguration : 1



Configuration Descriptor:

wTotalLength : 39

bNumInterfaces : 1

bConfigurationValue : 1

bmAttributes : 160 Device supports Remote Wakeup!

bMaxPower : 50 ( 100mA)



Interface Descriptor[0]:

bInterfaceNumber : 0

bAlternateSetting : 0

bNumEndpoints : 3

bInterfaceClass : 255

bInterfaceSubClass : 0

bInterfaceProtocol : 0

iInterface : 0



Interface[0] Endpoint Descriptor[0]:

bEndpointAdress : 1 IN Pipe Data flows from Device to Host

bmAttributes : 3 Type: interrupt

bMaxPacketSize : 10

bInterval : 1

getEndpoint : 129 81

Interface[0] Endpoint Descriptor[1]:

bEndpointAdress : 2 OUT Pipe Data flows from Host to Device

bmAttributes : 2 Type: bulk

bMaxPacketSize : 64

bInterval : 0

getEndpoint : 2 2

Interface[0] Endpoint Descriptor[2]:

bEndpointAdress : 3 IN Pipe Data flows from Device to Host

bmAttributes : 2 Type: bulk

bMaxPacketSize : 64

bInterval : 0

getEndpoint : 131 83
Feb 21 '08 #1
1 2088
HfX
6
Hey,

My boss put me in charge of getting this pin pad device to work with our software.

We have it plugging into the usb port with a converter cable that converts it to a rs232 port. This converter cable uses the pl2303 driver to aid with this.
...
Hi,

Afaik the pl2303 is a converter from USB to Serial so your pin pad should be accessible via a newly created serial port.
Take a look at device manager (start -> run -> devmgmt.msc) under the Ports section.
You should see a new serial Communications Port after plugging in your converter cable. You can change serial ports also there so for example if your application needs the new port as COM1 you have to change settings for current COM1 to be e.g. COM3 and then you can re-assign your new port to COM1. This can be done via "Properties->Port Settings->Advanced"

Also if your boss used any other device that might have a serial 2 usb adapter eg. GPS-Modules or whatever it could be, that the wrong driver is installed on the system and windows uses the old or wrong one. It might be more tricky then to find the problem.

I hope I could help

Best regards

Peter
Feb 28 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bobby | last post by:
Hello everyone I have a question. The school I am working for is in the beginning process of having a webpage that will direct students to download there homework and be able to view there info...
4
by: Chris | last post by:
Hi, I found this code that can solve a problem I have. It sends print direct to printer. Imports System Imports System.Text Imports System.Runtime.InteropServices ...
0
by: Frank Stefani | last post by:
Hi, I use recent StarOffice and OpenOffice versions with SuSE 8.x and 9.0 Linuxes. In the preferences of the office programs, I added the classpaths ...
3
by: rjaw | last post by:
Hi there, using the udb-type2-driver on z/OS DB version 7, we have a problem getting the connection to the database. The small program we use looks like this: ...
1
by: Bio | last post by:
Hy I'm a computing student I looking for some one who can help me to create driver by using one of this compiler (see subject) Because it's not part of my studies I couldn't find any teacher to...
12
by: Steve | last post by:
I wrote a simple virtual device driver int15.sys, Is C# support load the device driver from AP?
2
by: Will | last post by:
hey guys, here is the problem ... i try to print from one printer and its ok (using the driver) .. i try to print from another printer also using the driver and i get the error ...'The data area...
1
by: tommydkat | last post by:
Hi! We've switched from Developer Studio 6.0 to Visual Studio .net 2003. Our application compiles fine with Visual Studio .net 2003 but when it runs, it uses the Microsoft ODBC driver as is shown...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
3
by: BigZero | last post by:
hello i m new to php i m working on project that has interface with simple html and php i m thinking to use i got some problem with the connecting to DB here is the code for connecting db ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.