=== zyga-afk is now known as zyga [10:20] bdmurray, Upstream replied with a recently found work around for bug 1436940 . However, it's not the most elegant solution. It requires booting with unofficial windows-extracted firmware images. More info in comment #20 of bug. [10:20] bug 1436940 in linux (Ubuntu Wily) "Atheros wifi 168c:0041(QCA6164) is not supported" [Medium,Confirmed] https://launchpad.net/bugs/1436940 [10:35] bdmurray, well that was fast. There is now real firmware here: https://github.com/kvalo/ath10k-firmware/commit/7f7e7dda33676ced293de477b03711199ffe5256 I'll update the bug report. [11:07] apw: how do I find out what (upstream) kernel release linux 3.19.0-26 is based on? (I need to add a check in my kernel code for fglrx) [11:09] tseliot, http://people.canonical.com/~kernel/info/kernel-version-map.html [11:21] apw: thansk [11:21] *thanks [11:31] apw: so 3.19.0-26 = 3.19.8-ckt2, but how do I use that with the KERNEL_VERSION macro? [11:31] oh you can't [11:31] don't be sillly converting to a number broke you [11:32] apw: apparently 3.19.0-25 -> 3.19.0-26 made a symbol gpl-only [11:32] to a ckt-N name, well and that it is in 4th [11:32] welll you can tell -25 and -26 apart [11:32] how? [11:32] UTS_UBUNTU_RELEASE_ABI [11:33] which is defined in the same place as you get other versions from [11:33] you want something like [11:33] #ifdef UTS_UBUNTU_RELEASE_ABI [11:33] #define UBUNTU_VERSION KERNEL_VERSION * 100 + UTS_UBUNTU_RELEASE_ABI [11:33] #else [11:33] #define UBUNTU_VERSION KERNEL_VERSION * 100 [11:33] #endif [11:33] or something [11:34] 100 isn't enough i expect [11:36] I think checking the Ubuntu ABI would be enough. So, if none is available I can define the ABI as 0 [11:36] and check the kernel version [11:37] ok, that helps [11:37] thanks [11:39] yeah [11:39] tseliot, yeah thats why we don't provide accessors, as you have to check they exist and provide your own if no [11:39] as you can't assume we are ubuntu, ugg [11:39] * tseliot nods [16:00] apw: are you sure that UTS_UBUNTU_RELEASE_ABI is available in the lts-vivid kernel? [16:00] I'm doing this: [16:00] #ifndef UTS_UBUNTU_RELEASE_ABI [16:00] #define UTS_UBUNTU_RELEASE_ABI -1 [16:00] #endif [16:00] #if UTS_UBUNTU_RELEASE_ABI < 0 [16:01] and that always seems to be true [16:02] * tseliot clones the git repository... [16:03] debian/rules.d/2-binary-arch.mk: echo "#define UTS_UBUNTU_RELEASE_ABI $(abinum)" >> $(hdrdir)/include/generated/utsrelease.h [16:03] hmm... [16:04] /usr/src/linux-headers-3.19.0-14-generic/include/generated/utsrelease.h:#define UTS_UBUNTU_RELEASE_ABI 14 [16:05] and there it is in a 3.19 i have installed [16:05] ok [16:05] so unless it is getting lost in the lts-backport, which is pretty unlikely [16:06] I can see it here. Do I have to include that header or is that already exported? [16:07] i thouoght if you included the one with KERNEL_VERSION it was incldued [16:07] but perhaps not [16:08] that would be a bit of a problem [16:09] as custom kernels won't have utsrelease.h [16:10] why not ? [16:10] its a standard include [16:11] #define UTS_RELEASE "3.19.0-14-generic" [16:11] #define UTS_UBUNTU_RELEASE_ABI 14 [16:11] it has the UTS_RELEASE string in it [16:11] which would be 3.19.8-ckt3 normally [16:12] my fix has to go into fglrx, and I need it to build against custom kernels that may not have that header [16:13] if I add an #include in the fglrx code, it won't find the header in /usr/src/linux-headers-$(uname -r)/include/generated/ [16:15] apw: oh, wait, fglrx already does that [16:16] except they get it wrong [16:16] as they include it only #ifndef UTS_RELEASE [16:17] no they don't [16:17] ok [16:18] it's included in the wrong file [16:23] apw: problem solved :) [16:54] i want to run the trusty kernel version (3.13) on my vivid and wily installations. is there an easy way of doing that? [16:58] i have the problem that power saving is properly working with the trusty kernel, but with vivid and wily's kernels, only one "performance" and "powersave" governors seem to be available. and "powersave" uses more power than in trusty, which i notice because the fan is working all the time, instead only when doing cpu-intensive tasks [17:06] that could just be a matter of the fan never going off, and those governors are going to be separate from thermal policy stuff thaty may have also changed [17:07] are you looking at powertop to see if more power is actually being used? (disregarding just fan being on uses more) [17:17] dkessel, no easy way of doing that no, we do not assume compatibility in that direction [17:19] okay. ok, so i did some more searching and found that disabling intel_pstate works for me, as i found in bug 1188647 [17:19] bug 1188647 in linux (Ubuntu) "Please change intel_pstate default to disable" [High,Fix released] https://launchpad.net/bugs/1188647 [17:20] kernel 4.1.0-3 does not work good without disabling it [17:22] do you think i should collect some more information and file a bug? (yes, i have read the channel topic....) [17:28] dkessel, yes you should file a bug indeed if pstate_idle is breaking you on 4.1, it should be "purfect" by now [17:28] dkessel, ubuntu-bug linux so we get appropriate h/w info [17:34] ok, here's bug 1484616 . if i can provide any more info, try anything else, just tell me :) [17:34] bug 1484616 in linux (Ubuntu) "pstate_idle is broken on 4.1, high fan speed when idle" [Undecided,New] https://launchpad.net/bugs/1484616 === zyga is now known as zyga-afk