Re: [Linux-usb-users] usbserial driver buffer size and multipledevices

2006-06-18 Thread Simon Wu
On 6/16/06, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Jun 16, 2006 at 03:55:19PM -0400, Simon Wu wrote: > > On 6/13/06, Rao, Shalini Gangadhara <[EMAIL PROTECTED]> wrote: > > >Hi Simon, > > > > > >In case of mobile devices with different vendorI

Re: [Linux-usb-users] usbserial driver buffer size and multipledevices

2006-06-16 Thread Simon Wu
On 6/13/06, Rao, Shalini Gangadhara <[EMAIL PROTECTED]> wrote: > 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 chang

[Linux-usb-users] usbserial driver buffer size and multiple devices

2006-06-12 Thread Simon Wu
Hello, We have an high speed UMTS 3G mobile that uses usbserial driver. It works fine but we noticed the speed is much lower than 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? Another

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-24 Thread Simon Wu
as 15k? By the way, the actual usb driver I am compiling is giving to me by someone else. That is why I am leaving warnings alone for now. Thanks, Simon On 10/24/05, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Oct 24, 2005 at 12:03:32PM -0400, Simon Wu wrote: > > Thanks, Greg. >

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-24 Thread Simon Wu
know. Simon On 10/22/05, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Oct 21, 2005 at 03:53:37PM -0400, Simon Wu wrote: > > Hello, > > > > I had to compile a driver based on usbserial. > > > > I compile my driver which also forced usbserial to be recompiled

[Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-21 Thread Simon Wu
Hello, I had to compile a driver based on usbserial. I compile my driver which also forced usbserial to be recompiled as well. Thing seems good on Debian with 2.6.6. But when I tried it on Fedora 3 (2.6.9) and Fedora 4 (2.6.11), the recompiled usbserial.ko is about 10 times in size compared to t

[Linux-usb-users] usbserial driver throughput low

2005-06-15 Thread Simon Wu
Hello, I have a wireless mobile/modem device that uses usbserial driver on linux. The vendor only provide custom driver for windows. The usbserial driver works work when the throughput is about 384k. But when the new modem goes to almost 2Mbps, the linux usbserial driver can only support to up ab

Re: [Linux-usb-users] what is the throughput for USB 1.10 modem

2005-02-17 Thread Simon Wu
TED]> wrote: > Simon Wu wrote: > > >Hello, > > > >I have a wireless test mobile/modem, which uses usbserial generic > >driver. It shows up on the /proc/bus/usb/devices file a Ver=1.10, > >although the USB PCI hub I used is 2.0. The USB hub driver used is > >

[Linux-usb-users] what is the throughput for USB 1.10 modem

2005-02-16 Thread Simon Wu
Hello, I have a wireless test mobile/modem, which uses usbserial generic driver. It shows up on the /proc/bus/usb/devices file a Ver=1.10, although the USB PCI hub I used is 2.0. The USB hub driver used is ohci_hcd. I can start ppp and ftp on this modem but the throughput is only 400k. However, o

[Linux-usb-users] cdc-acm driver/usb.agent freezes machine for 5 sec

2005-01-25 Thread Simon Wu
Hello, I am using the standard Fedora 2 and 3 installations. It have kernel 2.6.5 and 2.6.9. I am using one of the Nokia wireless phones on the usb port. The cdc-acm driver automatically recognizes the device. But there is some warning/error messages in /var/log/messages file. The problem is, whe

[Linux-usb-users] uab.agent take 100% CPU

2004-12-20 Thread Simon Wu
Hello, When an cdc_acm device is plugged in or out, the usb.agent processes take over all CPU capacity available. This freezes the PC for about 10 seconds. If I plug in N devices, the PC freezes for Nx10 seconds. This is seen on both kernel 2.6.5 and 2.6.9 on Fedora 2 and 3. usbserial driver dev

[Linux-usb-users] cdc-acm driver freezes machine for 5 sec

2004-12-16 Thread Simon Wu
Hello, I am using the standard Fedora 3 installation. It have kernel 2.6.9-1.667. I am using one of the Nokia wireless phones on the usb port. The cdc-acm driver automatically recognizes the device. But there is some warning/error messages in /var/log/messages file. The problem is, whenever this

[Linux-usb-users] USB I/O process uninterruptable and USB disconnect issue

2004-05-21 Thread simon wu
Hello, I am using the usbserial drive with kernel 2.6.5. It has too problems: 1. When power cycle the USB device, if the ttyUSBx port is opened by a user process, the driver will not disconnect ttyUSBx first, instead the driver searches for the next available port, usually ttyUSBx+1. This could e

[Linux-usb-users] max MINOR number for ACM device

2004-03-02 Thread simon wu
Hello, The maximum MINOR number for ACM devices is defined to be 32. Can I increase this number to 64 or 128 and recompile the kernel? I'd like to connect more than 32 low speed (less than 1M) devices to the same PC. Thanks, Simon _

Re: [Linux-usb-users] Need a contractor to write linux USB driver

2004-02-12 Thread simon wu
Marcel, I must thank your for all the help you provided. I compiled kernel 2.4.24 and every thing works so well. All my problem are gone. Thanks so much for your time and kindness. Simon From: Marcel Holtmann <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTEC

Re: [Linux-usb-users] Need a contractor to write linux USB driver

2004-02-11 Thread simon wu
.18. However, when we moved to 2.6.1, "kernel panic" don't happen as often but problem 1 still there. Thanks a lot for your help. Simon From: Marcel Holtmann <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users] Need

Re: [Linux-usb-users] Need a contractor to write linux USB driver

2004-02-11 Thread simon wu
Marcel, We are currently using generic usbserial driver. It works but not very well. The Nokia phone is apparently not compabible with the existing ACM driver. When we plug it in, the ACM doesn't claim it. However, another vendor's phone would work with ACM. Because Nokia is not release the li

[Linux-usb-users] Need a contractor to write linux USB driver

2004-02-10 Thread simon wu
Hello, I work for a major wireless equipment provider. We need a linux USB driver for one of Nokia's 3G mobile phones. If you are interested in this contract job, please let me know. The device detail follows: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=0

[Linux-usb-users] USB bug: causing kernel panic

2004-01-09 Thread simon wu
Hello, I'd like to report a USB bug that causes kernel panic and PC frozen. I am using the usbserial driver. After starting pppd on ttyUSB0, the USB modem is either unplugged from the PC or powered off. At this moment, if the pppd is killed (which will write the ttyUSB0), it will cause "kernel pa

Re: [Linux-usb-users] How to unmount a specific ttyUSB device?

2003-10-06 Thread simon wu
dynamically. Thanks, Simon From: Greg KH <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users] How to unmount a specific ttyUSB device? Date: Sat, 27 Sep 2003 15:53:23 -0700 On Sat, Sep 27, 2003 at 01:25:57PM +, simon wu wrote: >

Re: [Linux-usb-users] How to unmount a specific ttyUSB device?

2003-09-27 Thread simon wu
Greg, By unloading the driver, the other connected devices do get affected. This is exactly what I am trying to avoid. I guess no other ways? Thanks, Simon From: Greg KH <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users] Ho

[Linux-usb-users] How to unmount a specific ttyUSB device?

2003-09-22 Thread simon wu
unplug/plug or power cycle the device? Thanks a lot. Simon Wu _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --- This

Re: [Linux-usb-users] kernel panic with ppp/usbserial driver

2003-09-03 Thread simon wu
also related to ppp or TCP/IP as I am doing ftp over the ppp. Unfortunately, I couldn't find any meaningful logs. Thanks very much, Simon From: Greg KH <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users] kernel panic with ppp

[Linux-usb-users] kernel panic with ppp/usbserial driver

2003-09-03 Thread simon wu
Hello, I am running ppp test on Dell P3 PC with Redhat 8.0. The modems are wireless mobile phone which uses usbserial driver. The system often lock up with the following console message: Kernel panic: Aiee, killing interrupt handler In interrupt handler: not syncing Any suggestion how I can fix

Re: [Linux-usb-users] usbserial driver for more than one vendors

2003-07-29 Thread simon wu
iver to do the same? Unfortunate, not all 3G wireless mobiles uses the ACM driver. Can you point me to some document on how to add device through sysfs? Thanks, Simon From: Greg KH <[EMAIL PROTECTED]> To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users

Re: [Linux-usb-users] usbserial driver for more than one vendors

2003-07-29 Thread simon wu
erent product working on the said machine at the same time. Is there any way to load the serial driver without specific vendor and product id? Thanks, Simon From: "Stephen J. Gowdy" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: simon wu <[EMAIL PROTECTED]> CC: [EMAIL PRO

[Linux-usb-users] usbserial driver for more than one vendors

2003-07-27 Thread simon wu
Hello, I have two devices of different vendors (and products) that need to use the usbserial driver. Is there any way I can make it happen. /sbin/insmod usbserial vendor=0xabcd product=0x1234 will not work. Thanks, Simon _ Protec

[Linux-usb-users] usb root driver for Redhat 6.2

2003-07-07 Thread simon wu
Hello, I have a system with RH6.2. It have /proc/bus/usb/ files sytem but no devices and drivers files. "lspci" command shows a USB (built-in) card is there. But lsmod dosn't show any USB drivers. Could anyone let me know which rpm packages do I need to have the usb-ohci and usb-uhci, acm and

[Linux-usb-users] Cannot detect PCI-USB2.0 card on some PC

2003-02-17 Thread Simon Wu
either. Is there any way I can force the installation of the PCI-USB2.0 card? Thanks, Simon From: "Stephen J. Gowdy" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Simon Wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users] How to find whic

[Linux-usb-users] How to find which version of USB on my linux box

2003-01-28 Thread Simon Wu
Hello, I'd like to find out what USB version on running on my Linux PC. Any command does that job? Also, I have kernel 2.4.20 tarball extacted in my PC. I'd like to apply patch-2.4.21-pre3 with command "patch -p0 patch-2.4.21-pre3", but this just hangs there forever. So, can I just compile ke

[Linux-usb-users] Need to upgrade to USB2.0

2003-01-24 Thread Simon Wu
Hello, I am a redhat 7.2 users. I would like to upgrade to USB2.0 in order to support my PCI-USB2.0 host. Can you let me know what is the best way to upgrade? Upgrade to RedHat 8.0 (does it support USB2.0 driver?) or recompile a later kernel (which version ?)? Thanks, Simon ___

[Linux-usb-users] USB1.1: what decides Low Speed and Full Speed?

2003-01-10 Thread Simon Wu
Hello, I am testing my special modems with Redhat 7.2 in Dell Pentium3 PC which has a built-in USB host. When I put two modem in the two built-in USB port, the modems can both reach up to the maximum speed 384kb/s. Because I need to test more than 2 modems, so I used a USB1.1 hub. However, the

Re: [Linux-usb-users] How to add a 2nd PCI-USB host

2003-01-09 Thread Simon Wu
Thanks Steve. Can you tell me how to load the driver? I am only a linux user, not into driver stuff yet. Sion From: "Stephen J. Gowdy" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Simon Wu <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Linux-usb-users

Re: [Linux-usb-users] How to add a 2nd PCI-USB host

2003-01-09 Thread Simon Wu
ties: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- From: "Stephen J. Gowdy" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Simon Wu <[

[Linux-usb-users] How to add a 2nd PCI-USB host

2003-01-09 Thread Simon Wu
PLEASE REPLY ALL AS I AM NOT ON THE MAILING LIST Hello, I have a Dell Pentium3 PC which has a built-in USB host. I need to expand the USB ports so I added a 4-port USB1.1 hub. However when I connected more than two 384kbps modems (ACM modem) to the hub, the speed on some modem drop dramatica

RE: [Linux-usb-users] Matching devices with drivers

2002-04-23 Thread Simon Wu
:EXCH] Cc: Wayne, Richard [WDLN2:2X21:EXCH]; '[EMAIL PROTECTED]' Subject:    Re: [Linux-usb-users] Matching devices with drivers On Fri, Apr 19, 2002 at 10:27:12PM -0400, Simon Wu wrote: > Greg, > > Please send me the exact command, the P line is: > > P:  Vendor=0

RE: [Linux-usb-users] Matching devices with drivers

2002-04-19 Thread Simon Wu
Title: RE: [Linux-usb-users] Matching devices with drivers Greg, I work with Richard on this matter. The /proc/bus/usb/devices say Cls=ff (details below). But the device only have driver for Windows 2000. On windows 2000 we can talk AT commands with it. So, we think if me can force Linux AC

[Linux-usb-users] How to send AT cmd to a mobile modem?

2002-03-24 Thread Simon Wu
don't know how to associate this device with a port in /dev/usb or just /dev/?   Also, if there is a /dev file associated with the new device 017, can I just open the dev file to read and write to it, eg, send an AT command to it? Or do I need any special device driver?   Thanks,     Simon Wu