Prolific PL-25A1 USB-to-USB bridge in Linux

I am reporting on how I got the above-mentioned device to bridge two Debian Linux systems. One is a normal system, and the other is my BeagleBoard. In my recent BeagleBoard post, I mentioned patching and installing the necessary plusb.c driver. Once the driver is working, you will have a new usbX network interface (view with `ifconfig -a`). To send packets, I chose IP addresses for my endpoints.

On the BeagleBoard (the interface is usb1; usb0 is taken by a USB ethernet adapter):
ifconfig usb1 10.0.0.1 netmask 255.255.255.255 up
route add -host 10.0.0.2 usb1

On the regular x86 system:
ifconfig usb0 10.0.0.2 netmask 255.255.255.255 up
route add -host 10.0.0.1 usb0

Then it worked. The mailing lists claim this Prolific chip is flaky, but I’ve had good luck so far.

Advertisements

2 thoughts on “Prolific PL-25A1 USB-to-USB bridge in Linux

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s