Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
seltrecht
Posts: 5
Joined: 09 Jan 2010, 20:39

AVM Fritz!Wlan SUB Stick N

Post by seltrecht » 09 Jan 2010, 20:47

I want to switch my AVM Wlan Stick from storage to wlan-mode.
But it wll not work. What is the right config?

Here is the log of UsbSnoop:

[52 ms] UsbSnoop - FilterAddDevice(edf39748) : DriverObject 86922658, pdo 86858a48
[53 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_LEGACY_BUS_INFORMATION)
[53 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_LEGACY_BUS_INFORMATION)
[53 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_RESOURCE_REQUIREMENTS)
[53 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_RESOURCE_REQUIREMENTS)
[53 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
[53 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
[53 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_START_DEVICE)
[53 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_START_DEVICE)
[53 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[53 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[53 ms] >>> URB 1 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000012
TransferBuffer = 86d52d00
TransferBufferMDL = 00000000
Index = 00000000
DescriptorType = 00000001 (USB_DEVICE_DESCRIPTOR_TYPE)
LanguageId = 00000000
[53 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_SYSTEM_CONTROL
[55 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[55 ms] <<< URB 1 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000012
TransferBuffer = 86d52d00
TransferBufferMDL = 86877a78
00000000: 12 01 00 02 00 00 00 40 7c 05 ff 84 03 04 10 20
00000010: 30 01
UrbLink = 00000000
SetupPacket =
00000000: 80 06 00 01 00 00 12 00
[55 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[55 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[55 ms] >>> URB 2 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000009
TransferBuffer = 8679f3b8
TransferBufferMDL = 00000000
Index = 00000000
DescriptorType = 00000002 (USB_CONFIGURATION_DESCRIPTOR_TYPE)
LanguageId = 00000000
[59 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[59 ms] <<< URB 2 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000009
TransferBuffer = 8679f3b8
TransferBufferMDL = 86877a78
00000000: 09 02 20 00 01 01 00 80 fa
UrbLink = 00000000
SetupPacket =
00000000: 80 06 00 02 00 00 09 00
[59 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[59 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[59 ms] >>> URB 3 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000020
TransferBuffer = 86905b10
TransferBufferMDL = 00000000
Index = 00000000
DescriptorType = 00000002 (USB_CONFIGURATION_DESCRIPTOR_TYPE)
LanguageId = 00000000
[63 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[63 ms] <<< URB 3 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000020
TransferBuffer = 86905b10
TransferBufferMDL = 86877a78
00000000: 09 02 20 00 01 01 00 80 fa 09 04 00 00 02 08 02
00000010: 50 00 07 05 01 02 00 02 00 07 05 82 02 00 02 00
UrbLink = 00000000
SetupPacket =
00000000: 80 06 00 02 00 00 20 00
[63 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[63 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[63 ms] >>> URB 4 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000002
TransferBuffer = 86edb910
TransferBufferMDL = 00000000
Index = 00000000
DescriptorType = 00000003 (USB_STRING_DESCRIPTOR_TYPE)
LanguageId = 00000000
[66 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[66 ms] <<< URB 4 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000002
TransferBuffer = 86edb910
TransferBufferMDL = 86877a78
00000000: 04 03
UrbLink = 00000000
SetupPacket =
00000000: 80 06 00 03 00 00 02 00
[66 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[66 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[66 ms] >>> URB 5 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000004
TransferBuffer = 86edb910
TransferBufferMDL = 00000000
Index = 00000000
DescriptorType = 00000003 (USB_STRING_DESCRIPTOR_TYPE)
LanguageId = 00000000
[70 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[70 ms] <<< URB 5 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000004
TransferBuffer = 86edb910
TransferBufferMDL = 86877a78
00000000: 04 03 09 04
UrbLink = 00000000
SetupPacket =
00000000: 80 06 00 03 00 00 04 00
[70 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[70 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[70 ms] >>> URB 6 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 00000002
TransferBuffer = 86edb910
TransferBufferMDL = 00000000
Index = 00000030
DescriptorType = 00000003 (USB_STRING_DESCRIPTOR_TYPE)
LanguageId = 00000409
[73 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[73 ms] <<< URB 6 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000002
TransferBuffer = 86edb910
TransferBufferMDL = 86877a78
00000000: 1a 03
UrbLink = 00000000
SetupPacket =
00000000: 80 06 30 03 09 04 02 00
[73 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[73 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[73 ms] >>> URB 7 going down >>>
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
TransferBufferLength = 0000001a
TransferBuffer = 8690ea98
TransferBufferMDL = 00000000
Index = 00000030
DescriptorType = 00000003 (USB_STRING_DESCRIPTOR_TYPE)
LanguageId = 00000409
[77 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[77 ms] <<< URB 7 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000001a
TransferBuffer = 8690ea98
TransferBufferMDL = 86877a78
00000000: 1a 03 30 00 30 00 31 00 46 00 33 00 46 00 30 00
00000010: 43 00 33 00 33 00 43 00 36 00
UrbLink = 00000000
SetupPacket =
00000000: 80 06 30 03 09 04 1a 00
[77 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[77 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[77 ms] >>> URB 8 going down >>>
-- URB_FUNCTION_SELECT_CONFIGURATION:
ConfigurationDescriptor = 0x86905b10 (configure)
ConfigurationDescriptor : bLength = 9
ConfigurationDescriptor : bDescriptorType = 0x00000002
ConfigurationDescriptor : wTotalLength = 0x00000020
ConfigurationDescriptor : bNumInterfaces = 0x00000001
ConfigurationDescriptor : bConfigurationValue = 0x00000001
ConfigurationDescriptor : iConfiguration = 0x00000000
ConfigurationDescriptor : bmAttributes = 0x00000080
ConfigurationDescriptor : MaxPower = 0x000000fa
ConfigurationHandle = 0x00000000
Interface[0]: Length = 56
Interface[0]: InterfaceNumber = 0
Interface[0]: AlternateSetting = 0
[115 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=0
[115 ms] <<< URB 8 coming back <<<
-- URB_FUNCTION_SELECT_CONFIGURATION:
ConfigurationDescriptor = 0x86905b10 (configure)
ConfigurationDescriptor : bLength = 9
ConfigurationDescriptor : bDescriptorType = 0x00000002
ConfigurationDescriptor : wTotalLength = 0x00000020
ConfigurationDescriptor : bNumInterfaces = 0x00000001
ConfigurationDescriptor : bConfigurationValue = 0x00000001
ConfigurationDescriptor : iConfiguration = 0x00000000
ConfigurationDescriptor : bmAttributes = 0x00000080
ConfigurationDescriptor : MaxPower = 0x000000fa
ConfigurationHandle = 0x868a0bb0
Interface[0]: Length = 56
Interface[0]: InterfaceNumber = 0
Interface[0]: AlternateSetting = 0
Interface[0]: Class = 0x00000008
Interface[0]: SubClass = 0x00000002
Interface[0]: Protocol = 0x00000050
Interface[0]: InterfaceHandle = 0x86f0a830
Interface[0]: NumberOfPipes = 2
Interface[0]: Pipes[0] : MaximumPacketSize = 0x00000200
Interface[0]: Pipes[0] : EndpointAddress = 0x00000001
Interface[0]: Pipes[0] : Interval = 0x00000000
Interface[0]: Pipes[0] : PipeType = 0x00000002 (UsbdPipeTypeBulk)
Interface[0]: Pipes[0] : PipeHandle = 0x86f0a84c
Interface[0]: Pipes[0] : MaxTransferSize = 0x00001000
Interface[0]: Pipes[0] : PipeFlags = 0x00000000
Interface[0]: Pipes[1] : MaximumPacketSize = 0x00000200
Interface[0]: Pipes[1] : EndpointAddress = 0x00000082
Interface[0]: Pipes[1] : Interval = 0x00000000
Interface[0]: Pipes[1] : PipeType = 0x00000002 (UsbdPipeTypeBulk)
Interface[0]: Pipes[1] : PipeHandle = 0x86f0a86c
Interface[0]: Pipes[1] : MaxTransferSize = 0x00001000
Interface[0]: Pipes[1] : PipeFlags = 0x00000000
[115 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[115 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[115 ms] >>> URB 9 going down >>>
-- URB_FUNCTION_SELECT_INTERFACE:
ConfigurationHandle = 0x868a0bb0
Interface: Length = 56
Interface: InterfaceNumber = 0
Interface: AlternateSetting = 0
Interface: Class = 0x00000008
Interface: SubClass = 0x00000002
Interface: Protocol = 0x00000050
Interface: InterfaceHandle = 86f0a830
Interface: NumberOfPipes = 2
[155 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=0
[155 ms] <<< URB 9 coming back <<<
-- URB_FUNCTION_SELECT_INTERFACE:
ConfigurationHandle = 0x868a0bb0
Interface: Length = 56
Interface: InterfaceNumber = 0
Interface: AlternateSetting = 0
Interface: Class = 0x00000008
Interface: SubClass = 0x00000002
Interface: Protocol = 0x00000050
Interface: InterfaceHandle = 86d3c9b0
Interface: NumberOfPipes = 2
Interface: Pipes[0] : MaximumPacketSize = 0x00000200
Interface: Pipes[0] : EndpointAddress = 0x00000001
Interface: Pipes[0] : Interval = 0x00000000
Interface: Pipes[0] : PipeType = 0x00000002 (UsbdPipeTypeBulk)
Interface: Pipes[0] : PipeHandle = 0x86d3c9cc
Interface: Pipes[0] : MaxTransferSize = 0x00010000
Interface: Pipes[0] : PipeFlags = 0x00000000
Interface: Pipes[1] : MaximumPacketSize = 0x00000200
Interface: Pipes[1] : EndpointAddress = 0x00000082
Interface: Pipes[1] : Interval = 0x00000000
Interface: Pipes[1] : PipeType = 0x00000002 (UsbdPipeTypeBulk)
Interface: Pipes[1] : PipeHandle = 0x86d3c9ec
Interface: Pipes[1] : MaxTransferSize = 0x00010000
Interface: Pipes[1] : PipeFlags = 0x00000000
[155 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[155 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=0
[155 ms] >>> URB 10 going down >>>
-- URB_FUNCTION_CLASS_INTERFACE:
TransferFlags = 00000001 (USBD_TRANSFER_DIRECTION_IN, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000001
TransferBuffer = 86d2fae0
TransferBufferMDL = 00000000
UrbLink = 00000000
RequestTypeReservedBits = 00000000
Request = 000000fe
Value = 00000000
Index = 00000000
[162 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=00000000, Irp=86c80678, Context=86d0d520, IRQL=2
[162 ms] <<< URB 10 coming back <<<
-- URB_FUNCTION_CONTROL_TRANSFER:
PipeHandle = 86db89e0
TransferFlags = 0000000b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000001
TransferBuffer = 86d2fae0
TransferBufferMDL = 867fe940
00000000: 00
UrbLink = 00000000
SetupPacket =
00000000: a1 fe 00 00 00 00 01 00
[162 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[162 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=2
[162 ms] >>> URB 11 going down >>>
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9cc [endpoint 0x00000001]
TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000001f
TransferBuffer = 8678c9b0
TransferBufferMDL = 00000000
00000000: 55 53 42 43 78 06 c8 86 24 00 00 00 80 00 0c 12
00000010: 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00
UrbLink = 00000000
[162 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=867b7c28, Irp=86c80678, Context=86d0d520, IRQL=2
[162 ms] <<< URB 11 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9cc [endpoint 0x00000001]
TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000001f
TransferBuffer = 8678c9b0
TransferBufferMDL = 867938a0
UrbLink = 00000000
[162 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[162 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=2
[162 ms] >>> URB 12 going down >>>
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000002 (USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000024
TransferBuffer = 00000000
TransferBufferMDL = 867fe940
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00
UrbLink = 00000000
[164 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=867b7c28, Irp=86c80678, Context=86d0d520, IRQL=2
[164 ms] <<< URB 12 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000024
TransferBuffer = 00000000
TransferBufferMDL = 867fe940
00000000: 05 80 00 21 1f 00 00 00 46 52 49 54 5a 21 20 20
00000010: 57 4c 41 4e 20 73 65 6c 66 69 6e 73 74 61 6c 6c
00000020: 31 2e 30 30
UrbLink = 00000000
[164 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[164 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86c80678, IRQL=2
[164 ms] >>> URB 13 going down >>>
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000002 (USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000200
TransferBuffer = 8678c9b0
TransferBufferMDL = 00000000
00000000: 55 53 42 43 78 06 c8 86 24 00 00 00 80 00 0c 12
00000010: 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
UrbLink = 00000000
[164 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=867b7c28, Irp=86c80678, Context=86d0d520, IRQL=2
[164 ms] <<< URB 13 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000000d
TransferBuffer = 8678c9b0
TransferBufferMDL = 867938a0
00000000: 55 53 42 53 78 06 c8 86 00 00 00 00 00
UrbLink = 00000000
[164 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_INTERFACE)
[164 ms] UsbSnoop - FilterDispatchPnp: Query for Bus interface for USB Function Drivers.
[164 ms] InterfaceType: USB_BUS_INTERFACE_USBDI_GUID
[164 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_INTERFACE)
[164 ms] UsbSnoop - FdoHookDispatchPnp: Query for Bus interface for USB Function Drivers.
[164 ms] InterfaceType: USB_BUS_INTERFACE_USBDI_GUID
[164 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[164 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[164 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_PNP_DEVICE_STATE)
[164 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_PNP_DEVICE_STATE)
[164 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[164 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[164 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[164 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[166 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[166 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=867c9b80, IRQL=2
[166 ms] >>> URB 14 going down >>>
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9cc [endpoint 0x00000001]
TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000001f
TransferBuffer = 8678c9b0
TransferBufferMDL = 00000000
00000000: 55 53 42 43 80 9b 7c 86 24 00 00 00 80 00 0c 12
00000010: 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00
UrbLink = 00000000
[166 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=867b7c28, Irp=867c9b80, Context=86d0d520, IRQL=2
[166 ms] <<< URB 14 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9cc [endpoint 0x00000001]
TransferFlags = 00000000 (USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000001f
TransferBuffer = 8678c9b0
TransferBufferMDL = 867938a0
UrbLink = 00000000
[166 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[166 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=867c9b80, IRQL=2
[166 ms] >>> URB 15 going down >>>
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000002 (USBD_TRANSFER_DIRECTION_OUT, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000024
TransferBuffer = 00000000
TransferBufferMDL = 867fe940
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000010: 00 c0 37 82 00 00 00 00 00 00 00 00 00 00 00 00
00000020: 00 00 00 00
UrbLink = 00000000
[166 ms] UsbSnoop - MyInternalIOCTLCompletion(edf35126) : fido=867b7c28, Irp=867c9b80, Context=86d0d520, IRQL=2
[166 ms] <<< URB 15 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = 86d3c9ec [endpoint 0x00000082]
TransferFlags = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 00000000
TransferBuffer = 00000000
TransferBufferMDL = 867fe940
UrbLink = 00000000
[166 ms] UsbSnoop - FilterDispatchAny(edf34fd2) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[166 ms] UsbSnoop - FdoHookDispatchInternalIoctl(edf351ea) : fdo=867d6020, Irp=86879008, IRQL=0
[168 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[168 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[302 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[302 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[302 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[302 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[318 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_SURPRISE_REMOVAL)
[318 ms] UsbSnoop - FdoHookDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_SURPRISE_REMOVAL)
[340 ms] UsbSnoop - FilterDispatchPnp(edf3945c) : IRP_MJ_PNP (IRP_MN_REMOVE_DEVICE)

I cant find the right message.

Thanks Ingolf

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 09 Jan 2010, 23:08

I assume you already tried the "80 00 0c 12" bulk message.

If that's not working, we'd have to send the bulk transfer immediately before the SURPRISE_REMOVAL. There are obviously no other possibilities. Good preparation, by the way.

Give me one hour.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 10 Jan 2010, 00:12

Try that version (packed source file):
usb_modeswitch.c.bz2

Use it with the -A option:
./usb_modeswitch -v <vid> -p <pid> -A

Edit:
File removed, there was an easier way.
Last edited by Josh on 10 Jan 2010, 17:18, edited 1 time in total.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 10 Jan 2010, 00:26

BTW, what are the IDs of the device?

If it's 057c:84ff you can also try the START/STOP message:

MessageContent="5553424312345678000000000000061b000000ff0000000000000000000000"

seltrecht
Posts: 5
Joined: 09 Jan 2010, 20:39

Post by seltrecht » 10 Jan 2010, 12:57

Yes the IDs are right.
But at witch endpoint i must send the message?
Josh wrote:BTW, what are the IDs of the device?

If it's 057c:84ff you can also try the START/STOP message:

MessageContent="5553424312345678000000000000061b000000ff0000000000000000000000"

seltrecht
Posts: 5
Joined: 09 Jan 2010, 20:39

Post by seltrecht » 10 Jan 2010, 13:09

Ok, i sent the message at endpoint 0x01 and the stick siwtches from strorage to wlan.

But usb_modeswitch gives an error:

Looking for target devices
No target device found
Looking for default devices
Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
OK, driver found ("dummy")
OK, Driver "dummy" successfully detached
Setting up communication with device
Trying to send the message
Sending the message returned error -6, trying to continue ...
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

Error: releasing interface failed (error -6). Trying to continue

By th way the lan interface will work. Can i irgnore this error?
Now i will make it with udev.

Thank you at the moment!

seltrecht wrote:Yes the IDs are right.
But at witch endpoint i must send the message?
Josh wrote:BTW, what are the IDs of the device?

If it's 057c:84ff you can also try the START/STOP message:

MessageContent="5553424312345678000000000000061b000000ff0000000000000000000000"

seltrecht
Posts: 5
Joined: 09 Jan 2010, 20:39

Post by seltrecht » 10 Jan 2010, 13:35

Hi Josh,

it seems to work.

Here my line from usb_modeswitch.conf

########################################################
# AVM!Fritz wlan N
#
DefaultVendor= 0x057c
DefaultProduct= 0x84ff

TargetVendor= 0x057c
TargetProduct= 0x8401

MessageEndpoint=0x01
MessageContent="5553424312345678000000000000061b000000ff0000000000000000000000"

and here the udev-rules:

# AVM!Fritz WLAN N
SYSFS{idVendor}=="057c", SYSFS{idProduct}=="84ff", RUN+="/usr/sbin/usb_modeswitch"


That is perfect!!!!

For testing is was important for me to stop the automatic mount of SuSe 11.2 with udev rules:

Her the content of 10-fritz_wlan.rules

# UDEV-Regel fuer Fritz!WLAN USB-Stick Version ID 6201
# Verhindert die Einbindung als CD-ROM
# Stick-ID 84FF
SUBSYSTEM=="block", SYSFS{idProduct}=="84ff", ACTION=="add", OPTIONS+="ignore_device"


Thank you very mutch :D

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 10 Jan 2010, 14:01

If you are in automatic mode the switching should happen long before the pseudo CD-ROM is mounted.

But yes, in manual mode during testing this can be a problem.

I will add the device to the "Supported" list. If you like you can try the "integrated_install" once the database is updated.


seltrecht
Posts: 5
Joined: 09 Jan 2010, 20:39

Post by seltrecht » 10 Jan 2010, 14:05

Josh wrote:If you are in automatic mode the switching should happen long before the pseudo CD-ROM is mounted.

But yes, in manual mode during testing this can be a problem.

I will add the device to the "Supported" list. If you like you can try the "integrated_install" once the database is updated.
Yes you are right. In automatic mode is the sitching ready before mounting.

Post Reply