norayr | i need to say this lapdock is amazing and unbelievable. | 00:23 |
---|---|---|
norayr | i just watched two videos by johnny harris | 00:23 |
norayr | under android. | 00:23 |
norayr | need to try to get an image with wmaker | 00:23 |
rafael2k | today I brought my PP to the office | 09:23 |
rafael2k | I plan to run some tests | 09:23 |
Evil_Bob_ | big PP? | 09:34 |
rafael2k | phone calls keep working | 09:35 |
rafael2k | : ) | 09:35 |
rafael2k | Evil_Bob_: PinePhone 1 | 09:35 |
uvos__ | norayr: yeah it was pretty neat, especcaly at the time | 09:37 |
uvos__ | norayr: having your phone boot to xorg and be able to run random linux applications while transforming into a laptop with looooong battery life | 09:37 |
uvos__ | the atrix like this was also the first mass market arm laptop you could just buy, beating the first chromebook by about half a year | 09:39 |
rafael2k | cool, bt keyboard and mouse working with maemo on the PP | 10:33 |
Guest224 | rafael2k: Pinephone keyboard also works with Maemo and it is cool...What PinePhone 1 exact model you have? On box there is model sku like PPHONE-BE2 or something. | 10:53 |
rafael2k | when I scroll the mouse button, I hear the system sound for every wheel spin... may be the system sounds could be left just for left, center and right mouse clicks? | 10:55 |
rafael2k | Guest224: hey, I know, I added support for the PP keyboard in the kernel. I have a PP 1.2 | 10:56 |
Guest224 | :) | 10:57 |
rafael2k | : ) | 11:05 |
rafael2k | are you using Maemo in the PP too? | 11:05 |
Guest224 | yes, but I have "old" 20220731 image..so have to make new installation. | 11:09 |
Guest224 | rafael2k: Have you tested Docking Bar with PP? | 11:13 |
rafael2k | You can just apt-get update / apt-get dist-upgrade | 11:14 |
rafael2k | in order to keep the distro upgraded | 11:14 |
rafael2k | I did not tested the Docking bar yet. Let us know if you test it! | 11:15 |
rafael2k | in theory, it should work out-of-the-box | 11:15 |
Guest224 | I just wondering should I put usb-charger to docking bar at all when I have Pinephone with Pinephone keyboard...stupid question, but I want to be sure, because keyboard manual says only charge phone thru keyboard charge connector. | 11:22 |
rafael2k | don't! | 11:22 |
rafael2k | only plug it to the keyboard | 11:22 |
Guest224 | do you know actual reason for that? | 11:23 |
rafael2k | long history short - a hardware limitation | 11:25 |
Guest224 | can pinephone give enough power for usb ports of docking bar, or should I have powered hub after that? | 11:30 |
rafael2k | It should provide enough power, yes | 11:36 |
rafael2k | Wizzup: I can confirm the USB in the PP can change to host mode automatically (I just plugged a USB mouse on it) | 11:38 |
Guest224 | ok..I make some tests, but not today. | 11:38 |
Wizzup | rafael2k: ok, but we don't wnat that, we probably want to rely on otg to decide if it's slave or host | 11:38 |
rafael2k | let us know the results, plz | 11:38 |
rafael2k | I want that | 11:38 |
rafael2k | :P | 11:38 |
Wizzup | maemo leste doesn't, since it has dialog to allow people to connect their phone to the computer to transfer files | 11:39 |
rafael2k | it dynamically decides | 11:39 |
Wizzup | well it doesn't clearly | 11:39 |
Wizzup | unless the kernel paths changed | 11:39 |
rafael2k | can you check this? | 11:39 |
rafael2k | reading the kernel logs, it seems all good | 11:39 |
Wizzup | actually I have to do it all with the vkb since I have no way to access the phone | 11:39 |
Wizzup | no serial, wifi doesn't work | 11:40 |
Wizzup | and no usbnet | 11:40 |
Wizzup | so it's a bit painful atm for me on the braveheart | 11:40 |
rafael2k | but why wifi is not working? | 11:40 |
Wizzup | don't know, it is also related to kernel upgrade I think | 11:40 |
rafael2k | definitelly not | 11:40 |
rafael2k | latest kernel upgrade was like... 3 months ago? | 11:41 |
Wizzup | yes, it stopped working since then | 11:41 |
rafael2k | hum | 11:41 |
Wizzup | if I flash the old image, it works, then upgade, I think it breaks | 11:41 |
Wizzup | I will have to test that again though | 11:41 |
Wizzup | maybe the wifi only worked some of the times | 11:41 |
rafael2k | so may be can be an issue with braveheart | 11:41 |
Wizzup | I'll check later today... | 11:41 |
rafael2k | indeed, there are some hardware differences | 11:41 |
rafael2k | just like the one freemangordon was complaining | 11:41 |
rafael2k | but for me (and may be others?) with a PP >= 1.2, it is all good | 11:42 |
rafael2k | :/ | 11:42 |
rafael2k | lemme know if I can help | 11:42 |
rafael2k | (hey, just get a USB keyboard and stuff to the PP, or a bt kbd, it works!) | 11:43 |
Wizzup | well, plug it in to your pc and see if the dialog comes up and usbnet comes up | 11:43 |
Wizzup | if it doesn't there's a problem | 11:43 |
rafael2k | I prefer not to have usbnet than not to have telephony... | 11:45 |
rafael2k | no, it does not work | 11:45 |
Wizzup | I don't think we need to choose between usbnet and telephony? | 11:45 |
Guest224 | Reason why switched N950 to N900 was that I could use USB-memorysticks with N900...so would it be could good that there is USB-settings how user want use USB. | 11:45 |
rafael2k | I'm just saying in the past usbnet was working, but many things were not | 11:45 |
Wizzup | well don't take it personal... | 11:46 |
Wizzup | I'll see if it's userspace that changed, but I bet it's just missing config options | 11:46 |
rafael2k | lemme know which piece of software sets up the usbnet dev | 11:46 |
Wizzup | hildon-usb-gadgets package | 11:47 |
rafael2k | need to have a checklist for every kernel upgrade | 11:47 |
rafael2k | tks | 11:48 |
Wizzup | and then this will act on udev events and actually run those binaries https://github.com/maemo-leste/ke-recv-extra | 11:49 |
Wizzup | no sorry, not -exra | 11:49 |
Wizzup | not -extra | 11:49 |
Wizzup | this one https://github.com/maemo-leste/ke-recv/blob/master/src/udev-helper.c | 11:49 |
rafael2k | ok | 11:50 |
rafael2k | usbnet module is there | 11:50 |
Wizzup | ok, let me get the phone now | 11:51 |
rafael2k | but it is not working indeed | 11:51 |
rafael2k | I'll try to find the paths | 11:53 |
rafael2k | I can see the kernel modules are there, trying to compare to older kernels | 12:01 |
Wizzup | what if you run the programs from hildon-usb-gadgets ? | 12:01 |
rafael2k | modprobe g_ether | 12:19 |
rafael2k | gave me usb0 device back | 12:19 |
Wizzup | let me see if I can get wifi to work | 12:22 |
rafael2k | yay | 12:24 |
rafael2k | usb0 is back | 12:24 |
rafael2k | just make user g_ether is in /etc/modules | 12:24 |
rafael2k | *make sure | 12:24 |
rafael2k | so it prolly was Y instead of M | 12:25 |
rafael2k | ping 192.168.42.2 192.168.42.2 (192.168.42.2) 56(84) bytes of data. | 12:26 |
rafael2k | 64 bytes from 192.168.42.2: icmp_seq=1 ttl=64 time=0.577 ms | 12:26 |
rafael2k | it works | 12:26 |
rafael2k | uff, that was easy | 12:27 |
Wizzup | hmm | 12:32 |
Wizzup | rafael2k: this is not it | 12:33 |
Wizzup | g_ether is just some hardcoded config, what is needed if configfs and stuff | 12:33 |
Wizzup | my pp is booting now | 12:33 |
rafael2k | I don't get it | 12:34 |
Wizzup | modprobing g_ether has a lot of unwanted effects | 12:34 |
Wizzup | like you can't expose other composite modules | 12:34 |
Wizzup | afaik | 12:34 |
Wizzup | my pp battery is too low so it's not booting all the way atm | 12:35 |
rafael2k | anyway, kernel side is all good | 12:35 |
Wizzup | rafael2k: basically there's a whole kernel interface to configure composite otg gadgets | 12:35 |
Wizzup | rafael2k: can you grep for CONFIG_USB_CONFIGFS | 12:36 |
rafael2k | sure | 12:37 |
Wizzup | and probably CONFIG_CONFIGFS_FS | 12:37 |
rafael2k | CONFIG_USB_CONFIGFS=m | 12:37 |
rafael2k | CONFIG_CONFIGFS_FS=m | 12:38 |
Wizzup | there's a lot of sub options | 12:38 |
rafael2k | indeed | 12:38 |
Wizzup | are they all on? | 12:38 |
Wizzup | i.e. | 12:38 |
Wizzup | CONFIG_USB_CONFIGFS_SERIAL=y | 12:38 |
Wizzup | CONFIG_USB_CONFIGFS_ACM=y | 12:38 |
Wizzup | CONFIG_USB_CONFIGFS_OBEX=y | 12:38 |
Wizzup | CONFIG_USB_CONFIGFS_NCM=y | 12:38 |
Wizzup | CONFIG_USB_CONFIGFS_ECM=y | 12:38 |
Wizzup | (..>) | 12:38 |
Wizzup | (and more) | 12:38 |
rafael2k | all y | 12:38 |
rafael2k | apart of: | 12:38 |
Wizzup | btw /sbin/ifconfig -a gives no wlan0 on my pp | 12:38 |
rafael2k | # CONFIG_USB_CONFIGFS_PHONET is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_LB_SS is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_MIDI is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_UVC is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_PRINTER is not set | 12:39 |
rafael2k | # CONFIG_USB_CONFIGFS_F_TCM is not set | 12:39 |
Wizzup | maybe it's the physical switch | 12:39 |
Wizzup | I have to check what some of those F are, but I -tink- they do not matter | 12:39 |
Wizzup | hm now wifi works | 12:42 |
rafael2k | : ) | 12:42 |
Wizzup | (just rebooting) | 12:43 |
Wizzup | so maybe it's a random boot fial | 12:43 |
Wizzup | # /usr/sbin/hildon-usb-gadget-network | 12:43 |
Wizzup | usbg_init() No such file or directory: couldn't init gadget state | 12:43 |
Wizzup | In: usbg_init("/sys/kernel/config", &state) (Function: gadget_init) | 12:43 |
Wizzup | Error: USBG_ERROR_NOT_FOUND : Not found (file or directory removed) | 12:43 |
Wizzup | In: usbg_create_gadget(state, "g1", &g_attrs, &g_strs, &g) (Function: network_gadget) | 12:43 |
Wizzup | Error: USBG_ERROR_INVALID_PARAM : Invalid parameter | 12:43 |
Wizzup | /sys/kernel/config is empty | 12:43 |
Wizzup | mount -t configfs none /sys/kernel/config/ | 12:47 |
Wizzup | rafael2k: I wonder what happens if CONFIG_CONFIGFS_FS=y | 12:49 |
Wizzup | it looks like /sys/kernel/config is not being mounted | 12:49 |
Wizzup | I don't know what is supposed to mount it | 12:49 |
Wizzup | /etc/init.d/mountkernfs.sh: domount "$MNTMODE" configfs "" /sys/kernel/config configfs "" | 12:49 |
Wizzup | probably this, and when the module it not loaded, it doesn't mount at the right time | 12:49 |
Wizzup | rafael2k: yep that's it | 12:56 |
Wizzup | if I add this in /etc/init.d/ke-recv: | 12:56 |
Wizzup | err | 12:56 |
Wizzup | mount -t configfs none /sys/kernel/config/ | 12:56 |
Wizzup | below | 12:56 |
Wizzup | modprobe usb_f_mass_storage | 12:57 |
Wizzup | then it works | 12:57 |
Wizzup | rafael2k: can we set it to =Y? | 12:57 |
rafael2k | yay, just entered a meeting, gimme half hour | 13:01 |
rafael2k | mount -t configfs none /sys/kernel/config/ | 13:11 |
rafael2k | : ) | 13:11 |
Wizzup | hm? | 13:11 |
rafael2k | this made /usr/sbin/hildon-usb-gadget-network run | 13:12 |
Wizzup | yes | 13:12 |
Wizzup | it this only gets mounted during early boot | 13:12 |
Wizzup | when it's a module, it is not loaded yet | 13:12 |
Wizzup | and then it is not mounted | 13:12 |
rafael2k | which module did you suggest to Y? | 13:12 |
rafael2k | we can change, no problem | 13:13 |
rafael2k | so knowing all this, I'd stick with our current kernel version until we have all the features working, before jumping to another newer kernel version then | 13:13 |
Wizzup | CONFIG_CONFIGFS_FS | 13:14 |
rafael2k | ok | 13:14 |
uvos__ | just make shure to do the mounts after modprobe or? | 14:09 |
uvos__ | seams like a problem in our setup more than the kernel | 14:10 |
Wizzup | uvos__: it's a devuan init script that runs on boot | 14:17 |
Wizzup | so we can fork the init script I suppose | 14:18 |
uvos__ | or complain upstrea | 14:18 |
uvos__ | m | 14:18 |
uvos__ | it should have a depends no? | 14:18 |
Wizzup | yup, or keep a sane and synced kernel config for all our devices | 14:18 |
uvos__ | i mean different devices need different config | 14:22 |
uvos__ | so this kind of config sensetivity is going to bite people over and over again | 14:22 |
uvos__ | i strongly doubt we will ever manage to have all devices run the mapphone kernel | 14:23 |
uvos__ | as good as that would be | 14:23 |
Wizzup | this is just a core kernel config feature not being build in | 14:24 |
Wizzup | feel free to file a bug upstream but I don't want to spend time on that atm | 14:24 |
uvos__ | ok ok i get it Wizzup is annyoed with this problem | 14:24 |
uvos__ | and just wants it gohne | 14:24 |
Wizzup | nope, I'm saying that I won't file bugs with devuan for this, since I don't think there's an easy method available at all to mount filesystems on module insertion at any point in the system | 14:25 |
Wizzup | but you're welcome to do it | 14:25 |
Wizzup | and that's right, having bugs fixed and distractions gone is definitely important | 14:26 |
freemangordon | Wizzup: I have wifi not working issue as well, it happens when battery is low :) | 14:30 |
freemangordon | as soon as you charge a bit it starts working | 14:30 |
Wizzup | ah... | 14:30 |
uvos__ | neat hw bug | 14:30 |
freemangordon | yeah | 14:30 |
Wizzup | well it's braveheart :) | 14:30 |
freemangordon | yeah | 14:30 |
freemangordon | could you try to run some io-intensive task and check iowait? | 14:31 |
freemangordon | like apt-get upgrade or something | 14:31 |
freemangordon | that runs for more then lets say 30 seconds | 14:31 |
freemangordon | *than | 14:31 |
Wizzup | I upgraded already :( | 14:31 |
freemangordon | downgrade of the kernel? | 14:31 |
freemangordon | it takes 5 minutes here | 14:32 |
Wizzup | got a command to do that? | 14:32 |
freemangordon | time apt-get install linux-image-pine64=5.15.21-1+2m7.1 | 14:32 |
freemangordon | assuming you are on 50 | 14:32 |
freemangordon | 5.15.50 that is | 14:32 |
Wizzup | yeah I am | 14:33 |
freemangordon | start another ssh session with iostat -k 1 | 14:33 |
Wizzup | what package is iostat in? | 14:33 |
freemangordon | sysstat | 14:33 |
Wizzup | downgrading atm | 14:34 |
Wizzup | Setting up linux-image-pine64 (5.15.21-1+2m7.1) ... | 14:36 |
Wizzup | real0m41.047s | 14:36 |
Wizzup | user0m23.147s | 14:36 |
Wizzup | sys0m5.997s | 14:36 |
freemangordon | weird | 14:36 |
freemangordon | takes 5 minutes here | 14:36 |
Wizzup | bad sd card? | 14:36 |
Wizzup | or does it also happen on other sd cards | 14:36 |
Wizzup | well I guess you said older kernle is fine | 14:37 |
freemangordon | yes | 14:37 |
freemangordon | the same card works fine with .21 and on my laptop and on my pc | 14:37 |
rafael2k | freemangordon: I'll do the test here too | 15:06 |
rafael2k | I don't seem to have the same problem | 15:14 |
rafael2k | :/ | 15:14 |
rafael2k | but there definitely are changes in the patch set between .21 and .50 | 15:16 |
rafael2k | ke-recv is a maemo package? | 15:24 |
rafael2k | so the mount can be there, right, and no need to diverge even more from upstream kernel | 15:24 |
rafael2k | forget about | 15:29 |
rafael2k | I'm commiting the change to CONFIGFS_FS=Y | 15:29 |
rafael2k | Wizzup: https://github.com/maemo-leste/pine64-kernel/pull/8 | 15:34 |
rafael2k | indeed, Mobian pachset this this change... defconfig was Y instead of M | 15:35 |
rafael2k | freemangordon: your problem thou seems a bit trickier | 15:35 |
Wizzup | rafael2k: right thanks | 15:37 |
rafael2k | no problem | 15:38 |
rafael2k | I wish we could find a "stable" upstream kernel fork for the PP | 16:00 |
rafael2k | I know it seems unrelated, but could you try upgrading the anx7688 firmware: https://forum.pine64.org/showthread.php?tid=13001 | 16:19 |
rafael2k | thermalobject_suface.so is not found on boot in the PP, is that ok? | 16:21 |
Wizzup | yup | 16:21 |
rafael2k | ok | 16:21 |
rafael2k | just realized I new Quectel firmware: https://github.com/Biktorgj/quectel_eg25_recovery | 16:25 |
Wizzup | rafael2k: does your pp speaker mode work in sphone? | 16:26 |
rafael2k | pp speaker mode? | 16:27 |
Wizzup | if you call with sphone | 16:27 |
Wizzup | and click the speaker button | 16:27 |
rafael2k | lemme test | 16:27 |
Wizzup | do you hear the call audio over the speaker? | 16:27 |
rafael2k | nope | 16:30 |
rafael2k | it just does not change | 16:30 |
Wizzup | yeah, seeing the same | 16:30 |
rafael2k | I keep hearing the audio from the handset speaker | 16:30 |
Wizzup | yup | 16:30 |
rafael2k | uvos: ping | 16:31 |
Wizzup | I can help here | 16:31 |
rafael2k | cool | 16:32 |
rafael2k | I'm going home now | 16:32 |
Wizzup | we probably want to check UCM/pa names | 16:32 |
Wizzup | ok | 16:32 |
Wizzup | ttyl | 16:32 |
rafael2k | uhum, most likely | 16:32 |
freemangordon | rafael2k: :( | 16:32 |
rafael2k | sms alerts thou are loud and clear tru the speakers | 16:32 |
freemangordon | maybe you could give 6.xx a chance in -experimental repo | 16:34 |
rafael2k | freemangordon: taking a look here: https://gitlab.com/mobian1/devices/sunxi64-linux/-/commits/mobian-5.15 I could not find the regression easily | 16:34 |
rafael2k | yeap sure | 16:34 |
rafael2k | next week I can work on it | 16:34 |
freemangordon | cool | 16:34 |
freemangordon | rafael2k: this https://gitlab.com/mobian1/devices/sunxi64-linux/-/commit/9d95f9b3990734dcfa55c1eee4aa3ff876e083c8 loocs suspicious | 16:35 |
rafael2k | yay, good catch! | 16:36 |
freemangordon | well, they talk about suspend | 16:37 |
freemangordon | but... | 16:37 |
freemangordon | what is "upstreamed" supposed to mean in that context? | 16:37 |
freemangordon | yeah, it is there https://gitlab.com/mobian1/devices/sunxi64-linux/-/commit/dbe7bf9b6fc8fefbbbc207c1a07fe890605fe07c | 16:39 |
freemangordon | maybe it is upstream bug | 16:41 |
rafael2k | https://lore.kernel.org/all/20220115121447.641524-1-andrej.skvortzov@gmail.com/ | 16:41 |
freemangordon | mhm | 16:42 |
rafael2k | So I think we'll bump to 5.15.59 | 16:42 |
freemangordon | yes, please | 16:43 |
rafael2k | but I'd prefer Wizzup to test the PR I did, see if we solved the usbnet issue, then we rebase to 5.15.59 with this fix | 16:43 |
freemangordon | but I think this patch is already in 5.15.51, unless I am missing something | 16:44 |
rafael2k | The PR is simple enough we can just roll it out and release a new 5.15.50 | 16:44 |
freemangordon | https://gitlab.com/mobian1/devices/sunxi64-linux/-/commit/dbe7bf9b6fc8fefbbbc207c1a07fe890605fe07c | 16:44 |
rafael2k | then if all good, we bump to 5.5.59 | 16:44 |
Wizzup | didn't realise there was a PR already, will check momentarily | 16:44 |
rafael2k | https://github.com/maemo-leste/pine64-kernel/pull/8 | 16:45 |
rafael2k | right, need to go, tomorrow I can prepare the 5.15.59 | 16:45 |
Wizzup | ok, ttyl | 16:45 |
rafael2k | Wizzup: I think I forgot to bump the package version | 16:47 |
Wizzup | ok | 16:47 |
norayr | i just tried booting droid3 to the android, and remembered that is broken - it always hangs. and it draws energy, not sure it is charging though. | 19:17 |
norayr | so droid3 and bionic is the same hw, but one has keyboard? | 19:17 |
norayr | it: | 19:17 |
norayr | ' | 19:17 |
norayr | it's inteesting what makes droid3 so unstable. compared to droid4. | 19:17 |
Wizzup | if you boot android on a phone you installed leste on, I don't think it will boot. | 19:31 |
Wizzup | phone -> droid 4 | 19:31 |
Wizzup | errr | 19:31 |
Wizzup | phone -> droid 3 | 19:31 |
freemangordon | Wizzup: for some reason pidgin cannot connect by using SSL | 20:57 |
Wizzup | to what? | 20:57 |
freemangordon | oftc | 20:58 |
freemangordon | will try if leste can do :) | 20:58 |
freemangordon | no | 21:03 |
freemangordon | ugh, port is 6697 | 21:04 |
freemangordon | yeah, PEBKAC | 21:06 |
freemangordon | Connected securely via TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256-128 | 21:06 |
uvos | why was i pinged | 22:27 |
norayr | i am porting another package to leste right now. | 22:40 |
norayr | mstardict. let's hope it'll be ok. | 22:40 |
norayr | i need it, i use stardict dictionaries a lot. | 22:40 |
norayr | and meanwhile i wonder, if hildon is so seriously broken, since it probably sees one screen? or maybe two screens? maybe there should be a simple hack i can use, even if i hardcode something, to be able to run hildon on a lapdock screen. | 22:41 |
norayr | maybe i need to hardcode the device name. | 22:41 |
norayr | this lapdock is so amazing, i am in love with it. so pity i cannot run hildon on it. | 22:41 |
norayr | Wizzup: yes android doesn't boot on droid3 but boots on droid4. and i don't understand why, since the android is there, and the loader is there. interesting what prevents it to boot? | 22:47 |
norayr | well, i'd prefer it to not boot, but to have leste on it, anyway. | 22:47 |
norayr | leste boots but i cannot even start typing dmesg when it reboots. | 22:48 |
uvos | norayr: you can run hidon on the lapdock sceen | 23:24 |
uvos | just ensure the screen is configured and the only one available before hildon start | 23:25 |
uvos | s | 23:25 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!