Re: Proposed modification to PL2303 driver

2013-07-04 Thread Reinhard Max
On Thu, 4 Jul 2013 at 14:44, Frank Schäfer wrote: Even more interesting would be the Windows driver that has been used for reverse-engineering. ;) AFAIK, the standard Windows driver doesn't use the second method (last checked 2-3 years ago)... The thread opener said he can set the non-standa

Re: Proposed modification to PL2303 driver

2013-07-03 Thread Reinhard Max
On Wed, 3 Jul 2013 at 23:35, Frank Schäfer wrote: When I wrote the patch in 2009, only the first baud rate programming method was in place. The second method has been added later with commit 8d48fdf6. Hmm - it would be interesting to know what device and tests that change was based on. Hmm

Re: Proposed modification to PL2303 driver

2013-07-03 Thread Reinhard Max
On Tue, 2 Jul 2013 at 18:31, Frank Schäfer wrote: I've set up a test environment (currently limited to 115.2 kbps) and can confirm that this works ONLY with the following (currently supported) baud rates: 75, 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 14400, 19200, 28800, 38400,

Re: Proposed modification to PL2303 driver

2013-06-27 Thread Reinhard Max
On Thu, 27 Jun 2013 at 20:53, Frank Schäfer wrote: Am 27.06.2013 19:14, schrieb Reinhard Max: But the same datasheets also contain the statement I cited before, that the baud rate generator can be programmed to *any* baud rate between 75 and the limit of the respective chip. Well, all I

Re: Proposed modification to PL2303 driver

2013-06-27 Thread Reinhard Max
On Thu, 27 Jun 2013 at 19:25, Greg KH wrote: None of those datasheets really help as they do not describe exactly how to set the baud rates (or much anything else), so we can't rely on them at all, sorry. Come on, the configuration values for the documented baud rates are exactly the 32bit i

Re: Proposed modification to PL2303 driver

2013-06-27 Thread Reinhard Max
Thanks for jumping in, Frank. Frank Schäfer writes: > I didn't read the whole thread yet, but what I can say for sure is that > the device I tested did _NOT_ support any non-standard baud rates. Then I'd be interested if it really was a PL2303X as you wrote in your comment, because Prolific say

Re: Proposed modification to PL2303 driver

2013-06-27 Thread Reinhard Max
On Thu, 27 Jun 2013 at 07:17, Greg KH wrote: On Wed, Jun 26, 2013 at 12:03:23PM +0200, Reinhard Max wrote: OTOH, why should a driver impose such a limit at all [...] Because that's the way the driver has successfully worked for the past 10+ years? Well, this particular part was

Re: Proposed modification to PL2303 driver

2013-06-27 Thread Reinhard Max
On Thu, 27 Jun 2013 at 15:32, Reinhard Max wrote: (a PL2303HX as per the comment) Sorry, I meant PL2303X. cu Reinhard -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: Proposed modification to PL2303 driver

2013-06-26 Thread Reinhard Max
On Tue, 25 Jun 2013 at 19:14, Greg KH wrote: On Tue, Jun 25, 2013 at 11:54:37AM +0200, Reinhard Max wrote: So, how about starting to get rid of the baud rate list by skipping it for HX chips only until someone with a type_0 or type_1 devices can confirm that it works there as well? How

Re: Proposed modification to PL2303 driver

2013-06-25 Thread Reinhard Max
Hi Greg, coincidentally, I also tested non-standard baudrates on a PL2303 these days and was about to start a similar thread when I found this one... On Fri, 14 Jun 2013 at 18:58, Greg KH wrote: On Fri, Jun 14, 2013 at 11:20:01AM +0200, Mastro Gippo wrote: PS: this device (at least mine) WI