* Keyspan USB PDA adapter && test12pre3 hang
@ 2000-11-30 5:53 Mohammad A. Haque
2000-11-30 7:44 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Mohammad A. Haque @ 2000-11-30 5:53 UTC (permalink / raw)
To: linux-kernel
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/
mhaque@haque.net
"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
batmanppc@themes.org
=====================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Keyspan USB PDA adapter && test12pre3 hang
2000-11-30 5:53 Keyspan USB PDA adapter && test12pre3 hang Mohammad A. Haque
@ 2000-11-30 7:44 ` Greg KH
2000-11-30 8:17 ` Greg KH
2000-11-30 8:46 ` Mohammad A. Haque
0 siblings, 2 replies; 4+ messages in thread
From: Greg KH @ 2000-11-30 7:44 UTC (permalink / raw)
To: Mohammad A. Haque; +Cc: linux-kernel
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keyspan USB PDA adapter && test12pre3 hang
2000-11-30 7:44 ` Greg KH
@ 2000-11-30 8:17 ` Greg KH
2000-11-30 8:46 ` Mohammad A. Haque
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2000-11-30 8:17 UTC (permalink / raw)
To: Mohammad A. Haque, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
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
[-- Attachment #2: usb-uhci-2.4.0-test12-pre3.diff --]
[-- Type: text/plain, Size: 531 bytes --]
diff -Naur -X dontdiff linux-2.4.0-test12-pre3/drivers/usb/usb-uhci.c linux-2.4.0-test12-pre3-greg/drivers/usb/usb-uhci.c
--- linux-2.4.0-test12-pre3/drivers/usb/usb-uhci.c Wed Nov 29 23:37:19 2000
+++ linux-2.4.0-test12-pre3-greg/drivers/usb/usb-uhci.c Thu Nov 30 00:17:29 2000
@@ -272,7 +272,7 @@
if (qh == prev ) {
// virgin qh without any tds
- qh->hw.qh.element = virt_to_bus (new) | UHCI_PTR_TERM;
+ qh->hw.qh.element = virt_to_bus (new);
}
else {
// already tds inserted, implicitely remove TERM bit of prev
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Keyspan USB PDA adapter && test12pre3 hang
2000-11-30 7:44 ` Greg KH
2000-11-30 8:17 ` Greg KH
@ 2000-11-30 8:46 ` Mohammad A. Haque
1 sibling, 0 replies; 4+ messages in thread
From: Mohammad A. Haque @ 2000-11-30 8:46 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
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/
mhaque@haque.net
"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
batmanppc@themes.org
=====================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-11-30 9:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-30 5:53 Keyspan USB PDA adapter && test12pre3 hang Mohammad A. Haque
2000-11-30 7:44 ` Greg KH
2000-11-30 8:17 ` Greg KH
2000-11-30 8:46 ` Mohammad A. Haque
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox