ivtv 0.8.1
kernel 2.6.18.1
ubuntu 7.10

Hauppauge PVR-500
KWorld PCI 115

Background:
Have been using MythTV 0.20.2 with my single PVR-500 both tuners
(/dev/video0, /dev/video1) for quite some time.

I wanted to start trying to get some OTA HD signals.  So I picked up a
KWorld PCI 115.  It is a dual tuner card as well.  It supports digital
cable (64-QAM, 256-QAM) and analog TV and ATSC.

Apparantely, the analog tuner does not have hardware mpeg support.
This is fine, I have my 2 PVR-500 tuners, so I am good to go.

Problem:
Moved my PVR-500 from one PCI slot to another so that I could fit in
my KWorld 115 into my ASUS M2NPV-VM motherboard.
I have not loaded any additional modules.  I haven't made any
configuration changes.  I simply rebooted my box.

My PVR-500 (/dev/video0) seems to be replaced with the KWorld one.
The second PVR-500 tuner (/dev/video1) appears to be fine.

So, a few questions, not sure what this list can answer for me.

1.  How do I tell (permanently) for the PVR-500 to load on /dev/video1
and /dev/video2 (since /dev/video0 is already taken).
2.  Since the KWorld is a dual tuner, am I going to run into another
problem when I get some more of the other tuners working?  Should I
load the PVR-500 at a higher number?


I found some references in this list to using udev to manage (#1).
http://ivtvdriver.org/index.php/Howto#Howto_use_udev_rules.21

[EMAIL PROTECTED]:/media/mythtv/recordings# udevinfo -V
udevinfo, version 093

I am having some troubles crossing the T's and dotting the I's though.
I think I need to add:

/etc/udev/rules.d/90-lirc.rules
DRIVER=="ivtv", SYSFS{name}=="ivtv0 encoder MPEG", ID=="0000:01:09.0",
SYMLINK+="pvr_500_1"
DRIVER=="ivtv", SYSFS{name}=="ivtv0 encoder MPEG", ID=="0000:02:09.0",
SYMLINK+="pvr_500_2"


I think that should work, but am not too certain on the {name} entry
or the ID field for both tuners of the PVR-500.
I think I have provided everything need to determine this below.



For #2, do we even use ivtv for the KWorld?  I am not sure what the
break down between ivtv and video4linux is.




Some debug information:

[EMAIL PROTECTED]:/media/mythtv/recordings# dmesg |grep ivtv
[   34.364767] ivtv:  ==================== START INIT IVTV ====================
[   34.364771] ivtv:  version 0.8.1 (tagged release) loading
[   34.364773] ivtv:  Linux version: 2.6.18.1-custom SMP mod_unload gcc-4.1
[   34.364775] ivtv:  In case of problems please include the debug info between
[   34.364776] ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
[   34.364778] ivtv:  any module options, when mailing the ivtv-users
mailinglist.
[   34.895056] ivtv0: Autodetected Hauppauge card (cx23416 based)
[   34.895612] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   35.576408] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[   35.846740] ivtv0: Autodetected WinTV PVR 500 (unit #1)
[   35.864424] tuner 3-0060: chip found @ 0xc0 (ivtv i2c driver #0)
[   35.864774] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   35.907172] cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[   40.298590] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   40.407435] ivtv0 warning: Encoder mailbox not found
[   40.448765] ivtv0 warning: Decoder mailbox not found
[   40.448767] ivtv0: Error locating firmware.
[   40.452882] ivtv0: Error -12 on initialization
[   40.452889] ivtv: probe of 0000:02:08.0 failed with error -12
[   40.452914] ivtv0: Autodetected Hauppauge card (cx23416 based)
[   40.453439] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   41.083918] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[   41.301109] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   41.323377] cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[   45.680961] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   45.753835] ivtv0: Correcting tveeprom data: no radio present on second unit
[   45.753837] ivtv0: Autodetected WinTV PVR 500 (unit #2)
[   45.837109] ivtv0: Encoder revision: 0x02050032
[   45.837301] ivtv0: Registered device video1 for encoder MPEG
[   45.837562] ivtv0: Registered device video32 for encoder YUV
[   45.837841] ivtv0: Registered device vbi1 for encoder VBI
[   45.838067] ivtv0: Registered device video24 for encoder PCM audio
[   46.207297] ivtv0: Initialized WinTV PVR 500 (unit #2), card #0
[   46.207310] ivtv:  ====================  END INIT IVTV  ====================


[EMAIL PROTECTED]:/media/mythtv/recordings# udevinfo -a -p 
/class/video4linux/video0

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/video4linux/video0':
    KERNEL=="video0"
    SUBSYSTEM=="video4linux"
    SYSFS{name}=="saa7133_0_ video _UNKNOWN/GENER"
    SYSFS{dev}=="81:0"

  looking at device '/devices/pci0000:00/0000:00:10.0/0000:01:08.0':
    ID=="0000:01:08.0"
    BUS=="pci"
    DRIVER=="saa7134"
    SYSFS{broken_parity_status}=="0"
    SYSFS{enable}=="1"
    SYSFS{modalias}=="pci:v00001131d00007133sv000017DEsd00007352bc04sc80i00"
    SYSFS{local_cpus}=="01"
    SYSFS{irq}=="201"
    SYSFS{class}=="0x048000"
    SYSFS{subsystem_device}=="0x7352"
    SYSFS{subsystem_vendor}=="0x17de"
    SYSFS{device}=="0x7133"
    SYSFS{vendor}=="0x1131"

  looking at device '/devices/pci0000:00/0000:00:10.0':
    ID=="0000:00:10.0"
    BUS=="pci"
    DRIVER==""
    SYSFS{broken_parity_status}=="0"
    SYSFS{enable}=="1"
    SYSFS{modalias}=="pci:v000010DEd0000026Fsv00000000sd00000000bc06sc04i01"
    SYSFS{local_cpus}=="01"
    SYSFS{irq}=="0"
    SYSFS{class}=="0x060401"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x026f"
    SYSFS{vendor}=="0x10de"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""



[EMAIL PROTECTED]:/media/mythtv/recordings# udevinfo -a -p 
/class/video4linux/video1

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/video4linux/video1':
    KERNEL=="video1"
    SUBSYSTEM=="video4linux"
    SYSFS{name}=="ivtv0 encoder MPEG"
    SYSFS{dev}=="81:1"

  looking at device
'/devices/pci0000:00/0000:00:10.0/0000:01:09.0/0000:02:09.0':
    ID=="0000:02:09.0"
    BUS=="pci"
    DRIVER=="ivtv"
    SYSFS{broken_parity_status}=="0"
    SYSFS{enable}=="1"
    SYSFS{modalias}=="pci:v00004444d00000016sv00000070sd0000E817bc04sc00i00"
    SYSFS{local_cpus}=="01"
    SYSFS{irq}=="217"
    SYSFS{class}=="0x040000"
    SYSFS{subsystem_device}=="0xe817"
    SYSFS{subsystem_vendor}=="0x0070"
    SYSFS{device}=="0x0016"
    SYSFS{vendor}=="0x4444"

  looking at device '/devices/pci0000:00/0000:00:10.0/0000:01:09.0':
    ID=="0000:01:09.0"
    BUS=="pci"
    DRIVER==""
    SYSFS{broken_parity_status}=="0"
    SYSFS{enable}=="1"
    SYSFS{modalias}=="pci:v00003388d00000021sv00000000sd00000000bc06sc04i00"
    SYSFS{local_cpus}=="01"
    SYSFS{irq}=="0"
    SYSFS{class}=="0x060400"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x0021"
    SYSFS{vendor}=="0x3388"

  looking at device '/devices/pci0000:00/0000:00:10.0':
    ID=="0000:00:10.0"
    BUS=="pci"
    DRIVER==""
    SYSFS{broken_parity_status}=="0"
    SYSFS{enable}=="1"
    SYSFS{modalias}=="pci:v000010DEd0000026Fsv00000000sd00000000bc06sc04i01"
    SYSFS{local_cpus}=="01"
    SYSFS{irq}=="0"
    SYSFS{class}=="0x060401"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x026f"
    SYSFS{vendor}=="0x10de"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""




[EMAIL PROTECTED]:/media/mythtv/recordings# udevinfo -a -p 
/class/video4linux/video2

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.



[EMAIL PROTECTED]:/media/mythtv/recordings# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce
6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
01:08.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135
Video Broadcast Decoder (rev d1)
01:09.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge
(non-transparent mode) (rev 11)
02:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
02:09.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)



Thanks in advance for any direction.
If more information would be helpful, I would appreciate any command
lines that would gather that information.

Dave

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to