Skip to contentSkip to conversation

one tuner of a PVR-500 not returning any data

DISCUSSION Brian J. Murrell 1 participant 2 messages Nov 22, 2012 – Nov 23, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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.

Any idea why this might be happening? Kernel is 3.2.0-33-generic which I believe is 3.2.1 based.

b.

#1 lore raw
Quoted 12 lines · Brian J. Murrell

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,

Quoted 1 line

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.