Hello Greg ,
Thanks for the reply .

The driver in question is still in development stages and is yet not
released . 
I am developing and testing this on 2.6.9 kernel 

I have one more query -
With the driver open() having error handling code for usb_submit_urb as

                result = usb_submit_urb(port->interrupt_in_urb,
GFP_KERNEL);
                if (result) {
                        oxsemi_dbg("usb_submit_urb failed with value
%d\n",
        
CRITICAL,result);
                        oxsemi_close(port,NULL);
                        oxsemi_dbg("[EXIT]", CRITICAL);
                        return -EPROTO;
                } 

When I do a setserial /dev/ttyUSB0, open fails as submit_urb fails . But
after this I find the usage count of the driver going to some huge
number 4294967295. Why is the usage count showing such high count. Am I
missing something here.Is this an issue with the usb-serial layer not
handling the module usage counts .
Has anyone observed module usage count going weird when open fails in
case of usb-serial drivers.

Regards,
Monali.


> -----Original Message-----
> From: Greg KH [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 21, 2005 2:14 AM
> To: Monali Vishnu Katkar (WT01 - Semiconductors & Consumer 
> Electronics)
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: [linux-usb-devel] USB Serial adapter 1.1 
> connected to a 2.0 Hub - usb_submit_urb fails with error -28
> 
> 
> On Tue, Sep 20, 2005 at 07:39:33PM +0530,
> [EMAIL PROTECTED] wrote:
> > 
> > Hello all ,
> > 
> > I am facing an issue when using my usb-serial adapter( USB 1.1
> > compliant) connected to the host via a 2.0 Hub ( from Adaptec, Inc)
> > 
> > The setup is something like this .
> > Linux host with Redhat 2.6.9 kernel --> USB 2.0 Hub --> USB-serial 
> > converter
> > --> indicates usb cables
> > The Linux host has an Intel Pentium CPU 1.80GHz (ehci_hcd,uhci_hcd
> > modules loaded)
> > 
> > When i open the serial port on the USB-Serial converter, I
> get a call
> > in my driver open(). However when i try to submit a URB in
> the open()
> > usb_submit_urb fails with error -28. I have also tried the
> same with a
> > different 2.0 Hub (from NEC Corp), but it fails with the
> same error .
> 
> Yes, this is a known issue.  Try 2.6.13, that works much
> better, but still, it's not all correct.  There are some 
> patches floating around on the list to help fix this up.
> 
> > drivers/usb/serial/ox-semi.c: OxFord SemiConductor's USB-RS232
> > converter driver v1.2
> 
> I don't see this driver in the main kernel tree.  Do you have
> a pointer to the source for it anywhere?
> 
> thanks,
> 
> greg k-h
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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