-
Notifications
You must be signed in to change notification settings - Fork 72
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
USB HID Set Report and Get Report #145
Comments
@gary-rowe I also tried the hid4java-develop which was uploaded to the GitHub. |
@gary-rowe
|
@gary-rowe
|
Looking over your output, it appears that there is a reference to In general <dependencies>
<!-- hid4java for cross-platform HID USB -->
<dependency>
<groupId>org.hid4java</groupId>
<artifactId>hid4java</artifactId>
<version>0.7.0</version>
</dependency>
</dependencies> |
Hi Gary,
The hid4java-0.8.0.jar was named by myself because I downloaded your
hid4java-develop and export it to a jar. Therefore I used another version
to distinguish it from the original hid4java-0.7.0.jar.
Sincerely,
Frank
…On Fri, Mar 29, 2024 at 10:40 PM Gary Rowe ***@***.***> wrote:
Looking over your output, it appears that there is a reference to
hid4java-0.8.0.jar when the current latest release is 0.7.0 - could be a
typo.
In general hid4java is referenced by downstream projects in Maven as
follows:
<dependencies>
<!-- hid4java for cross-platform HID USB -->
<dependency>
<groupId>org.hid4java</groupId>
<artifactId>hid4java</artifactId>
<version>0.7.0</version>
</dependency>
</dependencies>
—
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUDIU7662Q5MHM4ENXCCYLY2VVLJAVCNFSM6AAAAABFASJFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXGMZTGMRQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @frankmeho. I've release the |
Hi Gary,
Thanks for your email.
I checked this IC platform and it’s Cortex-M4. The following web site is
the related information, fyi.
https://www.airoha.com/products/p/HanExuKmg0K35S1w
Sincerely,
Frank
…On Mon, Apr 15, 2024 at 5:40 PM Gary Rowe ***@***.***> wrote:
Hi @frankmeho <https://github.com/frankmeho>. I've release the 0.8.0
version of the library. Does this resolved the issue? Also, can you provide
the exact platform id (e.g. linex-aarch64 that is causing the issue?
—
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUDIUYTL5CS7B2EKQIXLMLY5OOBTAVCNFSM6AAAAABFASJFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGM4TINBYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Gary,
By the way, I’ve used hid4java-0.8.0 and I still encountered the same issue.
Thanks.
…On Wed, Apr 17, 2024 at 9:03 AM Frank Chen ***@***.***> wrote:
Hi Gary,
Thanks for your email.
I checked this IC platform and it’s Cortex-M4. The following web site is
the related information, fyi.
https://www.airoha.com/products/p/HanExuKmg0K35S1w
Sincerely,
Frank
On Mon, Apr 15, 2024 at 5:40 PM Gary Rowe ***@***.***>
wrote:
> Hi @frankmeho <https://github.com/frankmeho>. I've release the 0.8.0
> version of the library. Does this resolved the issue? Also, can you provide
> the exact platform id (e.g. linex-aarch64 that is causing the issue?
>
> —
> Reply to this email directly, view it on GitHub
> <#145 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEUDIUYTL5CS7B2EKQIXLMLY5OOBTAVCNFSM6AAAAABFASJFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGM4TINBYGE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hi Gary,
I also provide a screenshot for Set Report/Get Report of this specific IC,
fyi.
Sincerely,
Frank
…On Wed, Apr 17, 2024 at 9:06 AM Frank Chen ***@***.***> wrote:
Hi Gary,
By the way, I’ve used hid4java-0.8.0 and I still encountered the same
issue.
Thanks.
On Wed, Apr 17, 2024 at 9:03 AM Frank Chen ***@***.***> wrote:
> Hi Gary,
>
> Thanks for your email.
> I checked this IC platform and it’s Cortex-M4. The following web site is
> the related information, fyi.
> https://www.airoha.com/products/p/HanExuKmg0K35S1w
>
> Sincerely,
> Frank
>
> On Mon, Apr 15, 2024 at 5:40 PM Gary Rowe ***@***.***>
> wrote:
>
>> Hi @frankmeho <https://github.com/frankmeho>. I've release the 0.8.0
>> version of the library. Does this resolved the issue? Also, can you provide
>> the exact platform id (e.g. linex-aarch64 that is causing the issue?
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#145 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AEUDIUYTL5CS7B2EKQIXLMLY5OOBTAVCNFSM6AAAAABFASJFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGM4TINBYGE>
>> .
>> You are receiving this because you were mentioned.Message ID:
>> ***@***.***>
>>
>
|
So, its 0x06 is the Report ID for Set Report as well as the 0x07 the Report
ID for Get Report. We can’t get anything once we send Get Report.
…On Thu, Apr 25, 2024 at 10:52 AM Frank Chen ***@***.***> wrote:
Hi Gary,
I also provide a screenshot for Set Report/Get Report of this specific IC,
fyi.
Sincerely,
Frank
On Wed, Apr 17, 2024 at 9:06 AM Frank Chen ***@***.***> wrote:
> Hi Gary,
>
> By the way, I’ve used hid4java-0.8.0 and I still encountered the same
> issue.
>
> Thanks.
>
> On Wed, Apr 17, 2024 at 9:03 AM Frank Chen ***@***.***> wrote:
>
>> Hi Gary,
>>
>> Thanks for your email.
>> I checked this IC platform and it’s Cortex-M4. The following web site is
>> the related information, fyi.
>> https://www.airoha.com/products/p/HanExuKmg0K35S1w
>>
>> Sincerely,
>> Frank
>>
>> On Mon, Apr 15, 2024 at 5:40 PM Gary Rowe ***@***.***>
>> wrote:
>>
>>> Hi @frankmeho <https://github.com/frankmeho>. I've release the 0.8.0
>>> version of the library. Does this resolved the issue? Also, can you provide
>>> the exact platform id (e.g. linex-aarch64 that is causing the issue?
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#145 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/AEUDIUYTL5CS7B2EKQIXLMLY5OOBTAVCNFSM6AAAAABFASJFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGM4TINBYGE>
>>> .
>>> You are receiving this because you were mentioned.Message ID:
>>> ***@***.***>
>>>
>>
|
Describe the bug
A clear and concise description of what the bug is.
Recently I developed my owned Java PC tool to send USB HID commands with hid4java-0.7.0.jar library. It works well on most of embedded systems such as Qualcomm platform. But one specific platform needs to send Set Report command first, then send another Get Report to receive the correct response. However, this specific platform can be sent Set Report correctly, but failed to send the Get Report, which means when I send Get Report, there's no any response. Use USB analyzer to capture USB packets, only the Set Report can be seen, not any Get Report packet was sent out.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
How can I let the specific platform to work with my owned Java PC tool? Use another C/C++ SimpleHIDWrite to Set Report, and then Get Report, both can work.
Screenshots
If applicable, add screenshots to help explain your problem.
None
Desktop (please complete the following information):
Windows 10
Smartphone (please complete the following information):
None
Additional context
None
The text was updated successfully, but these errors were encountered: