Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #970

Re (2): HOW2 test a frame-buffer?

From no.top.post@gmail.com
Newsgroups comp.os.linux.hardware, alt.os.linux.slackware, alt.os.linux.debian
Subject Re (2): HOW2 test a frame-buffer?
Date 2012-01-06 16:26 +0000
Organization A noiseless patient Spider
Message-ID <je77ce$chg$1@dont-email.me> (permalink)
References <je6d29$ck$1@speranza.aioe.org>

Cross-posted to 3 groups.

Show all headers | View raw


In article <je6d29$ck$1@speranza.aioe.org>, pacman@kosh.dhis.org (Alan Curry) wrote: 

> In article <je6aj6$gm$1@dont-email.me>,  <no.top.post@gmail.com> wrote:
> >
> >-> mknod /dev/fb0  c  29  0
> >-> ls -l /dev/fb0  == good
> >-> cat <file>    >   /dev/fb0
> >== <-bash: no such device: /dev/.static/dev/>
> >
> >So I'm wondering why, although `ls -l` sees </dev/*/fb0>,
> >apparently `bash` does not ?
> >
> 
> Pay close attention to the error message. "No such device" (ENODEV) isn't the
> same as "No such file or directory" (ENOENT).
> 
> ENODEV usually means the corresponding kernel driver is not present. The
> variant "No such device or address" (ENXIO) will sometimes appear when a
> driver is loaded but the device itself wasn't detected.
> 
I don't think a fb is 'detectable' except by the human eye.
On PC:slak13 `cat <file>  > /dev/fb0` "shows" and fb apparently uses the
same video-memory as the non-fb-display.

> You need to load the fb kernel module for your hardware.
> 
I need to know how to test if the kernel has fb, and
I need to know how to test if the fb-module can be loaded,
if not already in the kernel.
> -- 
> Alan Curry

The PC with Debian [not running now] but tested for fb
shows /boot/System.map* has 16 x "framebuffer"
/boot/config* has 2 x "FRAMEBUFFER".
and the dud-netbook has the same count.
The dud-netbook has `lsmod | grep frame` == nill.

I'm guessing that boot/System.map & config
tell that the kernel HAS fb facilities.

The most confusing for me is the sub-dir:
/dev/.static/dev/  which has the 8 fb*

==TIA.

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

HOW2 test a frame-buffer? no.top.post@gmail.com - 2012-01-04 14:10 +0000
  Re: HOW2 test a frame-buffer? no.top.post@gmail.com - 2012-01-06 08:15 +0000
    Re: HOW2 test a frame-buffer? pacman@kosh.dhis.org (Alan Curry) - 2012-01-06 08:57 +0000
      Re (2): HOW2 test a frame-buffer? no.top.post@gmail.com - 2012-01-06 16:26 +0000
    Re: HOW2 test a frame-buffer? "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2012-01-06 23:18 -0500
      Re (2): HOW2 test a frame-buffer? no.top.post@gmail.com - 2012-01-08 05:35 +0000
      Re (3): HOW2 test a frame-buffer? no.top.post@gmail.com - 2012-01-08 15:42 +0000

csiph-web