Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-14 Thread Olaf Hering
On Tue, Jul 13, Al Borchers wrote: > Olaf -- > > Olaf Hering wrote: > >Thanks Al!. Works perfectly, even with agetty. > > Good news! Thanks for testing it. > > Greg, would you accept this patch? It is the > same code we use in the io_ti driver and similar > to the gadget serial code. I gues

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-13 Thread Al Borchers
Olaf -- Olaf Hering wrote: Thanks Al!. Works perfectly, even with agetty. Good news! Thanks for testing it. Greg, would you accept this patch? It is the same code we use in the io_ti driver and similar to the gadget serial code. -- Al --- This

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-13 Thread Olaf Hering
On Mon, Jul 12, Al Borchers wrote: > Olaf -- > > Olaf Hering wrote: > >Hmm, I'm not sure how to translate that to LANG=diff > > Here is one such translation--a patch to 2.6.7 to add a > circular buffer to the pl2303 USB serial driver. > > I tested it briefly and it solved the dropped newline >

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-12 Thread Al Borchers
Olaf -- Olaf Hering wrote: Hmm, I'm not sure how to translate that to LANG=diff Here is one such translation--a patch to 2.6.7 to add a circular buffer to the pl2303 USB serial driver. I tested it briefly and it solved the dropped newline problem--I used agetty to test it as you described in your e

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-09 Thread Al Borchers
Olaf Hering wrote: Here is a dmesg debug output, rm has an agetty connected, screen connected via keyspan. I dont get any newlines. > S0:12345:respawn:/sbin/agetty -L 9600 keyspan screen agetty sttys the port to onlcr (map newline to carriage-return newline). However, the pl2303 cannot do this; it

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-08 Thread Greg KH
On Thu, Jul 08, 2004 at 07:26:51PM +0200, Olaf Hering wrote: > > f178:~ # lsusb > > Bus 004 Device 001: ID : > > Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port > > Bus 003 Device 001: ID : > > Bus 002 Device 004: ID 06cd:0104 Keyspan PDA [prerenum] > >

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-08 Thread Olaf Hering
> f178:~ # lsusb > Bus 004 Device 001: ID : > Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port > Bus 003 Device 001: ID : > Bus 002 Device 004: ID 06cd:0104 Keyspan PDA [prerenum] > Bus 002 Device 001: ID : > Bus 001 Device 001: ID : > f1

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-08 Thread Olaf Hering
On Thu, Jul 08, Al Borchers wrote: > Olaf -- > > Olaf Hering wrote: > > I have the keyspan working now, and its > >directly connected to a PL2303 adapter on the same box. > >writing to the PL2303 and reading from the keyspan leads to garbage > >output. Sometimes the newline is repeated to fill t

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-08 Thread Al Borchers
Olaf -- Olaf Hering wrote: > I have the keyspan working now, and its directly connected to a PL2303 adapter on the same box. writing to the PL2303 and reading from the keyspan leads to garbage output. Sometimes the newline is repeated to fill the dd blocksize, somethings I get the 'foo' filecontent

[linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-08 Thread Olaf Hering
Greg, can you help with this one? I have the keyspan working now, and its directly connected to a PL2303 adapter on the same box. writing to the PL2303 and reading from the keyspan leads to garbage output. Sometimes the newline is repeated to fill the dd blocksize, somethings I get the 'foo' file