Hi Michael, Thanks heaps for the reply (also Billy, to whom I replied privately). On Fri Feb 14 2003 at 04:19, "Michael R. Tharp" wrote: > >>v4l-conf (and therefore xawtv) was all of a sudden failing with the > >>following error: "can't open /dev/video0: Cannot allocate memory". > > > > Well I re-read your post and realized I probably misread it. The > >app actually can't open /dev/video0 ? That's right, v4l-conf can't open it, apps can't open it. It's just *weird*. The drivers load and the /proc/video/dev/ files look good. (And with regard to Billy's reply, Load "v4l" is in my XF86Config, see my previous messages). > Could this be a simple permissions problem? crw------- 1 tony root 81, 0 Jun 29 2002 /dev/video0 > Try it as root and see what happens. Nope, same problem. Been there, done that :) Changing permissions to tony.tony doesn't work either (nor for perms to 666 etc). > I had trouble with PAM and the NVidia driver (briefly :-) ) (really? that's never happened for me) > This is just a thought though... I'm not a developer...yet. Thanks anyway. For almost 5 weeks now I've looked at this from all sorts of angles. Nothing tells me why it fails... if I could work that out then I would at least have some ideas about what to do about fixing it. But that's all I get: can't allocate memory. Yet it did work with a TNT card. It just doesn't make any sense. Even strace'ing gives no real clues, it just simply fails: [ ... cut lots of stuff from running tvtime ... ] rt_sigaction(SIGALRM, {0x80517e0, [], 0x4000000}, {SIG_DFL}, 8) = 0 open("/dev/video0", O_RDWR) = -1 ENOMEM (Cannot allocate memory) write(2, "videoinput: Can\'t open \'/dev/vid"..., 61) = 61 write(2, "tvtime: Can\'t open video input, "..., 62) = 62 _exit(1) = ? [ ... cut lots of stuff from running xawtv ... ] fork() = 2637 wait4(2637, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 2637 rt_sigaction(SIGINT, {0x40034e90, [], 0x4000000}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 --- SIGCHLD (Child exited) --- wait4(-1, 0xbffff13c, WNOHANG|WUNTRACED, NULL) = -1 ECHILD (No child processes) sigreturn() = ? (mask now [RTMIN]) open("/dev/video0", O_RDWR|O_LARGEFILE) = -1 ENOMEM (Cannot allocate memory) ... write(2, "v4l2: open /dev/video0: Cannot a"..., 47) = 47 open("/dev/video0", O_RDWR|O_LARGEFILE) = -1 ENOMEM (Cannot allocate memory) write(2, "v4l: open /dev/video0: Cannot al"..., 46) = 46 write(2, "no video grabber device availabl"..., 34) = 34 _exit(1) = ? > -Mike Tharp- Cheers Tony