/srv/irclogs.ubuntu.com/2013/01/30/#ubuntu-arm.txt

=== XorA is now known as XorA|gone
wookeyinfinity: trying to MA crossbuild eglibc2.17 falls over quickly with:01:53
wookeyconfigure: error: --enable-multi-arch support requires assembler and linker support01:53
wookeywhich is dull01:53
doko__you should forward-port the patches from the -cross-toolchain packages, or wait until infinity does do so01:56
wookeyah. OK.01:57
=== zz_chihchun is now known as chihchun
mrspinxHi02:10
mrspinxIs ubuntu going to run on the nexus 4 phone, I have been googling I have not really seen any news02:11
=== chihchun is now known as zz_chihchun
=== doko__ is now known as doko
=== zz_chihchun is now known as chihchun
ludI have an M960 android tablet , its posibble to boot an image?06:47
nils__I have installed my Nexus7 fresh from here http://cdimage.ubuntu.com/daily-preinstalled/current/ then connected to my wifi access point but cannot ssh to a second machine has anybody had this behaviour before?07:42
dholbachgood morning07:42
nils__good morning07:42
nils__ssh from a different machine connected via wifi works.07:42
nils__same problem the other way round. Before the new fresh installation I had installed ssh server via apt-get install ssh and I also couldn't connect from the other machine to the Nexus707:44
dholbachogra_, I have /etc/initramfs/post-update.d//flash-kernel failing - what do I do?07:44
Rjsnils__: (about what you spoke about 10 hours ago) I've been using the usb gadget ethernet on nexus7 for a while, and it was very easy to setup and has worked well (just like on my openmoko gta02)08:42
Rjsnils__: I simply compiled the kernel with USB_CDC_COMPOSITE instead of USB_G_SERIAL (composite is ethernet + serial so I didn't have to touch any serial port settings at all), added a few lines to /etc/network/interfaces to configure a static IP, and installed openssh-server08:42
infinityogra_: ^08:44
infinityogra_: Sounds like switching from USB_G_SERIAL to USB_CDC_COMPOSITE should Just Work.  We probably should.08:44
rasterRjs: USB_CDC_COMPOSITE???? THATS the config i was looking for!08:44
rasteryargh!08:44
rasterthanks muchly!08:45
kulvewhy not g_multi while at it..08:45
infinityAnd Rjs is suddenly the most popular man in the channel for the next 5 minutes. :P08:45
RjsI had no use for a usb-storage gadget so I didn't use g_multi to save myself the trouble of finding out how it should be configured :)08:46
rasterwho needs it08:46
rasterwhen u have usbnet08:46
rasterand can just use nfs08:46
raster:)08:46
rasteror sshfs08:46
raster:)08:46
* raster makes a happy dance08:46
suihkulokkiusb storage standard need to die08:47
rasterwell for anything less dumb th an a piece of flash media08:47
raster(ie sd card at most)08:47
rastermtp isnt amazingly better08:47
rastertho its an improvement08:48
ogra_infinity, when you moved abopotimg into livecd-rootfs, did you remove the code that marks it as manually installed from ac100-tarball-installer ? or do we do it twice now ?08:48
Rjsone thing I'm not sure about is how the usb network would look like in network manager if I hadn't configured a static IP in /etc/network/interfaces (I think it's just a normal "wired" interface, but I'm not sure if it has plugged-in detection or not, so NM might think that it's always there and try DHCP or something even if it isn't plugged in)08:48
infinityogra_: There was code marking it manually installed?  Why didn't you close the bug that said it wasn't, then? :P08:48
suihkulokkiwhile usb-storage was convinient, it also a) effectively mandates FAT b) makes it impossible to use the media on the device itself while it is being exported over usb storage08:48
Rjsbut I guess that would be easy to try... for me, setting a static IP was much easier than playing around with DHCP (then I'd also need a DHCP server on the machine I connect the nexus7 to)08:49
infinityogra_: Ahh, I see it.  No, I didn't remove that.  Will do now.08:49
suihkulokkib meaning you can't export your root partition, and thus people have to split partitions to support usb storage, leading to inefficient use08:49
infinityogra_: (Also, that call would have been a lot less painful if you'd used apt-mark instead of apt-get, for the next time you have to perpetrate such a hack)08:50
rasterRjs:  what device does it come up as?08:50
suihkulokkia meaning you suffer from a redmond-based patent troll08:50
rastereth0?08:50
ogra_infinity, thx, it wont help with bug #1041290 though (unless we rebuild the images for precise/quantal)08:50
ubot2Launchpad bug 1041290 in livecd-rootfs (Ubuntu) "apt-get autoremove wants to remove abootimg" [Undecided,Fix released] https://launchpad.net/bugs/104129008:50
ogra_infinity, will do08:50
ogra_anyway, daily vet visit now ...08:51
Rjsraster: I think it was eth0 on the nexus7 and usb0 on the host computer (though that might depend on the kernel version)08:51
* ogra_ is back in ~1h08:51
infinityogra_: No, won't fix the past, no, but such is life.08:51
rasterRjs: cool08:51
rasterpc-side i'm good08:51
rasterjust wanted to know so i can pre-configture iot while the kernel builds08:51
rasterand when i boot just magically have it work (tm) :)08:52
rasteras i already have all the client-side usbnet scripts around08:52
Rjsanother tip for static IP configuration: I simply didn't specify any default route through the usb net, because it's easier that way and enough for ssh - if I did setup the default route, then I'd need something to switch defaultroute between wifi and usbnet (probably just have NetworkManager manage the usbnet interface as well)08:53
nils__Rjs: Great to hear. Thx.08:54
rasterRjs:  i just want usbnet for development08:54
rasterso i can ssh in08:54
rasterwhen at home i do it via wifi08:54
rasterbut if u travel... thats not so useful08:54
rastereg.. u're on a plane08:54
raster:)08:54
rasteror in an airport08:54
rasteror hotel08:54
rasteror cafe...08:54
rasteror fosdem...08:55
raster:)08:55
infinityAlso nice to turn off the wifi and still have network access without sucking your battery dry.08:55
infinity(bonus points for network access and charging at the same time, oooo)08:55
nils__btw. this is a great communication channel. I feel honored to be able to talk to people who are working already quite some time hard on making things work better.08:55
Rjsa static IP on a private network without a default route is something you can easily keep always on and it doesn't affect any other network use (except if you happen to use the same IP address for something else by accident)... I guess the downside is that if you want to access the internet through it then you need to go through hoops (i.e., set the default route or use a http proxy as I sometimes do)08:55
Rjsyes, I'm finding this channel quite useful as well :)08:56
dholbachogra_, hum, not sure you saw my message, but maybe let's just talk later08:57
infinitydholbach: Oh, I saw it, but viciously ignored you becasue I was watching TV.08:57
infinitydholbach: How's flash-kernel failing?  "it no workie" isn't helpful. :)08:58
dholbachflash-kernel: installing version 3.1.10-9-nexus708:58
dholbachCouldn't find Android boot partition on /dev/mmcblk008:58
dholbachrun-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 108:58
infinityHuh.08:58
infinityYou did naughty things to your partition table?08:59
Rjs(hmm, now that I think of it, I might also want to configure sshd to listen only on the usbnet interface for a bit of added security, since I don't think I'll be needing ssh through wlan)08:59
rastermeh09:00
rasterif someone can attack my sshd.. go at it.. its just a tablet09:00
raster:)09:00
rasterdoes vsync work with gl now?09:00
rasteror is it still tear-heaven?09:00
raster(n7)09:00
rasteri havent updated my gl drivers in fear of them turning into a steaming pile of non-workingness09:01
rasteralso... anyone noticed how video/audio decode is skip-city?  gst is using the hw codec it seems for mp3's .. but its skiporama land...09:02
infinityraster: Hey, to be fair to NVIDIA (which I'm not often accused of), the tegra2/3 Linux drivers have nowhere to go but up. :P09:04
infinityraster: If you think they're a steaming pile now, you should have seen them a year or two ago.09:04
rasterhahahahaha09:04
rasterwell ... the 13.04 image when i tried ub for n7.. was all corrupted texel tile heaven09:05
rasterand garbage land09:05
rasteri stick to 12.10 because it worked09:05
raster:)09:05
infinityHeh.09:05
infinityI can't quite sort out why it's not just the same dudes doing all their drivers on a common codebase.09:05
rasterso i already saw them take a toe and dip them in the steaming-pile pot :)09:05
rasterdunno either09:05
infinityOr maybe it is, and they just have zero QA on the tegra side.09:05
rasteri was hoping there would be at least a few hanign here making sure they work awesome pants ++09:06
raster:)09:06
rasterso wondering who i should direct my angst and anger09:06
rasteri know its not canonical/community :)09:06
kulveis there a launchpad bug about that?09:08
rasterdunno09:08
rasteri though i searched but didnt find anything09:08
rasterbut it could have been nvidias new "Soak up my cpu with vsycn swaps on desktop" fun instead09:09
rasterand i go direct to nvidia for those babies09:09
raster:)09:09
kulvecould you briefly explain to me how the whole vsync stuff should work with gl apps with composited window manager on top of X11?09:11
rasterbut even if there is a launchpad bug... its almost certainly an upstream binary blob issue... which means it just gets passed on anyway - so may as well go direct09:12
rasterummm09:12
rasteri want it for my COMPOSITOR09:12
rasterfor apps... that's a whole different bundle of joy09:12
rasteras such the regular logical way is that all apps also vsync to the blank interrupt so they effectively throttle to the refresh no matter what they try and do09:13
rasterif windows are borderless the driver can drop to front/back buffer exchanges for composited gl appo windows09:13
rasterand such exchanges are/can be atomic09:13
rastertho any such exchanges need to be blocked while any gpu pipeline exists anywhere with pending commands that indicate the target swap texture as a source09:14
rasterto avoid mid-draw exchanges09:14
raster:)09:14
rasterthen u get seamless rendering09:15
rasterrequires windows be borderless tho (Client-side rendered frames will do - or u are in a mobile/touch ui with no frames)09:15
suihkulokkia09:23
=== yofel_ is now known as yofel
ogra_xnox, hmm, we offer home encryption in oem-config, but until we manage to get plymouth into the initrd (which becomes more and more unlikely due to size issues) it wont work ... should we probably hide the option in the UI ?11:01
xnoxtrue.11:03
xnoxno, why?11:04
xnoxhome encryption in oem-config is pure ecryptfs which doesn't need plymouth or anything like that.11:04
xnoxhome encryption != LUKS aka full disk encryption11:04
xnoxhome encryption should just work =)11:05
ogra_oh, indeed, lightdm does the decrypting, silly me11:07
ogra_sorry for the noise :)11:07
* xnox thought it's pam, not lightdm. but close enough =) it's way past initrds and stuff =)11:08
ogra_right11:08
ogra_well, UI wise its lightdm :) indeed there is pam11:09
ogra_hmm, so i see various uploads of upower but my nexus didnt upgrade upower since yesterday11:09
kulveanybody here used nexus7 in host-usb mode? Do I need some special cable or should I be able to use normal micro USB cable with some female-female adapter to plug in e.g. a keyboard?11:20
ogra_you neerd an adapter cable, but then it shoudl just work11:21
ogra_(a so called OTG cable)11:22
=== chihchun is now known as zz_chihchun
ogra_hmm12:03
ogra_while the interactive governor helps massively with powersaving, my dmesg explodes every time that thing is loaded, i wonder if one can quieten that a bit to make dmesg readable again12:03
kulveogra_: thanks. Looks like this so called OTG cables have standard wiring so nothing special there. Unlike with OMAPs you needed to use mini-A (or was is mini-B?) cables that had pin 4 grounded and those cables were hard to obtain originally..12:07
ogra_yeah12:08
ogra_i also onyl knew OTG as the OMAP cables with the shortened grounding before12:08
ogra_and i still have a hard time calling these normal "adapters" OTG :)12:08
nils__just wanted to express my gratitude. Yesterday i had installed my ubuntu today I managed to set up a new kernel with usbnet. Great support from here! Thank you!12:24
ogra_did you by chance try with the composite gadget driver ?12:27
ogra_(if that works and someone tested it we should be able to provide both, serial and usbnet)12:27
kulveogra_: do you need the serial login, if you have usbnet..?12:29
ogra_i would like to have the choice12:30
nils__i changed the configuration manually switched on USB_CDC_COMPOSITE and removed USB_G_SERIAL12:30
ogra_and eventually we will have to provide usbnet anyway for file transfers etc12:30
ogra_nils__, you rock, thats what i hoped12:30
ogra_(for getting some data about g_composite)12:31
kulveogra_: I'm using g_multi with my Mer based rootfs12:32
nils__I can connect via "sudo screen /dev/ttyACM0 115200"12:32
nils__And with lsusb I can see this output "Bus 002 Device 050: ID 0525:a4aa Netchip Technology, Inc. Linux-USB CDC Composite Gadge (Ethernet and ACM)"12:33
ogra_and you can set up a usbnet connetion too ?12:33
nils__ifconfig shows usb012:34
ogra_great !12:34
nils__but till now I haven't managed to set up the networking. But this is clearly because I have no clue yet how to do it. ;-) I am just starting.12:34
hrwkulve: OTG cable is normal USB cable with ID pin grounded12:36
nils__so I guess I will have to set up a little bit neworking stuff like ip adress, etc.12:36
kulvehrw: so it is a special cable and I can't use the cable that came with the device and a basic female-female -adapter?12:37
hrwkulve: if you have a way to configure device to switch to OTG in software you can12:37
hrwon nokia 770/n810 it was easy12:38
kulveok. I thought that the devices could communicate with each other enough to realise who's the boss and who's the slave12:38
kulvewithout that ID pin12:38
hrwnope12:39
hrwusb is pull not push12:39
hrwhost pulls slaves12:39
=== zz_chihchun is now known as chihchun
janimoogra_, will we have onboard for 13.04 ?13:49
janimoit has so many bugs apparently13:50
ogra_i saw a workitem for Laney to get maliit into debian and ubuntu and to test it13:51
ogra_but maliit has poor layout and no modifier keys13:51
LaneyI'm not doing that with the intent of it replacing onboard13:51
Laneyat least not yet13:51
ogra_it might be less resource hungry but you pay with missing fuunctionality13:51
ogra_Laney, well, for comparison reasons :)13:51
Laneyindeed13:52
ogra_and its no secret that we inspect maliit as alternative :)13:52
ogra_came up at UDS already13:52
plarsogra_: I wasn't able to get far with the oem-preseeding still, but I'm doing upgrade and run tests now, and have things like baseline smem and mem testing to help do comparisons between n7 and amd6413:52
plarsogra_: the baseline wakeups/sec from eventstat are *really* high by comparison on n713:53
ogra_well, make sure to upgrade to the very latest, there qwere several fixes yesterday and tonight13:53
ogra_especially for wakeups13:53
* janimo installs eventstat13:53
plars  Evnt/s PID   Task            Init Function             Callback13:54
plars  207.97     0 [kern sched]    Load balancing tick       tick_sched_timer13:54
janimoogra_, so we have no xrotate calls or xorg rotation settings anymore by default ?13:54
ogra_janimo, only from acceld13:54
plarsogra_: I'll run again this morning13:54
plarsthese were from yesterday13:55
janimoogra_, ok, I have the equivalent of acceld in g-s-d, I'll probably upload soon13:55
ogra_plars, i uploaded a bunch of cpufreq configurations today ... and a fix for getty waking up 100 times per second when used with ttyGS013:55
ogra_that should sanitize it a bit13:55
janimoI was just wondering what messed up colin's lightdm setup (he filed a bug 20 min ago)13:56
ubot2Launchpad bug 20 in Launchpad itself "Sort translatable packages by popcon popularity and nearness to completion" [Low,Invalid] https://launchpad.net/bugs/2013:56
ogra_janimo, well, cjwatson upgraded from quantal ...13:56
plarsogra_: cool, we'll hopefully have graphs of this soon too, so that we can monitor over time13:56
ogra_janimo, probably some leftover from some hack from the demo image13:56
ogra_for me lightdm works fine13:56
janimosame here13:56
janimoalways portrait btw13:57
ogra_he already had issues with the kernel upgrade ...13:57
ogra_yeah, lightdm just uses what xorg gives it as default13:57
ogra_which now is always portrait13:57
* janimo checks if acceld rotated lightdm as well13:57
janimocause g-s-d does not13:57
ogra_acceld doesnt either13:57
cjwatsonI didn't really have issues with the kernel upgrade13:58
janimook, so this is a bug13:58
cjwatsonI just needed to know to do it13:58
ogra_you would have to add acceld or g-s-d's rotation plugin  to the  lightdm session13:58
ogra_cjwatson, vs "everyone else gets it automatically" :)13:58
cjwatsonWell, sure, but that was just at the apt level; I've cleaned all that up now13:59
cjwatson(I'd deliberately pinned to the PPA back when raring didn't quite work right)13:59
ogra_is your ubuntu-defaults-nexus7 at least at 0.44 ?13:59
cjwatson0.4713:59
cjwatsonAll my packages are current raring now13:59
ogra_(that ships the xorg.conf.d snippets)13:59
ogra_weird13:59
cjwatsonAre the xorg.conf.d snippets read dynamically, or are they built somehow?14:00
plarsogra_: I'm not using serial console, so that shouldn't be causing a problem for me, but I'm getting ~450 wakups/sec it seems on the test I just ran14:22
janimocjwatson, we have an installed snippet at /usr/share/X11/xorg.conf.d/21-nexus7-rotation.conf14:22
=== smartboyhw_ is now known as smartboyhw
ogra_cjwatson, just plain files, no generation14:27
cjwatsonYeah, I have that file14:28
janimoogra_, do you have other uploads queued for u-d-nexus7 ?14:30
ogra_janimo, well, i need some way to shut down usb0 on boot, i was just starting to work on an upstart job, nothing queued directly, no14:31
janimoafter the g-s-d patch is landed and working we need to disable acceld and add a new udev rule. And as minor cleanups disable Z axis reading and everything rotation related in the xorgs snippet14:31
janimoogra_, ok I'll paste you the changes so I don't step on your upload14:31
ogra_well, just upload away14:31
janimowith proposed gating I need to remember to use pull-lp-source not apt-get source as the latter can get older versions14:32
ogra_i have meetings starting in an hour and am probably not getting to the usb0 stuff until they are done14:32
achiangjanimo: why did you mark this as invalid? https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/103144914:52
ubot2Ubuntu bug 1031449 in rhythmbox (Ubuntu Quantal) "rhythmbox leaking memory" [Undecided,Confirmed]14:52
janimoachiang, let me check I don't recall14:52
janimoah, invalid on the nexus product, reasoning we cannot add affects nexus7 to any bug that happens to occur there as well.14:53
janimoOr was this spotted on nexus7 only, in which case my bad?14:53
janimoI tried cleaning up some bugs at one point and there were completely unrelated issues affecting nexus7, even bugs of rarely used universe  packages14:54
janimoI am not sure that is how the project's tracker needs to be used.14:54
janimoI know the rb-ubuntuone plugin was mstly nexus14:55
janimobut that was a different bug14:55
ogra_and was fixed early this cycle14:55
ogra_we never had the issue on the raring images14:55
ogra_(the -ubuntuone one)14:56
janimoogra_, right, just mentioning an example where I thought adding affects ubuntu-nexus7 makes sense14:56
janimoI thought it is mostly an umbrella for bugs that either span multiplenexus related packages or are otherwise occuring mostly on this hw14:57
* ogra_ doesnt care as long as one task stays open so someone works on it at some point14:58
janimoI only care because filtering nexus bugs is easier if all bugs are specific to this image14:58
janimonot generic app bugs and not even ARM specific issues14:59
ogra_yah, makes sense14:59
achiangjanimo: maybe my blog on memory leaks asked people to file bugs in nexus7 so we could find them easily. :)15:23
achiangjanimo: it was kinda relevant due to the "optimize mobile" effort15:24
janimoachiang, I agree it is ok to get people file bugs on memeory leaks.15:25
janimoI just thought having a memleak or somesuch tag (I think we even had one initially) would be more appropriate15:26
achiangjanimo: fair enough. :)15:26
janimocause then people without nexus can join in without thinking they need specific hw to test and fixc15:26
janimofix15:26
angsI have beagleboard that runs ubuntu-server (12.04). while it uncompress the kernel, it takes too long to wait on Starting configure network device step each time. how can I configure it to skip that step if there is no network connection on the device?16:30
angsit takes more than 2 min to wait on that step on each boot16:30
Nekodo you have entries in /etc/network/interfaces besides lo ?16:36
angsyes16:37
Nekobecause removing any that say "dhcp" will fix it, or giving a fake static IP.. but what might be better is install network-manager and let it automatically handle everything for you16:37
ogra_on a server ?16:37
Nekonetwork-manager has a command line :)16:38
Nekobesides this isn't really a "server" if we're talking about a beagleboard with usb ethernet16:39
Nekothe other alternative is write some nifty udev rule16:40
Nekonetwork-manager just solves the problem immediately though without introducing any behavior nobody can reproduce ;)16:40
ogra_it is nontheless a bug if a server install behaves like that after installation16:41
ogra_stgraber, i though that was fixed in an SRU ?16:41
angsI have this version: Linux user 3.2.0-23-omap #36-Ubuntu Tue Apr 10 20:24:21 UTC 2012 armv7l armv7l armv7l GNU/Linux16:41
Nekonot really. if I disconnect my virtual ethernet from a VMware server instance, it does the same thing on every distro I've ever used... it's partially because the networking script hangs around waiting for the device to be probed isn't it?16:42
stgraberogra_: what bug?16:42
ogra_angs, are you fully upgraded to the latest packages ?16:42
Nekonetworking could be "starting" long before modules are probed, especially if dealing with drivers that do probe deferral16:42
ogra_stgraber,  60sec timeout on boot to bring up networking16:42
angscan't I skip that step without installing network-manager. I am told that network-manager has many bugs etc.16:42
angsogra_: I havenot updated it for months. I will do that now16:43
ogra_network-manager is fine, the point is that it should work without it16:43
stgraberogra_: if you install a non-desktop version of Ubuntu and d-i writes an entry for eth0 in /etc/network/interfaces. If that interface doesn't exist at boot time, you need to wait 90s before the system hits the fallback and boots16:43
ogra_ergh16:43
ogra_any workaround ?16:44
angsI have only lo and wlan on /etc/network/interfaces, I don't have eth interface written on that file16:44
ogra_and you actually use eth and not wlan ?16:44
angsyes, a cable is connected to the eth16:45
angsis it the reason of my problem?16:45
ogra_if you dont use the wlan i would indeed wipe it from /etc/network/interfaces ... did you use it at install time ?16:46
angsI unplugged the ethernet cable and am rebooting the device now.16:46
angsI wrote wlan0 info on that file long ago, but I am planning to use a wifi dongle soon16:47
angsbtw, it still waits long even ethernet cable is unplugged, it shows Waiting up to 60 more seconds for network configuration... and before16:48
Rjsangs: maybe it waits for dhcp from the wlan? do you have "auto wlan0" or "allow-hotplug wlan0" in the interfaces file? (if you do, you can take it out and "ifup wlan0" will still work, then it's just not done automatically)17:02
ogra_thats why i suggested commenting or removing the wlan entry17:03
Rjsyou can keep the entry ("iface wlan0" etc.) if you want: if you remove auto and allow-hotplug, the entry should never be used unless you run "ifup wlan0" manually (or at least that's how it works on debian without any network-managers; I don't know if ubuntu has something special there)17:04
Rjsby the way, I just tested the usbnet gadget in nexus7 without having anything related to it in /etc/network/interfaces, and it does correctly detect whether it is plugged in:17:20
RjsI specified a static IP in the GUI ("Manual" IPv4 setting in the "Edit Connections" dialog, remembering to turn default route off in the Routes sub-dialog) and it seems to work: I get a notification about the "Wired connection" when I plug in the usb cable, and another when I plug it out17:20
ogra_yeaah17:21
Rjsso it appears to work just as it should (just like a normal wired Ethernet device)... except maybe that I noticed that the usb0 interface is always UP according to ifconfig, but only has an IP when plugged in (so I think NM sets and removes the static IP), but I don't think it matters17:21
ogra_thanks for testing17:21
ogra_yeah, we discussed NM behavior before in #ubuntu-devel17:22
ogra_it will get fixed to not annoy you with autoconnect attempts17:22
Rjsok :) (though I don't think it annoys you with anything after you've set a static private IP, then it just thinks that it is connected whenever plugged in? and if the interface has no default route, nothing should send any packets there unless the private IP network is used?)17:24
ogra_well, would your mom want to do that ?17:27
ogra_if you plug the device in it should just be accessible but not pop up messages all the time :)17:27
Rjshmm, ok :) so you're somehow setting networkmanager's default so that it doesn't bring up the interface at all unless configured by the user first?17:28
Rjs(I don't really know what would be a good overall default; my first idea was to automatically set a randomized static private IP, but then there's the problem of communicating the IP to the user when he wants to set it up; then I thought of setting up only the IPv6 link-level address and nothing else, but probably many users would have trouble with anything ipv6 even if on a private link)17:30
Rjsbut maybe it's ok to leave it completely up to the user (if (s)he wants to use the usbnet at all), though maybe it would be good to point out somewhere (in a "Tips" page in the wiki perhaps) that if you control both ends, a static IP may be much easier to configure than setting up a DHCP server on the host computer just for this17:32
Rjs(of course, none of this is nexus7-specific but common to any device that runs ubuntu and works as an usb gadget, so it's good to have a solution that is as general-purpose as possible - but I guess you know that already)17:34
ogra_yup17:36
=== Quintasan_ is now known as Quintasan
=== solarcloud_3srcn is now known as solarcloud
scientesi cant figure out why my watchpoint isn't working20:35
scientesi have a memory address that usually has a valid value in it20:35
scientesbut sometimes it has null which causes a null pointer dereference20:35
scientesi did "watch 0x<fooaddr>", which is the same address as x <fooaddr> which returns a value sometime and othertimes null20:35
scientesbut the hardware watchpoint never breaks20:36
scientes i also tried watch *(int *) <address>20:36

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