Hi all,
i have a usb-DSL-modem with 3 interfaces:

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1039 ProdID=2120 Rev=50.8b
S:  Product=ADSL-USB Modem
S:  SerialNumber=000B3B00CEAF
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=400mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=07 Prot=00 Driver=eagledsl
E:  Ad=84(I) Atr=03(Int.) MxPS=  32 Ivl=1ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=eagledsl
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=eagledsl
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 1 Cls=0a(data ) Sub=00 Prot=00 Driver=eagledsl
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
...


my driver claims the 2 additional interfaces with the first probe:

usb_driver_claim_interface(&eagledsl_driver,&(udev->actconfig->interface[USB_IF_OUT]), 
dev);
usb_driver_claim_interface(&eagledsl_driver,&(udev->actconfig->interface[USB_IF_IN]), 
dev);



but probe is called 2 times more by usb-core:

usb 2-1: Product: ADSL-USB Modem
usb 2-1: SerialNumber: 000B3B00CEAF
drivers/usb/core/usb.c: usb_hotplug
usb 2-1: usb_new_device - registering interface 2-1:0
drivers/usb/core/usb.c: usb_hotplug
eagledsl 2-1:0: usb_device_probe
eagledsl 2-1:0: usb_device_probe - got id
drivers/usb/core/usb.c: eagledsl driver claimed interface d535e52c
drivers/usb/core/usb.c: eagledsl driver claimed interface d535e658
usb 2-1: usb_new_device - registering interface 2-1:1
drivers/usb/core/usb.c: usb_hotplug
eagledsl 2-1:1: usb_device_probe
eagledsl 2-1:1: usb_device_probe - got id
uhci-hcd 00:1d.1: shutdown urb d442dc80 pipe 40420680 ep4in-intr
/home/kay/dslmodem/eagledsl/driver/eagledsl.c: interface already claimed
usb 2-1: usb_new_device - registering interface 2-1:2
drivers/usb/core/usb.c: usb_hotplug
eagledsl 2-1:2: usb_device_probe
eagledsl 2-1:2: usb_device_probe - got id
/home/kay/dslmodem/eagledsl/driver/eagledsl.c: interface already claimed



Is there any way to prevent the probing after claiming all interfaces
with the first probe? Or is it the normal behaviour and must be handled
with usb_interface_claimed()?


thanks

Kay



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to