Hey folks, I have to use a USB-Networking Cable for an embedded Linux machine at my work. Since most of the usbnet drivers are only for USB1.1 cables, it was kind of a struggle, to get one. We managed to get some PL2301 Cables from Laplink. We also had a coupple of PL2501 USB2.0 Cables lying around and since the people at work fear that 1.1 might not be available anymore in the future, I was wondering how much work it would be, to write a 2501 Driver.
After reding the Datasheet for the Prolific PL2501 Chip, I knew that the chip supports two 2301/2302 compatibility modes. To activate them, two pins at the chip need a bitcode. I have no idea, how to achieve that since the chip is molded in plastic. So (long story short) I tried out the first thing that came into my mind after reading "2301 compatibility mode". I simply added the USB ID to the PL2301 driver (0x067b, 0x2501) and compiled it. It Worked! The only "problems" I had were some error messages, but still all tests worked out. after loading the module and giving it an IP using ifconfig, I get the following error even though the IP gets set up correctly: "usb 2-2: ifconfig timed out on ep0in" another time (couldn't reproduce that) I got: "NETDEV WATCHDOG: usb1: transmit timed out" and I had a kernel panic after 'route -e'. But that also wasn't reproducable and could easily have originated from anything. To be shure, I wrote a small client/server UDP test program. - Client sends random number and packet counter - server adds 23 to random number, adds own packet counter - client compares random number (minus 23) and packetbumbers => error count I set the time between packets from the client to 1ms and had this test running up to 2,2million packets without any errors. I couldn't test high speed, because the box only has USB1.1, that would be quite interesting... SO. Can anyone tell me, what the ep0in message could mean and how I could test the stability further? regards TabascoEye Fabian Koch ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel