**** BEGIN LOGGING AT Sat Aug 15 02:59:59 2009 Aug 15 11:49:30 can somebody help setting up xorg for use with fbdev? Aug 15 11:49:57 http://pastebin.ca/1530405 Aug 15 14:06:09 dcordes: that looks like a Android kernel :-) Aug 15 14:08:12 XorA|gone, android kernel? it's linux kernel Aug 15 14:08:42 dcordes: kernel written by android dudes, you have a faulty fbdev driver Aug 15 14:11:30 XorA|gone, msm_fb . it has some android userspace specific functions. like "panning" Aug 15 14:11:48 XorA|gone, but the person has Xfbdev working with the same kernel image. Aug 15 14:12:49 dcordes: I think Xfbdev works around the faulty kernel, but Im 99% sure its a bug in kernel Aug 15 14:13:10 dcordes: omap-android had the same failt Aug 15 14:13:12 fault Aug 15 14:13:33 xomap? Aug 15 14:13:43 ompa-fb Aug 15 14:14:04 its not in the mainstream version, but its in the android fork Aug 15 14:14:17 maybe it's just a malconfiguration of xorg? Aug 15 14:14:48 no, Im pretty sure its a bug in kernel Aug 15 14:14:59 you can google for it even :-)( Aug 15 14:15:24 :-) Aug 15 14:15:30 heheheh Aug 15 14:15:44 don't be evil :( Aug 15 14:17:23 Android is resposible for some crimes :-) Aug 15 14:18:20 child labour Aug 15 14:18:42 bad code :-) Aug 15 14:19:07 BTW my Kaiser is waiting for you to finish Angstrom, I got a new Touch Diamond 2 Aug 15 14:19:24 oh the kaiser kernel is perfect now Aug 15 14:19:35 even gps, wifi work. Aug 15 14:19:38 oh? awesome Aug 15 14:19:46 I tink wifi is still missing in git though Aug 15 14:19:49 * XorA|gone will look at supporting Angstrom for it then Aug 15 14:20:23 the guys who run the kaiser/vogue and other non-A msm git branch prefer android Aug 15 14:20:39 so you will find the usual nonstandard userspace interfaces Aug 15 14:20:53 http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue Aug 15 14:22:04 if you wanna look into it, make sure you read /default-kaiser.txt Aug 15 14:22:10 there are millions of cmdline parameters Aug 15 14:23:48 http://www.handhelds.org/~koconnor/haret/haret-20090711.exe uptodate haret Aug 15 14:25:57 solved the problem yet where windows had to be making a data call before linux could? Aug 15 14:26:39 also if you want to use Xfbdev (and that brings me back to msm_fb problems), you must enable CONFIG_FB_MSM_REFRESH . this is an ugly hack that forces screen updates. Xfbdev won't draw much without it Aug 15 14:27:18 XorA|gone, I think that's not necessary Aug 15 14:27:22 screen memory is physically seperate from ram? Aug 15 14:28:34 http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap2 Aug 15 14:28:42 you mean FBRAM ? Aug 15 14:29:14 I would like it better to refer to our mediawiki http://www.htc-linux.org/wiki/index.php?title=Main_Page but we didn't copy the non-A msm stuff Aug 15 14:29:35 research information about the msm7xxxA is available from htc-linux Aug 15 14:29:46 I mean I assume fbdev isnt drawing into same buffer hardware exports from Aug 15 14:30:11 so it goes fbdev->ram->internal frambuffer->LCD Aug 15 14:30:38 I'm not sure how that works Aug 15 14:30:45 fair enough Aug 15 14:30:51 raster had a look at this. he has the dream (g1) Aug 15 14:31:03 proposed something to make Xfbdev work without the refresh hack Aug 15 14:31:05 sounds like the n700 where OH did some work with Xdamage to make it more efficient Aug 15 14:33:18 hi Gnutoo Aug 15 14:33:26 hi Aug 15 14:33:32 XorA|gone, Gnutoo is the person who tried Xorg on the dream Aug 15 14:33:57 I've cross-compiled xorg and xf86-video-fbdev Aug 15 14:34:13 I've tried it but it doesn't find the screen because of that error: Aug 15 14:34:16 dcordes: I think Xfbdev works around the faulty kernel, but Im 99% sure its a bug in kernel Aug 15 14:35:02 (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument;(EE) FBDEV(0): mode initialization failed Aug 15 14:35:28 Gnutoo, can you show the xorg.conf ? Aug 15 14:35:38 I'll pastebin it Aug 15 14:35:42 ok Aug 15 14:36:04 it makes no different, just fix the damn kernel :-D Aug 15 14:36:38 tmzt is cooking something with the raster ideas Aug 15 14:36:58 XorA|gone, I don't understand how Xfbdev works around broken fb driver but not Xorg Aug 15 14:36:58 and kdrive is dead Aug 15 14:37:03 so make the solution work with Xorg :-) Aug 15 14:37:09 yes that's why we aretrying to move over to Xorg Aug 15 14:37:30 ( http://www.pastebin.ca/1530520 ) Aug 15 14:37:40 but if you google that error its pretty well explained Aug 15 14:37:52 ah ok Aug 15 14:37:55 or at least it was when I found it int he omap android kernels Aug 15 14:38:37 I didn't search well then...I found things about the colors that are not correct and similar things Aug 15 14:46:16 XorA|gone, wrt HTC Diamond 2 http://www.htc-linux.org/wiki/index.php?title=Topaz Aug 15 14:46:30 XorA|gone, yet another display problem :) Aug 15 14:48:23 * XorA|gone will stick with WinCE for a while in diamond 2 Aug 15 14:48:27 its working real well Aug 15 16:05:17 hi Aug 15 16:07:56 I've a (simple) question about OE: I have my image recipe with some "things" inside that compile (in my case drivers for xserver). when I comment some of these insode and rerun bitbake continue to include the driver!!! --- How I can to rerun the package for remake the list in the image? Aug 15 16:16:15 hi XorA|gone Aug 15 16:16:22 I've some question if it doesn't bother you Aug 15 16:16:24 hey Gnutoo Aug 15 16:16:36 there is if (ioctl(fh, FBIOPUT_VSCREENINFO, var)) that changes the mode Aug 15 16:16:39 in userspace Aug 15 16:16:46 that's from fbset Aug 15 16:17:24 AFAIK Xorg tries to set the same mode that is already set, which should be a valid operation Aug 15 16:17:41 ah ok Aug 15 16:17:49 I thought it was correct becuase of that code: Aug 15 16:17:52 I think msm-fb is denying all mode changes Aug 15 16:18:05 when it should allow valid ones, ie to the same mode Aug 15 16:18:16 but this is from memory Aug 15 16:18:17 default: printk(KERN_INFO "msmfb unknown ioctl: %d\n", cmd); Aug 15 16:18:24 and I found that: Aug 15 16:18:30 ah that wont help Aug 15 16:19:42 http://lists.freedesktop.org/archives/xorg/2008-November/040503.html Aug 15 16:19:59 what should I do? implement the good ioctl? Aug 15 16:20:15 Gnutoo: I guess so, I think more stuff might fail without it Aug 15 16:20:25 ok Aug 15 16:20:36 probably steal implementation from a similar fb driver Aug 15 16:20:40 s/I found that/I was pointed to that Aug 15 16:20:43 ok thanks Aug 15 16:20:55 I dont think we are going to get Xorg to change :-) Aug 15 16:20:56 I looked at how to get modes Aug 15 16:21:00 indeed Aug 15 16:21:11 too much efforts Aug 15 16:35:05 XorA|gone, why does 320 480 320 960 16 work then? Aug 15 16:35:28 and how do I put that in xorg.conf ? Aug 15 16:40:30 XorA|gone, I've black screen but enlightment seem to have started Aug 15 16:40:49 anyway I bypassed the error and I've got a tons of other errors Aug 15 16:42:25 I typed on the screen and it killed xorg Aug 15 16:47:49 Gnutoo: sounds like that is the secret non compliant Android resolution :-) Aug 15 16:48:02 ok Aug 15 16:48:11 should we use that? Aug 15 16:48:32 not sure how X handles virtial resoslutions Aug 15 16:48:36 on fbdev Aug 15 16:50:25 ok Aug 15 16:50:42 cross-compiling with hack evdev now Aug 15 16:50:53 hack = TARGET_CC_ARCH += "-I${STAGING_DIR_HOST}/usr/include/xorg" Aug 15 16:58:10 XorA|gone, http://www.pastebin.ca/1530649 Aug 15 17:05:21 Gnutoo: youll have to gdb that Im afraid Aug 15 17:05:28 ok Aug 15 17:05:37 but that's only while touching the screen Aug 15 17:05:45 gdb is no problem Aug 15 17:05:52 I'm used to launch it etc... Aug 15 17:06:07 but I'm not shure I compiled with -g -ggdb3 Aug 15 17:06:38 anyway I sent it for all the errors Aug 15 17:06:46 such with the screen blanking etc... Aug 15 17:07:55 and with the 192M I will need gdb+gdbserver Aug 15 17:08:03 basically my setup is: Aug 15 17:08:19 sshfs root@192.168.0.202:/ /mnt/somewhere Aug 15 17:08:28 ./arm-angstrom-...-gdb Aug 15 17:08:39 set sysroot /mnt/somewhere Aug 15 17:08:44 file /mnt/somewhere/Xorg Aug 15 17:09:01 target remote 192.168.0.202:8022 Aug 15 17:09:20 and on the target I launch gdbserver before connecting with gdb Aug 15 17:10:09 does tslib not work btw? Aug 15 17:10:16 its normally easier to setup than evdev Aug 15 17:11:13 ah on Xfbdev Aug 15 17:11:19 on xorg Aug 15 17:11:26 no Aug 15 17:11:34 I cross-compiled xorg Aug 15 17:11:38 fbdev Aug 15 17:11:41 evdev Aug 15 17:11:46 and it crashed Aug 15 17:11:51 your on the angstrom channel and didnt use OE :-) Aug 15 17:11:51 with and without fbdev Aug 15 17:12:04 I used oe Aug 15 17:12:30 and I used angstrom as distro config Aug 15 17:12:41 because shr has not finished beeing imported Aug 15 17:12:49 roughly I've a mix of: Aug 15 17:12:49 there is an xf86-input-tslib Aug 15 17:12:56 yes Aug 15 17:13:01 there should be one Aug 15 17:13:52 xf86-input-tslib_0.0.5.bb Aug 15 17:14:18 how do I disable evdev? Aug 15 17:14:29 or remove the dark on the screen Aug 15 17:14:32 just remove it Aug 15 17:14:36 ok Aug 15 17:14:47 isnt the dark screen the thing dcords was talking about, need msm_refresh Aug 15 17:14:49 then how do I remove the black screen? Aug 15 17:14:54 I've got it Aug 15 17:14:59 it's in leviathan's kernel Aug 15 17:15:05 else Xfbdev would not work Aug 15 17:15:11 no idea then, Xorg is working in most other arm targets Aug 15 17:15:26 btw how's going Xorg for glamo? Aug 15 17:15:41 no idea, I cant be arsed with gta02 Aug 15 17:15:44 selling mine Aug 15 17:15:48 when I get round to it Aug 15 17:16:27 ok Aug 15 17:16:39 hwy do you sell it? Aug 15 17:16:48 it's a great learning/reference platform Aug 15 17:16:55 I dont want it, it annoys me Aug 15 17:16:59 ok Aug 15 17:17:13 I have a zoom2, beagle, sheeva to play with Aug 15 17:17:27 and OM still leaves a bad taste in my mouth Aug 15 17:17:38 ok Aug 15 17:18:01 I don't know omap zoom...what is it exactly? Aug 15 17:18:13 phone reference platform Aug 15 17:18:18 zoom2 is omap3 based Aug 15 17:18:19 lol ok Aug 15 17:18:26 has fm and wifi Aug 15 17:18:29 but it's big isn't it? Aug 15 17:18:33 and a real debug board :-) Aug 15 17:18:47 yeah its a reference design, its designed to debug on, not use as a phone Aug 15 17:18:54 lol ok Aug 15 17:19:24 * XorA|gone has a Kiaser to do phone stuff on Aug 15 17:20:49 ok Aug 15 17:21:06 so if you want to buy two cheapo gta02 :-) Aug 15 17:21:26 OM never even sent me a debug board v3 so I could reflash them Aug 15 17:21:50 and yet kept moaning at me for not testing Aug 15 17:22:07 ok Aug 15 18:48:26 I'm trying to get Linux running on an EDB9302 Aug 15 18:48:39 and I see that Angstrom supports the EP93xx boards Aug 15 18:49:14 but... the latest release was from 2007.12? Aug 15 18:49:19 is that a problem in any way? Aug 15 18:49:50 I know there were a few fixes for things like the ethernet and USB drivers that were merged into the kernel sometime in 2008 Aug 15 18:50:00 or at least if I remember correctly, that's the case Aug 15 18:50:26 I guess I'm just wondering if this is something that should work Aug 15 18:50:42 and whether I should try to use it Aug 15 18:55:28 I just tend to be wary of images built over a year ago Aug 15 18:59:09 hopefully someone will return at some point and tell me I'm an idiot XD Aug 15 19:09:16 hi Aug 15 21:21:22 allo allo? Aug 15 21:21:48 did the zombie invasion arrive here just before I joined? Aug 15 21:53:59 debio264, it is the weekend :) Aug 15 21:54:15 I suppose so Aug 15 22:11:54 we are antisocial sorts :-) **** ENDING LOGGING AT Sun Aug 16 02:59:57 2009