Hi,
just to give you the right setting.
Over the last years I tried very hard to push linux in the demo scene.
Last week I got my MK2.
So I spend 20minutes to write (cut'n'paste) an implementation of my displaylib for the empeg.
And it works, well, almost.
After I use it the display is locked up.
It shows the last data I put there.
Only power cycling helps.
The code looks mainly like this
fd = open( "/dev/display", O_RDWR );
buf = mmap( 0, 2048, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0 );
ioctl( fd, _IOW( 'd', 1, int ), x );
while( ){
memcpy( buf, data, 2048 );
ioctl( fd, _IO( 'd', 0 ) );
}
munmap( buf, 2048 );
close( fd );
Did I make an obvious mistake ?
thanks
anti
ps:
Sorry, but I can't post the full code for the lib.
At least not right now.
pps:
I should solve this fast, since there are only 10 days till evoke2000 ....
_________________________
--------------------
MKII 08000073 40GB BLUE