On 12-11-22 07:33 AM, Brian J. Murrell wrote:
> I have a PVR-500 in a machine here where one of the /dev/video* devices
> can successfully be opened and return data while the other can be
> opened but returns to data to a read(2). i.e.:
>
> open("/dev/video3", O_RDONLY|O_LARGEFILE) = 3
> dup3(3, 0, 0) = 0
> close(3) = 0
> fstat64(0, {st_mode=S_IFCHR|0660, st_rdev=makedev(81, 11), ...}) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfc7f568) = -1 EINVAL (Invalid
> argument)
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0xb7423000
> read(0,
>
> and the process blocks there.FWIW, simply rmoving and inserting the ivtv module seems to have fixed this. But really odd (to me at least) that it's just one tuner of a dual-tuner card. So like 1 piece of hardware, with only 1 submodule not working. b.
signature.asc
Description: OpenPGP digital signature
