dekuNukem / USB4VC

USB Keyboard/Mouse/Gamepads on Retro Computers!
MIT License
207 stars 13 forks source link

No response from Mac protocol card with Macs #19

Closed ewe2 closed 4 months ago

ewe2 commented 4 months ago

I've used the mac protocol card with a Plus and and SE and tested with a Pi 4 B+ and an A+ On all boots, the Pi boots up with Raw Data on all protocols and nothing changes. I've tried resetting on the protocol card, it doesn't change.

Either the protocol card isn't actually talking to the machine, and the Pi thinks everything's ok, or the Pi system isn't re-engaging the protocol card when it detects the machine on the other end? I don't get any other alternative on the hardware than to change sensitivity or saving the options so what can I do to help debugging this?

edit: i will mention i'm using the cables I bought with the usb4vc just to rule out cable issues.

dekuNukem commented 4 months ago

hi there ! if it says raw data, then it means the pi hasn’t recognized the protocol card.

was it like this out of the box? there are a few things we can try. which raspberry pi model are you using?

ewe2 commented 4 months ago

It's been like that from the start, yes. I thought I'd dome something wrong with my setup or it was a failure of communication with the mac.

I've used 3 Pi's with this and they all report the same thing, currently I'm trying the P3 B+ but I've also had a P4 B and a P3 A+

dekuNukem commented 4 months ago

Is your P-card the ADB only card or Lisa/Mac/ADB card?

ewe2 commented 4 months ago

Its the Lisa/Mac/ADB so it's got the 2 ADB's and the serial port and the RJ45 and the 1/4" jack

dekuNukem commented 4 months ago

nice! there is a possibility that I actually forgot to flash the firmware into the card, might worth trying do it yourself and see if it comes to life!

download the file here: https://github.com/dekuNukem/USB4VC/raw/master/firmware/releases/PBFW_LISA_MAC_ADB_PBID3_V0_1_0.dfu?raw=1

then follow the instruction here: https://github.com/dekuNukem/duckyPad/blob/master/firmware_updates_and_version_history.md

dekuNukem commented 4 months ago

oh, and of course use the USB port on the P-card

ewe2 commented 4 months ago

Nothing's working. Doing all this under linux so I'm following dfu-util instructions. Plugged into Pi usb port from hub and while holding down dfu button, attached power and waited until i got green flash from Pi and let go, checked lsusb, there's nothing there, dfu-util can't find a device, I'm not seeing any activity from the card that indicates it's awake.

dekuNukem commented 4 months ago

I should have been more clear with the instructions, I do apologize.

Try this:

something should show up, then follow the guide above

ewe2 commented 4 months ago

Nothing there, it is powering, but dfu-util -l shows nothing, it's not showing up. I've had the pi plugged in without a card, i've taken it off entirely, there's no difference. The power light is on when I plug in but otherwise nothing. DFU button doesn't seem to have any effect.

dekuNukem commented 4 months ago

try it on a windows PC and see if anything show up in the device manager, if not, it might be a hardware issue, and I can send you a new one for free!

ewe2 commented 4 months ago

I don't have a working Windows machine at the moment but we don't have to deal with that. Because I also bought the PC protocol card and we can eliminate my tools as an issue, because that protocol card shows up perfectly well, can be seen in lsusb and dfu-util -l and I also notice there's a little light that comes on by the PS/2 outs that did not come on by the ADBs on the Mac protocol board which might be useful information for you.

00:26:43:root@marvin:~# lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 002: ID 1532:0098 Razer USA, Ltd Razer DeathAdder Essential
Bus 002 Device 019: ID 0483:df11 STMicroelectronics STM Device in DFU Mode

00:26:53:root@marvin:~# dfu-util -l
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [0483:df11] ver=2200, devnum=19, cfg=1, intf=0, path="2-14.2", alt=1, name="@Option Bytes  /0x1FFFF800/01*016 e", serial="FFFFFFFEFFFF"
Found DFU: [0483:df11] ver=2200, devnum=19, cfg=1, intf=0, path="2-14.2", alt=0, name="@Internal Flash  /0x08000000/064*0002Kg", serial="FFFFFFFEFFFF"

This is what I would hope to see for the other card but nothing like this shows up for it.

dekuNukem commented 4 months ago

ah ok then, looks like a hardware issue!

Let me know your Tindie order number and I can send you a new lisa/mac/ADB card for free!

ewe2 commented 4 months ago

Thanks, sorry I can't give you more information on exactly what's wrong with it. Tindle order is #473835

dekuNukem commented 4 months ago

No problem! I'll drop it off on Monday

dekuNukem commented 4 months ago

I have dropped it off! you should get it in the usual time!

ewe2 commented 4 months ago

Thanks!!