libera/#maemo-leste/ Saturday, 2022-09-17

Wizzupnice find00:05
freemangordonseems our values differs with 1-3 dBm00:06
freemangordonI'll push a fix in several minutes00:06
Wizzupok, ty00:13
* Wizzup zzz :) 00:13
freemangordondone, please make a release when you have some time00:15
norayrWizzup, i did the issue yesterday02:02
norayrEveryone - i am able to configure xorg.conf to get a picture on a motorola lapdock screen.02:03
norayrBoth with startx (where i get windowmaker) and with normal boon when i get hildon on the lapdock screen.02:04
norayrBut keyboard doesn't work in xorg nor in plain console. Also mouse.02:04
norayrxinput doesn't list lapdock devices.02:05
norayrI suspect kernel doesn't have usb hub related modules or something enabled.02:05
norayrhttps://spyurk.am:5281/upload/14dTbiyud-2N6WfqJovqvXCW/20220917_040654283_5ded..jpg02:07
norayrhttps://spyurk.am:5281/upload/AeAKS2EvWcvir8s4tLCwvFJv/20220917_040704587_da90..jpg02:07
norayrthough i see /dev/input/mouse0 and /dev/input/mouse102:10
norayrbut when i use mouse1 in xorg config nothing changes. And keyboard doesn't work without X as well.02:10
freemangordonugh, I forgot one patch08:27
freemangordontmlind: https://github.com/maemo-leste-upstream-forks/ofono/commits/maemo/beowulf-devel08:43
Wizzupfreemangordon: you already did the ofono release, right?11:38
uvosnorayr: i think we disabled the cpcap usb host module12:43
uvosnorayr: or maybe i did that12:43
uvosnorayr: it uses a lot of power anyhow12:43
uvoscheck modprobe.d12:44
uvosthe lapdock usb hub worked in the past for sure12:44
Wizzupdoes it also charge in the lapdock mode?12:47
uvosyes12:47
uvosbattery life is essentaly inf if you keep the display off12:47
Wizzupwhat do you mean, if you keep the display off?12:50
uvoslapdock + atrix 4g has extreamly long battery life, unless you run the laptop display12:51
uvosthat uses a lot of power ofc12:51
Wizzupoh, since it also has a battery, right12:51
Wizzupbut if you plug it into power, it should just power the phone and give permanent battery, no?12:51
Wizzupshould I try to get these then? https://www.ebay.com/itm/363915670324 (I'm going to the US in a few weeks)12:52
uvossure12:52
uvosyeah thats the good version12:52
uvosi only have the atrix one :(12:52
uvosthe 500 even has vga out12:54
uvosi wonder if the bridge will work ;)12:54
Wizzuphehe13:01
uvosif you buy 2, can i buy one off you?13:02
Wizzupyeah, I'm wondering if it's better to ship it to europe13:03
uvoscustoms concerns?13:05
Wizzupyeah and shipping costs + I'm not at home atm13:07
norayryes yes it charges from the lapdock, and lapdock has its own battery, and charges from the power.13:39
norayrunder android without powering the lapdock i spent hours with it, and didn't exhaust the battery.13:39
norayrI'll see in the blacklisted modules13:40
norayrby the way, you cannot imagine how leightweight the lapdock is.13:41
uvosi can defently imagine, i can also lift it :P13:43
uvoswhat lapdock do you have13:43
norayrbionic lapdock13:46
norayri saw one for $4 on auction on ebay and forgot to buy it, and it is gone. then bought thin for $37 or something on amazon.13:47
norayrit looks very nice too.13:48
norayrhaving linux with me as lapdock + droid is unbelievably cool.13:48
norayrand hildon works too13:48
norayri was just unable to see itn kbd and mouse with xinput13:49
norayrSo yes i'll see if the driver is blacklisted13:49
norayrI was configuring x by booting to mode without x and doing startx, with wmaker in root's xinitrc, then shutting it down and reconfiguring and trying again.13:51
norayrthen hildon also worked with the same config.13:51
norayruvos, cpcap is not blacklisted14:30
norayrblacklist ehci-omap14:30
norayrblacklist omap_hdq14:30
norayrthis is what is blacklisted + bluetooth14:31
Wizzupehci-omap sounds like what you want14:31
norayroh14:31
norayrwhat are the .conf.leste files?14:31
Wizzuphttps://www.intel.com/content/www/us/en/products/docs/io/universal-serial-bus/ehci-specification.html14:31
Wizzupdon't touch them14:31
Wizzupthey're part of what we use to distribute and update config files14:31
norayrok! do i need omap-hdq blacklisted?14:32
Wizzupmaybe just unblacklist both and then see if you need it14:33
norayrokay!14:33
norayrmodprobe'd everything, still don't have the kbd or mouse working, but let me check my xorg.conf14:37
norayrWizzup: this was the issue: https://github.com/maemo-leste-extras/bugtracker/issues/3214:38
Wizzupthx14:39
Wizzupwtf14:49
Wizzupgithub now requires sms14:49
Wizzupnorayr: see invite14:51
Wizzupnow let me configure the rest14:51
Wizzupnorayr: should be all set up on jenkins14:54
norayrthaaaank you!14:54
freemangordonWizzup: yes15:02
Wizzupfreemangordon: will test today15:05
freemangordonok15:06
Wizzupnorayr: did you push a tag and maemo/beowulf branch15:07
Wizzupgbp:debug: ['git', 'ls-tree', '0.6']15:07
Wizzupgbp:error: 0.6 is not a valid treeish15:07
freemangordonWizzup: what was next? shall I look at icd ofono code?15:19
Wizzupfreemangordon: the libicd-network-ofono? yes please, if you want to15:32
freemangordonok15:33
Wizzupwe need to use ofono_connctx_add_active_changed_handler and ofono_connctx_add_activate_failed_handler15:33
Wizzupon registered contexts15:33
norayrWizzup thanks... the version was 0.6-5 so i thought 0.6.5 tag would be appropriate15:34
Wizzupno, -5 is epoch15:34
Wizzupwas maemo fremantle 0.6?15:34
Wizzupmaybe make it 0.715:35
Wizzupand epoch -115:35
Wizzupfreemangordon: fwiw my local 'notes' as code https://dpaste.com/2KJYS2WDM.txt15:35
Wizzupnot compile tested or anything15:35
norayrah my tag was 0.6.115:35
Wizzupanything after - is not tag15:36
Wizzupso 0.6-5 requires tag 0.615:36
norayroh, so the tag doesn't describe the package version, but the os version?15:36
Wizzupfor any new source changes you need to bump version not epoch (-5)15:36
Wizzuphm?15:36
Wizzupfor any debian/* changes you can increase epoch15:36
norayrshell i just do it 0.0.1?15:36
Wizzupfor any source changes you need to change anything before -15:36
Wizzupwhy 0.0.1?15:36
Wizzupjust take the fremantle version and give it one major increase IMHO15:37
Wizzupbut you can go for 1.0.0 too15:37
norayrok, so...15:37
norayrlet me understand15:37
norayr0.6-5 is the version in the changelog, i just added +leste115:37
norayrthe tag i used is 0.6.1 - and it is not good for the builder15:37
norayrwhat kind of tag would be good then?15:37
WizzupI think I just explained it clearly, can you try to re-read what I wrote?15:38
Wizzupsorry but I can either just tell you what to do, but I am not sure how to explain differently15:38
norayri do this rarely and forget stuff. even though i have created a local wiki page for myself.15:38
Wizzupwe probably need a good wiki article on it15:38
Wizzuplooks like you figured it out :)15:41
norayrheh15:42
norayrhopefully it'll build15:42
norayrsince i modprobed the blacklisted modules15:42
norayrand commented those out (but i didn't reboot the phone)15:42
norayrmy xinput still sees exactly the same as before, and i think it doesn't see lapdock kbd and mouse. :/15:43
Wizzupreboot the phone15:43
norayrokay.15:43
norayrgot lots of warnings from omap-hdq during reboot.15:45
norayrduring shut down15:45
norayryay the build is done.15:46
norayrafter reboot, the lapdock kbd doesn't work in console, but for some reason 'caps lock' led is on.15:47
norayri went to the 'emergency' mode, without xorg.15:47
* Wizzup afk15:48
norayrmay it be droid4 usb should be configured to be the host? or is it in host mode by default?15:50
norayrhttp://dpaste.com/BKP9ZXER515:53
norayrthis is my dmesg.15:53
norayrit has some exceptions, not sure that relevant. also i exposed the mac of the access point, not mine, anyway.15:53
norayr>(EE) evdev: Mouse2: Unable to query fd: Inappropriate ioctl for device16:04
norayrit's in Xorg.0.log16:04
norayrso i see 4a31c000.keypad - and it is apparently the droid keyboard.16:20
norayri don't see lapdock kbd. :/16:20
norayrok to be continued later16:22
norayrthis is my current Xorg.0.log http://dpaste.com/AUKBZLG4516:23
* norayr afk16:23
Wizzupfreemangordon: got a glib update from devuan/debian, we do not have it forked atm yeah?17:26
freemangordonI think we do17:26
freemangordonlibglib2.0-bin                                      2.58.3-2+deb10u3+leste1+2m7.117:27
WizzupSetting up libglib2.0-0:armhf (2.58.3-2+deb10u4) ...17:28
WizzupSetting up libglib2.0-dev-bin (2.58.3-2+deb10u4) ...17:28
WizzupSetting up libglib2.0-bin (2.58.3-2+deb10u4) ...17:28
WizzupSetting up libglib2.0-dev:armhf (2.58.3-2+deb10u4) ...17:28
freemangordonmhm, have to upgrade it17:28
Wizzuplooks like they increased it17:28
Wizzupyes17:28
freemangordonI think it is "[PATCH] libcharset: Drop a redundant environment variable" that was added17:31
freemangordonalso according to changelog17:35
freemangordonWizzup: I think we shall release 'our' glib asap17:35
freemangordonas this affects stable users as well17:36
freemangordonshall I do it?17:36
freemangordonI will do it, I still have my glib tree around17:38
Wizzupyes pls, I am not at my laptop17:38
Wizzupnorayr: how do I het dictionaries in mstardict?17:40
norayrWizzup, put the dictionaries to ~/MyDocs/mstardict18:36
norayrand they will be found18:36
norayri already enjoy using it. (:18:36
freemangordonWizzup: both VM and d4 survived a reboot after glib upgrade, going to push to -stable18:37
norayri need to also write a wiki page about it.18:42
norayri'll do18:42
freemangordonWizzup: why this? https://github.com/maemo-leste/libicd-network-ofono/blob/master/src/link.c#L9719:26
freemangordonI would expect we shall set whatever needed on inactive context19:27
freemangordonand is *only* if needed, like manual set19:28
freemangordondo I miss something?19:28
freemangordonoh, is that some DNS hack?19:42
norayrfolks i think the kernel is the problem19:46
norayrkeyboard doesn't work in console, and i have no input device for it.19:52
Wizzupfreemangordon: not on laptop atm, but yes, there is ip-dns hack19:53
Wizzupip/dns19:53
norayris there some other kernel i might try to confirm?19:53
freemangordonWizzup: why is it needed? dns is set-up by the MNO, no?19:55
* freemangordon checks what shall happen19:59
Wizzupfreemangordon: mno?20:01
Wizzupthe next module is ipv420:01
freemangordonMobile Network Operator20:02
Wizzupand this reads it from gconf20:02
freemangordonno20:02
Wizzupnot on our local iface20:02
freemangordonit depends what is set on iap level, sec20:02
Wizzupoh dns specifically20:02
WizzupI meant ip20:02
freemangordonhttps://github.com/maemo-leste/libicd-network-ipv4/blob/master/src/libicd_network_ipv4.c#L69220:02
freemangordonthe same for dns20:02
Wizzupwill try to open from d420:03
freemangordonhttps://github.com/maemo-leste/libicd-network-ipv4/blob/master/src/libicd_network_ipv4.c#L70620:03
freemangordonno, don;t, I will try to make it work according to my understanding20:03
Wizzupok20:03
Wizzupso the line 97 stuff is simple to have next module set ip20:04
Wizzupon fremantle the cellular one sets its own ip I think20:05
freemangordonofono does the same20:05
Wizzupsince it does not call ipv4 at all in module chain20:05
Wizzupno20:05
freemangordonah20:05
freemangordonwell, yes20:05
Wizzupofono just suggests it on dbus20:05
freemangordonright20:05
Wizzupit does not set it up20:05
Wizzupso this just passes along ofono info as 'static ip info'20:06
freemangordonright, but we can call dhcp on the interface20:06
Wizzupwhich is a hack20:06
Wizzupdhcp won't always work I think?20:06
freemangordonwhy is that?20:06
freemangordonsee /usr/share/ofono/scripts/process-context-settings20:07
freemangordonthere is "method" think it seems20:07
freemangordonif it is "dhcp" we shall run dhcp over the iface20:08
freemangordon*thing20:08
freemangordonok, I think I got it20:08
Wizzupyes20:09
Wizzupagreed20:09
Wizzupthis will also solve buZz's problem20:09
freemangordonmhm20:09
freemangordonalso, shall I deactivate first if in link_up it is active?20:09
freemangordonI think yes, but not sure why :)20:10
norayraaaand, lsusb output doesn't change when i connect the dock.20:14
norayrwait, may it be that if it gets the charge, it cannot also be usb host at the same time?20:14
Wizzupfreemangordon: hm, maybe, doesn't icd call link down?20:17
freemangordonno idea20:23
freemangordonbut it might have been activated by hand (ofono script/dbus)20:24
freemangordonso I prefer to have a control over what happens20:24
norayrshell i have g_hid module? which we don't have? to detect hid devices via usb?20:27
buZznorayr: g_hid is the usb-gadget driver , for emulating a HID device over usb21:31
buZznorayr: you probably are looking for either hid-input, hid-core or hiddev21:32
buZzhttps://docs.kernel.org/hid/hiddev.html21:32
buZzvs https://www.kernel.org/doc/html/latest/usb/gadget_hid.html21:32

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!