Hey, I like devfs.
Try /dev/fb/0 if /dev/fb0 fails.
This commit is contained in:
parent
a7b42f685e
commit
6af411b02e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user