Author Topic: cant remove a report.  (Read 16776 times)

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
cant remove a report.
« on: January 14, 2018, 07:47:29 pm »
Could anyone tell me what the following elimination cause my usb device not to work?

I'm trying to eliminate my unneeded reports from the Microsoft sidewinder FFB descriptor.
this is the descriptor.
https://pastebin.com/3LHVtxP0

Here is one if the parts I want to remove
Code: [Select]
0x09,0x7F,    //    Usage ROM Pool Size
    0xA1,0x02,    //    Collection Datalink
       0x85,0x03,                   //    Report ID 3http://www.janaxelson.com/forum/Themes/default/images/bbc/unformat.gif
       0x09,0x80,                   //    Usage ROM Effect Block Count
       0x75,0x10,                   //    Report Size 10h (16d)
       0x95,0x01,                   //    Report Count 1
       0x15,0x00,                   //    Logical Minimum 0
       0x35,0x00,                   //    Physical Minimum 0
       0x27,0xFF,0xFF,0x00,0x00,    //    Logical Maximum FFFFh (65535d)
       0x47,0xFF,0xFF,0x00,0x00,    //    Physical Maximum FFFFh (65535d)
       0xB1,0x02,                   //    Feature (Variable)
       0x09,0x83,                   //    Usage PID Pool Move Report
       0x26,0xFF,0x00,              //    Logical Maximum FFh (255d)
       0x46,0xFF,0x00,              //    Physical Maximum FFh (255d)
       0x75,0x08,                   //    Report Size 8
       0x95,0x01,                   //    Report Count 1
       0xB1,0x02,                   //    Feature (Variable)
       0x09,0xA9,                   //    Usage Undefined
       0x09,0xAA,                   //    Usage Undefined
       0x75,0x01,                   //    Report Size 1
       0x95,0x02,                   //    Report Count 2
       0x15,0x00,                   //    Logical Minimum 0
       0x25,0x01,                   //    Logical Maximum 1
       0x35,0x00,                   //    Physical Minimum 0
       0x45,0x01,                   //    Physical Maximum 1
       0xB1,0x02,                   //    Feature (Variable)
       0x75,0x06,                   //    Report Size 6
       0x95,0x01,                   //    Report Count 1
       0xB1,0x03,                   //    Feature (Constant, Variable)
0xC0     ,    //    End Collection   

when I do this the USB fails with an error.  I'm not using this report so I don't see why I need it, why can't I remove it?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: cant remove a report.
« Reply #1 on: January 14, 2018, 08:45:41 pm »
In Windows Device Manager, locate the device and uninstall it. Then reattach.

If that doesn't help, use a protocol analyzer or whatever debugging tools you have to view the USB traffic and isolate the problem.

If the device is failing to install, the setupapi log file might also offer a clue.

https://docs.microsoft.com/en-us/windows-hardware/drivers/install/setupapi-device-installation-log-entries

If still failing, please provide more detail about what you mean by "cause not to work".

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #2 on: January 14, 2018, 09:12:19 pm »
log was informational but I fail to see what it is point to?

"Additional software is requested so a WER report should be sent, but the sending of WER reports from drvinst has been suppressed."

I'm guessing this has to do with the PID of HID spec because that is what I'm trying to modify.

Code: [Select]
[Device Install Log]
     OS Version = 6.1.7601
     Service Pack = 1.0
     Suite = 0x0100
     ProductType = 1
     Architecture = amd64

[BeginLog]

[Boot Session: 2018/01/09 18:48:01.125]

>>>  [Device Install (Hardware initiated) - USB\VID_16D0&PID_0D04\8&344d2811&0&1]
>>>  Section start 2018/01/14 21:10:45.327
     ump: Creating Install Process: DrvInst.exe 21:10:45.333
     ndv: Retrieving device info...
     ndv: Setting device parameters...
     ndv: Searching Driver Store and Device Path...
     dvi: {Build Driver List} 21:10:45.341
     cpy:      Policy is set to make all digital signatures equal.
     dvi:      Enumerating INFs from path list 'C:\Windows\inf'
     inf:      Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     dvi:      Created Driver Node:
     dvi:           HardwareID   - USB\Class_03
     dvi:           InfName      - C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf
     dvi:           DevDesc      - USB Input Device
     dvi:           DrvDesc      - USB Input Device
     dvi:           Provider     - Microsoft
     dvi:           Mfg          - (Standard system devices)
     dvi:           ModelsSec    - Standard.NTamd64
     dvi:           InstallSec   - HID_Inst
     dvi:           ActualSec    - HID_Inst.NT
     dvi:           Rank         - 0x00ff3202
     dvi:           Signer       - Microsoft Windows
     dvi:           Signer Score - INBOX
     dvi:           DrvDate      - 06/21/2006
     dvi:           Version      - 6.1.7601.18199
     dvi: {Build Driver List - exit(0x00000000)} 21:10:45.483
     ndv: Selecting best match from Driver Store (including Device Path)...
     dvi: {DIF_SELECTBESTCOMPATDRV} 21:10:45.484
     dvi:      No class installer for '4-PLAY PORT.1'
     dvi:      No CoInstallers found
     dvi:      Default installer: Enter 21:10:45.484
     dvi:           {Select Best Driver}
     dvi:                Selected driver installs from section [HID_Inst] in 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'.
     dvi:                Set selected driver complete.
     dvi:                Selected:
     dvi:                     Description - [USB Input Device]
     dvi:                     InfFile     - [c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf]
     dvi:                     Section     - [HID_Inst]
     dvi:                     Signer      - [Microsoft Windows]
     dvi:                     Rank        - [0x00ff3202]
     dvi:           {Select Best Driver - exit(0x00000000)}
     dvi:      Default installer: Exit
     dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 21:10:45.485
     inf: {SetupCopyOEMInf: C:\Windows\INF\input.inf} 21:10:45.486
     inf: {SetupCopyOEMInf exit (0x00000050)} 21:10:45.486
     inf: Opened PNF: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     dvi: Selected driver installs from section [HID_Inst] in 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'.
     dvi: Set selected driver complete.
     ndv: Driver selected, now performing install...
     ndv: {Core Device Install} 21:10:45.488
     inf:      Opened PNF: 'C:\Windows\INF\input.inf' ([strings.0409])
!    pol:      Selected driver node does not match this device (force-install)
     inf:      Opened PNF: 'C:\Windows\INF\input.inf' ([strings.0409])
     dvi:      {DIF_ALLOW_INSTALL} 21:10:45.498
     dvi:           No class installer for 'USB Input Device'
     dvi:           No CoInstallers found
     dvi:           Default installer: Enter 21:10:45.498
     dvi:           Default installer: Exit
     dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 21:10:45.499
     ndv:      Installing files...
     dvi:      {DIF_INSTALLDEVICEFILES} 21:10:45.499
     dvi:           No class installer for 'USB Input Device'
     dvi:           Default installer: Enter 21:10:45.499
     dvi:                {Install FILES}
     inf:                     Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     inf:                     {Install Inf Section [HID_Inst.NT]}
     inf:                          Copyfiles=HID_Inst.CopyFiles.NT  (input.inf line 489)
     flq:                          CopyFiles from an inbox inf.
     cpy:                          Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
     flq:                          QueueSingleCopy...
     flq:                          Inf     : 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceInf: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceSection: [sourcedisksfiles]
     flq:                          Source root path based on SourceInf
     flq:                          SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                          {FILE_QUEUE_COPY}
     flq:                               CopyStyle      - 0x09000000
     flq:                               {FILE_QUEUE_COPY}
     flq:                                    CopyStyle      - 0x09000000
     flq:                                    SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                                    SourceFilename - 'hidusb.sys'
     flq:                                    TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                    TargetFilename - 'hidusb.sys'
     flq:                                    SourceDesc     - 'windows cd'
     flq:                               {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          QueueSingleCopy...
     flq:                          Inf     : 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceInf: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceSection: [sourcedisksfiles]
     flq:                          Source root path based on SourceInf
     flq:                          SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                          {FILE_QUEUE_COPY}
     flq:                               CopyStyle      - 0x09000000
     flq:                               {FILE_QUEUE_COPY}
     flq:                                    CopyStyle      - 0x09000000
     flq:                                    SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                                    SourceFilename - 'hidclass.sys'
     flq:                                    TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                    TargetFilename - 'hidclass.sys'
     flq:                                    SourceDesc     - 'windows cd'
     flq:                               {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          QueueSingleCopy...
     flq:                          Inf     : 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceInf: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf'
     flq:                          SourceSection: [sourcedisksfiles]
     flq:                          Source root path based on SourceInf
     flq:                          SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                          {FILE_QUEUE_COPY}
     flq:                               CopyStyle      - 0x09000000
     flq:                               {FILE_QUEUE_COPY}
     flq:                                    CopyStyle      - 0x09000000
     flq:                                    SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\input.inf_amd64_neutral_fccb715ac7d8c66d'
     flq:                                    SourceFilename - 'hidparse.sys'
     flq:                                    TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                    TargetFilename - 'hidparse.sys'
     flq:                                    SourceDesc     - 'windows cd'
     flq:                               {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                          {FILE_QUEUE_COPY exit(0x00000000)}
     inf:                     {Install Inf Section [HID_Inst.NT] exit (0x00000000)}
     dvi:                     Processing co-installer registration section [HID_Inst.NT.CoInstallers].
     inf:                     {Install Inf Section [HID_Inst.NT.CoInstallers]}
     inf:                     {Install Inf Section [HID_Inst.NT.CoInstallers] exit (0x00000000)}
     dvi:                     Co-installers registered.
     dvi:                     {Install INTERFACES}
     dvi:                          Installing section [HID_Inst.NT.Interfaces]
     dvi:                     {Install INTERFACES exit 00000000}
     dvi:                {Install FILES exit (0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 21:10:45.507
     ndv:      Pruning file queue...
     dvi:      {_SCAN_FILE_QUEUE}
     flq:           ScanQ flags=620
     flq:                SPQ_SCAN_PRUNE_COPY_QUEUE
     flq:                SPQ_SCAN_FILE_COMPARISON
     flq:                SPQ_SCAN_ACTIVATE_DRP
     flq:           ScanQ number of copy nodes=3
     flq:           File 'C:\Windows\system32\DRIVERS\hidusb.sys' pruned from copy.
     sig:           Using catalog 'C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Package_1_for_KB2862335~31bf3856ad364e35~amd64~~6.1.1.2.cat'.
     cpy:           DrpSetRegFileProt 'C:\Windows\system32\DRIVERS\hidusb.sys' Status=0 Class=Inbox Windows protected
     flq:           File 'C:\Windows\system32\DRIVERS\hidclass.sys' pruned from copy.
     sig:           Using catalog 'C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Package_3_for_KB2862335~31bf3856ad364e35~amd64~~6.1.1.2.cat'.
     cpy:           DrpSetRegFileProt 'C:\Windows\system32\DRIVERS\hidclass.sys' Status=0 Class=Inbox Windows protected
     flq:           File 'C:\Windows\system32\DRIVERS\hidparse.sys' pruned from copy.
     sig:           Using catalog 'C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Package_3_for_KB2862335~31bf3856ad364e35~amd64~~6.1.1.2.cat'.
     cpy:           DrpSetRegFileProt 'C:\Windows\system32\DRIVERS\hidparse.sys' Status=0 Class=Inbox Windows protected
     flq:           ScanQ action=200 DoPruning=32
     flq:           ScanQ end Validity flags=620 CopyNodes=0
     dvi:      {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
     ndv:      Committing file queue...
     flq:      {_commit_file_queue}
     flq:           CommitQ DelNodes=0 RenNodes=0 CopyNodes=0
     flq:           CommitQ early exit: No nodes are queued
     flq:      {_commit_file_queue exit OK}
     ndv:      Registering CoInstallers...
     dvi:      {DIF_REGISTER_COINSTALLERS} 21:10:45.531
     dvi:           No class installer for 'USB Input Device'
     dvi:           Default installer: Enter 21:10:45.533
     inf:                Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     inf:                {Install Inf Section [HID_Inst.NT.CoInstallers]}
     inf:                {Install Inf Section [HID_Inst.NT.CoInstallers] exit (0x00000000)}
     dvi:                Co-installers registered.
     dvi:           Default installer: Exit
     dvi:      {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 21:10:45.539
     ndv:      Installing interfaces...
     dvi:      {DIF_INSTALLINTERFACES} 21:10:45.539
     dvi:           No class installer for 'USB Input Device'
     dvi:           No CoInstallers found
     dvi:           Default installer: Enter 21:10:45.539
     dvi:                {Install INTERFACES}
     inf:                     Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     dvi:                     Installing section [HID_Inst.NT.Interfaces]
     dvi:                {Install INTERFACES exit 00000000}
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLINTERFACES - exit(0x00000000)} 21:10:45.540
     ndv:      Installing device...
     dvi:      {DIF_INSTALLDEVICE} 21:10:45.540
     dvi:           No class installer for 'USB Input Device'
     dvi:           Default installer: Enter 21:10:45.540
     dvi:                {Install DEVICE}
     inf:                     Opened PNF: 'c:\windows\system32\driverstore\filerepository\input.inf_amd64_neutral_fccb715ac7d8c66d\input.inf' ([strings.0409])
     dvi:                     Processing Registry/Property directives...
     inf:                     {Install Inf Section [HID_Inst.NT]}
     inf:                     {Install Inf Section [HID_Inst.NT] exit (0x00000000)}
     inf:                     {Install Inf Section [HID_Inst.NT.Hw]}
     inf:                          DelReg=HID_Inst.DelReg.NT.HW  (input.inf line 492)
     inf:                     {Install Inf Section [HID_Inst.NT.Hw] exit (0x00000000)}
     dvi:                     {Writing Device Properties}
     dvi:                          Provider name=Microsoft
     dvi:                          DriverDate 06/21/2006
     dvi:                          DriverVersion=6.1.7601.18199
     dvi:                          Class name=HIDClass
     dvi:                          Manufacturer=(Standard system devices)
     dvi:                          Matching DeviceID=generic_hid_device
     dvi:                          Strong Name=input.inf:Standard.NTamd64:HID_Inst:6.1.7601.18199::generic_hid_device:usb\class_03&subclass_01:usb\class_03
     dvi:                          Additional Software Requested
     dvi:                     {Writing Device Properties - Complete}
     inf:                     {Install Inf Section [HID_Inst.NT.Services]}
     inf:                          AddService=HidUsb,0x00000002,HID_Service_Inst  (input.inf line 504)
     inf:                          ServiceType=1  (input.inf line 520)
     inf:                          StartType=3  (input.inf line 521)
     inf:                          ErrorControl=0  (input.inf line 522)
     inf:                          ServiceBinary=C:\Windows\system32\DRIVERS\hidusb.sys  (input.inf line 523)
     inf:                          DisplayName="Microsoft HID Class Driver"  (input.inf line 519)
     inf:                          LoadOrderGroup="extended base"  (input.inf line 524)
     dvi:                          Add Service: Modified existing service 'HidUsb'.
     inf:                     {Install Inf Section [HID_Inst.NT.Services] exit(0x00000000)}
     dvi:                     Updated reflected section names for: input.inf
     dvi:                {Install DEVICE exit (0x00000000)}
     dvi:                Writing common driver property settings.
     dvi:                     DriverDescription=USB Input Device
     dvi:                     DeviceDisplayName=USB Input Device
     dvi:                Install Device: Restarting device. 21:10:45.899
     dvi:                Install Device: Restarting device completed. 21:10:46.179
!!!  dvi:                Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START.
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLDEVICE - exit(0x00000000)} 21:10:46.181
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 21:10:46.181
     dvi:           No class installer for 'USB Input Device'
     dvi:           Default installer: Enter 21:10:46.182
     dvi:           Default installer: Exit
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 21:10:46.183
     ndv:      Device install status=0x00000000
     ndv:      Performing device install final cleanup...
!    ndv:      Queueing up error report since device has a PnP problem...
     ndv:      Additional software is requested so a WER report should be sent, but the sending of WER reports from drvinst has been suppressed.
     ndv: {Core Device Install - exit(0x00000000)} 21:10:46.185
     ump: Server install process exited with code 0x00000000 21:10:46.188
<<<  Section end 2018/01/14 21:10:46.189
<<<  [Exit status: SUCCESS]


Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #4 on: January 15, 2018, 02:26:10 pm »
hmmm, all that tells me is that the device didn't have enough info for the wer.

but I see there is this as well "Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START."

Best I can find by searching the net is that you get an error 10 on hid when the issue occurs during the USB transfers that Windows issues with the device, after the driver has been setup and the device instance has been created. But that points me back to my original question. Just do not understand why I can not remove a report my device does not use. I may have to see what usblyzer says. maybe there is a clue in there.
« Last Edit: January 15, 2018, 02:30:10 pm by ulao »

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: cant remove a report.
« Reply #5 on: January 15, 2018, 04:20:51 pm »
Yes, check the analyzer logs.

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #6 on: January 16, 2018, 04:39:17 pm »
Again a bit confused I get this.


//////this was the last good trasfer///
  URB Control Transfer Ex succeeded
Device Object   USBPDO-21
Driver Object   usbhub

URB Function   URB_FUNCTION_CONTROL_TRANSFER_EX
URB Status   USBD_STATUS_SUCCESS

Endpoint 0   Default Control

Request Type   Class request from Other Target
Request   00h
Value   0000h
Index   0001h
Length   0004h
/////////////////////


////then this error//////

  URB Abort Pipe issued
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE

Endpoint 81h   1 In, Interrupt



  URB Abort Pipe failed
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE
URB Status   USBD_STATUS_INVALID_PARAMETER

Endpoint 81h   1 In, Interrupt

//////////////////////////
« Last Edit: January 16, 2018, 04:42:48 pm by ulao »

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: cant remove a report.
« Reply #7 on: January 16, 2018, 05:16:56 pm »
Go back to working code and try again.

After removing something, be sure all length values in the report descriptor are correct.

Be sure to uninstall before changing firmware. 

There is no HID-class request 00h. I don't know what "Other Target" means.


ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #8 on: January 16, 2018, 06:21:38 pm »
yeah I can put the working code in and it runs fine but every time I try to remove one of these needed reports it does this. MY report is calculated with a built in size of command.  I do always uninstall first.

Strange though I think my size is wrong.
05C0h 1472 bytes  with it removed.
0503h 1283 bytes  with it present.
seems backwards.



 I agree  "other" does not tell us much.  I see it always calls it other target? The errors looks to be INVALID_PARAMETER but not sure what it is referring to. Strangely after the error I get more control transfers from this "other target".

re-ran the log and here is the last control transfer (Ex) I get
  URB Control Transfer Ex succeeded
Device Object   USBPDO-16
Driver Object   usbhub

URB Function   URB_FUNCTION_CONTROL_TRANSFER_EX
URB Status   USBD_STATUS_SUCCESS

Endpoint 0   Default Control

Request Type   Class request from Other Target
Request   00h
Value   0000h
Index   0001h
Length   0004h



then after that I get this error

  URB Abort Pipe issued
Device Object   USBPDO-17
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE

Endpoint 81h   1 In, Interrupt


  URB Abort Pipe failed
Device Object   USBPDO-17
Driver Object   usbhub

URB Function   URB_FUNCTION_ABORT_PIPE
URB Status   USBD_STATUS_INVALID_PARAMETER

Endpoint 81h   1 In, Interrupt

« Last Edit: January 16, 2018, 06:40:53 pm by ulao »

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #9 on: January 16, 2018, 06:30:25 pm »
I can really capture the log but here is the over view. Not sure the yellow is ralated or not?

ulao

  • Frequent Contributor
  • ****
  • Posts: 172
Re: cant remove a report.
« Reply #10 on: January 16, 2018, 06:44:28 pm »
I just figure it out, thx to your clue... This is how I caculate my descriptor.

USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH, 5,

I was using a fixed high byte.... USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH is patched in and calculated later.  So I had to adjust my high byte.
« Last Edit: January 18, 2018, 10:03:38 am by ulao »

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: cant remove a report.
« Reply #11 on: January 17, 2018, 11:23:42 am »
Thanks for reporting what you found!