Works with Ubuntu Intrepid and the proposed repository, along with V4l package from ppas:

Works with Ubuntu Intrepid and the proposed repository, along with V4l package from ppas:

Dec 30
Posted by Steven Harms in General | 2 Comments
I chose to install from source, the process is (tested on SLES 10 SP2 i386):
Now you should be able to run bzr from the command line.
AMD has released source code for 3d on R600 / R700 cards. This is awesome news. Now I am 50 / 50 on whether to keep using nvidia, or switch back to ATI (I have a 3870 sitting on my desk that I took out in frustration and bought an nvidia instead). With NVidia releasing their VPDAU this even further complicates the issue as it totally rocks.
We now have flash and java in 64-bit browsers. What are you waiting for?

To install the 64-bit java-plugin:
Also I used Sun Java JRE, which is installed like this:
Maybe someone can answer this for me, I am confused. Why does the following code print ‘read(): Resource temporarily unavailable’ 80% of the time? That is the EAGAIN code, which is the same as WOULD BLOCK which means there is no data waiting to be read, but select is returning 1 saying there is data:
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/errno.h>
int main(int argc, char** argv)
{
int fd = open("/dev/lp0", O_RDWR | O_NONBLOCK);
int ret = 0;
int status = 0;
char buffer[1024];
char teststr[] = "This is a test\n";
char XMIT_STATUS_OFFLINE[] = {0x10,0x04,0x02};
char XMIT_STATUS_ERROR[] = {0x10,0x04,0x03};
char XMIT_STATUS_ROLL[] = {0x10,0x04,0x04};
char XMIT_STATUS_SLIP[] = {0x10,0x04,0x05};
fd_set rfds;
FD_ZERO( &rfds );
FD_SET( fd, &rfds );
struct timeval sleep;
sleep.tv_sec = 5;
sleep.tv_usec = 0;
/* Offline status */
ret = write(fd, XMIT_STATUS_OFFLINE, sizeof(XMIT_STATUS_OFFLINE));
//printf("write() returned %d\n", ret);
do {
ret = select( fd + 1, &rfds, NULL, NULL, &sleep );
} while (ret < 0 && (errno == EINTR));
ret = read(fd, buffer, 1024);
if(ret == -1) {
perror("read(): ");
} else {
status = buffer[0];
if((status & 0x04) != 0)
{
printf("The cover is open.\n");
} else {
printf("OFFLINE is good.\n");
}
}
close(fd);
return 0;
}
Trying out Fedora 10. Points of fun:
Edited for ignorance..
You are currently browsing the archives for December, 2008
Arclite theme by digitalnature | powered by WordPress