/srv/irclogs.ubuntu.com/2012/06/02/#ubuntu-arm.txt

janrinzehi all, are there people here who have Ubuntu 12.04 installed on a Transformer TF101?  i have some questions about powersave and suspend modes07:37
janrinzelilstevie: hi, is there any new work done on suspend/resume for the TF101?07:38
lilstevieat the moment? no, I have been busy with uni07:38
janrinzeah. ok07:39
janrinzelilstevie: on Ubuntu 12.04 the screen saver kicks in quite swiftly but after that login is not really possible anymore due to looping..07:40
lilsteviewell then change the settings :)07:41
janrinzetrue..07:41
lilstevietell it not to sleep07:42
janrinzeeven with that it appears to go to sleep anyway..07:42
lilsteviethe up-to-date tree reboots on sleep07:42
lilsteviewait, are you meaning how on power on it loops07:42
janrinzethere is no apm deamon running07:42
lilsteviecause that is pulseaudio crashing lightdm07:43
lilstevieif not, the display turning off looks like sleep07:43
janrinzelilstevie: i am loged in over shh too and that works. however it will drop into powersave afer a few seconds again07:43
lilstevieon initial boot yes?07:44
lilstevielike you haven't logged in yet07:44
janrinzethe ssh becomes a bit slow to respond and the screen flips on after i type something in ssh :-)07:44
lilsteviesudo apt-get autoremove pulseaudio07:44
janrinzelilstevie: the pulseaudio is removed already, that was quite a challenge with the login issues :-)07:44
lilstevieok, disable sleep07:45
lilstevieand it won't go to sleep07:45
lilsteviemake sure you tell it to never sleep for both on battery and on ac07:45
janrinzehaving trouble to do anything at all on the desktop since it keeps cycling..07:46
janrinzeafter a reboot all is fine. But once a sleep was initiated it will cycle again07:47
lilstevieyes, so do it before it goes to sleep07:47
janrinze:-) true again07:48
lilstevieI only turn the screen off on my device07:48
lilsteviesleep is turned off entirely07:49
janrinzedo you know of other people working on the kernel for the TF101?07:49
lilstevieyes, but I wouldn't trust their kernels on my device :/07:49
janrinzeaha.07:50
lilsteviehttp://forum.xda-developers.com/showthread.php?t=1683145 welcome to try it though07:50
janrinzelilstevie: what is the best/recent kernel for the tf101?07:50
lilstevieI don't agree with certain things like overclocking to 1.6 by default though07:50
janrinzei am willing to roll my own ;-)07:50
janrinzeoverclocking is not my aim.. stability is07:51
lilsteviewell there is https://github.com/lilstevie/linux_kernel_TF10107:51
lilsteviethat is the one I have running07:51
lilsteviesleep looping is not an issue cause it will reboot :p07:51
janrinzeok. i have Linux Tegra2 2.6.36.4 #5 SMP PREEMPT Fri Nov 4 22:21:17 EST 2011 armv7l armv7l armv7l GNU/Linux07:52
janrinzethat one is supplied in your OLiFE Prime package07:52
lilsteviestackprotector is a little touchy and sleep breaks it07:52
janrinzeaha07:53
janrinzei have worked on kernels for many ARM devices in the past and sleep was always dodgy..07:53
janrinzeso i am not surprised here ;-)07:53
lilsteviehah07:54
lilsteviesleep worked07:54
janrinzelilstevie: but loops07:54
lilstevieno07:54
janrinzeoh, what changed?07:55
lilstevieI mean I had sleep working at one point07:55
lilstevieI recompiled07:55
janrinzeaha07:55
lilsteviemust have exhaled at the wrong time07:55
janrinzeyeah, i know what you mean..07:55
lilsteviebecause now it will not07:55
janrinzeis there stuff going upstream to main kernel?07:55
janrinzewould be nice to recompile a kernel from kernel.org and run that ;-)07:56
lilstevienot likely07:56
janrinze2.6.36.4 is good enough for what i need a.t.m. so i might take a shot at building from your git repo07:57
lilstevieheh07:57
janrinzei have a lot of ARM boards laying around but none of them are Tegra 2.07:57
lilstevieas long as it gets the device booting right07:57
janrinzeyeah07:57
janrinzeusually fbdev + usb is my main concern07:58
lilsteviewell fbdev and usb work :p07:58
janrinzeif that works (and networking of course) I can get most things working.07:58
lilstevieyeah07:58
lilstevieI can work with a little less :p07:59
janrinzedid uboot get any further?07:59
lilstevieuboot is a pointless dead end :)07:59
janrinzeoh. because booting from a separate SDcard would be interesting.07:59
lilstevieyeah, well we have been working on some stuff using kexecboot which has been promising08:00
lilstevieat least on the tf20108:00
janrinzeis kexec not working on tf101?08:00
lilsteviewell tf201 has been higher priority cause I haven't officially released anything for that one yet08:01
lilstevie:)08:01
janrinzelilstevie: have you tried kexec on the tf101?08:23
janrinzelilstevie: # CONFIG_KEXEC is not set .. from /proc/config.gz :-(08:24
lilstevieif only it were that simple :p08:37
lilsteviethere is hardware that will not handle a kexec08:38
lilsteviewell, more the drivers are not built for it08:38
janrinzehmm.. the tf101 specific drivers won't survive kexec.. ok08:39
lilsteviewe are using a derivation of http://forum.xda-developers.com/showthread.php?t=126682708:39
lilsteviewe don't know what parts are not surviving cause it prevents the kernel being kexec'd to from booting08:40
lilsteviebut that hardboot works fine08:40
janrinzeif hard-boot works fine then i can kexec with args to boot from SDcard :-)08:41
lilstevieyou can boot from sdcard now08:41
lilstevieyou just need to edit the bootimg.cfg for the kernel image08:42
janrinzehow? that was not in the wiki nor in the readme08:42
janrinzeah, but that is statically changing the pootparams08:42
janrinzebootparams are flashed with nvflash.. right?08:42
lilstevieno08:42
lilsteviewith the bootimg08:42
lilsteviewhich can be flashed from userspace too08:43
janrinzehm.. interesting..08:43
janrinzelilstevie: dd from and to the bootimg partition i guess08:44
lilstevieno08:44
janrinzemount it?08:45
lilsteviepacking into a blob and dding to the staging partition08:45
lilstevieboot partition is outside of the partition table08:45
lilsteviebootloader is responsible for flashing it08:45
janrinzethe blob packer is new to me. most systems i use have u-boot so i can work with that quite well..08:46
janrinzelilstevie: which partition is the staging partition?08:47
lilsteviemmcblk0p408:47
janrinzei have that mounted under ext308:47
janrinzeso putting the bootimg in there would suffice?08:48
lilstevieno08:48
janrinzeand resetting the device of course08:48
lilstevieit shouldn't be mounted08:48
lilsteviejust dd straight to it08:48
janrinzeok, will try that once i have built the kernel.08:49
janrinzelilstevie: when shutting down while in android i chose 'restore' option which now makes linux the default to boot. :-)08:50
lilstevieheh as long as you remember to clear the tag08:51
lilsteviealso blobs will not flash if there is a tag in misc08:51
janrinzei also did a 'wipe' which cleaned out the other partitions and they now show up in Linux as 4 partitions08:51
lilsteviesystem, cache and data will always08:53
janrinzeis that the misc dir in mmcblk0p7 ?08:55
janrinzelilstevie: /dev/fb1 is that a second framebuffer for hdmi output?09:01
lilsteviemisc is mmcblk0p3 like the whole thing09:17
lilstevieand fb1 is the second framebuffer09:17
janrinzeoh. ok :-)09:17
lilsteviedoesn't always mean hdmi but in this case yes09:18
lilstevietegra fb1 can be hooked up to a few different busses09:18
janrinzei was thinking to use that as a second monitor :-)09:18
janrinzehopefully to get it to output 1920x108009:19
lilsteviewithout the tegra proprietary drivers that isn't happening :)09:24
janrinze:-(09:24
janrinzeso 1280x720 should at least be possible or does it mean no hdmi at all?09:24
lilstevieno hdmi at all09:25
janrinze:( !!09:26
janrinzehow do the tegra drivers (beta releases) fit in there?09:26
janrinzenvidia seems to provide some09:26
lilstevieincompatible with the kernel09:27
janrinzeok. so i would need a different kernel then. 3.x ?09:27
lilstevieyou would need a kernel that works on the device09:27
lilsteviethat has the interface09:28
lilsteviethat one I linked to before does09:28
lilsteviebut as I said I wouldn't trust it on my device09:28
lilstevieif for no reason other than it burns the cpu at 1.6GHz09:28
lilstevie(I do have other reasons though)09:28
janrinzeok. i can understand09:29
janrinzebest would be then to get those sources and remove the 1.6 GHz stuff and build09:29
janrinzewill look into that.09:29
janrinzelilstevie: do you know why/if XShm is supported? i get an error : X Error of failed request:  BadAccess (attempt to access private resource denied)09:47
lilsteviehm09:51
lilstevienot seen that09:51
janrinzei have a program that uses XShm, it is not from Ubuntu09:52
janrinzehttp://code.google.com/p/rtviewer/09:53
janrinzelilstevie: ipcs shows that the kernel is not configured for shared memory, semaphores and message queues!17:19
=== jkridner_ is now known as jkridner
janrinzelilstevie: you still here?20:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!