[linux-dvb] How to read from /dev/dvb/adapter0/dvr0 ???

2007-05-14 Thread Jorge Canas
I have tried using fopen() and open() to open /dev/dvb/adapter0/dvr0  but it 
always returns NULL or -1, respectively.  How exactly is it that I am 
supposed to read from /dev/dvb/adapter0/dvr0 ??


I have already successfully tuned the device by using azap prior to the 
fopen() or open() calls.


Thanks.

_
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows 
Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] How to read from /dev/dvb/adapter0/dvr0 ???

2007-05-15 Thread Christophe Thommeret
Le mardi 15 mai 2007 02:05, Jorge Canas a écrit :
> I have tried using fopen() and open() to open /dev/dvb/adapter0/dvr0  but
> it always returns NULL or -1, respectively.  How exactly is it that I am
> supposed to read from /dev/dvb/adapter0/dvr0 ??
>
> I have already successfully tuned the device by using azap prior to the
> fopen() or open() calls.

Did you give azap option -r ?

-- 
Christophe Thommeret


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] How to read from /dev/dvb/adapter0/dvr0 ???

2007-05-15 Thread Jorge Canas

From: Christophe Thommeret <[EMAIL PROTECTED]>

Le mardi 15 mai 2007 02:05, Jorge Canas a écrit :
> I have tried using fopen() and open() to open /dev/dvb/adapter0/dvr0  
but

> it always returns NULL or -1, respectively.  How exactly is it that I am
> supposed to read from /dev/dvb/adapter0/dvr0 ??
>
> I have already successfully tuned the device by using azap prior to the
> fopen() or open() calls.

Did you give azap option -r ?



Yes, I had specified the recording option (-r) to azap.  I got it to work 
after a reboot.  I am not sure what was wrong.  Thanks for the help anyway!


_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb