/srv/irclogs.ubuntu.com/2008/08/05/#ubuntu-mobile.txt

persiaogra: I think having a consistent /dev/touchscreen is an excellent idea, but I think that it ought be achieved by udev rules, rather than a script using ln -s.01:45
persiaIf you look at the Q1U config, it has a udev rule that matches the specific model: perhaps this could be expanded to support a wider variety of touchscreens.01:46
persiaErr.  /dev/input/touchscreen01:46
ograwell, i discussed the idea with Keybuk and bryce ... and they convinced me to rather try to get it properly into hal01:46
ograso the whole config can be handled there and is dynamic01:47
ogramy attempt was a bit shortsighted and only actually targets the current situation ... which will not be the intrpid situation01:47
persiaogra: Hmm.  That is better, and yes, doesn't work without the new xinput2 stuff.01:48
ograit would be a good solution for hardy though with your point to use udev it would even be better01:48
persiaIn the Q1U images, we do use udev, just with a very tight udev rule matching only one device.01:49
ograbut i will take a deep look into hal-input i think ... as soon as time permits01:49
persiaYeah, I've been meaning to do that as well.  It is the future.01:49
ograwe can use udev to trigger hal01:49
persiaWell, do we want /dev/input/touchscreen for legacy purposes?  If not, we can just trigger hal when adding any input device, and let hal-input sort it out01:50
ograright01:50
ogradev wont matter in the hal case01:50
ograv/dev i mean01:50
persiaThe only case where one wouldn't want that is for MIDI, as the programming for MIDI is currently too different to handle generally.01:50
ogradepends, i guess even that can be made workable by hal01:51
* persia was looking at indamixx press recently01:51
persiaNot for intrepid.  For later, maybe.01:52
ograbtw, do you know the reason why Mouse0 in the config isnt using /dev/input/mice as it should be, but /dev/input/mouseX ? 02:04
ograusing mice here makes all additionally attached pointing devices work as well ... (i.e. the trackball of my wreless kbd and my usb mouse) 02:04
persiaNo idea at all.  That was frustrating to me, as it required adjustment to work on my hardware (or else only the touchpad worked, not the joystick or the touchscreen)02:05
ograright02:05
ograwith /dev/input/mice all works equally fine02:05
ograi wonder if we can get that as fix in02:05
ograwe'll likely need to re-roll an updated image for the speedup stuff i guess02:06
persiaDo you think /dev/input/mice is SRU-worthy?02:10
ogranot sure, i'd like to hear other opinions and hear from testers first02:10
ograit might just work because of the module order i used for loading them02:11
ogra(which indeed would indicate a worse bug in udev/modprobe somewhere)02:14
persiaWhy?  /dev/input/eventx is populated in module loading order with increasing X.  The same is true to a lesser degree for /dev/input/mouseX and /dev/input/jsX (why don't we support multiple keyboards like that).02:15
persiaWell, not module loading order exactly, but hardware plug event order, which is strongly influenced by module loading order02:16
ograi guess because we dont have a /dev/kbd02:16
ograhmm02:17
ograwe do02:17
persiaWell, it has been there in the past.  Just more confusion because X has it's own keyboard drivers (which is frustrating when one has an interesting keyboard-like device)02:17
ograand i assume thats exactly what hal-input will do02:17
ogramy leyboard is /dev/input/event1 here02:18
ogra*keyboard02:18
persiaWell, some of that.  There's still differences with the console, as it doesn't tend to use hal-input.02:18
ograit should then :)02:18
persiaHave you looked at the input-utils package?  I find it very useful when looking at input stuff.02:18
persiaShould a VC really depend on a running HAL?  That's an interesting direction.02:19
ograno, i just dug around in hal-device-manager02:19
ograerr02:19
ogragnome-device-manager02:19
ogra... was renamed02:19
persiaAh.  Install it: `lsinput` is a much simpler interface :)02:19
persiaMInd you, input-utils seems to need more root access than one would expect, but ...02:20
ograi think hal should as abstraction layer indeed handle all HW at some point02:20
ograand afaik devicekit is trying to solve that 02:21
persiaMind you, `cat /proc/bus/input/devices can be similarly informative.02:21
persiaYeah: having a central abstraction layer would be nice.  With a bit of extension, it ought be able to handle 漢字 entry cleanly in the console as well.02:23
ograwell, thats what hal reads 02:23
ogranot /proc but the equivalent in sysfs02:23
ograand /proc is suposed to vanish since linux 2.6.0 was released02:24
CShadowRunIs there any devices that actually run ubuntu mobile nicely, and are released?02:25
CShadowRunand ubuntu mobile is linux, so i can use most of my stuff i run on my pc on the mobile device (Providing it's not too resource intensive obviously)02:25
ograA samsung Q1 runs it over here, and yes, ubuntu mobile uses the standard ubuntu archive you can theoretically install everything from apache up to gnome02:27
CShadowRunand is there any way to test ubuntu mobile without installing KVM, KVM seriously borked my computer last time i tried to use it.02:27
CShadowRunnice :)02:27
CShadowRunlike, could i try it out in virtualbox? that'd be nice.02:27
persiaCShadowRun: Pretty much any device with an A100, A110, or Atom processor ought work fine.  Best experience for 1024x600 screens, and many things are optimised for the Samsung Q1U.02:27
ograi did try it in virtualbox, but you need to manually convert the image wiht qemu to a vbox image 02:28
persiaThere's been talk about virtualbox images, but I don't know of any published ones.02:28
persiaogra: How does one do that?02:28
ograand to get a proper screen size you need the vbox modules in the image02:28
ograthere is a qemu command to convert it 02:28
CShadowRunif someone could talk me through that it'd be nice02:29
CShadowRuni'm really into the idea of ubuntu mobile :D02:29
CShadowRunspecially the python part, hehe02:29
CShadowRunas i say, i tried to apt-get install KVM before, and my entire system froze while "setting up kvm", and then my package manager was completely broken, because every time i did the dpkg command to repair, it tried to install kvm again :x02:30
CShadowRunafter doing dpkg like 5 times it did finally go through, then i had to try another 2 times to remove the blasted thing because it broke virtualbox, lol02:30
ograqemu-img convert <your qemu image>.img <raw image of your quemu image>.bin 02:30
CShadowRuncool02:31
CShadowRunthen what would i do with the output file?02:31
ogravditool DD <final vbox image>.vdi <raw image of your quemu image>.bin 02:31
CShadowRunok :)02:31
ogravditool is shipped with vbox02:31
ograits a two step thing and the resulting image is a good bunch bigger than the qemu one02:32
ogradue to the step through the raw image02:32
CShadowRunhehe providing it's not more than like 800GB...02:33
CShadowRunlol02:33
ograheh, no02:33
ograbut my vbox image is 5G vs the 2G qemu uses02:33
CShadowRunwhile file do i want? mid-8.04.1-kvm.tar.gz ?02:33
ograhmm, no idea, i built my on image with the builder back then ... it was before release ... 02:34
CShadowRunlol02:34
ograbut i suspect the kvm one is right02:34
CShadowRunkk :)02:34
CShadowRunthe only other options are a few mccaslin and a few menlow ones.02:34
* ogra slaps forehead 02:35
StevenKCShadowRun: They are install images.02:35
CShadowRunok :)02:35
ograi just see vditool has a SHRINK command02:35
CShadowRunso i want the kvm one then02:35
CShadowRunogra haha02:35
CShadowRundownloading that now, it'll be done in 15 minutes :p02:35
ograwell, diskspace is cheap :P02:35
persiaWell, not too cheap: there seems to still be demand for 2G devices.02:36
ograheh02:36
ograsadly 02:36
ogralife would be easier without them ... 02:36
persiaIndeed, given that 4G solid state is available in 130g devices these days...02:36
ograat least my life :P02:36
CShadowRunhehe, personally i probably would buy a 2G02:37
CShadowRunand use a flash drive to install things on02:37
CShadowRunbecause SSD is so much more expensive than flash02:37
CShadowRunplus with flash you can carry a bunch with you :D02:37
persiaSSD usually is flash.02:37
CShadowRunyea but they charge so much more for it compared to a USB flash stick02:37
CShadowRun(because it's new, and cool.)02:37
persiaThat will go away soon.  It's also just sizing.02:38
CShadowRunaye :)02:38
ograyeah02:38
persiaAnyway, the issue is more with the base install.  4G gives enough space to not *require* extra flash devices for basic use.  With 2G one needs to mangle the install images to try to get enough local space.02:39
ograyeah :(02:39
* persia has never had a 2G device, so maybe isn't very sympathetic02:39
ograits a pain02:39
ograbut i have still some ideas to save more space i didnt work on yet :)02:40
CShadowRunlol the Q1U looks nice02:40
CShadowRuni found a B-Grade one for $68602:40
persiaCShadowRun: It has the least useful keyboard I've ever seen on a device.  It's also larger than you would expect.  Other than that, it's pretty good.02:40
ograi must admt i can imagine to get used to it if i wuldnt have a coice02:41
ogra*admit02:41
StevenKBut why would you want to? It would turn your hands into claws not even suitable for console gaming after prolonged use02:42
CShadowRunlol i do admit it looks a bit ugly02:42
ograits all about finger memory and getting your thumbs right02:42
persiaThe new Kohjinsha Atom boxes are awfully nice.  Smaller than the samsung, but in a convertible tablet form-factor (and still with ~7" 1024x600)02:43
StevenKogra: And not hitting four keys with your Western-size thumb?02:43
persiaogra: You mean putting your thumbs in a pencil sharpener?02:43
ograi mean i cant imagine messaging 200 words in 10 min with my mobile with one finger, but i know people who can02:43
persiaStevenK: It's not just Western thumbs: I say that even thumbs on this side of the world rarely fit.02:43
ograpersia, something like that :)02:43
CShadowRunanything else thats "officially" (Or going to be officially) supported by ubuntu mobile?02:44
CShadowRunapart from the Q102:44
persiaogra: I've seen people typing faster than that on mobiles, but the keys are bigger.02:44
CShadowRuni'm quite a fan of the XDA execs look, something like that would be awsome :p02:44
ograright, they are 02:44
persiaCShadowRun: Anything with a Intel A110, A100, or Atom processor ought work.  With luck, things should work with VIA C7-M or AMD Geode.02:45
CShadowRuni see02:45
CShadowRunlol cool so it's happy in an EEEPC02:45
CShadowRunEEE is so tempting.02:45
persiaWell, it's not happy yet.  It should work, but nobody has yet reported that it does.  On the other hand, nobody has explained why it doesn'T.02:46
persiaPerhaps it will do better on the Atom EeePCs02:46
CShadowRunyea thats what i meant02:46
ograwhich are out since a week or so02:47
persiaSure, but we've not a test report yet :)02:47
ogratwo guys in #ltsp got theirs on monday02:47
CShadowRunhuh? i found them available on google shopping already02:48
ograthe 901 atom ? 02:48
CShadowRunyes02:48
ograthey didnt ship until very recently02:48
CShadowRunwell they appear to be up, theres a bunch of them up :)02:48
CShadowRunand acer seem to make some too02:48
persiaYep.  Now that they've shipped, they are shipping in volume.02:48
ograyou could order them since a month or so at amazon though02:48
ograthere re more to come02:49
ograhonestly i would wait a bit for more beautiful and cheaper devices02:49
persiaThat's the unfortunate thing about devices: it's always better to wait another few months (although it is nice to have something to use)02:49
* ogra is not an eee fan .... chepa keyboard and ugly case02:49
ogra*cheap02:49
persiaAlso in the unfortunate form factor: too big for the pocket, too small for serious use.02:50
CShadowRunthe sharp D4 looks nice02:50
ograif they at least were slim02:50
CShadowRunthats the sorta thing i'd love to get my hands on :p02:50
CShadowRunyea maybe02:50
persiaCShadowRun: That is a lovely device.  The keyboard feels nice.  Fits in the pocket.02:50
CShadowRunsweet02:50
CShadowRunthats the sorta thing i'd love to get my hands on02:51
persiaCShadowRun: Where are you?  It is likely one can be shipped.02:51
CShadowRunUK02:51
ograheh, and runs vista by default02:52
CShadowRunwell yea, but that can be changed :D02:52
CShadowRunthere we go, download finished, i have a kvm file and a qcow2 file02:52
persiaHmm.  Neither trisoft nor dynamism is shipping the D4 yet.  I don't know anyone else who ships to the UK.02:53
CShadowRunaww.02:53
persiaDynamism does have the kohjinsha SC though (although it's still a little big)02:54
* ogra twiddles thumbs ... 5 min to go fo rmy upload02:55
CShadowRunyea thats quite nice :)02:55
CShadowRunhmm, thats odd02:56
CShadowRuni have virtualbox installed, but i don't appear to have vditool02:56
CShadowRunubuntu tells me to install the open source edition :p02:56
ograi have it in /usr/bin/vditool02:57
ograwith the packages from the archive 02:57
persiaogra: Which package provides /usr/bin/vditool for you?02:57
CShadowRunnope, not there for me :(02:57
ograogra@osiris:~$ dpkg -S /usr/bin/vditool02:57
ogravirtualbox-ose: /usr/bin/vditool02:57
CShadowRunnot even on my computer, did a search lol02:58
CShadowRuni did a dpkg -L on my virtualbox, and it's not been installed.02:58
CShadowRunmust only be included in the OSE version :S02:58
ograbut you use the nonfree version02:58
ograi never tried that 02:58
CShadowRunah03:00
CShadowRunand these files that ubuntu came in arn't img files03:00
CShadowRunone is a kvm one is a qcow203:00
persiaqcow2 is the image file, and ought be able to be converted.03:01
CShadowRunwith qemu-img convert root.qcow2 raw.img03:02
CShadowRunright?03:02
persiaI think so, but I've not done that, so I'm guessing.03:02
CShadowRunnow the only problem is vditool then :)03:03
persiaFor that you probably need virtualbox-ose03:03
CShadowRuni managed to find a copy of it on the web but it says i don't have libuuid.so.103:03
* CShadowRun tries installing the dev package03:03
CShadowRuni do have it though :/03:05
CShadowRunit's a symlink in /lib that points to libuuid.so.1.203:06
* ogra updates http://people.ubuntu.com/~ogra/classmate/images/hardy/ and prepares to finally get some sleep03:06
ographew ... that was a long day today03:07
CShadowRunhehe03:07
* ogra waves .... 03:12
ogranight all03:12
CShadowRunnight :(03:13
=== CShadowRun is now known as cshadowrun
=== freet15__ is now known as freet15
=== Moot2 is now known as MootBot
=== Moot2 is now known as MootBot
=== Moot2 is now known as MootBot
=== Moot2 is now known as MootBot
cshadowrunI installed the ubuntu mobile package on my laptop18:40
cshadowrunbut all it seems to do is like install a few new applications :(18:40
ogracshadowrun, what did you expect to happen ? 19:04
ograth eubuntu-mobile package is a metapackage used to pull in the default set of applicaions into a mobile imae build19:05
ogra*image 19:05
ogra(like all metapackages in ubuntu)19:05
cshadowrunuh19:07
cshadowruni expected it to be like a diffrent desktop session or something19:07
cshadowrunso i could try it out just like it was a phone19:07
cshadowrun:(19:07
cshadowrunthats what i wanna do19:07
ograthen you would need ot install the whole image 19:10
cshadowrunhow do i do that?19:10
ograbut that wuld wipe your disk, the installer in hardy isnt very intelligent about such stuff19:10
cshadowrunthats fine19:10
cshadowruni wanna test it on my laptop which has no data on it anyway19:10
ograyou can try the mccaslin image from the link in the channel topic19:11
cshadowrunis it an iso?19:11
ogradd that to a usb key, boo from it and let the installer do its work 19:11
cshadowrunoh19:11
ogranope, n .img file19:11
cshadowrunhow big usb key do i need?19:11
ogra1Gn shoudl suffice19:12
cshadowruni only have 512 :(19:12
cshadowrunwonder if i could run ubuntu off this image file19:14
cshadowruns/ubuntu/virtualbox19:14
ograhttp://cdimage.ubuntu.com/mobile/releases/hardy/ says the mid-8.04.1-mccaslin-install-usb.img  is only 50119:17
ograso 512M might work19:17
cshadowrunmaybe19:17
cshadowrunubuntu says the total capacity is 495.2MB19:20
cshadowrun:<19:20
ograformatted as ext2/3 ? 19:20
cshadowrunnah, msdos19:21
ogranote that this usually reserves 5% for root19:21
ograah, k19:21
cshadowrunmaybe i can get this img file to load in virtualbox19:21
ograyou need to grab the kvm image for that and convert it to a vbox image19:22
cshadowrunoh cool i already got that :p19:22
cshadowrunonly problem is vditool doesn't work on 64bit19:23
cshadowrunbut i guess i can use my laptop to convert it19:23
ograright19:23
ograor build a 32bit chroot 19:23
cshadowrun?19:23
ogradebootstrap --arch i386 hardy ./chroot19:24
ograthat would build a chroot for 32bit in ./chroot 19:24
cshadowrunthat sounds complicated, i'll just use my laptop :p19:25
ograwith: sudo chroot ./chroot you can enter that and execute 32bit apps inside19:25
cshadowrunhavn't been using linux for all that long.19:25
cshadowrunnah it has like library issues19:25
cshadowrunit says i have missing librarys (But i dont)19:25
Maverick2kcomputer says no ;)19:25
cshadowrunexactly :)19:26
ogracomputer is silly !19:26
ogra:)19:26
Maverick2kbut chroot is not that hard, you will create a user space for 32 bits19:27
ograright19:27
Maverick2kand within that console you could do anything for your image19:28
ograjust takes a bit of time and diskspace but is handy for caese like the above19:28
cshadowrunso what do i have to do with the ubuntu.kvm and root.qcow2 to run them in vbox?19:28
ogra*cases19:28
ograyou need to convert the .kvm image to a raw one with qemu 19:28
ograthen convert the raw image to a vbox one 19:29
cshadowrunqemu-img convert ubuntu.kvm raw.img right?19:29
cshadowrunor qemu-img convert root.qcow2 raw.img19:29
cshadowrunbecause theres 2 files in the kvm package o.o19:29
ograi think its the qcow, not sure though19:31
cshadowrunkk doing that19:32
cshadowrunwhat next?19:32
ogrause vditool to make a vbox image from that19:32
cshadowrunyea, now i meet with the vditool problem again :(19:32
cshadowrunit's not included in the binary virtualbox, and if i download it from someplace it says i have a missing libuuid19:33
cshadowrunwhich i don't, it's in /lib :x19:33
cshadowrun./vditool: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory.19:34
ograits in the vitrualbox-ose package in the ubuntu archive19:37
ograsorry i never tried any other vbox verson19:38
cshadowruni have the binary version already installed19:38
cshadowruni needed usb support19:38
ogra*version19:38
cshadowrunthe version of vditool on the website must be broken19:40
cshadowruntheres no other way about it, my laptop has exactly the same files as my pc does, and it doesn't work on my pc.19:40
* cshadowrun sighs and splits raw.img into a bunch of parts so i can transfer with usb drive19:50
cshadowrunurgh this job is gonna make me want to stab my eyes out with a fork.19:53
cshadowrun14 parts.19:53
=== cprov1 is now known as cprov-out
=== energY_ is now known as energY
cshadowrunhey, anyone know how ubuntu mobile is on a Nokia N810 ?22:20
cshadowrunis everything supported? (GPS, Wifi, Bluetooth)22:20
ograN810 has an ARM CPU22:23
ograarm is not yet supported by ubuntu22:23
ogra(work i on the way though)22:23
ogra*is22:23
cshadowrunaww.22:24
cshadowruni wish there was a list of them lol22:30
ogralist ? 22:30
cshadowrunlike a list of ubuntu mobile compatible devices22:31
ograh, yeah22:31
ograwe should assembel something like that, but that needs more community involvement22:31
cshadowrunyea22:32
ograi.e. people that are brave enough to trash their existing installs on their mobile devices and report back if it worked :)22:32
GrueMastercurrently, essentially anything with an x86 core can be supported.  Images are specific to Intel chipsets at the moment.22:32
ograright22:32
ograbut we dont now which devices specifically22:32
cshadowrunexactly :)22:32
ograbeyond the handfull we develop on22:32
cshadowrunit'd be nice to have a page with pictures and specs.22:33
ografeel free to trigger something by making a call for testers on the mailing list ;)22:33
GrueMasterDon't need to know.  All you need to know is that Menlow images work with the Intel SCH500 chipset, and the Mccaslin images work with the 9xx series chipsets.22:34
ograand setting up a wikipage22:34
GrueMasterspecific hardware support can be tweaked in from there.22:34
ograright but isnt there out of the box22:34
ograpeople with not much tech knowledge will want to know if it just works for them22:35
cshadowrunexactly my thoughts :D22:35
ograso an overview page would indeed make sense22:35
ograand having some brave people helping testing and developing the device specific patches would help even more22:35
GrueMasterUME in it's current form is difficult to make out of the box support for a lot of systems.  It's too bad there isn't a better installation method.22:36
ograthat will get better with intrepid22:37
ograand even if the ubiquity approach wouldnt work i have an installer thats working well and can easily be adjusted which i wrote for the classmate image i maintain since a year22:37
ograso *something* will be there in intrepid22:38
GrueMastercool22:39
ogra(preferably ubiquity indeed, since its slick)22:39
cshadowrun:)22:39
cshadowrundoes anyone here actually own a ubuntu MID? :)22:41
GrueMasterI don't personally own one, but I work on them.22:44
cshadowrungot any names of some devices that work nice currently so i can look them up? :)22:44
ograwell, most deveopment is done on the samung Q1 ultra atm22:45
cshadowrunaww, they arn't that nice though22:46
cshadowrunand they are pretty expensive22:46
ograget 100000 people to buy one and they get cheaper :P22:47
cshadowrunlmao22:47
ograthats the rules of the market :)22:47
GrueMasterYOu could also use the Asus Eee PC.  It's almost the same hardware (sans touch screen).22:48
cshadowrunoh well it does have a touch screen so thats a bonus.22:48
cshadowrunyea, i want a handheld though22:49
cshadowrunalready got a pair of laptops :p22:49
ograbtw did you get your vbox setup running ? 22:49
GrueMasterActually, it's about the same size, just in a clamshell with a fuller keyboard.22:49
cshadowrunogra still transfering the file from my laptop, LAN is really slow :(22:49
cshadowrun1:22 ETA :<22:49
ographew22:49
cshadowrunyea but i'm after something i can "Walk down the street™" with22:50
ograyeah, desktop PCs are not really handy for that especially the generator you need to pull behind you22:51
cshadowrunyea, same with laptops22:51
cshadowrununless you wanna kinda balence the laptop on one hand and type with the other :x22:51
cshadowrunor strap it to your arm.22:51
cshadowrunlol22:51
cshadowrunfunny question, does the Q1U hard proper graphics drivers?22:55
cshadowrun(So like, could you run compiz? xD)22:55
ogratechnically yes22:56
cshadowruncompiz would be awsome on a device like that lol, i could be such a show off.22:56
cshadowrunhaha nice22:56
* ogra didnt try it though22:56
cshadowrunyou have a Q1U?22:56
ograi have one here but dont own it22:56
cshadowrunah22:57
cshadowrunlol why does everyone have one but not own it?22:57
cshadowrunis canocial giving them out to devs or something?22:57
ograto employees at least22:57
cshadowrunnice22:58
ograelse it would be hard to develop MID ... 22:58
ograyou need some HW ot work on 22:58
ogra*to22:58
cshadowruntrue22:58
cshadowrunQ1U is a bit big though :(22:58
ograyeh22:58
cshadowruni wonder if an OQO would work22:59
ograi like it though, but the keyboard is misdesigned22:59
cshadowrunOQO is pocket sized :p22:59
cshadowrunyea the keyboard looks wrong.22:59
cshadowrunthe OQO is an amazing device though, you seen the OQO's?22:59
ograa while ago, yes23:00
cshadowrunyea they are old but i havn't found anything as nice as an OQO yet23:00
cshadowrunthink ubuntu MID would work on an OQO?23:02
cshadowruncome to think of it, think ubuntu full would work on an OQO? lol23:02
ogranormal ubuntu likely would... its a plain c723:03
cshadowrunfunky23:04
cshadowrunOQO doesn't have a touch screen though, which makes me sad :(23:07

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