2000-11-30 06:24:33

by Mohammad A. Haque

[permalink] [raw]
Subject: Keyspan USB PDA adapter && test12pre3 hang

Anyone else out there with a Keyspan USB PDA adapter using test12-pre3?
I'm experiencing hangs when I try to send data to my Palm Vx using it.
Locks up the machine hard. No SysRq. No messages. USB serial debug
output doesn't have much either...

Nov 30 00:09:25 viper kernel: keyspan_pda.c: keyspan_pda_write(16)
Nov 30 00:09:25 viper kernel: usbserial.c: serial_write - port 0, 43
byte(s)
Nov 30 00:09:25 viper kernel: keyspan_pda.c: keyspan_pda_write(43)
Nov 30 00:09:25 viper kernel: usbserial.c: serial_write - port 0, 43
byte(s)
Nov 30 00:09:25 viper kernel: keyspan_pda.c: keyspan_pda_write(43)

--

=====================================================================
Mohammad A. Haque http://www.haque.net/
[email protected]

"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
[email protected]
=====================================================================


2000-11-30 08:14:13

by Greg KH

[permalink] [raw]
Subject: Re: Keyspan USB PDA adapter && test12pre3 hang

On Thu, Nov 30, 2000 at 12:53:40AM -0500, Mohammad A. Haque wrote:
> Anyone else out there with a Keyspan USB PDA adapter using test12-pre3?
> I'm experiencing hangs when I try to send data to my Palm Vx using it.
> Locks up the machine hard. No SysRq. No messages. USB serial debug
> output doesn't have much either...

Are you using the usb-uhci host driver?

If so, the following fix from Georg Acher should do the trick:

-----
Replace line 275 (insert_td())
qh->hw.qh.element = virt_to_bus (new) | UHCI_PTR_TERM;
by
qh->hw.qh.element = virt_to_bus (new) ;

-----

Let me (and the list) know if this doesn't fix your problem.

greg k-h

--
greg@(kroah|wirex).com
http://immunix.org/~greg

2000-11-30 08:50:53

by Greg KH

[permalink] [raw]
Subject: Re: Keyspan USB PDA adapter && test12pre3 hang

Wed, Nov 29, 2000 at 11:44:20PM -0800
X-Operating-System: Linux 2.2.17-immunix (i686)

On Wed, Nov 29, 2000 at 11:44:20PM -0800, Greg KH wrote:
> If so, the following fix from Georg Acher should do the trick:
>
> -----
> Replace line 275 (insert_td())
> qh->hw.qh.element = virt_to_bus (new) | UHCI_PTR_TERM;
> by
> qh->hw.qh.element = virt_to_bus (new) ;
>
> -----

Here's the above in patch form to make it easier for people to apply.

greg k-h

--
greg@(kroah|wirex).com


Attachments:
(No filename) (477.00 B)
usb-uhci-2.4.0-test12-pre3.diff (531.00 B)
Download all attachments

2000-11-30 09:17:41

by Mohammad A. Haque

[permalink] [raw]
Subject: Re: Keyspan USB PDA adapter && test12pre3 hang

That fixed it. Thanks

Greg KH wrote:
> Are you using the usb-uhci host driver?
>
> If so, the following fix from Georg Acher should do the trick:
>
> -----
> Replace line 275 (insert_td())
> qh->hw.qh.element = virt_to_bus (new) | UHCI_PTR_TERM;
> by
> qh->hw.qh.element = virt_to_bus (new) ;
>
> -----
>
> Let me (and the list) know if this doesn't fix your problem.
>
> greg k-h
>

--

=====================================================================
Mohammad A. Haque http://www.haque.net/
[email protected]

"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
[email protected]
=====================================================================