Bug#640391: Possible fix ark3116

2011-10-26 Thread Bart Hartgers
2011/10/25 ael law_ence@ntlworld.com:
 On Tue, Oct 25, 2011 at 08:40:09PM +0200, Bart Hartgers wrote:
 I think I got it. The ark seems sensitive to a specific combination of
 setting the termios and enabling interrupts/submitting the interrupt
 urb. The old driver does not suffer because it does not use the
 interrupt urb.

 Success! Congratulations.

Great!

 So wonderful. Thanks for all the work. Just a quick reply for tonight:
 you can stop biting your fingernails...

Thanks! I'll create a patch and submit it to the kernel. Okay if I
include you as tester in a Tested-by:-tag?

Groeten,
Bart
-- 
Bart Hartgers - New e-mail: bart.hartg...@gmail.com



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAK7h4yfjFYVR8UNSN3xdGCpEU=ha_tf5fgk+1cj_k9szxzy...@mail.gmail.com



Bug#640391: Possible fix ark3116

2011-10-26 Thread ael
On Wed, Oct 26, 2011 at 09:09:47AM +0200, Bart Hartgers wrote:
 2011/10/25 ael law_ence@ntlworld.com:
  On Tue, Oct 25, 2011 at 08:40:09PM +0200, Bart Hartgers wrote:
  I think I got it. The ark seems sensitive to a specific combination of
  setting the termios and enabling interrupts/submitting the interrupt
  urb. The old driver does not suffer because it does not use the
  interrupt urb.
 
  Success! Congratulations.
 
 Great!
 
  So wonderful. Thanks for all the work. Just a quick reply for tonight:
  you can stop biting your fingernails...
 
 Thanks! I'll create a patch and submit it to the kernel. Okay if I
 include you as tester in a Tested-by:-tag?

I will be honoured :-) I haven't tried hotplugging of course, but I
guess that must work. I might have time to see if I can do that
easily later today.

ael




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111026100508.GA2499@elf.conquest



Bug#640391: Possible fix ark3116

2011-10-25 Thread Bart Hartgers
Hi ael,

I think I got it. The ark seems sensitive to a specific combination of
setting the termios and enabling interrupts/submitting the interrupt
urb. The old driver does not suffer because it does not use the
interrupt urb. I think the new driver on previous ubuntu 11.04 did not
suffer because (it seems) userspace handled hotplugging a serial port
differently. But new userspace and new driver failed. Simply moving
the termios bit in the driver fixed it for me. No real idea why, but
that is the joy of undocumented hardware.

Could you please try the attached files? Almost the same procedure as
previously:
$ make
# modprobe usbserial
# rmmod ark3116
# insmod ./ark3116new.ko

Thanks.
Groeten,
Bart

-- 
Bart Hartgers - New e-mail: bart.hartg...@gmail.com


ark3116new.tar.gz
Description: GNU Zip compressed data


Bug#640391: Possible fix ark3116

2011-10-25 Thread ael
On Tue, Oct 25, 2011 at 08:40:09PM +0200, Bart Hartgers wrote:
 Hi ael,
 
 I think I got it. The ark seems sensitive to a specific combination of
 setting the termios and enabling interrupts/submitting the interrupt
 urb. The old driver does not suffer because it does not use the
 interrupt urb.

Success! Congratulations.

I thought I was going to have to break bad news when my first few
attempts failed, but that seems to have been a flakey connection.

So wonderful. Thanks for all the work. Just a quick reply for tonight:
you can stop biting your fingernails...

ael



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111025204123.GA3331@elf.conquest