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

Inputs not working Google TV #244

Open
wirtualka85 opened this issue Oct 31, 2024 · 18 comments
Open

Inputs not working Google TV #244

wirtualka85 opened this issue Oct 31, 2024 · 18 comments
Labels
bug Something isn't working help wanted External brain power is needed

Comments

@wirtualka85
Copy link

wirtualka85 commented Oct 31, 2024

Hello

I have installed droidVNC-. NG 2.7.3 on TCL 75C805 Google TV.
On the TV I have granted all permissions to the droidVNC-NG application.

I connect from a computer with UltraVNC.
Remote mouse and keyboard do not work.

Only the ESC, END and HOME buttons on the keyboard work.

Please repair.

@wirtualka85 wirtualka85 added the bug Something isn't working label Oct 31, 2024
@bk138
Copy link
Owner

bk138 commented Oct 31, 2024

Thanks for your report! I tested this on a Google TV emulator, it works there.

Can you please try to:

  • check that accessibility service for droidVNC-NG is enabled in Settings
    • switch it off and on again and retry
  • if that does not work, get a complete logcat output of the error case
  • try another remote desktop app to see if it has the same issues? IIRC anydesk has a TV version as well...

@bk138 bk138 added the answer-needed Waiting for response from OP label Oct 31, 2024
@wirtualka85
Copy link
Author

wirtualka85 commented Oct 31, 2024

###################
AnyDesk
The keyboard only works after installing AnyDesk plugin ad1.
The mouse doesn't work.

###################
droidVNC-NG

I tested with other VNC clients, same behavior.
I checked availability a few times.
Without accessibility the ESC, END and HOME keys do not work.

###################
My workaround.
On the computer I see the TV desktop in application UltraVNC.
I control the TV from my phone using the Google TV app.

@bk138
Copy link
Owner

bk138 commented Oct 31, 2024

@wirtualka85 can we close this issue then?

@wirtualka85
Copy link
Author

No.
The droidVNC-. NG 2.7.3 application does not work properly with TV.
I will perform tests on another TV Google TV TCL 65c645 and let you know if the application works or not.

@bk138
Copy link
Owner

bk138 commented Nov 1, 2024

You can try that. I fear that there are bugs in the underlying a11y implementation if other apps are also not working.

@bk138
Copy link
Owner

bk138 commented Nov 3, 2024

You can also give alphavnc a try, please post the results here if you do so.

@bk138
Copy link
Owner

bk138 commented Nov 10, 2024

Tentatively closing, feel free to post info here once available, we can then re-open.

@bk138 bk138 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2024
@bk138 bk138 reopened this Dec 22, 2024
@cannondale0815
Copy link

Also having this issue of not being able to send mouse clicks across to the Android TV that's running droidVNC 2.8.0. It's a Phillips TPM191E with Android TV 11.

I am using TightVNC viewer on a Windows 11 PC. Keyboard shortcuts like ESC work fine. But mouse clicking doesn't work, so I have no way of navigating the TV remotely.

Thank you for this excellent piece of software btw, I am using it successfully on my parent's mobile phones to provide remote support to them :)

@bk138
Copy link
Owner

bk138 commented Dec 23, 2024

@cannondale0815 thanks for reporting. If at all possible, I need logcat output, best annotated with what you were trying at a specific timestamp.

@pozineg
Copy link

pozineg commented Dec 23, 2024

Hi,

I can confirm the same issue user wirtualka85 reported earlier. What happens on my both Google TVs was described in Exact words. I'm opening this unresolved issue again as it has been previously closed for some reason.

I've tried all your suggestions plus restart/reinstall but nothing works. Would you mind trying to resolve it?

Logcat dumped while running both: app with all privileges allowed and vnc connection active - logcat.txt

Thanks

@bk138
Copy link
Owner

bk138 commented Dec 23, 2024

Logcat dumped while running both: app with all privileges allowed and vnc connection active - logcat.txt

Logs look unsuspicious. What I find strange is that there are no OnKeyEvent logs - did you try to enter text with the keyboard somewhere? Then again, https://github.com/bk138/droidVNC-NG/blob/master/app/src/main/java/net/christianbeier/droidvnc_ng/InputService.java#L486 is triggered somewhere, so isInputEnabled is probably true...

@pozineg
Copy link

pozineg commented Dec 23, 2024 via email

@bk138
Copy link
Owner

bk138 commented Dec 29, 2024

Guys, we need logcat dumps together with what you tried. Otherwise this issue is unactionable 🙁.

@pozineg
Copy link

pozineg commented Dec 29, 2024

Hi,
Steps taken:

  1. Connected to TV via ADB on port 5555,
  2. Started droidVNC-NG service on Google TV with mouse cursors on and all 4 permissions granted,
  3. Connected to Google TV via VNC on the android phone,
  4. Moving mouse with effect bout no clicks, tap, double tap, tap and hold, 2 finger tap or any other command inn effect apart form the movement on Google TV and VNC screens.
  5. Using TV remote moved to edit Start Delay setting in droidVNC_NG.
  6. Key entries, Enter and Delete worked.
  7. Moved to a Google TV's App search edit screen with a remote virtual keyboard popped up.
  8. Entered app name to search via VNC, but enter didn't work, only remote command sent activated search.
  9. Logcat dump taken -attached below.
    Hope this helps,
    Thanks for investigating.
    Uploading logcat.txt…

@bk138
Copy link
Owner

bk138 commented Dec 29, 2024

@pozineg thanks for the effort, the download link is broken, however.

@pozineg
Copy link

pozineg commented Dec 29, 2024

Hi Christian,

Sorry for a delay.
Both logs attached low - first from an issue reopening and second one from today's debug session. Hope upload works this time :-)

Thank you,

DroidVNC-NG - logcat - 2024.12.23.txt
DroidVNC-NG - logcat - 2024.12.29.txt

@bk138 bk138 added help wanted External brain power is needed and removed answer-needed Waiting for response from OP labels Dec 31, 2024
@IagonaDevTeam
Copy link

Hey everyone, does someone have any news on this issue?

@bk138
Copy link
Owner

bk138 commented Jan 16, 2025

Unfortunately not. Am a bit clueless here tbh. It would help if someone with access to the hardware could make a table or list which other solutions work and if so, how they do it. Open source would be nice so we can get code insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted External brain power is needed
Projects
None yet
Development

No branches or pull requests

5 participants