• Opret dig
  • Glemt adgangskode

User account menu

  • Artikler
  • Forside
  • Forum
  • Nyheder
  • Log ind
Hjem
LinuxIN.dk

Snak med

Opret dig!

Af peque | 21.10.2008 08:37

Lidt hjælp til Udev regler - Archlinux (Capturecards)

Hjælp generelt
Heysa forum.
Jeg kæmper en kamp med DVB-S på mit mediecenter, og til dette har jeg lige brug for noget hjælp til at lave mine regler da jeg ikke kan få det til at fungere:
Jeg har 2 kort installeret i mit mediecenter:
Hauppauge HVR-4000
Hauppauge PVR-500
Backendserver: ArchLinux + mythtv-svn

Har downloadet den seneste IVTV driver og firmware til PVR-500 kortet.
Derefter har jeg installeret den seneste v4l-dvb driver med multifrontend support som er hentet herfra: http://linuxtv.org/hg/~stoth/s2-mfe/


Men efter genstart så er tingene byttet lidt rundt og derfor fejler mythTV.
Basic:
HVR-4000 er efter første start fundet som /dev/video0 og /dev/dvb/adapter0 og mit PVR-500 bliver fundet som /dev/video1 og /dev/video2.
Men efter en genstart kikser dette totalt og intet fungerer i MythTV.
Når jeg så går ind og kigger i opsætningen af TVkort - er Video0 og 1 byttet om.

Så googlede jeg og fandt frem til at jeg skal bruge udev.rules som en mulighed for at fastsætte dette. MEN efter at have kigget på de forskellige muligheder - taber jeg forståelsen for dette, da mit output ser således:

Hauppauge HVR-4000
# udevadm info -a -p `udevadm info -q path -n /dev/v4l/video0`
looking at device '/class/video4linux/video0':
KERNEL=="video0"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{name}=="cx88[0] video (Hauppauge WinTV-"
ATTR{index}=="0"

looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:04:00.0':
KERNELS=="0000:04:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="cx8800"
ATTRS{vendor}=="0x14f1"
ATTRS{device}=="0x8800"
ATTRS{subsystem_vendor}=="0x0070"
ATTRS{subsystem_device}=="0x6902"
ATTRS{class}=="0x040000"
ATTRS{irq}=="16"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v000014F1d00008800sv00000070sd00006902bc04sc00i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x244e"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060401"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00008086d0000244Esv00000000sd00000000bc06sc04i01"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""

Hauppauge PVR-500 (Unit#1)
# udevadm info -a -p `udevadm info -q path -n /dev/v4l/video1`
looking at device '/class/video4linux/video1':
KERNEL=="video1"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{name}=="ivtv0 encoder MPG"
ATTR{index}=="0"

looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:04:02.0/0000:05:08.0':
KERNELS=="0000:05:08.0"
SUBSYSTEMS=="pci"
DRIVERS=="ivtv"
ATTRS{vendor}=="0x4444"
ATTRS{device}=="0x0016"
ATTRS{subsystem_vendor}=="0x0070"
ATTRS{subsystem_device}=="0xe807"
ATTRS{class}=="0x040000"
ATTRS{irq}=="18"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00004444d00000016sv00000070sd0000E807bc04sc00i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:04:02.0':
KERNELS=="0000:04:02.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x3388"
ATTRS{device}=="0x0021"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060400"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00003388d00000021sv00000000sd00000000bc06sc04i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x244e"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060401"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00008086d0000244Esv00000000sd00000000bc06sc04i01"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""

Hauppage PVR-500 (UNIT#2)
# udevadm info -a -p `udevadm info -q path -n /dev/v4l/video2`
looking at device '/class/video4linux/video2':
KERNEL=="video2"
SUBSYSTEM=="video4linux"
DRIVER==""
ATTR{name}=="ivtv1 encoder MPG"
ATTR{index}=="0"

looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:04:02.0/0000:05:09.0':
KERNELS=="0000:05:09.0"
SUBSYSTEMS=="pci"
DRIVERS=="ivtv"
ATTRS{vendor}=="0x4444"
ATTRS{device}=="0x0016"
ATTRS{subsystem_vendor}=="0x0070"
ATTRS{subsystem_device}=="0xe817"
ATTRS{class}=="0x040000"
ATTRS{irq}=="19"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00004444d00000016sv00000070sd0000E817bc04sc00i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:04:02.0':
KERNELS=="0000:04:02.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x3388"
ATTRS{device}=="0x0021"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060400"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00003388d00000021sv00000000sd00000000bc06sc04i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"

looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x244e"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060401"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00008086d0000244Esv00000000sd00000000bc06sc04i01"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""

De forskellige steder hvor jeg har kigget - er der gerne nogle identificerede SERIALS PRODUCT osv - men det er der ikke på disse TV-kort:

Min lspci ser således ud:

# lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV380 [Radeon X600 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:00.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:00.2 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
04:00.4 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)
04:02.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 11)
05:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) (HAUPPAUGE PVR-500 UNIT#1)
05:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) (HAUPPAUGE PVR-500 UNIT#2)


Og min hwd -e ser således ud:

# hwd -e
Testing: kernel (2.6.27-ARCH) supports uevents

1002:5b72 Display controller: ATI Technologies Inc module: -
RV380 [Radeon X600]
14e4:1677 Ethernet controller: Broadcom Corporation module: tg3
NetXtreme BCM5751 Gigabit Ethernet PCI Express
8086:2770 Host bridge: Intel Corporation module: -
82945G/GZ/P/PL Memory Controller Hub
8086:27df IDE interface: Intel Corporation module: ata_piix
82801G (ICH7 Family) IDE Controller
8086:27c0 IDE interface: Intel Corporation module: ata_piix
82801GB/GR/GH (ICH7 Family) SATA IDE Controller
8086:27b8 ISA bridge: Intel Corporation module: -
82801GB/GR (ICH7 Family) LPC Interface Bridge
8086:27de Multimedia audio controller: Intel Corporation module: snd_intel8x0
82801G (ICH7 Family) AC'97 Audio Controller
14f1:8811 Multimedia controller: Conexant Systems, Inc. module: snd-cx88_audio
CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port]
14f1:8804 Multimedia controller: Conexant Systems, Inc. module: snd--
CX23880/1/2/3 PCI Video and Audio Decoder [IR Port]
14f1:8802 Multimedia controller: Conexant Systems, Inc. module: snd-cx88-mpeg-driver-manager
CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port]
14f1:8800 Multimedia video controller: Conexant Systems, Inc. module: snd-cx8800
CX23880/1/2/3 PCI Video and Audio Decoder
4444:0016 Multimedia video controller: Internext Compression Inc module: ivtv
iTVC16 (CX23416) MPEG-2 Encoder
4444:0016 Multimedia video controller: Internext Compression Inc module: ivtv
iTVC16 (CX23416) MPEG-2 Encoder
3388:0021 PCI bridge: Hint Corp module: -
HB6 Universal PCI-PCI bridge (non-transparent mode)
8086:244e PCI bridge: Intel Corporation module: -
82801 PCI Bridge
8086:27d0 PCI bridge: Intel Corporation module: pcieport-driver
82801G (ICH7 Family) PCI Express Port 1
8086:27d2 PCI bridge: Intel Corporation module: pcieport-driver
82801G (ICH7 Family) PCI Express Port 2
8086:2771 PCI bridge: Intel Corporation module: pcieport-driver
82945G/GZ/P/PL PCI Express Root Port
8086:27da SMBus: Intel Corporation module: i801_smbus
82801G (ICH7 Family) SMBus Controller
8086:27c8 USB Controller: Intel Corporation module: uhci_hcd
82801G (ICH7 Family) USB UHCI Controller #1
8086:27c9 USB Controller: Intel Corporation module: uhci_hcd
82801G (ICH7 Family) USB UHCI Controller #2
8086:27ca USB Controller: Intel Corporation module: uhci_hcd
82801G (ICH7 Family) USB UHCI Controller #3
8086:27cb USB Controller: Intel Corporation module: uhci_hcd
82801G (ICH7 Family) USB UHCI Controller #4
8086:27cc USB Controller: Intel Corporation module: ehci_hcd
82801G (ICH7 Family) USB2 EHCI Controller
1002:5b62 VGA compatible controller: ATI Technologies Inc module: radeon
RV380 [Radeon X600 (PCIE)]


HJvordan skal jeg lave de udev regler - der sikrer mig hver gang at mit PVR-500 er /dev/video0 og 1 fra boot hver gang og mit HVR-4000 så bliver /dev/video2??

Har prøvet en masse forskellige opsætninger nu og er ikke kommet videre i dette og til gengæld er jeg virkelig blevet forvirret af at prøve at lave disse regler.
Under opstarten nu siger min dmesg således omkring kortene:

Linux video capture interface: v2.00
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
cx8800 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]: subsystem: 0070:6902, board: Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid [card=68,autodetected], frontend(s): 2
cx88[0]: TV tuner type 63, Radio tuner type -1
cx2388x alsa driver version 0.0.6 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner
usbcore: registered new interface driver hiddev
input: DELL DELL USB Keyboard as /class/input/input3
lp0: using parport0 (interrupt-driven).
input,hidraw0: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-0000:00:1d.3-1
input: DELL DELL USB Keyboard as /class/input/input4
ppdev: user-space parallel port driver
input,hidraw1: USB HID v1.10 Device [DELL DELL USB Keyboard] on usb-0000:00:1d.3-1
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
tuner' 1-0043: chip found @ 0x86 (cx88[0])
tda9887 1-0043: creating new instance
tda9887 1-0043: tda988[5/6/7] found
tuner' 1-0061: chip found @ 0xc2 (cx88[0])
tuner' 1-0063: chip found @ 0xc6 (cx88[0])
tveeprom 1-0050: Hauppauge model 69009, rev B2D3, serial# 3313688
tveeprom 1-0050: MAC address is 00-0D-FE-32-90-18
tveeprom 1-0050: tuner model is Philips FMD1216MEX (idx 133, type 63)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
tveeprom 1-0050: audio processor is CX882 (idx 33)
tveeprom 1-0050: decoder processor is CX882 (idx 25)
tveeprom 1-0050: has radio, has IR receiver, has no IR transmitter
cx88[0]: hauppauge eeprom: model=69009
tuner-simple 1-0061: creating new instance
tuner-simple 1-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
input: cx88 IR (Hauppauge WinTV-HVR400 as /class/input/input5
cx88[0]/0: found at 0000:04:00.0, rev: 5, irq: 16, latency: 64, mmio: 0xfa000000
wm8775' 1-001b: chip found @ 0x36 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88_audio 0000:04:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx88[0]/2: cx2388x 8802 Driver Manager
cx88-mpeg driver manager 0000:04:00.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]/2: found at 0000:04:00.2, rev: 5, irq: 16, latency: 64, mmio: 0xfc000000
cx8802_probe() allocating 2 frontend(s)
cx88/2: cx2388x dvb driver version 0.0.6 loaded
cx88/2: registering cx8802 driver, type: dvb access: shared
cx88[0]/2: subsystem: 0070:6902, board: Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid [card=68]
cx88[0]/2: cx2388x based DVB/ATSC card
tuner-simple 1-0061: attaching existing instance
tuner-simple 1-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
DVB: registering new adapter (cx88[0])
DVB: registering adapter 0 frontend 0 (Conexant CX24116/CX24118)...
DVB: registering adapter 0 frontend 1 (Conexant CX22702 DVB-T)...
---------------------------------------------------------------------
ivtv: Start initialization, version 1.4.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:05:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
tveeprom 2-0050: Hauppauge model 23659, rev D491, serial# 8092776
tveeprom 2-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio
ivtv0: Autodetected WinTV PVR 500 (unit #1)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tea5767 2-0060: type set to Philips TEA5767HN FM Radio
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 2-0043: creating new instance
tda9887 2-0043: tda988[5/6/7] found
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
tuner-simple 2-0061: creating new instance
tuner-simple 2-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
firmware: requesting v4l-cx25840.fw
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
ivtv0: Registered device video1 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio1 for encoder radio
ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
ivtv1: Initializing card #1
ivtv1: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:05:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
tveeprom 3-0050: Hauppauge model 23659, rev D491, serial# 8092776
tveeprom 3-0050: tuner model is Philips FQ1216AME MK4 (idx 91, type 56)
tveeprom 3-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 3-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
tveeprom 3-0050: audio processor is CX25843 (idx 37)
tveeprom 3-0050: decoder processor is CX25843 (idx 30)
tveeprom 3-0050: has radio
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
tda9887 3-0043: creating new instance
tda9887 3-0043: tda988[5/6/7] found
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
tuner-simple 3-0061: creating new instance
tuner-simple 3-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
firmware: requesting v4l-cx25840.fw
cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
ivtv1: Registered device video2 for encoder MPG (4096 kB)
ivtv1: Registered device video33 for encoder YUV (2048 kB)
ivtv1: Registered device vbi2 for encoder VBI (1024 kB)
ivtv1: Registered device video25 for encoder PCM (320 kB)
ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
ivtv: End initialization


Lidt info omkring de enheder i /dev:

[root@core ~]# ls -lah /dev/video*
lrwxrwxrwx 1 root root 10 21 okt 09:36 /dev/video -> v4l/video0
lrwxrwxrwx 1 root root 10 21 okt 09:36 /dev/video0 -> v4l/video0
lrwxrwxrwx 1 root root 10 21 okt 09:42 /dev/video1 -> v4l/video1
lrwxrwxrwx 1 root root 10 21 okt 09:42 /dev/video2 -> v4l/video2
lrwxrwxrwx 1 root root 11 21 okt 09:42 /dev/video24 -> v4l/video24
lrwxrwxrwx 1 root root 11 21 okt 09:42 /dev/video25 -> v4l/video25
lrwxrwxrwx 1 root root 11 21 okt 09:42 /dev/video32 -> v4l/video32
lrwxrwxrwx 1 root root 11 21 okt 09:42 /dev/video33 -> v4l/video33
[root@core ~]# ls -lah /dev/v4l/*
crw-rw---- 1 root video 81, 64 21 okt 09:36 /dev/v4l/radio0
crw-rw---- 1 root video 81, 65 21 okt 09:42 /dev/v4l/radio1
crw-rw---- 1 root video 81, 224 21 okt 09:36 /dev/v4l/vbi0
crw-rw---- 1 root video 81, 225 21 okt 09:42 /dev/v4l/vbi1
crw-rw---- 1 root video 81, 226 21 okt 09:42 /dev/v4l/vbi2
crw-rw---- 1 root video 81, 0 21 okt 09:36 /dev/v4l/video0
crw-rw---- 1 root video 81, 1 21 okt 09:42 /dev/v4l/video1
crw-rw---- 1 root video 81, 2 21 okt 09:42 /dev/v4l/video2
crw-rw---- 1 root video 81, 24 21 okt 09:42 /dev/v4l/video24
crw-rw---- 1 root video 81, 25 21 okt 09:42 /dev/v4l/video25
crw-rw---- 1 root video 81, 32 21 okt 09:42 /dev/v4l/video32
crw-rw---- 1 root video 81, 33 21 okt 09:42 /dev/v4l/video33

/dev/v4l/by-path:
totalt 0
drwxr-xr-x 2 root root 0 21 okt 09:42 .
drwxr-xr-x 3 root root 0 21 okt 09:42 ..
lrwxrwxrwx 1 root root 9 21 okt 09:36 pci-0000:04:00.0-video-index0 -> ../video0
lrwxrwxrwx 1 root root 7 21 okt 09:36 pci-0000:04:00.0-video-index1 -> ../vbi0
lrwxrwxrwx 1 root root 9 21 okt 09:42 pci-0000:05:08.0-video-index0 -> ../video1
lrwxrwxrwx 1 root root 10 21 okt 09:42 pci-0000:05:08.0-video-index1 -> ../video32
lrwxrwxrwx 1 root root 7 21 okt 09:42 pci-0000:05:08.0-video-index2 -> ../vbi1
lrwxrwxrwx 1 root root 10 21 okt 09:42 pci-0000:05:08.0-video-index3 -> ../video24
lrwxrwxrwx 1 root root 9 21 okt 09:42 pci-0000:05:09.0-video-index0 -> ../video2
lrwxrwxrwx 1 root root 10 21 okt 09:42 pci-0000:05:09.0-video-index1 -> ../video33
lrwxrwxrwx 1 root root 7 21 okt 09:42 pci-0000:05:09.0-video-index2 -> ../vbi2
lrwxrwxrwx 1 root root 10 21 okt 09:42 pci-0000:05:09.0-video-index3 -> ../video25



Eller er det slet ikke muligt at kunne køre de 2 kort samtidigt ?????
Er der nogle der kan overskue at sætte disse regler ordentligt sammen således at mine kort er de samme steder hver gang jeg starter op.

  • Log ind eller opret dig for at tilføje kommentarer

Kommentarer

Svar søges

tst 0
Linux Fanpakke til LUG'er og foreninger 0
KDE Plasma 6.6 skrivebordsmiljø udgivet 0
GRUB 2.14 introducerer understøttelse af EROFS, forbedringer til Btrfs og LVM 0
KDE Plasma 6.6 tilføjer en funktion, som brugerne har spurgt efter i evigheder 0

Seneste aktivitet

OpenShot 3.5 tager et spring fremad inden for ydeevne, AI og videoredigering 3
(U)hyggen breder sig 6
rsync og filsystem 7
Stor sejr for open source, da Tyskland støtter åbent dokumentformat 2
youtube-tui: Nyd YouTube fra terminalen som en professionel 5
Lukker og slukker 8
BigLinux 6
Det engang så elskede PCLinuxOS er tilbage - og det er stadig en fantastisk Windows erstatning 1
Mousam er en detaljeret desktop vejrapp til Linux 1
Hjælp til Handbrake - ingen dk-undertekster 1
luckyBackup 2
GIMP 30
Pinegrow på Debian 13 ? 4
Openmediavault 1
E-mail blues 9
Driver til min scanner? 5
Printer Epson ET-2865 problem 16
Sudo 7
Thunderbird filvedligeholdelse 2
Debian 13.3.0 8

© 2026 Linuxin og de respektive skribenter

Oprettet og drevet af nørder siden 2004 !