Author Topic: G413, with vid0000&pid0002  (Read 1400 times)

0 Members and 1 Guest are viewing this topic.

Offline haggis

  • Thread Starter
  • Posts: 3
G413, with vid0000&pid0002
« on: Sat, 19 March 2022, 14:37:06 »
hi, first post and all that.

bought a G413 a year ago and love it, but it recently wouldnt start after a forced shutdown.
when i look in device manager it gives me the device unkown and error 43 bullcrap.
ive done all the google ****e fixes that never work, but you try anyway.
i used usbview and was able to determine the vid& pid to be 000 and 0002 respectivly, where as my g203 mouse was way different.

Device USB\VID_0000&PID_0002\6&4fe3973&0&11 was configured.

Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Driver Date: 06/21/2006
Driver Version: 10.0.19041.488
Driver Provider: Microsoft
Driver Section: BADDEVICE.Dev.NT
Driver Rank: 0xFF0000
Matching Device Id: USB\DEVICE_DESCRIPTOR_FAILURE
Outranked Drivers: usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000
Device Updated: false
Parent Device: USB\ROOT_HUB30\5&1bc99794&1&0

Q1: is my keyboard bricked?
Q2: can "we" hack it to resurect it?

thanks,

haggis
« Last Edit: Sat, 19 March 2022, 14:39:40 by haggis »

Offline NathanA

  • Posts: 38
Re: G413, with vid0000&pid0002
« Reply #1 on: Sat, 19 March 2022, 21:32:53 »
0000 is not a valid USB VID.  So I hate to say it, but I'm 99% sure some part of your keyboard electronics got fried somehow.  You should try plugging the keyboard into a different computer just to be sure, but if it does the exact same thing on every computer you try it with, then it's more than likely a goner.

I had a different keyboard (different make/model) with similar issue (Code 43 / USB VID 0000), and in the end I had to replace the controller board inside.  Fortunately on that keyboard, it was a separate component & replaceable without having to break out a soldering iron.

I have heard of a dodgy USB connection sometimes causing this, so I suppose it's possible that either the end of the cable that plugs into the USB port on the computer is shot, or (more likely) the connection of the cable inside the keyboard is bad.  (From that I can tell, your keyboard doesn't have a user-detachable cable.)

Offline haggis

  • Thread Starter
  • Posts: 3
Re: G413, with vid0000&pid0002
« Reply #2 on: Sun, 20 March 2022, 06:02:53 »
thanks, yeah, tbh, i wasnt holding out much hope, i wonder if its possible to somehow replace the component in the board that fried? is it even worth it?

would it be possible to build a new keyboard using the shell? somehow put in a new PCB?

Offline Leslieann

  • * Elevated Elder
  • Posts: 4519
Re: G413, with vid0000&pid0002
« Reply #3 on: Sun, 20 March 2022, 12:39:54 »
Driver Section: BADDEVICE.Dev.NT
Basically this means the system knows something is on the USB channel and sending or receiving data but didn't send any info when queried.
So it sort of works.

First check the connectors on both sides, they can get damaged and if so it can destroy the port in the computer. You need to look inside at the pins.
Try a different port/adapter/computer, check the connectors first!

if that checks out and still nothing...
It could be a bad image, meaning it could be flashed and work fine again.
It could also be a bad image and bad bootloader, in which case it's still fixable, but more complicated (you would need a tool).
Or it could have some damaged components, which depending on the components may or may not be fixable.

Were it a desktop I'd also have to worry about it not be getting enough power, either not able or (less likely) a bad power supply, which is worse than losing a keyboard.
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline haggis

  • Thread Starter
  • Posts: 3
Re: G413, with vid0000&pid0002
« Reply #4 on: Mon, 21 March 2022, 07:26:33 »
thanks Leslieann,

the pins look fine and the port in the pc does work with another device in it.

how would i go about flashing the bad image? do you know if there is a link to a procedure on these forums or elsewhere?
I can probably source a repair shop if i knew what tool is required?

thanks in advance.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4519
Re: G413, with vid0000&pid0002
« Reply #5 on: Mon, 21 March 2022, 09:33:39 »
how would i go about flashing the bad image? do you know if there is a link to a procedure on these forums or elsewhere?
I can probably source a repair shop if i knew what tool is required?
Unfortunately with it being Logitech, good luck.
As far as I know the only way to get an image/firmware update is through their software, which won't work without working firmware.

You're going to have to find an identical keyboard, get a flashing tool, pull the working firmware, then flash that back into yours, unless you can find someone who has pulled the firmware, then you can skip the first part.

Basically, check if you still have a warranty and if so use that, if not, just buy a new keyboard.
By the way, I'd also consider buying a new power strip as I suspect yours took a hit (power strips are only good for one spike, then they're just an extension cord from that point on).
« Last Edit: Mon, 21 March 2022, 09:35:51 by Leslieann »
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline NathanA

  • Posts: 38
Re: G413, with vid0000&pid0002
« Reply #6 on: Tue, 22 March 2022, 21:43:36 »
All of this assumes that the G413 is even capable of receiving firmware updates.  Some of the (usually higher-end) mass-produced keyboards out there are update-able, but many are not...the keyboard I talked about in my initial response that had similar symptoms with a dead controller had a chip on the main controller that was only "OTP" (one-time programmable); that is to say, the PROM on the microcontroller could only be written to once, at the factory, and that was that: it could never be changed again.  Despite this, the chip acted like it had no ROM contents at all...how it's possible that the ROM was wiped on an OTP chip, dunno.  Maybe it took a static discharge or something that fried it.  All I know is that in the end, whatever the cause, it made that particular controller a complete door-stop.  Only solution was wholesale controller replacement (or to throw keyboard in trash and acquire anew).

Anybody who wanted to help with your particular circumstance would have to know a lot more about the architecture of the G413: most importantly, what microcontroller is it based around.  Until we know that important detail, how to put your particular keyboard's microcontroller into a mode where it can receive new programming (assuming that it even can) is a complete question-mark.  It is also entirely possible (and even probable) that if the micro in question has any sort of flash protection feature (e.g., requiring validation of cryptographic code-signing by Logitech for it to accept a flash image), Logitech is probably using that to assure that only they can push firmware images to their keyboards.

In short, there are so many different variables that can go into this, that unless this is a keyboard that has a very strong & broad community and user-base around it (one that has done the spadework to tear it down, document its architecture, has reverse-engineered the ROM flashing protocol & exploited any vulnerabilities that might be needed to sideload unauthorized code to it, etc.), you aren't going to be able to resurrect this device yourself without a LOT of hard work and very long hours.  So then it becomes a question of diminishing returns and whether it's actually worth it.  The most sure path to success would be to talk to Logitech and ask if they can repair keyboards like yours out-of-warranty, and then if so, determine whether the cost of such a repair is even worth it compared to buying a new 'board.

There are a billion different keyboard models out there, they're all different internally, and so sadly there is no one-size-fits-all guide on how to "re-flash a keyboard's internal controller".
« Last Edit: Tue, 22 March 2022, 21:56:03 by NathanA »

Offline Leslieann

  • * Elevated Elder
  • Posts: 4519
Re: G413, with vid0000&pid0002
« Reply #7 on: Tue, 22 March 2022, 23:46:32 »
Logitech is rather right to repair unfriendly and the odds of all the stars aligning to make this functional again, while possible is really really slim, odds are you could spend as much as the keyboard is worth just trying to save it.  Worse, you could fix it and then it dies for some other reason, especially if it was zapped.

It's a fun and interesting project for someone with the right equipment and wiling to toy with it but if you gotta pay to fix it it's simply not practical.
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion