On Wed, Sep 21, 2005 at 05:26:21PM +0530, [EMAIL PROTECTED] wrote:
> 
> 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

My sympathies.

> 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 .

Yes.

> Has anyone observed module usage count going weird when open fails in
> case of usb-serial drivers.

Try a newer kernel, this should now be fixed.  If not, please let me
know.

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