diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c index ea2fb4c1e..d904a4aa1 100644 --- a/hw/kdrive/fbdev/fbdev.c +++ b/hw/kdrive/fbdev/fbdev.c @@ -38,7 +38,8 @@ fbdevInitialize (KdCardInfo *card, FbdevPriv *priv) { int k; 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"); return FALSE; }