linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* one tuner of a PVR-500 not returning any data
@ 2012-11-22 12:33 Brian J. Murrell
  2012-11-23 13:24 ` Brian J. Murrell
  0 siblings, 1 reply; 2+ messages in thread
From: Brian J. Murrell @ 2012-11-22 12:33 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: one tuner of a PVR-500 not returning any data
  2012-11-22 12:33 one tuner of a PVR-500 not returning any data Brian J. Murrell
@ 2012-11-23 13:24 ` Brian J. Murrell
  0 siblings, 0 replies; 2+ messages in thread
From: Brian J. Murrell @ 2012-11-23 13:24 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

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.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-23 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 12:33 one tuner of a PVR-500 not returning any data Brian J. Murrell
2012-11-23 13:24 ` Brian J. Murrell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).