T42 | stone %lastname% was added by: stone %lastname% | 02:05 |
---|---|---|
PeperJohnny | hey guys, I want to build a kernel for the pinetab with the sfdk but if I try to build it, it says that I'm missing packages. I'm using the docker build engine, so I connected to it and installed the missing packages. Still it tells me that I'm missing them | 07:54 |
PeperJohnny | Can you maybe point me to some doc, I'm not finding anything | 07:54 |
PeperJohnny | or am too dumb to find :D | 07:55 |
PeperJohnny | https://sailfishos.org/wiki/Tutorial_-_Building_packages_manually this what I'm going along to build the packages | 07:56 |
PeperJohnny | Had luck so far with easier ones | 07:56 |
PeperJohnny | I found it myself thanks. "sfdk tools package-install SailfishOS-3.3.0.16-armv7hl packagename" is the way to go | 07:59 |
PeperJohnny | hmm cross-aarch64-binutils is missing from the repos. any idea where I can get it? | 08:24 |
PeperJohnny | missing in sfdk and on my xperia x as well | 08:24 |
PeperJohnny | mal: any idea about the missing cross-aarch packages? | 09:14 |
mal | adaptation related packages are usualy built following the instruction in hadk pdf https://sailfishos.org/wiki/Hardware_Adaptation_Development_Kit | 09:21 |
PeperJohnny | I'll check it out thanks | 09:22 |
T42 | <edp_17> @elros34 : Hi, I just wanted to let you know that the right-click also works with the S-pen! I finally could get the Debian Sid installed on the device and I tested the S-pen in there. As the device detect how close the pen to the screen I don't even need to touch the screen with it. The cursor is there and when I press the button at t | 09:22 |
T42 | he side, it works as a right-click. | 09:22 |
mal | maybe talk to piggz about building for pinetab | 09:22 |
T42 | <edp_17> So, thank you so much for your help with this! | 09:22 |
PeperJohnny | I'll do that | 09:23 |
T42 | <elros34> @edp_17 sounds nice | 10:29 |
T42 | <elros34> PeperJohnny: You probably can built it on your host system. Some instruction but I am not sure whether it is up to date | 10:36 |
T42 | <elros34> https://github.com/sailfish-on-dontbeevil/droid-hal-kernel-pine | 10:37 |
PeperJohnny | I'll try it, thank you | 10:37 |
Mister_Magister | do i need anything special to upgrade to 3.4? | 12:23 |
Thaodan | I upgraded a community port before that flawless the release variant should be no different | 12:24 |
Mister_Magister | i don't understand what you just said but ok | 12:28 |
Thaodan | You do that quite often when I say something. The point is I updated the community port that I used before the official release of 3.4 with earlier releases of it and it went fine. So the release variant sould also be fine. | 12:30 |
Mister_Magister | okay | 12:31 |
PeperJohnny | @elros34 the building went fine. Thank you very much | 12:34 |
PeperJohnny | piggz: I went and build the kernel from pine that has the driver for the pinetab, but still screen is not working. droid-hal-init crashes | 12:35 |
PeperJohnny | I have a uart cable and am connected over console | 12:35 |
piggz | PeperJohnny: droid-hal-init should be masked as its not required on pine | 12:36 |
PeperJohnny | that is good to know | 12:38 |
PeperJohnny | piggz: anything in particular I should look at? journalctl -xe shows me a wall of text, I don't understand most of it | 12:40 |
PeperJohnny | https://gitlab.com/pine64-org/linux/-/tree/pine64-kernel-5.7.y-pinetabpanel I used this kernel | 12:40 |
piggz | you have the logs from uart? | 12:42 |
piggz | just paste the whole journal somewhere | 12:42 |
PeperJohnny | ok | 12:42 |
PeperJohnny | piggz: https://pastebin.com/XVPnD2bX | 12:44 |
PeperJohnny | I installed connman-tools myself and edited /etc/shadow to get in the system. If something strikes in that way | 12:45 |
T42 | <elros34> @PeperJohnny for sure you should disabled droid-hal-init so: ln -s /dev/null /etc/systemd/system/droid-hal-init.service | 13:07 |
Thaodan | systemctl mask | 13:08 |
PeperJohnny | did that | 13:08 |
PeperJohnny | I guess I can mask droid-late-start.service as well? crashed too | 13:16 |
Mister_Magister | aaaaand my phone stopped working | 13:23 |
T42 | peperjohnny %lastname% was added by: peperjohnny %lastname% | 13:23 |
Mister_Magister | ohno wait it booted | 13:24 |
T42 | <edp_17> Hi all! Is there a way to listen to a input event and do something if an action happened? If so, could somebody give me an example please? | 13:46 |
Mister_Magister | tho fingerprint stopped working. piggz you know anything about that? | 13:59 |
piggz | Mister_Magister: not without logs! | 14:00 |
Mister_Magister | was just wondering if you experienced it | 14:00 |
mal | @edp_17 which input event code are you thinking about? | 14:00 |
T42 | <edp_17> mal: I am not sure which one is the event code but when this "0x05/EV_SW - 0x013/SW_0013" gets a 0 or 1, I'd like to run a command. | 14:02 |
mal | when is that event sent? | 14:25 |
T42 | <edp_17> When the S-Pen is pulled out/put back in. | 14:31 |
mal | what would you like to do in that case? | 14:32 |
T42 | <edp_17> For now, I'd like to start a command. Later, who knows. 😁 | 14:33 |
T42 | Sasank %lastname% was added by: Sasank %lastname% | 15:10 |
PeperJohnny | I did something very unholy but look at this beauty https://iznimbgux5rdbvcb.myfritz.net/s/So9biqCD54YysWj | 15:29 |
PeperJohnny | also apart from working display, I have nothing else :D | 15:29 |
*** ahjolinna_ is now known as ahjolinna | 15:32 | |
T42 | virginioscotti was added by: virginioscotti | 18:29 |
T42 | 崔萱棉 %lastname% was added by: 崔萱棉 %lastname% | 19:32 |
T42 | thephotogenic_bug was added by: thephotogenic_bug | 20:44 |
T42 | <edp_17> mal: do you have idea how to capture that event and how to react on that? | 21:39 |
Mister_Magister | piggz: false alarm seems to work fine now | 21:48 |
Mister_Magister | maybe first unlock was needed | 21:48 |
mal | @edp_17 maybe somehow abusing hacking the gesture code in mce | 21:54 |
T42 | <edp_17> mal: That doesn't sound good. I thought there was a similar way like an udev rule or something. | 21:58 |
mal | not sure if that can be done, I'm not that familiar what things udev can do | 22:00 |
T42 | <edp_17> Yeah, me neither. 😁 There should be something as the phone listens to that event as it displays that with evdev_trace. | 22:18 |
Thaodan | That works on specific action but not something like touchscreen event. | 22:20 |
Thaodan | But libinput has tools to trace those I think | 22:20 |
T42 | <elros34> it's quite easy write app with qsocketnotifier and read() to listen to those events but I hardly can see any use case for that. What you want to achieve (mysterious script)? | 22:21 |
T42 | <edp_17> Nope, nothing mystery in here. I just wanted to start with something easy. I explain. | 22:24 |
T42 | <edp_17> On these devices (Galaxy Note family) there is a function collection for the S-Pen. | 22:24 |
T42 | <edp_17> So, on Android (original Samsung one) if I pull out the pen, a little menu appears where I can select different apps. | 22:25 |
T42 | <edp_17> Not all of those apps are available without the pen. | 22:25 |
Thaodan | If you want to have a list of udev action open man 8 udevadm and search for --action= | 22:25 |
T42 | <edp_17> In that menu then I can create a screen shot, write a note to the screen, create a note with hand writing, ...etc... | 22:26 |
T42 | <edp_17> And I thought to create something similar. For start, display an overlay with two options: screenshot and notes (handwriting) | 22:27 |
Thaodan | But what you want is to wait for a touchscreen event (libinput) and then add a layer on top of the compositor | 22:27 |
Thaodan | Or hack it into lipstick | 22:28 |
T42 | <edp_17> For the overlay, I could use coderus' screentapshot (this also could be used for creating the screen shot) | 22:28 |
T42 | <edp_17> For the handwriting note I could utilise a modified papocchio by Andrea Scarpino - ilpianista. | 22:28 |
T42 | <edp_17> This was my idea. | 22:29 |
T42 | <edp_17> Thaodan: At that point when I pull out the pen, there is no touchscreen event. | 22:29 |
T42 | <edp_17> There is only an event: "/dev/input/event3: 148.185 - 0x05/EV_SW - 0x013/SW_0013 - 1" | 22:30 |
T42 | <edp_17> whatever it means. :) | 22:30 |
T42 | <elros34> screentapshot and all overlay apps doesn't work anymore on 3.4.0.x, not sure whether coderus figure out how to fix | 22:30 |
T42 | <edp_17> I am still on 3.3.0.16. :) | 22:30 |
T42 | <edp_17> Understand that I need to upgrade to 3.4 at some point but if this proof of concept works ... :) | 22:31 |
T42 | <edp_17> The reason I don't want to write a program that listens to the event when I pull out the pen is, without an app there is no battery consumption. As I need to start an app (the menu overlay) only when that even happens, it doesn't use any resources (memory, battery, whatever). | 22:34 |
T42 | <edp_17> So, if I can run a command when that event happens, I could start a program too. :) | 22:35 |
T42 | <elros34> but something most listen for that event and starting application would take too long time in my opinion | 22:37 |
T42 | <elros34> something about 1s delay between event and overlay | 22:39 |
T42 | <edp_17> True. | 22:39 |
T42 | <edp_17> In that case the app should be loaded and waiting in the memory to be able to instantly appear. | 22:39 |
T42 | <edp_17> But with this I'll lose the benefits I listed. | 22:39 |
T42 | <edp_17> However, the it depends on the delay. If that is not big, I don't mind. | 22:40 |
T42 | <edp_17> Okay, I wrote a script that listens and logs the event when the pen is out or back in. 😁 The first step is done, although this is not battery friendly. | 23:19 |
*** Oksana_ is now known as Oksana | 23:23 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!