$50 reward/thank you for getting usb serial pl2303.o working

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
marcmerlin
DD-WRT Novice


Joined: 20 Apr 2008
Posts: 43

PostPosted: Sun Nov 30, 2008 17:04    Post subject: $50 reward/thank you for getting usb serial pl2303.o working Reply with quote
I'm offering a reward since this is not something many people need, and I'd like to add a little incitement into getting this fixed :)

You can refer to the thread here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=39730&postdays=0&postorder=asc&highlight=usb+serial&start=15

Basically, as of a bit before svn10923 (I'm currently running v24 mega 10923), eko added support for working usbserial and ftdi_sio.
Given these, I can load pl2303 from ipkg, and I can receive characters from the serial port, just not send any:

load:
usbserial.c: PL-2303 converter detected
usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)

errors on character sending:
pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22
pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22
pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

I got pl2303.o from ipkg. Driver is:
<6>pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11
kernel_version=2.4.30
-rw-r--r-- 1 root root 21940 Feb 3 2007 /jffs/lib/modules/2.4.30/pl2303.o

It looks like a module mismatch (2.4.30 for pl2303.o vs 2.4.36 for the kernel).

So, my reward is $25 for whoever can make this work, and another $25 to get this in the standard distribution (ipkg server, or standard dd-wrt distro). I can send money via paypal to the account/person of your choice.

Thanks,
Marc


Last edited by marcmerlin on Sun Nov 30, 2008 21:00; edited 2 times in total
Sponsor
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 152

PostPosted: Sun Nov 30, 2008 19:36    Post subject: Reply with quote
try the attached.


pl2303.tar.bz2
 Description:

Download
 Filename:  pl2303.tar.bz2
 Filesize:  12.1 KB
 Downloaded:  1014 Time(s)

marcmerlin
DD-WRT Novice


Joined: 20 Apr 2008
Posts: 43

PostPosted: Sun Nov 30, 2008 21:05    Post subject: Reply with quote
rkozola wrote:
try the attached.


It works, thanks, you already win the first $25 :)

(I typoed the original message, and left out the second $25 which was for getting this in the standard distribution (either via ipkg to replace the bad module out there, or directly in the standard dd-wrt)).

But basically, you already solved my need, thank you. If you'd like to stop here, PM me a paypal address for the first half. If you're able to get this into a standard location so that others can benefit (i.e. no one should have to find this thread to get working usb to serial Smile ), you get the second half (or someone else can do that too). While you're at it, it'd be cool to also rebuild/push the other serial usb to serial modules in ipkg, which I don't think worth either, but that's up to you.
You can also opt for me to send the money to your favourite dd-wrt developer :)

Thanks,
Marc
marcmerlin
DD-WRT Novice


Joined: 20 Apr 2008
Posts: 43

PostPosted: Mon Dec 01, 2008 16:20    Post subject: usb serial fully working on v24 Reply with quote
A big thanks to rkozola and Eko for the original usb and usb serial core support. Things are now working, and rkozola added the new modules he built on the drivers page.

See:
http://www.dd-wrt.com/wiki/index.php/USB#USB_drivers

and
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=43358
for where to get the said modules.

Marc
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum