mavam / mavam/ml-driver

Freezes mouse pointer

Open
#4 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
70
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hey! When I run sudo ./ml_manage.sh load, it returns no output, but my mouse pointer disappears until I unplug and re-plug it back in. Then, I execute gcc -o ml_control user-space.c, and again, no output.

I'm on Linux Mint. If you need any info, feel free to comment!


I'm trying to get this driver so that I can fix this bug with a program in Java I'm working on to control the launcher:

javax.usb.UsbPlatformException: USB error 3: Can't open device Bus 002 Device 011: ID 0a81:0701: Access denied (insufficient permissions)
    at org.usb4java.javax.ExceptionUtils.createPlatformException(ExceptionUtils.java:39)
    at org.usb4java.javax.AbstractDevice.open(AbstractDevice.java:226)
    at org.usb4java.javax.AbstractIrpQueue.processControlIrp(AbstractIrpQueue.java:223)
    at org.usb4java.javax.ControlIrpQueue.processIrp(ControlIrpQueue.java:41)
    at org.usb4java.javax.ControlIrpQueue.processIrp(ControlIrpQueue.java:18)
    at org.usb4java.javax.AbstractIrpQueue.process(AbstractIrpQueue.java:104)
    at org.usb4java.javax.AbstractIrpQueue$1.run(AbstractIrpQueue.java:73)
    at java.lang.Thread.run(Thread.java:745)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the pointer failure on Linux Mint with sudo ./ml_manage.sh load, then inspect ml_manage.sh and user-space.c to identify which operation precedes the freeze. Review the Java usb4java exception as a separate access-permission symptom. Done means the launcher can be loaded without the mouse pointer disappearing and the observed behavior is covered by a reproducible test or documented diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.