Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
13 user(s) are online (10 user(s) are browsing Forums)

Members: 0
Guests: 13

more...

Support us!

Headlines

 
  Register To Post  

USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
Hi everyone,

I'm working on a USB driver for PL2303 based serial adapters.
I got a primarily version working:

See a Video on a qemu system and patched Termie, capturing the serial output from my X5000

I'm wondering if anyone else is interested in such a driver, and help to test it to get it working in even other scenarios?

Go to top
Re: USB Driver for PL2303 serial adpater
Home away from home
Home away from home


See User information
@MightyMax
Is it OS4 driver, so to be able to grab serial output from one os4 machine to another via usb2serial cable ?

I am in as always :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
@kas1e

Yes it's a OS4 driver, I thought that was clear beacsue of selected forum.

A lot is taken form the (link->:) linux sources, so any found vendor/product id should work, or at should be doable.

Do you have an PL2303 based Serial-USB adapter? And if so what Vendor/Product Id does it have?

Go to top
Re: USB Driver for PL2303 serial adpater
Home away from home
Home away from home


See User information
@Max
My one:

Vendor: Prolific Technology, Inc.
Product ID: 2303

Called on box as "Prolific PL2303"

If it PL2303HXD, PL2303TA, PL2303GT or plain one i not sure, but at least in usb info i have: vid_067b&pid_2303, so should be casual one probably.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
@Max

I do have a Prolific one too and and could test with 2 more.

USB 2.0 To COM Device:

Product ID: 0x2303
Vendor ID: 0x067b (Prolific Technology, Inc.)
Version: 3.00
Speed: Up to 12 Mb/s
Manufacturer: Prolific Technology Inc.
Location ID: 0x14325000 / 51
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0

FT231X USB UART:

Product ID: 0x6015
Vendor ID: 0x0403 (Future Technology Devices International Limited)
Version: 10.00
Serial Number: DN027LVL
Speed: Up to 12 Mb/s
Manufacturer: FTDI
Location ID: 0x14312000 / 50
Current Available (mA): 500
Current Required (mA): 90
Extra Operating Current (mA): 0

USB2.0-Ser!:

Product ID: 0x7523
Vendor ID: 0x1a86
Version: 2.54
Speed: Up to 12 Mb/s
Location ID: 0x14325000 / 12
Current Available (mA): 500
Current Required (mA): 96
Extra Operating Current (mA): 0

On AmigaOS 4.1 FE u3 all of the above are assigned to class 0x5E5D2

Edit: Update 2 of course! Whishfull thinking, I thought I have Update 3 already! hahaha

Go to top
Re: USB Driver for PL2303 serial adpater
Amigans Defender
Amigans Defender


See User information
finally! Well done mate!

i'm really tired...
Go to top
Re: USB Driver for PL2303 serial adpater
Not too shy to talk
Not too shy to talk


See User information
Hi all

I also have the same USB->Serial converter

FT231X USB UART:

Product ID: 0x6001
Vendor ID: 0x0403 (Future Technology Devices International Limited)
Version: 6
Serial Number: AQ01J53C
Speed: Up to 12 Mb/s
Manufacturer: FTDI
Location ID: 0x14312000 / 50
Current Available (mA): 500
Current Required (mA): 90
Extra Operating Current (mA): 0

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
Hi,

the following dongles use a different chip and won't work with this driver:

FT231X USB UART. -> uses FTDI chip
USB2.0-Ser! -> uses CH340 chip

The other mention should work. I will polish my driver a little bit more and provide it for testing. (Takes some time)

Go to top
Re: USB Driver for PL2303 serial adpater
Amigans Defender
Amigans Defender


See User information
Those chips can be used with libftdi

i'm really tired...
Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
I have this one inuse today:

Device Descriptor:
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6001 FT232 Serial (UART) IC
bcdDevice 6.00
iManufacturer 1 FTDI
iProduct 2 FT232R USB UART
iSerial 3 AB0JHMGG

I'll see if I can dig out some more.

Cheers,
Bill

Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
@all

For all having a USB gadget based on a PL2303 chip here a beta driver for these devices.

The driver is far from finished! So your mileage vary and be prepared that it crashes.
The driver writes a lot of debug message to via the Exec DebugPrintF (normally written
to the serial port), so if it crashes or don't behave as expected, include the debug
output with the description what failed.

If you have a variant of PL2303 you can / must adopt the pl2303.fdclass file (is a text file)
and adjust the vendor/product id.

To see a list of theoretically supported variants take a look at the linux sources.

Have fun and I hop get a feedback to improve the driver.

Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
a good start to using an Arduino with usb on the amiga !

Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
@sinisrus

That's what I actually wanted to achieve, to talk with my Arduino(s) and Adufruit Tinkerboards.

But I haven't checked if Arduino uses the PL2303 chip?

Go to top
Re: USB Driver for PL2303 serial adpater
Just popping in
Just popping in


See User information
@MigthyMax


I use CP2102 green ttl on PC but there are CP2303 to ttl modules =>
https://a.aliexpress.com/_EHROtRU

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project