Joshua Uziel wrote on Wed, 31 Mar 1999 02:57:14 -0800 (PST) > > > > Also, I wasn't able to run X as a non-root users until I ran > > > "chmod 666 /dev/fb?" as root as well, and you may have to do > > > the same. Took me a while to figure this one out, along > > > with the fact that strace would segfault when I'd try to run > > > "strace startx" either as myself or root. > > > > MAKEDEV isn't work well... > > > > You must make also /dev/fb[01]autodetect and > > /dev/fd[01]user[0-7]. And set right permission. > > Hmm... I see no mention of them in > /usr/src/linux/Documentation/devices.txt, and even then > my devices seem to be correct: > > [2:43am] sparcy:~> ls -l /dev/f* > crw-rw-rw- 1 root tty 29, 0 Feb 20 15:36 /dev/fb0 > crw-rw-rw- 1 root tty 29, 32 Feb 20 15:36 /dev/fb1 > crw-rw-rw- 1 root tty 29, 64 Feb 20 15:36 /dev/fb2 > crw-rw-rw- 1 root tty 29, 96 Feb 20 15:36 /dev/fb3 > crw-rw-rw- 1 root tty 29, 128 Feb 20 15:36 /dev/fb4 > crw-rw-rw- 1 root tty 29, 160 Feb 20 15:36 /dev/fb5 > crw-rw-rw- 1 root tty 29, 192 Feb 20 15:36 /dev/fb6 > crw-rw-rw- 1 root tty 29, 224 Feb 20 15:36 /dev/fb7 > brw-rw---- 1 root floppy 2, 0 Feb 20 15:21 /dev/fd0 > brw-rw---- 1 root floppy 2, 1 Feb 20 15:21 /dev/fd1 > crw--w--w- 1 root root 1, 7 Feb 20 15:21 /dev/full > > This is after I ran "chmod 666 /dev/fd?" of course... and > /dev/fb7 is listed to be minor 240 even though 224 looks right > to me. Whatever, not like I'm gonna touch it. :) I did > nothing else special (besides the link to /dev/mouse).
I think so. :-) Maybe to launch X Window on sparc that needs not only /dev/fb?, but also /dev/fb[01]autodetect and /dev/fd[01]user[0-7], don't you? my devices are...: $ ls -l /dev/f* crw-rw-rw- 1 root tty 29, 0 Feb 21 08:36 /dev/fb0 crw-rw-rw- 1 root tty 29, 32 Feb 21 08:36 /dev/fb1 crw-rw-rw- 1 root tty 29, 64 Feb 21 08:36 /dev/fb2 crw-rw-rw- 1 root tty 29, 96 Feb 21 08:36 /dev/fb3 crw-rw-rw- 1 root tty 29, 128 Feb 21 08:36 /dev/fb4 crw-rw-rw- 1 root tty 29, 160 Feb 21 08:36 /dev/fb5 crw-rw-rw- 1 root tty 29, 192 Feb 21 08:36 /dev/fb6 crw-rw-rw- 1 root tty 29, 224 Feb 21 08:36 /dev/fb7 crw-rw-rw- 1 root tty 29, 1 Mar 29 21:34 /dev/fbautodetect crw-rw-rw- 1 root tty 29, 24 Mar 29 21:34 /dev/fbuser0 crw-rw-rw- 1 root tty 29, 25 Mar 29 21:34 /dev/fbuser1 crw-rw-rw- 1 root tty 29, 26 Mar 29 21:34 /dev/fbuser2 crw-rw-rw- 1 root tty 29, 27 Mar 29 21:34 /dev/fbuser3 crw-rw-rw- 1 root tty 29, 28 Mar 29 21:34 /dev/fbuser4 crw-rw-rw- 1 root tty 29, 29 Mar 29 21:34 /dev/fbuser5 crw-rw-rw- 1 root tty 29, 30 Mar 29 21:34 /dev/fbuser6 crw-rw-rw- 1 root tty 29, 31 Mar 29 21:34 /dev/fbuser7 brw-rw---- 1 root floppy 2, 0 Feb 21 08:21 /dev/fd0 brw-rw---- 1 root floppy 2, 1 Feb 21 08:21 /dev/fd1 crw--w--w- 1 root root 1, 7 Feb 21 08:21 /dev/full -- Hiroshi Naraki <[EMAIL PROTECTED]>

