Oliver Neukum escribió:
> Am Donnerstag, 3. Mai 2007 22:00 schrieb Alex Villací­s Lasso:
>   
>> - kingsun_net_open() allocates the URB and (in successful completion) 
>> leaves the device in the open state. A suspend/resume cycle here will 
>> submit rx_urb, but the interface is supposed to be opened.
>>     
>
> Sorry, you are right. I misremembered where the URB is allocated.
> Why do you allocate the buffers in probe() but the URBs in open() ?
>
>       Regards
>               Oliver
>
>   
I think it was because I was taking the model from stir4200 and mcs7780, 
and it seemed to me that they followed this pattern. If this could cause 
any problems, I can rework the driver to only allocate in one of the 
functions (most possibly in open() ).

In other news, apparently there is no support whatsoever for speed 
change in the dongle, or else the WinXP driver does not know how to use 
it. I tested by placing my cell phone in front of the dongle and 
repeatedly using the "probe modem" functionality after various speed 
changes in a different tab of the modem properties dialog... or this 
might be the wrong way of coaxing the driver into submitting speed 
changes, and somebody can suggest another way to make the driver reveal 
the presumed control message.

I will prepare a proper patch for the kernel tree and submit it tomorrow 
or Monday, both here and to Samuel Ortiz <[EMAIL PROTECTED]> who is 
listed as maintainer of the IrDA subsystem. Is there any additional step 
I should do?

Alex Villacís Lasso

-- 
perl -e '$x = 2.4; print sprintf("%.0f + %.0f = %.0f\n", $x, $x, $x + $x);'


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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