Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Invalid USB Packets #16

Open
MoretonBayKiting opened this issue Oct 4, 2022 · 0 comments
Open

Invalid USB Packets #16

MoretonBayKiting opened this issue Oct 4, 2022 · 0 comments

Comments

@MoretonBayKiting
Copy link

MoretonBayKiting commented Oct 4, 2022

Thanks for this development. I have implemented your host using tobozo's arduino wrapper. As noted there, although separately quite plausible, the data for x and y are strangely inconsistent. But perhaps their apparent plausibility is misleading.

I note and respect your disclaimer re hardware debugging. I also note that I am a hobbyist rather than professional. Notwithstanding this, I'll ask a couple of questions but understand if to answer would be out of scope.

Having read the pins as you've done with PulseView, USB packets are shown to be invalid. Picture below (I can't attach the .sr file).

The setup reports "New device detected on USB#0". It also reports bDeviceClass = 0x00 and similar for each of bDeviceSubClass & bDeviceProtocol. I'll put all similar data reported from the setup below.

The mouse is labelled NextTech, model: XM5245. The main 12 pin chip is labelled: A582: 2147FS524.
Am I right in understanding that all mice are LS? How can I confirm that this one is? I've done the testing with only slight modifications to tobozo's USB_Test example.

I'd be grateful for any suggestions as to how to proceed.

desc.bcdUSB = 0x0110
desc.bDeviceClass = 0x00
desc.bDeviceSubClass = 0x00
desc.bDeviceProtocol = 0x00
desc.bMaxPacketSize0 = 0x08
desc.idVendor = 0x30fa
desc.idProduct = 0x0300
desc.bcdDevice = 0x0100
desc.iManufacturer = 0x00
desc.iProduct = 0x01
desc.iSerialNumber = 0x00
desc.bNumConfigurations = 0x01

202210033 sr

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

No branches or pull requests

1 participant