Alan,

My USB card is based on a VIA chip, so this patch may help me out.  Can you 
provide instructions on incorporating a patch like this or a web link for 
this?

Thanks,
-Clay
.
.
.
.
.

----- Original Message ----- 
From: "Alan Stern" <[EMAIL PROTECTED]>
To: "Igor Yakushin" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Sunday, January 22, 2006 5:20 PM
Subject: Re: [Linux-usb-users] USB slows down after a few minutes


On Sun, 22 Jan 2006, Igor Yakushin wrote:

> Alan,
>
>
> >
> > A few people with 64-bit Linux systems have reported problems with USB.
> > At this point it's impossible to tell whether it's caused by hardware
> > issues or problems with the driver.
>
>
> I just ran my usbburn.pl script under Windows for three hours. It worked 
> fine: 3 GB file (Fedora
> Core 4 DVD iso) was always copied to USB hard drive within about 3-4 
> minutes.
>
> I also kept plugging and unplugging USB drive and Windows always 
> recognized when the drive was
> plugged or unplugged.
>
> So I think it is 99% certain that the problem is not in hardware but in 
> lack of its support under
> Linux or, perhaps, some Linux configuration problem.

Or a hardware quirk that Linux doesn't know how to handle.

> > There have been some changes to the ehci-hcd driver posted recently. 
> > You
> > could try this one and see if it helps at all:
> >
> > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=113780678524619&w=2
>
> Thank you, I'll try it.

Come to think of it, I've got a patch for ehci-hcd that I was planning to
submit soon.  It's specifically meant for VIA controllers (like yours),
and it's more likely to help you than that other one.  The patch is below.

If it does help, please let me know.  This patch is based on hearsay, and
it would be good to make sure that it really works as intended.

Alan Stern



Index: l2615/drivers/usb/host/ehci-pci.c
===================================================================
--- l2615.orig/drivers/usb/host/ehci-pci.c
+++ l2615/drivers/usb/host/ehci-pci.c
@@ -65,6 +65,14 @@ static int ehci_pci_reinit(struct ehci_h
  int retval;
  unsigned count = 256/4;

+ /* Set VIA no-shutdown-on-babble config flag */
+ if (pdev->vendor == PCI_VENDOR_ID_VIA) {
+ u8 val;
+
+ if (pci_read_config_byte(pdev, 0x40, &val) == 0)
+ pci_write_config_byte(pdev, 0x40, val | 0x40);
+ }
+
  /* optional debug port, normally in the first BAR */
  temp = pci_find_capability(pdev, 0x0a);
  if (temp) {




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to