T42 | <温雅筐 %lastname%> (Photo, 1280x719) https://irc.thaodan.de/.imgstore/WwZ83Pkvqc.png 在线接单:各大电报业务,增粉(月初土豆粉优惠买1000送200),售号,炸群,活跃度提升,币所上币实名,非小号排名提升,更多业务咨询 @MM2002666 | 02:42 |
---|---|---|
T42 | <Martina %lastname%> (Photo, 786x888) https://irc.thaodan.de/.imgstore/BkNiGMAUw0.png (美女直播点击: http://2u94w.cn )💥5万个电报、.微信、土豆Patato、推特增粉,非小号.mytoken关注热度排名,指定电报群私聊.twitter.facebook.Linkedin.YouTube加粉、电报群微信群Patato群活跃聊天,中英文客服群管理,实名资料出售,各类交易投票,出售微信号twitter facebook,交易所实名账号.更 | 07:11 |
T42 | <edp_17> Yesterday I applied a bunch of changes to the S2 kernel and device (all are available in my repo in github). I copied all of them from cm14.1 | 12:10 |
T42 | <edp_17> As result now I have a path /sys/class/misc/notification/led | 12:10 |
T42 | <edp_17> I can only set it to 1 or 0 but when I do, the two softkeys light up or go black respectively. | 12:10 |
T42 | <edp_17> I put the 60-white.ini into /etc/mce/ | 12:10 |
T42 | <edp_17> In this file I changed the LedDirectory to /sys/class/misc/notification/led | 12:10 |
T42 | <edp_17> I have rebooted but the softkeys are never light up. | 12:10 |
T42 | <edp_17> Is there anything else that I am missing? | 12:11 |
T42 | <elros34> is it really directory or file? | 12:14 |
T42 | <edp_17> It is ASCII text file | 12:15 |
T42 | <elros34> LedDirectory must be directory, set file in BrightnessFile | 12:19 |
T42 | <edp_17> Okay, I try. Do I need to reboot? | 12:20 |
T42 | <elros34> restart mce | 12:20 |
T42 | <edp_17> It doesn't work. I even rebooted. Note that when I was playing with it I needed to put 1 inti /sys/class/misc/notification/notification_enabled otherwise the keys didn't light up. However on reboot, looks like it clears the notification_enabled. | 12:29 |
T42 | <elros34> obviously sysfs is not persistent across reboots | 12:31 |
T42 | <edp_17> I see. | 12:32 |
T42 | <edp_17> Now I set 1 into notification_enabled and tested it with test_lights and csd, then restarted mce and tested again. Doesn't work. | 12:34 |
T42 | <elros34> Did you set max brightness in config file? | 12:34 |
T42 | <edp_17> No, because there is no such a file in /sys/class/misc/notification | 12:35 |
T42 | <edp_17> Wait, in 60-white.ini is that should be LedBrightnessFile or BrightnessFile? | 12:38 |
T42 | <elros34> depends on what you set it there, example is straightforward | 12:39 |
T42 | <edp_17> I have set BrightnessFile. | 12:40 |
T42 | <elros34> if you don't have max brightness file then either add it in kernel or (ugly way) create file with 1 somewhere in your rootfs and use absolute paths in config | 12:40 |
T42 | <edp_17> Now I did in the dirty way. | 12:45 |
T42 | <edp_17> BrightnessFile=/sys/class/misc/notification/led | 12:48 |
T42 | <edp_17> MaxBrightnessFile=/home/nemo/max_brightness | 12:48 |
T42 | <edp_17> But still nothing. 😔 | 12:48 |
T42 | <edp_17> I gotta go now. Thanks for your time. I'll continue later. | 12:49 |
superprower | Is it possible to configure mouse to act as a touch input in lipstick? I tried adding it to the lipstick options as `-plugin evdevmouse:/path/to/mouse/event`, but it doesn't seem to help. I can see the cursor, and scrolling works, but clicks aren't being registered as touch. Thanks in advance. | 13:44 |
T42 | <edp_17> Interesting. I wrote a little script that writes 1 and 0 into the /sys/class/misc/notification/led with a little delay. Basically it is blinking the softkeys. When I run it from pc ssh-d in, the softkeys are blinking as expected. But when I call it from fingerterm, the keys just light up and that's it. | 17:29 |
T42 | <edp_17> Is it down to the screen "refresh" issue I described few weeks ago? | 17:30 |
T42 | <edp_17> I think the answer is yes because when I put 1 into .../led the softkeys lit up and when I switched the screen off the softkeys did remain on. Then when I put 0 in there the softkeys remained on (they should be off at this point) because of the refresh issue, then they went black with the screen switched off. | 17:38 |
T42 | <edp_17> So, it seems I should somehow fix the screen refresh issue first. | 17:39 |
r0kk3rz | sounds like some kind of ioctl issue | 23:00 |
T42 | <edp_17> ioctl? | 23:01 |
T42 | <edp_17> What is that? | 23:01 |
T42 | <edp_17> I have found it. I mean the explanation about it. | 23:03 |
T42 | <edp_17> I thought this is because I use EGL_PLATFORM=fbdev in droid-hal-device.conf | 23:06 |
r0kk3rz | that should have zero effect on any led control | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!