lgx2userspace icon indicating copy to clipboard operation
lgx2userspace copied to clipboard

[GC550] Official driver on windows does not work anymore after using the userspace one

Open DefNaBoo opened this issue 2 years ago • 16 comments

Hi @ChrisAJS, thank you for the driver on linux, it's cool to use the card on linux.

But when I try to reuse the official one on Windows, the card does not start : image

The card still works using the userspace driver through on linux.

Do you have an idea why and how to fix this ?

Thank you in advance.

DefNaBoo avatar Aug 20 '22 15:08 DefNaBoo

Hi DefNaBoo, you might be the second person to report this issue.

My understanding is that the device has no persistent storage so a powercycle of the device (unplugging the USB and re-plugging it in) should be enough to place back into "factory settings".

I'd really like to get to the bottom of this though for obvious reasons.

Can you tell me what you've tried to resolve this?

ChrisAJS avatar Aug 20 '22 18:08 ChrisAJS

I have already tested unplugging and re-plugging the card it does not work. I also have tested with another computer and different cables same problem. I tried all of the official drivers, no luck too ...

By curiosity, I have tear-down the card and there is two flash chip on it : front front_flash

back back_flash

Do you think the card save a capture mode or something ?

DefNaBoo avatar Aug 21 '22 10:08 DefNaBoo

I'm trying to consider what could be persisted beyond firmware; I believe at startup, the driver copies the 'no signal' pngs over to the device which is why the bootstrapping is so long, but I don't (well didn't!) think there is any other lasting effects.

Interestingly, when I was originally gathering the required payloads for the LGX2 it continued to work with my Windows VM the entire time. I'll try with the LGX and see if I can get RECCentral to capture stuff.

I'm really sorry that your card might not work on windows again after this, I really appreciate you digging into it (especially cracking open the device!)

ChrisAJS avatar Aug 21 '22 10:08 ChrisAJS

Ok, in my Windows VM I am also seeing the same behaviour.

The LGX2 however works completely fine.

I'm going to disable automatic detection and use of GC550 in the userspace driver for now to make sure no one else falls into this.

I'm going to try my best to find a way to reset the GC550 though, I'll let you know if I am successful.

ChrisAJS avatar Aug 21 '22 11:08 ChrisAJS

I've pushed these changes to prevent other people falling into this.

This is preventative, I'm still looking into how to get the windows driver to work correctly with the device again.

ChrisAJS avatar Aug 21 '22 11:08 ChrisAJS

Not sure if it's related, but sounds like it. On the LGX2, the LED switches to blue if we start lgx2userspace, but doesn't turn red again after closing lgx2userspace. I think that is the case on windows. So the device isn't stopped or something.

Nama avatar Aug 31 '22 16:08 Nama

Sorry for not getting back to you @Nama - yeah the userspace driver currently does nothing to teardown the configuration of the device, but unless you're reading framedata from it, it won't be doing anything, so it just makes it quicker to restart capture at a later time.

Just to be super clear, I've got no plans to teardown the device configuration when you close the app unless there is a really strong argument to do so.

ChrisAJS avatar Sep 12 '22 11:09 ChrisAJS

I've still been unable to get the GC550 to work on windows again after use with this userspace driver.

Here is a list of things I've tried:

  • Attempted installing and using the assistance software from the official Avermedia site
  • Attempted initialising the device in Linux using the userspace driver and then using the reccentral app in a Windows VM
  • Attempted using multiple different USB cables

Things I've yet to try:

  • Using a tool like USBView(?) to inspect reported values for the connected device to the see how they compare to Avermedia's expectations, with the hope of being able to manually update them via libusb API calls (#desperate)
  • Opening up the device to see if there is anyway to factory reset it
  • Investigating the windows driver to find out whether there is any specific routines for 'de-initialising' the device - I would love help with this as my disassembling skills are weak to non-existent.

Sorry to everyone affected by this!

ChrisAJS avatar Sep 12 '22 11:09 ChrisAJS

Got this exact same issues both on Windows, work perfectly fine on linux & mac :) and no probleme for me I can be patient and if you need a tester for things on GC550 feel free :) (not like I use it that much so I do not mind if that risky)

Baoulettes avatar Nov 03 '22 11:11 Baoulettes

I've opened up my GC550 and soldered on some header pins to be able to connect via the UART on the board.

So far I've uncovered nothing.

I'm going to put together a little wiki so I can document this in a less disperse way (through multiple Github issues!) but so far no dice.

ChrisAJS avatar Jan 04 '23 17:01 ChrisAJS

i have AM LGX and i have same problem on windows 10. I have error 10 in device manager. I uninstall drivers from original avermedia. But this files not working on wqindows 10. Click install and nothing happens. Zero reaction.

kris0725pl avatar Jan 06 '23 11:01 kris0725pl

I've bought a second LGX GC550 in the hopes that I will be able to capture the teardown that happens when RECCentral is done with the device.

Hopefully I'll be able to capture that teardown and make a simple recovery tool that will allow the official driver to be used again on Windows. It's likely this will open up the ability to have multiple sessions without needing to unplug the device and re-plug it back in too!

ChrisAJS avatar Jan 09 '23 12:01 ChrisAJS

Hi..if important i dump firmware from winbomd ic. Dnia 09 stycznia 2023 13:38 Chris Sawczuk napisał(a):
I've bought a second LGX GC550 in the hopes that I will be able to capture the teardown that happens when RECCentral is done with the device. Hopefully I'll be able to capture that teardown and make a simple recovery tool that will allow the official driver to be used again on Windows. It's likely this will open up the ability to have multiple sessions without needing to unplug the device and re-plug it back in too!

— Reply to this email directly, github.com view it on GitHub , or github.com unsubscribe . You are receiving this because you commented. Message ID: <ChrisAJS/lgx2userspace/issues/18/1375566618 @ github . com>

kris0725pl avatar Jan 09 '23 14:01 kris0725pl

Hi @kris0725pl that may be helpful but my knowledge of disassembly is really poor (not that I am unwilling to learn!)

ChrisAJS avatar Jan 10 '23 10:01 ChrisAJS

Can you record video how to use in windows?

kris0725pl avatar Jan 10 '23 16:01 kris0725pl