On Sat, 3 Mar 2007 08:24:00 +0100, Oliver Neukum wrote:
>Am Freitag, 2. März 2007 22:12 schrieb Adam J. Richter:
>>      When I plug in a pl2303-based usb serial device, the device is
>> supposed to appear as /dev/tts/USB0 (character device 188, 0).
>> However, under kernels that I have tried from 2.6.20-git3 through
>> 2.6.21-rc2-git1, /dev/tts/USB<some-random-number> is created, [...]

>Please try this patch. It is needed in any case and it may be your problem's
>cause.

>       Regards
>               Oliver

>--- linux-2.6.21-rc1/drivers/usb/serial/usb-serial.c.alt       2007-02-21 
>05:32:30.000000000 +0100
>+++ linux-2.6.21-rc1/drivers/usb/serial/usb-serial.c   2007-02-26 
>15:32:50.000000000 +0100
>@@ -826,7 +826,6 @@
>                       num_ports = type->num_ports;
>       }
> 
>-      serial->minor = minor;
>       serial->num_ports = num_ports;
>       serial->num_bulk_in = num_bulk_in;
>       serial->num_bulk_out = num_bulk_out;
>@@ -980,6 +979,7 @@
>               dev_err(&interface->dev, "No more free serial devices\n");
>               goto probe_error;
>       }
>+      serial->minor = minor;
> 
>       /* register all of the individual ports with the driver core */
>       for (i = 0; i < num_ports; ++i) {


        I tried your patch on 2.6.21-rc2-git1, and it fixed my
problem.  Thank you!

Adam Richter

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to