Re: one tuner of a PVR-500 not returning any data

2012-11-23 Thread Brian J. Murrell
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


one tuner of a PVR-500 not returning any data

2012-11-22 Thread 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, 

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.



signature.asc
Description: OpenPGP digital signature