/srv/irclogs.ubuntu.com/2007/05/30/#ubuntu-mobile.txt

Mithrandiryou seem to be doing some quite interesting stuff with mobile and embedded.12:33
MithrandirI'd love to have a chat with you when it's not 00:33 in my local timezone.12:33
=== mateus [n=chatzill@200.209.169.221] has joined #ubuntu-mobile
=== mateus [n=chatzill@200.209.169.221] has left #ubuntu-mobile []
landleyMithrandir: Thanks.  I'll add this channel to my auto-join list, but there's no guarantees about when I'm on. :)12:36
landleySo I take it all the embedded devices of interest to Ubuntu are x86, due to Intel's sponsorship?01:17
landleyI've been pondering buying a Nokia 800 to have something more portable than my laptop.  That's arm based...01:18
landleyI've also got little systems bootstrapped under qemu for x86, x86-64, two arm variants, mips, and a couple others that don't work right (sparc and ppc).01:24
landleyReading the preliminary roadmap in the wiki, you mention kernel and applications, but nothing about C library.  Are you planning to use uClibc?01:26
landleyIt seems to jump straight from "kernel" to "ui"...01:27
pkl_landley: the general idea (at least the last time I looked), was to make user-space use mainy desktop stuff, i.e. Glibc etc.01:29
landleySo not a _very_ embedded ubuntu, then. :)01:30
landleyMore an ubuntu with a low-resolution display and strange input devices.01:30
pkl_coming from what would probably be considered a deeply embedded background (busybox, toybox, Firmware Linux), no.01:31
landleyMy perspective is a bit warped. :)01:31
landleyBut compared to the commodore 64...01:32
landley(Uphill!  Both ways!)01:32
landleyModern programming is to the old 8-bit systems what novel writing is to haiku. 01:32
landleyThen again, what attracted me to busybox and uClibc in the first place was I thought that Knoppix should be using them.01:33
landleyNot that I was particularly interested in reprogramming my cell phone.01:33
pkl_I'm from an deeply embedded backgound (Squashfs, Linux on digital TVs), and I get the impression the mobile work definately isn't interested in going that embedded.01:34
pkl_I started out on a Commodore Pet, Dragon 32, and Zx Spectrums :)01:34
pkl_In those days, you'd expect to fit an entire Basic interpreter in 8K...01:37
pkl_8K is now too small even for a buffer in the typical desktop application.  Times change.01:38
landleyIf a "typical desktop application" is Gnome, I don't want to have anything to do with it. :(01:40
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-mobile
landleyUbuntu may not be interested in going that embedded, but embedded developers are interested in using ubuntu.01:41
pkl_As more than a build system I suppose :)  What advantages does using Ubuntu have in comparison to a purpose built embedded system (like Firmware Linux, OpenEmbedded, emdebian etc.) ?01:43
landleyTime to market, of course. :)01:44
landleylinuxdevices.com does a survey every year, lemme see if I can find  this year's...01:44
landleyhttp://www.linuxdevices.com/news/NS5319577519.html01:44
pkl_But most of the embedded systems can build a rootfs immediately from download, and they're easily customisable.01:45
landleyLots of people out there want to build a root filesystem for their target platform out of packages.01:46
landleySo they need a distro that provides packages and dependencies.01:46
landleyTimesys was using Fedora for this, which is a HORRIBLE starting point, but they got lots of customers.01:46
pkl_But it goes back to the 'how embedded is embedded issue'.  Ubuntu as it stands wouldn't fix on many embedded  systems, and the extra flash needed would be considered too expensive.01:47
landleySorry, better link: http://www.linuxdevices.com/articles/AT7065740528.html01:48
landleyIf you go to the bottom of that, notice the last chart, "commercial embedded linux sourcing history".01:48
landleySigh, I mean the one above it.01:48
landley(Doing too many things at once...)01:48
landley"Embedded Linux OS sourcing trends".01:49
landleyUbuntu is 8% of the market and climbing.01:49
landleyFourth largest source after kernel.org, debian, and uClinux (which is for nommu systems only).01:49
landleyAnd "debian" is often just another way of saying "ubuntu" for some people...01:49
landleypkl: there are two ways to make an embedded system.01:50
landley1) Start from an empty directory and work your way up.01:50
pkl_one is build up, the other is to cut down.  I've done both.01:50
landleyLinux From Scratch derivatives rule that roost.01:50
landleyYup, cut down is the other.  And that starts with a distro.01:50
landleyIn that, you start with functionality being easy to get, and then cut it down tothe size you need.01:51
landleyThe _hard_ parts of the cut down approach are that some basic components are hard to substitute.01:51
pkl_I built a distro from scratch about 7 years ago, and again two years later.  I unfortunately, had to cut down a Fedora Core 5 to a single install CD.  Painful.01:51
landleyI.E. you're stuck with glibc unless you really know what you're doing.01:51
landleyFedora's horrible.01:52
landleyI've given up on it.01:52
landleyIt's nothing more than the modern Rawhide for Red Hat Enterprise.01:52
landleyIt stopped even pretending to be anything else when they abandoned the foundation.01:52
pkl_Yeah, since moving over to Ubuntu, I've not followed Fedora that much.01:53
landleyCommon observation. :)01:54
landleyLots of developers who use fedora as their development system want to deploy with it too.01:54
landleyLots of embedded development projects have two teams.01:54
pkl_Yes, I can understand the rationale, it means only one distro to learn.01:54
landleySort of "hardware and software" but in reality hardware+OS and application.01:54
landleyThe application people build the app on an x86 linux distro and then port it to the target once the target's ready.01:55
landleyThe target guys get hardware working and a distro on it.01:55
landleyMinimizing the gap between the two leads to people trying to get a subset of the desktop distro running on the target.01:55
landleyNot always, but often enough for there to be a market for people trying to make this suck less. :)01:56
landleypkl_: you might want to read this, too: http://linuxdevices.com/articles/AT5036152029.html01:57
landleyAlthough personally I wouldn't touch raw debian any more than I'd want to touch raw plutonium.01:58
pkl_Yes, I have noticed the progression from rolling your own distro, to using an off the shelf embedded distro (i.,e. Montavista) to using a cut down desktop distro.  My embedded Linux experience has followed this.01:58
landleyDebian is like fire, or nuclear power.  A potent force for good or evil, and you don't want to get any of it on you.01:58
landleyPart of it is that if you stay in the same embedded niche, hardware gets more powerful and you have more resources to work with.01:59
pkl_I left 'deeply embedded' work a couple of years ago, and the tendency to use desktop Linux has obviously increased.01:59
landleyMy cell phone has at least 64 megs of ram and a 200mhz+ processor these days.01:59
landleyBut embedded continues to go down.01:59
landleyTen years from now boxes of "captain crunch" will have a printed display on the front that changes every 30 seconds.02:00
landleyIt'll have 25 cents worth of hardware run off a watch battery in the corner.02:00
landleyDisposable hardware.02:00
landleyIt's only a matter of time.02:00
landleyAnd between the cost of the hardware and the need to run for 6 months off of a cheap battery, it'll have as little processor, flash, and memory as it can get away with.02:01
landleyAnd moore's law will probably hit atomic limits before that grows as powerful as my laptop.02:01
pkl_yeah that's the expected logical progression.  Green issues may affect this (in Europe there's already an emphasis on properly recycling all rubbish, this will be made more difficult with embedded devices etc.).02:02
landleySo it'll need an environmentally friendly battery.02:02
landleyProbably a fuel cell.02:02
landleyAnd the amount of circuitry in it will have to fit on a pinhead so nobody can complain about heavy metals leaching into the ground water.02:03
pkl_Er, it has gone 1 am here, and so I need to go to bed :)02:04
landleyQuick question:02:04
landleyIf I want to build ubuntu entirely from source, where do I start?02:04
pkl_OK :)02:04
landley(Never having done this before with Debian...)02:04
landleyIs there a web page on it?02:05
pkl_Hmm, that's a good question.  Most of the packages are built automatically using build machines.  I'm not sure if there's the infrastucture in place to download all the source, and build it locally.  I've never tried, but I'll try and find out.02:07
=== merriam_ [n=merriam@85-211-245-180.dyn.gotadsl.co.uk] has joined #ubuntu-mobile
landleyIf you find out how, please let me know.02:19
landleyGood night.02:19
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-mobile
=== asac [n=asac@debian/developer/asac] has joined #ubuntu-mobile
!LoRez:*! Obviously one of our larger servers has spaced out. We're looking at it. Thanks for flying freenode04:33
=== siretart [i=siretart@tauware.de] has joined #ubuntu-mobile
=== sabotage [n=sbryan@jffwprtest.jf.intel.com] has joined #ubuntu-mobile
=== mdz [n=mdz@yttrium.canonical.com] has joined #ubuntu-mobile
=== sabotage [n=sbryan@jffwprtest.jf.intel.com] has joined #ubuntu-mobile
=== mdz [n=mdz@yttrium.canonical.com] has joined #ubuntu-mobile
=== mdz [n=mdz@yttrium.canonical.com] has joined #ubuntu-mobile
=== sabotage [n=sbryan@jffwprtest.jf.intel.com] has joined #ubuntu-mobile
!dmwaters:*! Hi all, we finally got into the rotation server with problems to kill it. Things should stabelize now.04:58
=== jsmanrique [n=jsmanriq@cme-212-89-8-169.telecable.es] has joined #ubuntu-mobile
=== sabotage [n=sbryan@jffwprtest.jf.intel.com] has joined #ubuntu-mobile
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-mobile
=== asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mobile
=== asac_ is now known as asac
=== seb128 [n=seb128@ubuntu/member/seb128] has joined #ubuntu-mobile
=== heno [n=henrik@ubuntu/member/heno] has joined #ubuntu-mobile
henoMithrandir: I set you as approver on https://blueprints.launchpad.net/ubuntu/+spec/mobile-onscreen-keyboard Will you get a chance to look before the spec deadline?10:31
Mithrandirheno: yes.10:32
=== fcarvalho [n=Flavio@dasasob.nokia.com] has joined #ubuntu-mobile
=== agoliveira [n=adilson@201.47.77.62.adsl.gvt.net.br] has joined #ubuntu-mobile
=== irotas [n=irotas@c-66-30-195-112.hsd1.ma.comcast.net] has joined #ubuntu-mobile
fcarvalhofor fun: http://www.google.com/patents?id=oOsGAAAAEBAJ&printsec=abstract&zoom=4&dq=internet+tablet#PPP1,M102:08
Mithrandirwe had similar prototypes to that at Opera before the filing date at least.02:24
Mithrandirso I'd not be surprised if that patent is invalid due to prior art.02:24
=== etrunko [n=edulima@200.184.118.132] has joined #ubuntu-mobile
mdzseb128: you're on the mobile mailing list, yes?03:09
seb128mdz: yes03:09
mdzseb128: ok, just looking for some clarity about what we're going to do with gtk03:10
seb128do we have a list of changes we would need somewhere?03:10
seb128I'm building an update with the GtkFileChooser exports to allow hildon using its custom widget03:11
seb128the tap and hold patch will not be as easy though03:11
Mithrandirseb128: http://maemo.org/community/wiki/MaemoGtk210Changes03:12
Mithrandirthat is the full list of changes wrt gtk 2.10, but I think we should be able to get by without some of them03:12
seb128right, my question was rather "which ones do we really need"03:13
agoliveiraseb128: That's hard to say but I would go for the more high level ones like flie selection, and leave things like entry completion aside if it's all possible.03:15
=== ramki [n=ramki@72.16.168.213] has joined #ubuntu-mobile
=== seb128 [n=seb128@ubuntu/member/seb128] has joined #ubuntu-mobile
mdzseb128: it's hard to say whether we'll need tap and hold; it depends on how the UI is designed04:33
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-mobile
mdzseb128: if it's important to know, then it might be good to raise that question on the list04:33
seb128it's rather going the other way around, we need to figure what GTK+ changes are required for Ubuntu Mobile so we start at looking how to get them04:35
seb128tap and hold is tricky because there is maemo patch and an another variant being worked upstream04:36
MithrandirI believe maemo wants to move towards what upstream and I'd like to help them do that.04:36
seb128it's not sure tha changes will make it for GTK 2.12 though, and upstream is not sure yet they will use the new GTK for GNOME 2.2004:37
Mithrandiris there anything useful we can do to help in that regard?04:37
seb128not really, I've planned to package GTK 2.11.0 (which is available for a few days now) and put it on my people page for those who want to test04:38
seb128their problem is rather a lack of maintainers manpower than a lack of testes though04:38
seb128testers04:38
seb128not a lot we can do to help on that :/04:39
mdzseb128: that's what I mean: ask on the list whether the UI will need tap-and-hold04:39
mdzthe people working on it are on the list04:40
seb128right04:40
seb128I'll mail the list today about it04:40
agoliveiramdz: I remember that Bob Spencer (Intel) was quite specific about tap-and-hold.04:41
=== svaksha [n=svaksha@unaffiliated/svaksha] has joined #ubuntu-mobile
henoseb128: can the mouse-tweaks work provide the tap-and-hold functionality in your opinion? (https://wiki.ubuntu.com/Accessibility/Specs/MouseTweaks)04:53
henoit uses the xorg test extension and xevie04:53
agoliveiraCan I be notified by email everytime MobileAndEmbedded/TODO is changed?05:00
Mithrandirsure, just subscribe to it05:07
agoliveiraMithrandir: Ouch... I think I didn't speel well tonight :) Thanks.05:08
agoliveiras/speel/sleep - see?05:08
Mithrandirheno: what is "dwell clicking"?05:08
=== heno on the phone
agoliveiraMithrandir:"Click and hold the left mouse button to simulate clicking the right mouse button. Holding the left button for n seconds without moving the cursor more than x pixels initiates a right click+hold. Releasing the left button also releases the simulated right hold. Useful in using the context menu with only one mouse button."05:12
agoliveiraDah05:12
agoliveiraSorry05:12
agoliveiraWrong window05:13
=== agoliveira is now known as adilson-lunch
=== ferulo [n=fherrera@a88-115-27-99.elisa-laajakaista.fi] has joined #ubuntu-mobile
henoMithrandir: it means hovering over an area for a certain amount of time to trigger a click05:41
=== rusty [n=rusty@c-76-27-226-169.hsd1.or.comcast.net] has joined #ubuntu-mobile
henomainly for people who cannot click the mouse05:41
tkoMithrandir: yes, we'll want to move to upstream version of tap'n'hold when it's ready enough06:21
tkohowever, for us it's an annoyingly tricky situation due to API/ABI break as I don't see us being able to support both variants at the same time06:22
tkobut as far as hildon goes, I'd think we can live with a little bit of #ifdef soup for a while06:23
=== adilson-lunch is now known as adilson
=== jsmanrique [n=jsmanriq@cme-212-89-8-169.telecable.es] has left #ubuntu-mobile []
seb128heno: not sure if mousetweak would do the trick, maemo GTK has a patch for that, I think we should rather try using it07:34
henoseb128: sure. It's a natural part of a mobile framework of course. Are there plans for doing right-click, or is that just not used?07:36
seb128tap and hold has a "call a callback after a delay"07:38
seb128which means you can open a menu by maintaining the click07:38
seb128I don't think an another "right-click" menu would make sense, too complicated07:39
seb128it sort of replace the right click07:39
=== landley [n=landley@c-71-199-114-26.hsd1.pa.comcast.net] has joined #ubuntu-mobile
tkoalso note that tap'n'hold on widget level allows feedback on whether it'll actually do anything07:42
adilsontko: Can you clarify this one? I don't think I got it...07:44
tkoon widget level you know whether tap'n'hold will trigger the context menu or something and can show an animation to indicate that. on X level that's not really feasible (unless you do more interesting hacks)07:45
adilsontko: Oh, ok. Thanks.07:48
=== fcarvalho [n=Flavio@dasasob.nokia.com] has joined #ubuntu-mobile
=== javamaniac [n=gerardo@unaffiliated/javamaniac] has joined #ubuntu-mobile
=== doko [n=doko@dslb-088-074-031-166.pools.arcor-ip.net] has joined #ubuntu-mobile
=== svaksha [n=svaksha@unaffiliated/svaksha] has left #ubuntu-mobile []
=== javamaniac [n=gerardo@unaffiliated/javamaniac] has joined #ubuntu-mobile

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