![]() |
#16 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
|
I think about 'mount --bind ...' to mount a new x cfg over the existing one while I wonder whether this may work - never used --bind before.
|
![]() |
![]() |
![]() |
#17 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Two thoughts - lipc is just a specialized wrapper around d-bus. If access controls are set at the lipc level, you might be able to 'go under' those controls using d-bus utilities directly. At the (presumed) lowest level they may be controlled in the system key data base. Use the on-board kdb utility to list those db entries (which might be what lipc is doing above as part of its d-bus wrapper functions). kdb without arguments gives you a handle on basic usage. The kdb database is in a read-only structure but some of the add-ins modify it by "mount --bind ... ..." something over the entry that needs to be different. ah, maybe ss does that (something of NiLuje's does). |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It isn't much different than 'normal' usage, man mount will give the details. And if you don't have a full Linux distribution (with the documentation installed) - Your favorite web-search application will recognize the: man mount as a search phrase. |
|
![]() |
![]() |
![]() |
#19 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
|
If bind will work, that's great...
![]() I'll come up with an extension/app soon. Thanks guys. -- Humorously, I was testing this: lipc-set-prop com.lab126.winmgr orientationLock ? from A-Z... Since, normal portrait was U, (upright?) L made the kindle go to the 'other' landscape option immediately. The kindle stays like it, and when you try to turn it off by using the Aa button, clicking PAGE, click portrait/landscape, the page flips to the 'normal' landscape. Then you can go back to portrait. Touch x,y is fine, not reversed etc. Ok, U is normal, L is 'other' landscape, R is normal landscape. Nothing from A-Z made it go upside down... -- if anyone has a KOA, maybe try: lipc-get-prop com.lab126.winmgr orientationLock lipc-get-prop com.lab126.winmgr orientation lipc-get-prop com.lab126.winmgr accelerometer lipc-get-prop com.lab126.winmgr setAccOrientation and see what values you get when it's 'upside down'. Last edited by zxczxc; 09-27-2016 at 12:16 PM. |
![]() |
![]() |
![]() |
#20 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
|
Good, bind mounts are working, as I saw some older kernels don't listen to the read only on creation of the mount, and you have to remount as read only.
I tried that, but I got file busy... It's working now though, so I hope the busy thing was just a coincidence. We need it read only because, otherwise makexconfig will just keep recreating the xorg.conf. And yes, nice to see, when rebooted, the upside down is gone, it boots up 'normally' ![]() -- Oops... the boot screen/tree was normal... but now I'm in diags... ha (It exited ok, system is fine now) Last edited by zxczxc; 09-27-2016 at 01:16 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
next time that happens, dump the kernel ring buffer to a file before exiting (/var/local and /mnt/us are common to the two systems - use whichever you can).
there might be some hints in there about how to avoid that situation. |
![]() |
![]() |
![]() |
#22 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
|
I have a feeling it was to do with a usb device in the kindle, since I haven't has it go into diags yes from my testing.
I'm in diags again, I'll try to do that! Anyway, https://github.com/llakssz/KindleLaz...-upsidedown.sh KindleLazy now has upside down support ![]() Thanks Yourcat for the work that helped. |
![]() |
![]() |
![]() |
#23 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
A solid lead on how to get a "hung" or "bricked" Kindle main system to boot into "Diags" (intentionally). So once we understand how it is happening . . . . Specially important on the very expensive, KOA which does not have a serial port (that we have yet found). Luckily, not many reports (yet) of people with a bricked KOA. ![]() |
|
![]() |
![]() |
![]() |
#24 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
|
That's sad that we can't find the serial port...
Sure, I wouldn't want to play around too much with a KOA ha. Funny... remember how I thought if we wanted the 'other' landscape (270 degrees) - that we could just activate upside down, then go landscape... well the kindle is very annoying. When upside down and we click the landscape button, it goes to the 'normal' landscape, and touching portrait will return us to a normal upright kindle... So it seems the only way to get to 270 degrees is: lipc-set-prop com.lab126.winmgr orientationLock L |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does Kobo Touch change orientation? | Orn8one | Kobo Reader | 22 | 01-13-2014 05:31 PM |
Sony PRS T1 screen orientation | tomixed | Sony Reader Dev Corner | 3 | 05-22-2012 11:41 AM |
change screen orientation | jacek.poplawski | Amazon Kindle | 7 | 10-25-2011 07:47 AM |
PRS-505 Quick way to change orientation | diy | Sony Reader | 8 | 11-20-2010 10:29 AM |
PRS-505 Change Orientation Clockwise instead of Anticlockwise ??? | jeromedevine | Sony Reader | 3 | 12-26-2009 03:12 PM |