Wizzup | nice find | 00:05 |
---|---|---|
freemangordon | seems our values differs with 1-3 dBm | 00:06 |
freemangordon | I'll push a fix in several minutes | 00:06 |
Wizzup | ok, ty | 00:13 |
* Wizzup zzz :) | 00:13 | |
freemangordon | done, please make a release when you have some time | 00:15 |
norayr | Wizzup, i did the issue yesterday | 02:02 |
norayr | Everyone - i am able to configure xorg.conf to get a picture on a motorola lapdock screen. | 02:03 |
norayr | Both with startx (where i get windowmaker) and with normal boon when i get hildon on the lapdock screen. | 02:04 |
norayr | But keyboard doesn't work in xorg nor in plain console. Also mouse. | 02:04 |
norayr | xinput doesn't list lapdock devices. | 02:05 |
norayr | I suspect kernel doesn't have usb hub related modules or something enabled. | 02:05 |
norayr | https://spyurk.am:5281/upload/14dTbiyud-2N6WfqJovqvXCW/20220917_040654283_5ded..jpg | 02:07 |
norayr | https://spyurk.am:5281/upload/AeAKS2EvWcvir8s4tLCwvFJv/20220917_040704587_da90..jpg | 02:07 |
norayr | though i see /dev/input/mouse0 and /dev/input/mouse1 | 02:10 |
norayr | but when i use mouse1 in xorg config nothing changes. And keyboard doesn't work without X as well. | 02:10 |
freemangordon | ugh, I forgot one patch | 08:27 |
freemangordon | tmlind: https://github.com/maemo-leste-upstream-forks/ofono/commits/maemo/beowulf-devel | 08:43 |
Wizzup | freemangordon: you already did the ofono release, right? | 11:38 |
uvos | norayr: i think we disabled the cpcap usb host module | 12:43 |
uvos | norayr: or maybe i did that | 12:43 |
uvos | norayr: it uses a lot of power anyhow | 12:43 |
uvos | check modprobe.d | 12:44 |
uvos | the lapdock usb hub worked in the past for sure | 12:44 |
Wizzup | does it also charge in the lapdock mode? | 12:47 |
uvos | yes | 12:47 |
uvos | battery life is essentaly inf if you keep the display off | 12:47 |
Wizzup | what do you mean, if you keep the display off? | 12:50 |
uvos | lapdock + atrix 4g has extreamly long battery life, unless you run the laptop display | 12:51 |
uvos | that uses a lot of power ofc | 12:51 |
Wizzup | oh, since it also has a battery, right | 12:51 |
Wizzup | but if you plug it into power, it should just power the phone and give permanent battery, no? | 12:51 |
Wizzup | should I try to get these then? https://www.ebay.com/itm/363915670324 (I'm going to the US in a few weeks) | 12:52 |
uvos | sure | 12:52 |
uvos | yeah thats the good version | 12:52 |
uvos | i only have the atrix one :( | 12:52 |
uvos | the 500 even has vga out | 12:54 |
uvos | i wonder if the bridge will work ;) | 12:54 |
Wizzup | hehe | 13:01 |
uvos | if you buy 2, can i buy one off you? | 13:02 |
Wizzup | yeah, I'm wondering if it's better to ship it to europe | 13:03 |
uvos | customs concerns? | 13:05 |
Wizzup | yeah and shipping costs + I'm not at home atm | 13:07 |
norayr | yes yes it charges from the lapdock, and lapdock has its own battery, and charges from the power. | 13:39 |
norayr | under android without powering the lapdock i spent hours with it, and didn't exhaust the battery. | 13:39 |
norayr | I'll see in the blacklisted modules | 13:40 |
norayr | by the way, you cannot imagine how leightweight the lapdock is. | 13:41 |
uvos | i can defently imagine, i can also lift it :P | 13:43 |
uvos | what lapdock do you have | 13:43 |
norayr | bionic lapdock | 13:46 |
norayr | i 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 |
norayr | it looks very nice too. | 13:48 |
norayr | having linux with me as lapdock + droid is unbelievably cool. | 13:48 |
norayr | and hildon works too | 13:48 |
norayr | i was just unable to see itn kbd and mouse with xinput | 13:49 |
norayr | So yes i'll see if the driver is blacklisted | 13:49 |
norayr | I 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 |
norayr | then hildon also worked with the same config. | 13:51 |
norayr | uvos, cpcap is not blacklisted | 14:30 |
norayr | blacklist ehci-omap | 14:30 |
norayr | blacklist omap_hdq | 14:30 |
norayr | this is what is blacklisted + bluetooth | 14:31 |
Wizzup | ehci-omap sounds like what you want | 14:31 |
norayr | oh | 14:31 |
norayr | what are the .conf.leste files? | 14:31 |
Wizzup | https://www.intel.com/content/www/us/en/products/docs/io/universal-serial-bus/ehci-specification.html | 14:31 |
Wizzup | don't touch them | 14:31 |
Wizzup | they're part of what we use to distribute and update config files | 14:31 |
norayr | ok! do i need omap-hdq blacklisted? | 14:32 |
Wizzup | maybe just unblacklist both and then see if you need it | 14:33 |
norayr | okay! | 14:33 |
norayr | modprobe'd everything, still don't have the kbd or mouse working, but let me check my xorg.conf | 14:37 |
norayr | Wizzup: this was the issue: https://github.com/maemo-leste-extras/bugtracker/issues/32 | 14:38 |
Wizzup | thx | 14:39 |
Wizzup | wtf | 14:49 |
Wizzup | github now requires sms | 14:49 |
Wizzup | norayr: see invite | 14:51 |
Wizzup | now let me configure the rest | 14:51 |
Wizzup | norayr: should be all set up on jenkins | 14:54 |
norayr | thaaaank you! | 14:54 |
freemangordon | Wizzup: yes | 15:02 |
Wizzup | freemangordon: will test today | 15:05 |
freemangordon | ok | 15:06 |
Wizzup | norayr: did you push a tag and maemo/beowulf branch | 15:07 |
Wizzup | gbp:debug: ['git', 'ls-tree', '0.6'] | 15:07 |
Wizzup | gbp:error: 0.6 is not a valid treeish | 15:07 |
freemangordon | Wizzup: what was next? shall I look at icd ofono code? | 15:19 |
Wizzup | freemangordon: the libicd-network-ofono? yes please, if you want to | 15:32 |
freemangordon | ok | 15:33 |
Wizzup | we need to use ofono_connctx_add_active_changed_handler and ofono_connctx_add_activate_failed_handler | 15:33 |
Wizzup | on registered contexts | 15:33 |
norayr | Wizzup thanks... the version was 0.6-5 so i thought 0.6.5 tag would be appropriate | 15:34 |
Wizzup | no, -5 is epoch | 15:34 |
Wizzup | was maemo fremantle 0.6? | 15:34 |
Wizzup | maybe make it 0.7 | 15:35 |
Wizzup | and epoch -1 | 15:35 |
Wizzup | freemangordon: fwiw my local 'notes' as code https://dpaste.com/2KJYS2WDM.txt | 15:35 |
Wizzup | not compile tested or anything | 15:35 |
norayr | ah my tag was 0.6.1 | 15:35 |
Wizzup | anything after - is not tag | 15:36 |
Wizzup | so 0.6-5 requires tag 0.6 | 15:36 |
norayr | oh, so the tag doesn't describe the package version, but the os version? | 15:36 |
Wizzup | for any new source changes you need to bump version not epoch (-5) | 15:36 |
Wizzup | hm? | 15:36 |
Wizzup | for any debian/* changes you can increase epoch | 15:36 |
norayr | shell i just do it 0.0.1? | 15:36 |
Wizzup | for any source changes you need to change anything before - | 15:36 |
Wizzup | why 0.0.1? | 15:36 |
Wizzup | just take the fremantle version and give it one major increase IMHO | 15:37 |
Wizzup | but you can go for 1.0.0 too | 15:37 |
norayr | ok, so... | 15:37 |
norayr | let me understand | 15:37 |
norayr | 0.6-5 is the version in the changelog, i just added +leste1 | 15:37 |
norayr | the tag i used is 0.6.1 - and it is not good for the builder | 15:37 |
norayr | what kind of tag would be good then? | 15:37 |
Wizzup | I think I just explained it clearly, can you try to re-read what I wrote? | 15:38 |
Wizzup | sorry but I can either just tell you what to do, but I am not sure how to explain differently | 15:38 |
norayr | i do this rarely and forget stuff. even though i have created a local wiki page for myself. | 15:38 |
Wizzup | we probably need a good wiki article on it | 15:38 |
Wizzup | looks like you figured it out :) | 15:41 |
norayr | heh | 15:42 |
norayr | hopefully it'll build | 15:42 |
norayr | since i modprobed the blacklisted modules | 15:42 |
norayr | and commented those out (but i didn't reboot the phone) | 15:42 |
norayr | my xinput still sees exactly the same as before, and i think it doesn't see lapdock kbd and mouse. :/ | 15:43 |
Wizzup | reboot the phone | 15:43 |
norayr | okay. | 15:43 |
norayr | got lots of warnings from omap-hdq during reboot. | 15:45 |
norayr | during shut down | 15:45 |
norayr | yay the build is done. | 15:46 |
norayr | after reboot, the lapdock kbd doesn't work in console, but for some reason 'caps lock' led is on. | 15:47 |
norayr | i went to the 'emergency' mode, without xorg. | 15:47 |
* Wizzup afk | 15:48 | |
norayr | may it be droid4 usb should be configured to be the host? or is it in host mode by default? | 15:50 |
norayr | http://dpaste.com/BKP9ZXER5 | 15:53 |
norayr | this is my dmesg. | 15:53 |
norayr | it 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 device | 16:04 |
norayr | it's in Xorg.0.log | 16:04 |
norayr | so i see 4a31c000.keypad - and it is apparently the droid keyboard. | 16:20 |
norayr | i don't see lapdock kbd. :/ | 16:20 |
norayr | ok to be continued later | 16:22 |
norayr | this is my current Xorg.0.log http://dpaste.com/AUKBZLG45 | 16:23 |
* norayr afk | 16:23 | |
Wizzup | freemangordon: got a glib update from devuan/debian, we do not have it forked atm yeah? | 17:26 |
freemangordon | I think we do | 17:26 |
freemangordon | libglib2.0-bin 2.58.3-2+deb10u3+leste1+2m7.1 | 17:27 |
Wizzup | Setting up libglib2.0-0:armhf (2.58.3-2+deb10u4) ... | 17:28 |
Wizzup | Setting up libglib2.0-dev-bin (2.58.3-2+deb10u4) ... | 17:28 |
Wizzup | Setting up libglib2.0-bin (2.58.3-2+deb10u4) ... | 17:28 |
Wizzup | Setting up libglib2.0-dev:armhf (2.58.3-2+deb10u4) ... | 17:28 |
freemangordon | mhm, have to upgrade it | 17:28 |
Wizzup | looks like they increased it | 17:28 |
Wizzup | yes | 17:28 |
freemangordon | I think it is "[PATCH] libcharset: Drop a redundant environment variable" that was added | 17:31 |
freemangordon | also according to changelog | 17:35 |
freemangordon | Wizzup: I think we shall release 'our' glib asap | 17:35 |
freemangordon | as this affects stable users as well | 17:36 |
freemangordon | shall I do it? | 17:36 |
freemangordon | I will do it, I still have my glib tree around | 17:38 |
Wizzup | yes pls, I am not at my laptop | 17:38 |
Wizzup | norayr: how do I het dictionaries in mstardict? | 17:40 |
norayr | Wizzup, put the dictionaries to ~/MyDocs/mstardict | 18:36 |
norayr | and they will be found | 18:36 |
norayr | i already enjoy using it. (: | 18:36 |
freemangordon | Wizzup: both VM and d4 survived a reboot after glib upgrade, going to push to -stable | 18:37 |
norayr | i need to also write a wiki page about it. | 18:42 |
norayr | i'll do | 18:42 |
freemangordon | Wizzup: why this? https://github.com/maemo-leste/libicd-network-ofono/blob/master/src/link.c#L97 | 19:26 |
freemangordon | I would expect we shall set whatever needed on inactive context | 19:27 |
freemangordon | and is *only* if needed, like manual set | 19:28 |
freemangordon | do I miss something? | 19:28 |
freemangordon | oh, is that some DNS hack? | 19:42 |
norayr | folks i think the kernel is the problem | 19:46 |
norayr | keyboard doesn't work in console, and i have no input device for it. | 19:52 |
Wizzup | freemangordon: not on laptop atm, but yes, there is ip-dns hack | 19:53 |
Wizzup | ip/dns | 19:53 |
norayr | is there some other kernel i might try to confirm? | 19:53 |
freemangordon | Wizzup: why is it needed? dns is set-up by the MNO, no? | 19:55 |
* freemangordon checks what shall happen | 19:59 | |
Wizzup | freemangordon: mno? | 20:01 |
Wizzup | the next module is ipv4 | 20:01 |
freemangordon | Mobile Network Operator | 20:02 |
Wizzup | and this reads it from gconf | 20:02 |
freemangordon | no | 20:02 |
Wizzup | not on our local iface | 20:02 |
freemangordon | it depends what is set on iap level, sec | 20:02 |
Wizzup | oh dns specifically | 20:02 |
Wizzup | I meant ip | 20:02 |
freemangordon | https://github.com/maemo-leste/libicd-network-ipv4/blob/master/src/libicd_network_ipv4.c#L692 | 20:02 |
freemangordon | the same for dns | 20:02 |
Wizzup | will try to open from d4 | 20:03 |
freemangordon | https://github.com/maemo-leste/libicd-network-ipv4/blob/master/src/libicd_network_ipv4.c#L706 | 20:03 |
freemangordon | no, don;t, I will try to make it work according to my understanding | 20:03 |
Wizzup | ok | 20:03 |
Wizzup | so the line 97 stuff is simple to have next module set ip | 20:04 |
Wizzup | on fremantle the cellular one sets its own ip I think | 20:05 |
freemangordon | ofono does the same | 20:05 |
Wizzup | since it does not call ipv4 at all in module chain | 20:05 |
Wizzup | no | 20:05 |
freemangordon | ah | 20:05 |
freemangordon | well, yes | 20:05 |
Wizzup | ofono just suggests it on dbus | 20:05 |
freemangordon | right | 20:05 |
Wizzup | it does not set it up | 20:05 |
Wizzup | so this just passes along ofono info as 'static ip info' | 20:06 |
freemangordon | right, but we can call dhcp on the interface | 20:06 |
Wizzup | which is a hack | 20:06 |
Wizzup | dhcp won't always work I think? | 20:06 |
freemangordon | why is that? | 20:06 |
freemangordon | see /usr/share/ofono/scripts/process-context-settings | 20:07 |
freemangordon | there is "method" think it seems | 20:07 |
freemangordon | if it is "dhcp" we shall run dhcp over the iface | 20:08 |
freemangordon | *thing | 20:08 |
freemangordon | ok, I think I got it | 20:08 |
Wizzup | yes | 20:09 |
Wizzup | agreed | 20:09 |
Wizzup | this will also solve buZz's problem | 20:09 |
freemangordon | mhm | 20:09 |
freemangordon | also, shall I deactivate first if in link_up it is active? | 20:09 |
freemangordon | I think yes, but not sure why :) | 20:10 |
norayr | aaaand, lsusb output doesn't change when i connect the dock. | 20:14 |
norayr | wait, may it be that if it gets the charge, it cannot also be usb host at the same time? | 20:14 |
Wizzup | freemangordon: hm, maybe, doesn't icd call link down? | 20:17 |
freemangordon | no idea | 20:23 |
freemangordon | but it might have been activated by hand (ofono script/dbus) | 20:24 |
freemangordon | so I prefer to have a control over what happens | 20:24 |
norayr | shell i have g_hid module? which we don't have? to detect hid devices via usb? | 20:27 |
buZz | norayr: g_hid is the usb-gadget driver , for emulating a HID device over usb | 21:31 |
buZz | norayr: you probably are looking for either hid-input, hid-core or hiddev | 21:32 |
buZz | https://docs.kernel.org/hid/hiddev.html | 21:32 |
buZz | vs https://www.kernel.org/doc/html/latest/usb/gadget_hid.html | 21:32 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!