Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how can i get lcd display work of 3dconnexion spacemouse enterprise? #60

Closed
comsyspro opened this issue Jan 29, 2024 · 13 comments
Closed

Comments

@comsyspro
Copy link

on this device the usbip is working for all buttons and 6 dof controller but not for the lcd display. also only the wdm driver is stable and when using the ude driver after some seconds there is a bluescreen, so i only use wdm here. but both on wdm and ude driver the lcd display don't show the icons which normally shows an icon and text explaining the button functions on the top. i also tried this with some commercial usbip software products and there the display is working. so what can i do to get the lcd display work?

here the lcd display is showing the icons which are not shown when connecting with usbip-win2
image

@vadimgrn
Copy link
Owner

vadimgrn commented Jan 29, 2024

https://github.com/vadimgrn/usbip-win2#debugging-bsod
Obtain BSOD logs for UDE driver, please.

@comsyspro
Copy link
Author

comsyspro commented Jan 29, 2024

here is the result of windbg.exe. can you do something with this?

windbg memorydump.txt

there are also created 2 files usbip-flt.etl and usbip-ude.etl with 64kb size. do you need these too?

@vadimgrn
Copy link
Owner

vadimgrn commented Jan 29, 2024

There are no names in the backtrace. Try to execute this before !analyze -v
.sympath +C:\Program Files\USBip
!wmitrace.searchpath +%TEMP%\usbip

@comsyspro
Copy link
Author

comsyspro commented Jan 29, 2024

.sympath +C:\Program Files\USBip gives an error:

5: kd> .sympath +C:\Program Files\USBip
Symbol search path is: +C:\Program Files\USBip
Expanded Symbol search path is: +c:\program files\usbip
Error: Execute .sympath(+) command attempts to access '+C:\Program Files\USBip' failed: 0x7b - The filename, directory name, or volume label syntax is incorrect.

************* Path validation summary **************
Response                         Time (ms)     Location
Error                                          +C:\Program Files\USBip

so i tried .sympath+ C:\Program Files\USBip instead:
here is the new dump, but i think it's the same as before, i followed the steps described here https://github.com/vadimgrn/usbip-win2#debugging-bsod

windbg memorydump v2.txt

@vadimgrn
Copy link
Owner

It has symbols, I can work with it. I will look at it on weekends.

@vadimgrn
Copy link
Owner

What release are you using? This bug was fixed in the latest release.

@comsyspro
Copy link
Author

comsyspro commented Jan 29, 2024

i used the git master branch about 2 or 3 weeks ago and compiled it on win10 and visual studio 2022 and with that i got 0.9.5.8 version. at that point in time you hadn't released v.0.9.5.8 yet. i installed it on win10 and win11 system. i haven't tried it with your latest release from https://github.com/vadimgrn/usbip-win2/releases/tag/v.0.9.5.8 - so i will do it now.

@comsyspro
Copy link
Author

comsyspro commented Jan 29, 2024

i have good news and am happy! with the newest release ude works with this device now and also the display is showing up now! thank you a lot! and also some other usb storage devices which before also have caused some errors are working now! can you say something about what was the solution to improve the ude driver in such better way?

@vadimgrn
Copy link
Owner

vadimgrn commented Jan 29, 2024

Thank you for your feedback! It was small fix. This bug should not happen because WDF ensures that the driver receives WDFREQUEST objects with preallocated context. But the reality is that for some devices the received WDFREQUEST doesn't have a context. This is weird, I don't know why it happens, but the workaround was implemented after couple of bug reports.

@vadimgrn
Copy link
Owner

vadimgrn commented Jan 29, 2024

32250e8
May I add your device to the list of supported devices?

@comsyspro
Copy link
Author

yes you can. and also this issue is resolved now with graphic tablet: #54
i have the impression that now more and more usb devices are working properly. before i have often used a mix of wdm and ude drivers and fixed some devices with special code snippets. it seems that your project gets close to the production ready state.

@vadimgrn
Copy link
Owner

vadimgrn commented Jan 29, 2024

I have very limited set of devices for testing. Because of that I have to rely on bug reports that have windbg output.

@comsyspro
Copy link
Author

comsyspro commented Jan 29, 2024

today i learned how to create debug with windbg and i can inform you when i will get other usb devices to test. but as i said most of the devices are working now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants