https://bugzilla.novell.com/show_bug.cgi?id=278562 Summary: Support for Prolific PL-2501 USB-to-USB bridge driver Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Enhancement Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: alessandro@atpss.net QAContact: qa@suse.de Like found on http://www.qbik.ch/usb/devices/showdev.php?id=3950 this chip is supported by the same driver of PL-2301/PL-2302 (plusb.ko) I wrote a very simple patch: .......... SNIP .......... --- /usr/src/linux/drivers/usb/net/plusb.c 2006-09-20 05:42:06.000000000 +0200 +++ /usr/src/linux-fixed/drivers/usb/net/plusb.c 2007-05-25 14:37:38.000000000 +0200 @@ -1,5 +1,5 @@ /* - * PL-2301/2302 USB host-to-host link cables + * PL-2301/2302/2501 USB host-to-host link cables * Copyright (C) 2000-2005 by David Brownell * * This program is free software; you can redistribute it and/or modify @@ -34,7 +34,7 @@ /* - * Prolific PL-2301/PL-2302 driver ... http://www.prolifictech.com + * Prolific PL-2301/PL-2302/PL-2501 driver ... http://www.prolifictech.com * * The protocol and handshaking used here should be bug-compatible * with the Linux 2.2 "plusb" driver, by Deti Fliegl. @@ -47,6 +47,7 @@ * seems to get wedged under load. Prolific docs are weak, and * don't identify differences between PL2301 and PL2302, much less * anything to explain the different PL2302 versions observed. + * New PL2501 seem to use same code as PL2301/PL2302. */ /* @@ -97,7 +98,7 @@ } static const struct driver_info prolific_info = { - .description = "Prolific PL-2301/PL-2302", + .description = "Prolific PL-2301/PL-2302/PL-2501", .flags = FLAG_NO_SETINT, /* some PL-2302 versions seem to fail usb_set_interface() */ .reset = pl_reset, @@ -119,6 +120,9 @@ }, { USB_DEVICE(0x067b, 0x0001), // PL-2302 .driver_info = (unsigned long) &prolific_info, +},{ + USB_DEVICE(0x067b, 0x2501), // PL-2501 + .driver_info = (unsigned long) &prolific_info, }, { }, // END @@ -147,5 +151,5 @@ module_exit(plusb_exit); MODULE_AUTHOR("David Brownell"); -MODULE_DESCRIPTION("Prolific PL-2301/2302 USB Host to Host Link Driver"); +MODULE_DESCRIPTION("Prolific PL-2301/2302/2501 USB Host to Host Link Driver"); MODULE_LICENSE("GPL"); .......... SNIP .......... I tested it for an entire weekend in both ways with: 2 ram-to-ram copy, 4 ping and 2 ssh with top opened. In this way I tested IP, TCP, UDP and ICMP on high load. ifconfig doesn't repost any errors even with almost 2TB exchanged: usb0 Link encap:Ethernet HWaddr 46:6B:04:1E:35:39 inet addr:172.16.1.1 Bcast:172.16.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2013513474 errors:0 dropped:0 overruns:0 frame:0 TX packets:2017595836 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2043288051689 (1948631.3 Mb) TX bytes:2083728521921 (1987198.3 Mb) usb0 Link encap:Ethernet HWaddr 1A:7F:13:74:4E:B1 inet addr:172.16.1.2 Bcast:172.16.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2017752114 errors:0 dropped:0 overruns:0 frame:0 TX packets:2013686759 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2055624685817 (1960396.4 Mb) TX bytes:2071672314863 (1975700.6 Mb) Thank a lot to all Bye Alessandro -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.