Re: opening dvr for writing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thankyou for the reply, but the original test (in linuxtv-dvb-apps-1.1.1.tar.gz) was run with O_WRONLY and I still got "Invalid argument". 

Has anyone else had problems opening DVR for writing? (test case shown below).

thanks,
Steven

The only 2 supported modes are O_RDONLY and O_WRONLY.
in dmxdev.c around line 160.

sorry...

... unless the device has the capability DMXDEV_CAP_DUPLEX which I can't really see what it is.

Hello,

  I am trying to write data to the dvr device in order to playback  
recorded streams back on the frontend device for testing purposes.

  I have tried the following test taken from linuxtv-dvb-
apps-1.1.1.tar.gz (as well as others):

# ./test_dvr_play ../james.mpg 33 34
Playing '../james.mpg', video PID 0x0021, audio PID 0x0022
Failed to open '/dev/dvb/adapter0/dvr0': 22 Invalid argument

both on mips (custom) and x86 (Ubuntu Etch) architectures with the  
following hardware: DiB0070 and wt220u.

  If the open() mode is changed to RDWR instead of WRONLY, errno  
changes to "Operation not supported".

  Is this a known bug and is there a patch available? I have done  
similar tests with a much older version of linux-dvb in the past with  
no problems.

cheers,
Steven


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


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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux