[mythtv-users] Re: Simple video tests are failing -- what other tests are helpful?

Justin Gombos mindfuq at fairfieldi.com
Thu Mar 17 16:36:57 UTC 2005


* Mark Matula <mmatula at ratula.net> [2005-03-17 09:38]:
> On Wed, 16 Mar 2005, Justin Gombos wrote:
> 
> > The following attempts at a simple device dump fail:
> >
> >   sh-3.00$ cat /dev/video0 > simpleTest
> >   cat: /dev/video0: Invalid argument
> >
> >   sh-3.00$ dd if=/dev/video0 of=simpleTest
> >   dd: reading `/dev/video0': Invalid argument
> >   0+0 records in
> >   0+0 records out
> >   0 bytes transferred in 0.002232 seconds (0 bytes/sec)
> 
> It doesn't sound like your /dev/video* devices are set up. 

I know, that was my first suspicion, so I checked, then double
checked.  /dev/video* files are definately there.  
  
  lrwxrwxrwx  1 root root       6 Mar 13 02:45 /dev/video -> video0
  crw-rw----  1 root video 81,  0 Feb 18 02:28 /dev/video0
  crw-rw----  1 root video 81,  1 Feb 18 02:28 /dev/video1
  crw-rw----  1 root video 81, 10 Feb 18 02:28 /dev/video10
  crw-rw----  1 root video 81, 11 Feb 18 02:28 /dev/video11
  [...etc...]
  crw-rw----  1 root video 81, 62 Feb 18 02:28 /dev/video62
  crw-rw----  1 root video 81, 63 Feb 18 02:28 /dev/video63
  crw-rw----  1 root video 81,  7 Feb 18 02:28 /dev/video7
  crw-rw----  1 root video 81,  8 Feb 18 02:28 /dev/video8
  crw-rw----  1 root video 81,  9 Feb 18 02:28 /dev/video9

These results below are interesting.  You can see that the device
that is bound to a device file gets a different error:
    
  root at mythtv:/# cat /dev/video > test_video
  cat: /dev/video: Invalid argument

  root at mythtv:/# cat /dev/video0 > test_video
  cat: /dev/video0: Invalid argument

  root at mythtv:/# cat /dev/video1 > test_video
  cat: /dev/video1: No such device

  root at mythtv:/# cat /dev/video2 > test_video
  cat: /dev/video2: No such device

I'm not sure what to try next.  The driver seems to be getting mapped
to /dev/video0 correctly:

  root at mythtv:/# dmesg | grep -i saa    

  saa7130/34: v4l2 driver version 0.2.12 loaded
  saa7130[0]: quirk: PCIPCI_NATOMA
  saa7130[0]: found at 0000:00:12.0, rev: 1, irq: 11, latency: 208, mmio: 0xf3effc00
  saa7130[0]: subsystem: 1461:10ff, board: AVerMedia DVD EZMaker [card=33,autodetected]
  saa7130[0]: board init: gpio is 10000
  saa7130[0]: i2c eeprom 00: 61 14 ff 10 ff ff ff ff ff ff ff ff ff ff ff ff
  saa7130[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
  saa7130[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
  saa7130[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
  saa7130[0]: registered device video0 [v4l2]
  saa7130[0]: registered device vbi0


More information about the mythtv-users mailing list