webOS-ports / luneos-testing

Public testing images for LuneOS
4 stars 1 forks source link

MTP no longer working #23

Closed Herrie82 closed 10 months ago

Herrie82 commented 11 months ago

Describe the bug MTP mode is no longer showing on devices

To Reproduce Connect via USB, MTP popup should show, however it doesn't

Expected behavior MTP popup to show and able to go into USB mode.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Probably got broken somewhere in recent updates

Herrie82 commented 10 months ago

Might be caused by https://github.com/webOS-ports/luna-next-cardshell/commit/73f964ba06af5d3930394b1b57e8c4fa791ed4d3 ?

Tofee commented 10 months ago

Ah, maybe, I'll check who actually does the popup window Edit: looks like it's also managed by our systemui app: https://github.com/webOS-ports/luna-systemui/blob/webOS-ports/master/app/StoragedAlerts/StoragedAlerts.js

Herrie82 commented 10 months ago

@tofee Hmmz OK not sure then what's up.

Tofee commented 10 months ago

I do get the popup on Touchpad. However, it's expected that it doesn't work on mainline devices, we don't have any support for these yet.

Then, https://github.com/webOS-ports/enyo-1.0/pull/23 should fix the popup behavior. However, note that mtp-server is still not started after clicking on the button.

Tofee commented 10 months ago

It seems the mtp-server systemd unit is missing:

sh-5.1# systemctl start mtp-server
Failed to start mtp-server.service: Unit mtp-server.service not found.
Herrie82 commented 10 months ago

Fixed with https://github.com/webOS-ports/meta-webos-ports/pull/668

@codepoet80 ^