maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS on Motorola Droid 4 XT894 (alpha port) (https://talk.maemo.org/showthread.php?t=99031)

moodroid 2017-03-07 11:37

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Sorry for yet another question...
Obviously very low priority...
The cursor keys seem to be mapped a bit funny with left and right being up and down and vice versa. Any way to change them?
Thanks

elros34 2017-03-07 12:02

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
I had the same problem with cursors on photon q. Swap them in /usr/share/X11/xkb/keycodes/evdev.

carepack 2017-03-07 14:22

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
@TheKit
oh no, you're out with the port? damn. Hey good job man! I hope a lot of people enjoy it. What about an xda thread? Already up?

moodroid 2017-03-07 14:34

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Quote:

Originally Posted by elros34 (Post 1524974)
I had the same problem with cursors on photon q. Swap them in /usr/share/X11/xkb/keycodes/evdev.

Excellent, thanks - sorted! (114, 111, 113, 116 for reference)

This is now totally usable for me except for the headphone socket not working.

Don't suppose anyone knows of anyway of routing sound to the headphone socket, even if it's a manual process rather than automatic?

Many thanks

elros34 2017-03-07 14:49

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
journalctl is your friend :) You can try to create /etc/ohm/plugins.d/accessories.ini with appropriate values taken from evdev_trace (mce-tools package).

TheKit 2017-03-07 15:20

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Quote:

Originally Posted by carepack (Post 1524984)
@TheKit
oh no, you're out with the port? damn. Hey good job man! I hope a lot of people enjoy it. What about an xda thread? Already up?

Heh, sorry for getting ahead of train, didn't see you on #sailfishos-porters lately. There are still issues to fix, as you see, so I wanted the port to become more stable before posting on XDA, but to get some initial feedback and testing.

moodroid 2017-03-07 16:51

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Quote:

Originally Posted by elros34 (Post 1524988)
journalctl is your friend :) You can try to create /etc/ohm/plugins.d/accessories.ini with appropriate values taken from evdev_trace (mce-tools package).

Thanks anyway, but it's beyond me! I can't even identify which event I need to use. I guess I'll wait until somebody who knows what they're doing has time to look, i.e. @TheKit

Thanks everybody for the help so far, and especially to TheKit for even making this possible.

mp107 2017-03-07 19:30

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Glad to see a port for the Droid 4.
Might count me in as a tester. :)

t-b 2017-03-07 20:14

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Bought a Droid 4 a while ago (they are dirt cheap and the keyboard seems to be nice) but never used it.
This port sparked my interest though so rooted the device and installed safestrap yesterday.

After installing Sailfish and rebooting the screen turned black (lit) and didn't show any error message.
I didn't turn it off this night (not knowing how long it takes to boot the first time) but this morning still a black screen.

Wiped the phone and tried again. Same result.
Wiped the phone and only installed CM11 and booted CM11 - that worked fine.
I used ROM slot 'stock'

Maybe I am missing one obvious step - I am not very experienced in flashing custom roms for Android phones and never used safestrap before.

TheKit 2017-03-07 20:22

Re: SailfishOS on Motorola Droid 4 XT894 (alpha port)
 
Quote:

Originally Posted by t-b (Post 1525003)
...
I used ROM slot 'stock'

Maybe I am missing one obvious step - I am not very experienced in flashing custom roms for Android phones and never used safestrap before.

Please try non-stock ROM slot (for example ROM slot 1). I didn't actually know that "stock" slot can be used for installing custom ROMs in SafeStrap, going to fix this in init scripts. If it takes more than a few minutes for initial boot, something went wrong and it probably won't boot.

Quote:

Originally Posted by elros34 (Post 1524988)
journalctl is your friend :) You can try to create /etc/ohm/plugins.d/accessories.ini with appropriate values taken from evdev_trace (mce-tools package).

Thanks for mentioning this. The kernel didn't transmit EV_SW events expected by ohm though, so I needed to modify it.

As a quick fix, extract files from the this archive, then do:
Code:

devel-su
mount -o remount,rw /system
cp kernel /system/etc/kexec/
cp accessories.ini /etc/ohm/plugins.d/

I plan to do a new build to fix this and some other issues from the thread later.


All times are GMT. The time now is 10:39.

vBulletin® Version 3.8.8