[linux-dvb] opening dvr for writing
Steven Dorigotti
steven.dorigotti at tvblob.com
Mon Jun 16 11:09:53 CEST 2008
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 at linuxtv.org
>>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080616/21a27172/attachment.htm
More information about the linux-dvb
mailing list