mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
Hey, I like devfs.
Try /dev/fb/0 if /dev/fb0 fails.
This commit is contained in:
parent
a7b42f685e
commit
6af411b02e
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ fbdevInitialize (KdCardInfo *card, FbdevPriv *priv)
|
||||||
{
|
{
|
||||||
int k;
|
int k;
|
||||||
unsigned long off;
|
unsigned long off;
|
||||||
if ((priv->fd = open("/dev/fb0", O_RDWR)) < 0) {
|
if ((priv->fd = open("/dev/fb0", O_RDWR)) < 0 && \
|
||||||
|
(priv->fd = open("/dev/fb/0", O_RDWR)) < 0) {
|
||||||
perror("Error opening /dev/fb0");
|
perror("Error opening /dev/fb0");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue