[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
This bug was fixed in the package xf86-video-omapfb - 0.1.1-3ubuntu1 --- xf86-video-omapfb (0.1.1-3ubuntu1) lucid; urgency=low * fix hardcoded default framebuffer device to point to something that actually exists (LP: #567260) thanks to Graeme Gregory -- Oliver Grawert o...@ubuntu.com Thu, 22 Apr 2010 16:03:28 +0200 ** Changed in: xf86-video-omapfb (Ubuntu) Status: Confirmed = Fix Released -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
given that we only support one kind of board with the current kernel and all of these boards default to having /dev/fb0 as their default video device i think the safe quick-fix would be to just change the above DEFAULT_DEVICE definition (fb1 is used by the xv code in that driver in the same way). indeed a proper fix would be to add any kind of autodetection mechanism that checks for existence of fb0 fbdev_open() and fbdevHWInit() from xorg-server/hw/xfree86/fbdevhw/fbdevhw.c seem to provide something like that. -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
Olivier, I agree with this quick fix. I can try that on my OMAP4 board whenever you make a fix available. we can think about the right method for 10.10 -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
Attached patch is what I have been using on my omap zoom2 to solve this bug. In long term proper fb searching is probably needed. But in short term /dev/fb0 will always be the correct fb. ** Patch added: fb-search.patch http://launchpadlibrarian.net/44951669/fb-search.patch -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
I tried the patch on OMAP4 board. I rebuilt the package. it works, X starts fine and the omapfb driver is selected. $ grep -i omapfb /var/log/Xorg.0.log (II) LoadModule: omapfb (II) Loading /usr/lib/xorg/modules/drivers/omapfb_drv.so (II) Module omapfb: vendor=X.Org Foundation (==) Matched omapfb as autoconfigured driver 0 (II) LoadModule: omapfb (II) Reloading /usr/lib/xorg/modules/drivers/omapfb_drv.so (II) UnloadModule: omapfb (II) Failed to load module omapfb (already loaded, 60) (II) omapfb: Driver for OMAP framebuffer (omapfb) and external LCD controllers: (WW) Falling back to old probe method for OMAPFB (WW) Error opening /sys/devices/platform/omapfb/ctrl/name: No such file or directory (II) omapfb(0): VideoRAM: 5120KiB (SDRAM) (II) omapfb(0): Creating default Display subsection in Screen section (--) omapfb(0): Depth 24, (==) framebuffer bpp 32 (==) omapfb(0): RGB weight 888 (==) omapfb(0): Default visual is TrueColor (--) omapfb(0): Virtual size is 864x480 (pitch 864) (**) omapfb(0): Built-in mode current -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
The other way to solve this problem would be add a section in /etc/X11/xorg.conf. Below is an example: == Section Monitor Identifier Builtin Default Monitor EndSection Section Device Identifier Builtin Default fbdev Device Driver omapfb Option fb /dev/fb0 EndSection Section Screen Identifier Builtin Default fbdev Screen Device Builtin Default fbdev Device Monitor Builtin Default Monitor EndSection Section ServerLayout Identifier Builtin Default Layout Screen Builtin Default fbdev Screen **Any input device section can go here** EndSection = -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
shashi: thanks for that snippet, though note that we dont use xorg.conf by default anymore but indeed it can be used as a workaround ... the requirement for a packaged driver though is to work without the file and use the autodetection mechanisms provided by xorg. -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
** Tags added: patch -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/44899129/Dependencies.txt -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 567260] Re: xserver-xorg-video-omap* fail due to no /dev/fb
from src/omapfb-driver.c in the xf86-video-omapfb-0.1.1 package: /* FIXME: We don't really want to do it like this... */ #define DEFAULT_DEVICE /dev/fb ** Changed in: xf86-video-omapfb (Ubuntu) Importance: Undecided = High ** Changed in: xf86-video-omapfb (Ubuntu) Status: New = Confirmed -- xserver-xorg-video-omap* fail due to no /dev/fb https://bugs.launchpad.net/bugs/567260 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs