/srv/irclogs.ubuntu.com/2008/06/30/#ubuntu-mobile.txt

=== persia_ is now known as persia
Snookieanyone there?07:28
persiaSnookie: Lots of people here, but all are less likely to respond without a question or statement related to the channel topic :)07:29
Snookie= P07:30
SnookieI had a question regarding embedded systems and linux, hoping someone could help me out....  I'm working on a kernel for my board, I'm a little confused, I have a NAND flash I'm going to use for a file system, do I need to map the physical address inside the kernel menuconfig?07:30
persiaHeh.  That's a lower-level question than I usually see here.  I have a couple systems that boot off NAND, but the NAND is presented as a filesystem device (PATA and usb-storage, respectively), so there's no memory mapping.07:34
Snookiepersia: so you're using just a usb stick that has nand flash?07:35
persiaSnookie: No.  In one case, it's a IDE adaptor that has some NAND on-board, and in the other, the manufacturer used the USB bus for the NAND connection.07:36
persiaAlso, I'll admit to not knowing enough about the deep kernel to answer your question: my familiarity is mostly userspace.07:37
Snookiepersia: ah okay, not really the same thing, do you have to have NFTL compiled in the kernel or is this something completely different?07:37
persiaNFTL is the mtd device stuff?  I'm really not sure.07:39
Snookieyeah, nand flash translation layer07:40
persiaI'd guess that you need to either have NFTL compiled-in, or available as a module in the initramfs.  That said, you'll need your bootloader to be able to get to it in either case.07:40
Snookieyeah07:40
Snookie= ?07:40
Snookie= (07:40
Snookiethis stuff is like black magic, seems like people just understand it without being taught, I've read books and can't find answers 07:41
Snookiebut I appreciate your help07:41
suihkulokkilinux nand stuff is available at: http://www.linux-mtd.infradead.org/07:41
suihkulokkithere is also the irc channel #mtd07:42
persiaSnookie: Best advice I can give you is 1) make sure you can access the NAND in your bootloader, 2) Boot off something else and fiddle with kernels & modules until you have something that allows you to partition/access the NAND, 3) Put the working solution on the NAND, and try loading from the boot loader.07:42
Snookieawesome thank you persia07:43
Snookiesuihkulokki: I'll give it a shot, thanks07:43
Snookiehi08:54
jerryfanAnybody knows how UME saves system sound (Such as login sound, logout sound) setting ?? 08:56
jerryfanI'd like to change login sound but can't find where it is defined. I know login sound is saved in /usr/share/sounds/login.wav. But I'd like to change the config08:58
persiajerryfan: I've not specifically investigated for Ubuntu Mobile, but for Ubuntu Desktop, that name was awkward to modify last I investigated.08:59
persiaYou may have the best luck with replacing the file, although something could have happened in the last 8 months about which I'm unaware.09:00
jerryfanI think ume system sound setting might be same as desktop09:00
jerryfanpersia, thanks I will try that. But i'd like to change it through a config file (if it exists) ultimately.09:03
persiajerryfan: If you find a way to do that, please share.  Further, if you can find a way to do it without disturbing package updates, etc. it would be even better.  There's a few groups that have a similar desire.09:04
jerryfanpersia, sure thing09:04
Nageshhi all09:18
loolAh missed jerrygan10:35
lool*fan10:35
loolpersia: In the future, we might get the sound theme specs10:35
loolpersia: Lennart has been pushing for new FD specs copying the icon theme stuff -- for sounds10:36
persialool: That's excellent news.  I know TheMuso was chasing some hacks for hardy, and took a bit of a look, but it seemed the infrastructure wasn't quite there.  I've read some of lennart's stuff, and it seems very different than the current model: nice for us, but I wonder how long it will take the Desktops to adapt.10:37
* lool goes for lunch &10:42
pmcgowanjerryfan, did you see my response?14:03
jerryfanpmcgowan, I am reading my post and try to recall what bug is it.14:04
looljerryfan: I see you pinged me about sound card configuration over the WE, but I came too late to the computer; did you clear your questions there?16:12
jerryfanlool, No. Still can't find where is system sound config is. Such as login.wav and logout.wav16:12
looljerryfan: I have no idea how login and logout is implemented in your builds; on Ubuntu it's handled by GDM and on UME we don't have them16:15
looljerryfan: Other sounds, I would have thought would be in GConf, but I don't find them16:15
looldid you just see my last lines?16:15
jerryfan2lool, We'd like to change login.wav and logout.wav. But we can't find where it is defined. I think there is some kind of conf files in the system for this purpose. Do u know where it is?16:16
jerryfan2lool, for ur previous question, yea we did found a way to switch sound card manually16:16
looljerryfan2: http://paste.ubuntu.com/23990/16:16
looljerryfan2: I'm asking seb128 (doing Ubuntu desktop) about the other sounds16:17
jerryfan2lool, are u sure system notification sound is handled by GDM??16:18
looljerryfan2: I'm pretty sure for a regular Ubuntu desktop for login16:19
looljerryfan2: Not for UME of course, we don't use gdm16:19
loolSoundOnLoginFile=/usr/share/sounds/question.wav16:19
loolin /etc/gdm/gdm.conf16:20
jerryfan2lool, let me check16:20
looljerryfan2: So perhaps your flash movie sends an event to play the various sounds16:20
jerryfan2lool, I think i have seen /home/ume/.gdm before16:20
looljerryfan2: I think I saw some work to bridge sound events over m-b-f recently16:21
jerryfan2lool, what is m-b-f?16:21
loolmobile-basic-flash16:21
jerryfan2lool, there is no .gdm in /home/ume16:21
loolThe engine displaying the home screen16:21
looljerryfan2: As I said, UME doesn't use GDM16:21
looljerryfan2: I was just comparing regular Ubuntu versus UME16:22
jerryfan2lool, but if u killall moblin-setting-daemon and then start again, u will heard login sound again16:22
jerryfan2lool, so it doesn't look like login.wav is handled by m-b-f becasue on our system, we actually see flash 1st and then hear sound 20seconds later16:23
looljerryfan2: you have mbf source?16:24
looljerryfan2: It is in GConf as I thought16:24
loolTo enable/disable them16:24
looland list is in .gnome216:24
ogra_cmpcjerryfan, gdm has never shouldnt and will never write to homedirs, its a system service, usually running as the gdm user even16:25
ogra_cmpchave a look at the edubuntu-artwork and xubunt-settings packages how to set up cusatom gdm.conf setups, we have a special hack for that in ubuntus gdm16:26
ogra_cmpc(look for gdm-cdd.conf)16:26
jerryfan2lool, I'll look into mbf src later. 16:27
jerryfan2lool, But I checked on my Ubuntu 8.04 desktop and can't find any sound setting in gconf.16:27
looljerryfan2: The list should be in .gnome2/sound/events/gnome-2.soundlist16:28
looljerryfan2: See libsounds/sound-properties.c in control-center's source16:29
jerryfan2lool, is " .gnome2/sound/events/gnome-2.soundlist" a dir path or gconf path?16:29
loolIt's a regular file16:29
loolThe gconf part is only to switch sounds on or off16:29
ogra_cmpc /etc/sound/events/gnome-2.soundlist would be the system equivalent btw16:30
jerryfan2lool, Hmmmm........I did see sound.lst on my desktop, but not on ume16:30
loologra_cmpc: right16:30
javatexanI am trying to find a toolchain and embedded linux for development on a http://www.vortex86sx.com/default.htm.  I am new to embedded linux and it looks like most of the budding distros have died out.  Could I use Ubuntu for this board, if so, where to start reading :)16:30
ogra_cmpcnot easy to change though ... apart from a dpkg-divert or something16:30
tonyespySciri: what hostname do i use for sledhammer from mobilepartners?16:30
looljerryfan2: only created in your home if you diverge from the defaults16:30
loologra_cmpc: don't divert conffiles!16:31
tonyespySciri: sorry, wrong channel..16:31
ogra_cmpclool, oh, i didnt know it was one :)16:31
jerryfan2ogra_cmpc, lool : I found /etc/sound/events/gnome-2.soundlist on ume.16:31
ogra_cmpcthat issue will likely come up more often, we should add a proper events.d or so 16:32
jerryfan2ogra_cmpc, lool , I will try to mod soundlist in etc and see does it work. Thank you guys16:32
ogra_cmpcso OEM adjustments can go there16:32
jerryfan2lool, merci !16:32
jerryfan2lool, Merci mille fois de nous avoir aidés16:33
loolEh you speak French!16:33
loolJe me sens moins seul !16:33
jerryfan2lool, Frech Canadian16:33
ogra_cmpcjerryfan, if its really a conffile, note that you will get questions from update-manager if there are security fixes to libgnome2-common if you modify it16:33
jerryfan2lool, just joking. Canadian.16:34
loolErf calorifères and all16:34
looljerryfan2: You can drop a file in /home/ume/.gnome2/ etc. too16:34
loolIt's mostly how it was handled until now for other settings I'd say16:35
ogra_cmpcwe shoud get that into proper global settings in intrepid, really16:35
jerryfan2lool, so if I add sound.list in /home/ume, then we will only change notification for ume and not globally right?16:35
ogra_cmpc(thats noting you can use if you actually have users (i.e. on netbooks) a generic override will be better for such stuff)16:36
looljerryfan2: Correct16:36
ogra_cmpcbut thats surely a bunch of packages to fix ... 16:36
jerryfan2lool and ogra_cmpc , then I think that would be our solution. Great.16:37
loologra_cmpc: I would guess it's easier to have a one shot default config in /home/ume rather than fork libgnome2 just for this16:37
ogra_cmpcnot fork16:37
ogra_cmpcadd support for override configs should be a simple hack16:37
loolOr patch to read another location16:37
loolIt's a fork in the end at this point16:37
ogra_cmpcand surely something upstream would at least think about for making it esaier for OEMs and derivatives to adjust16:38
ogra_cmpcimho its a bug that it uses hardcoded paths with no way to cleanly override 16:39
loolIt's being fixed by using a sound theme spec16:39
loolJust like for icons16:39
jerryfan2I think OEM would like to adopt some kind of theming idea like cell phone, to apply sounding and mbf look. 16:39
ogra_cmpcright16:39
ogra_cmpcxactly, so lets make it easy for them16:39
jerryfan2lool, one more question. I have seen documention on hildon official page saying something about app state save. Why this feature is not implemented in UME? We are now suffering big time on thermal issue.16:42
looljerryfan2: Good question16:44
looljerryfan2: I am not quite sure what type of app state save you mean though16:45
loolI don't think you mean the Androir low memory thing16:45
lool*Android16:46
jerryfan2lool, in Nokia N810, maemo launcher automatically check for memory usage and close unused apps on the fly after saving its state. And next time user open up the deleted app, maemo will restore it to previous state.16:46
looljerryfan2: Ok; I've read some things about state saving on memory constrained devices in Android too16:47
loolAnd I also knew of a project which was about saving any process under Linux and try to restore it later16:48
jerryfan2lool,  sounds like application suspend.16:48
looljerryfan2: This would definitely be something interesting for UME apps, but it requires important efforts to properly save/restore apps16:48
loolIt's not trivial for things like your IM status16:49
loolWe'd be happy to merge such work though16:49
ogra_cmpclool, btw, had a boring weekend again after some heavy ltsp testing so i needed some distraction ... http://people.ubuntu.com/~ogra/MightyMailApp/16:53
ogra_cmpc;)16:53
jerryfan2have u guys tried Intel c compiler? Does it really help? I tried few times but notice no improvement at all16:53
loologra_cmpc: haha16:55
loologra_cmpc: you're crazy :)16:55
ogra_cmpcjust posessed somtimes :)16:55
jerryfan2it looks real cool16:55
ogra_cmpcanother booring sunday with libgmail and it will actually act as gmail client 16:55
looljerryfan2: It might help for some heavy maths, and I know it helps in some particular cases but I wouldn't expect a huge gain in the average case16:55
loologra_cmpc: Nice idea16:56
loologra_cmpc: If you're bored next weekend, come around and help me paint my walls16:56
ogra_cmpcyeah, i looked at libgmail before going to bed yesterday, seems fairly trivial16:56
* lool did some Debian unpiling this WE16:57
* ogra_cmpc has a 200sqm house with rotten walls himself :)16:57
ogra_cmpcand a garden that starts looking like a jungle ... ot very german :) (they use to mow their lawn with nail scissors here))16:58
ogra_cmpc*not16:58
jerryfan2But python app runs real bad on UME, especially the old media center 17:00
looljerryfan2: What about elisa?17:05
loolAh too late17:06
ogra_cmpcoyu should really make it default in intrepid if you are so intrested in feedback ;) switching back is cheap if it doesnt work good enough17:07
loolTrue17:07
GrueMasterpmcgowan:  Tobin here.  Heard you are having problems finding the psb headers.17:10
javatexandoes ubuntu mid work on any i386?  How about a SOC that emulates a 486 with no Math Coprocessor?17:11
javatexanCan you point me to a website to get started.  I have a Hardy box here I could use to put the toolchain, etc.17:13
ogra_cmpcthe default images are all built for the lpia architecture which is compiled with 686 instructions ... you will need to build an image with the -386 kernel flavour and i386 packges to support 48617:14
ogra_cmpcand i doubt the performance of that will be great ...17:15
javatexanlol..I hear ya17:15
javatexani got the board for free...so here we go17:15
ogra_cmpcbut theoretically its all possible :)17:15
javatexanwhat do I have to add to heron to get started with this...I see bits and pieces here and there on wikis/webs/ but I don't seem to find a clear-cut process to follow...17:16
loolHmm https://wiki.ubuntu.com/MobileAndEmbedded/InstallingUMEWhichIsFor686OnMy486 ?17:21
lool:-P17:21
javatexansee what I mean...LOL 17:22
javatexan:P17:22
javatexanthe meetings pages are not very useful either... ;)17:23
loolTry the released kvm image perhaps?17:25
pmcgowanGrueMaster, hey, I think Calvin is figuring out why they went missing from the libdrm package17:39
GrueMasterThey never were part of that package, that I know of (and I build them).  They are part of the kernel module package.17:40
GrueMasterlibdrm requires them as well.17:41
loolI think they were in libdrm until shortly before PV17:41
loolBTW most drm headers are duplicated between kernel and libdrm, so it seemed quite normal to have them duplicated for psb as well17:41
GrueMasterOnly if they were repackaged by your team. 17:41
loolGrueMaster: I mean they were in libdrm in your releases17:42
GrueMasterI'll double check that.17:42
lool(If you have an /usr/include/drm, I'm sure you see what I mean with the other drivers doing this already)17:43
GrueMasterI see the others in the libdrm-dev, but not the psb specific headers.  I went back to 2.0.0.32L.0010.17:45
loolI went back there too17:45
loolI'm checking 2.0.0.3 now :)17:46
loolGrueMaster: Ah hold on, these were in xf86-psb17:46
loolGrueMaster: It was around 14 it seems17:51
loolGrueMaster: Check https://launchpad.net/~ubuntu-mobile/+archive?field.name_filter=xserver-xorg-video-psb&field.status_filter=any17:51
loolGrueMaster: Version 0.13.0ubuntu1~804um117:51
loolBryce had to copy the headers as a patch in -psb because the headers were dropped from -psb17:51
loolLater on, I suggested him to move the patch to libdrm where other similar headers were living17:51
GrueMasterWell, they didn't ship that way from here.  I just checked all of my ubuntu builds from 0010 through 0019.  They are only in the psb-kmd deb packages I built, which should be what is up on arms.17:53
pmcgowanGrueMaster, lool so what is the correct place for these?17:57
GrueMasterI would suggest that since they come with the kernel modules, they should be part of your linux-headers-lum package.17:58
loolGrueMaster: That's what I thought as well but I discussed this with amitk and it turned out other drms are in libdrm17:59
loolGrueMaster: I wanted to do exactly what you proposed initially17:59
loolGrueMaster: So would it be possible to copy them in libdrm like the other drm headers?18:03
GrueMasterIt's not up to me, but I'll check.  This whole mess needs to be cleaned up so it can go upstream anyways.18:04
GrueMasterpmcgowan:  on a different note, I'm having issues with your 20080618 image booting on a ODM device.  No X, unless I load the kernel modules manually.  Any suggestions?18:06
pmcgowanGrueMaster, no idea, this is the target hardware?18:13
GrueMasteryes18:13
pmcgowanGrueMaster, what BIOS version?18:13
GrueMasterTrying it on a CB as well.18:13
GrueMasterNot sure.  Let me check.18:13
pmcgowanCB will need some tweaks in X18:13
pmcgowanto disable TS driver I think18:13
GrueMasterdmidecode shows 37AT0218:15
pmcgowansounds pretty recent, let me check18:16
jerryfan37AT02 sounds like our machine.18:16
pmcgowanjerryfan, yes18:18
pmcgowanGrueMaster, we are running the same bios version18:19
GrueMasterok.  18:19
jerryfanwe have no such problem actually. is it 100% failure rate?18:19
GrueMasteryes18:19
GrueMastersame on cb so far.18:19
jerryfanwe have seen this problem before only if image-creator is set incorrectly18:20
smagounGrueMaster: The 20080618 image will not work on a CB without disabling the touchscreen driver in xorg.conf. It should be fine on the target HW18:22
smagounGrueMaster: What version of image creator do you have?18:22
GrueMasterI don't know.  Tip, I guess.  I have a cron job that pulls it daily.18:23
GrueMasterbut I'm not using it on your image.18:23
GrueMasterI have commented out the respawn command from /etc/event.d/session.  That at least gives me a prompt.  When it boots, it dumps down to a login, and I can run startx -- -br -config xorg-cronbeach.conf and the system will come up.  18:25
loolGrueMaster: So I checked where the headers were removed18:26
loolGrueMaster: It was in moblin's libdrm18:27
loolGrueMaster: libdrm for UME came from moblin.org's git tree for a while18:27
loolGrueMaster: Where they had the same fix in place as the one we use now: shipping headers in libdrm copied from the kernel module18:27
loolGrueMaster: When moblin.org's libdrm stopped doing so, we readded the patch ourselves18:28
loolGrueMaster: Anyway, I think there's no doubt that other drivers are shipping the headers in libdrm, so it would be nice to get it in there upstream18:28
smagounGrueMaster: is there anything in xorg.log when x fails to come up?18:29
GrueMasteractually, no.18:29
GrueMasterwhich is odd.18:29
smagounGrueMaster: If there is no error message, it must be working. :)18:30
GrueMasternone that I have seen.  Not in Xorg.o.log or dmesg.18:30
GrueMasterI'll try reimaging just for grins.18:31
jerryfancheck ur default setting in image creator18:32
jerryfanif it is boot=1024, then u are wrong18:32
ogra_cmpcis there any framebuffer kernel driver that could come in your way ? the speeded up bootprocess could cause it to load exactly when x is about to start up18:32
jerryfanshoud be 768 and 51218:32
jerryfanandy told me that18:32
GrueMasterno boot= options in grub that I see.  And I am not using image creator.18:34
jerryfanthere are boot swap and fat32. boot=768  swap=768 18:35
jerryfannono. i am talking about default in image-creator.18:36
jerryfanu made wrong settign in default, ur build might fail during X start up18:37
pmcgowanjerryfan, I think he is just installing the stock image, not making a new one18:37
GrueMasterexactly.18:37
GrueMasterI haven't even downloaded the project file yet.18:37
GrueMasterJust the usb-install image.18:38
jerryfanGrueMaster, then I have no idea then ......... :(18:38
jerryfanbut i can assure u that 037+0618 are good18:42
GrueMasterok.  I'll mess with it some more here.18:43
GrueMasterWhen is the PV image for this system?18:44
pmcgowanany minute now :-)18:44
GrueMastercool.  I'll keep my eyes open.18:44
andy_lin_jerryfan: =.= not the same things.18:48
andy_lin_GrueMaster: since you can boot in console mode.18:48
andy_lin_can you use 'df' to check, is disk full ? 18:49
GrueMasterwill do.18:49
GrueMasterok, reimaging it seems to have fixed the issue.  Sorry for the long delay, had power supply issues as well.19:03
andy_lin_GrueMaster: I know when disk full, it can't enter X forever (100%).19:12
GrueMasterI'm thinking that maybe the partition reformatting didn't clear everything the first time through.  I discovered that I didn't have power from the supply until I moved it to a different outlet, and I'm thinking that may have effected the ssd erase procedure.19:14
GrueMasterIt's running fine now, on a different outlet and reimaged with no other changes.19:15
Snookiewhat is the platform you guys are running on?19:29
Snookiea moblin or your desktop in some virtual machine19:30
onaoghhi21:28
onaoghneed small help21:28
onaoghi made a live RW usb with Image-Creator, booted in htc-shift, it asks for login21:29
onaoghtryed different logins, all doesnt work21:30
onaoghhello21:32
GrueMasteruserid is ume.  no password21:33
onaoghoh thaaaaaaaaanks21:33
onaoghdude21:33
onaoghthanks21:33
onaoghactually the htc-shift is with my dumb boss, he doesnt let me sleep and he has something else he cant pass from now21:36
onaoghhe says it prompts for some command now, what that would be ?21:36
onaoghcan i get a page where i can read some guide for "after making" usb..21:38
onaoghi'll take a shower, brb in 10 minuts21:38
=== Zic_ is now known as Zic

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