mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* usbnet: prolific fails reset
@ 2002-04-12 20:48 Kurt Garloff
  2002-04-13  0:16 ` David Brownell
  2002-04-13  9:47 ` [BUG] oops with USB mass storage and DiskOnKey Tommi Kyntola
  0 siblings, 2 replies; 4+ messages in thread
From: Kurt Garloff @ 2002-04-12 20:48 UTC (permalink / raw)
  To: David Brownell; +Cc: Linux kernel list


[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]

Hi David,

got a USB network cable and was happy to see that it's supported by usbnet.
Good job, thanks!
usb0: register usbnet 001/004, Prolific PL-2301/PL-2302

However:
Upon ifconfig,
usb-uhci.c: interrupt, status 3, frame# 922
usb0: open reset fail (-32) usbnet 001/004, Prolific PL-2301/PL-2302

The ifconfig fails to up the interface, consequently.

Attached patch prevents the driver from returning the reset failure.
Guess what: The networking worked just fine then.
Probably the real solution is different ...

Patch is against 2.4.16.

Regards,
-- 
Kurt Garloff                   <kurt@garloff.de>         [Eindhoven, NL]
Physics: Plasma simulations  <K.Garloff@Phys.TUE.NL>  [TU Eindhoven, NL]
Linux: SCSI, Security          <garloff@suse.de>    [SuSE Nuernberg, DE]
 (See mail header or public key servers for PGP2 and GPG public keys.)

[-- Attachment #1.2: usbnet-ignore-failed-reset-2416.diff --]
[-- Type: text/plain, Size: 295 bytes --]

--- linux/drivers/usb/usbnet.c~	Tue Dec 18 12:45:53 2001
+++ linux/drivers/usb/usbnet.c	Thu Apr 11 20:02:51 2002
@@ -1487,7 +1487,7 @@
 			retval,
 			dev->udev->bus->busnum, dev->udev->devnum,
 			info->description);
-		goto done;
+		//goto done;
 	}
 
 	// insist peer be connected

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-13 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12 20:48 usbnet: prolific fails reset Kurt Garloff
2002-04-13  0:16 ` David Brownell
2002-04-13  9:47 ` [BUG] oops with USB mass storage and DiskOnKey Tommi Kyntola
2002-04-13 11:09   ` Tommi Kyntola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®