Hi Simon,

In case of mobile devices with different vendorID/productID, you try to
use USB_DEVICE_INFO macro to identify your mobile devices. Since the
devices are with differences vendor ID and product ID.

With these changes your driver recognizes all of your mobile devices. I
hope 
you understand this.

Regards,
Shalini G 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg
KH
Sent: Monday, June 12, 2006 10:50 PM
To: Simon Wu
Cc: [email protected]
Subject: Re: [Linux-usb-users] usbserial driver buffer size and
multipledevices

On Mon, Jun 12, 2006 at 10:15:39AM -0400, Simon Wu wrote:
> Hello,
> 
> We have an high speed UMTS 3G mobile that uses usbserial driver.

Who is "we"?

> It works fine but we noticed the speed is much lower than expected.

Which usb-serial driver, the generic one?  If so, yes, that's expected
:)

> Then we changed the buffer size to a static 2048 bytes in usb-serial.c
> and the mobile transfer speed is very good.
> 
> Is this the proper way to do it?

A simple search of the archives would show that this is not the way to
do it.

> Another question: we have more than one 3G mobiles in the same system,
> each have a different vendorID/productID. But usbserial can only load
> one id per machine. Any suggestion how to modify the usbserial driver
> to allow multiple vendorID/productID?

Ah, you are using the generic driver, don't.  Create a new usb-serial
drivr for this device, which will allow you to increase the data rates
and handle more devices properly.  The generic driver is not ment for
"real" workloads like you are trying to use it for.

thanks,

greg k-h


_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users


_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to