LinuxForum.Fans
Тема

TVTime просит /dev/video0.Как решить?

Автор: neoil 27 сообщений 5777 просмотров
#149946

Здраствуйте.
Стоит последний дебиан 6.0.1а, LXDE.
Собрал ядро 2.6.38.2, поставил дрова для nvidia 260.19.44 как сдесь описано - http://linuxforum.ru/viewtopic.php?id=10867.
TVTuner Avermedia до всех операций работал на ура, сейчас на синем экране написано - "нет такого файла.немогу открыть устройство захвата /dev/video0".
Подскажите пожалуйста, как решить проблему.

#149947

ls /dev/ | grep vid

#149948

nvidia0
nvidiactl

#149949

lspci

#149950

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 0e)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 0e)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
04:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2)

#149951

lspci -v

#149953
Показать
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 0e)
Subsystem: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=09 <?>

00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 0e) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: d0000000-d6ffffff
Prefetchable memory behind bridge: d8000000-dfffffff
Capabilities: [88] Subsystem: Intel Corporation Device 0000
Capabilities: [80] Power Management version 2
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Kernel driver in use: pcieport

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at cfef4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: 20000000-201fffff
Prefetchable memory behind bridge: 0000000020200000-00000000203fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Gammagraphx, Inc. (or missing ID) Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: cff00000-cfffffff
Prefetchable memory behind bridge: 0000000020400000-00000000205fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Gammagraphx, Inc. (or missing ID) Device 0000
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 8000 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 8400 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 8800 [size=32]
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 9000 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at cfeff800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Prefetchable memory behind bridge: 00000000d7f00000-00000000d7ffffff
Capabilities: [50] Subsystem: Gammagraphx, Inc. (or missing ID) Device 0000

00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at ffa0 [size=16]
Kernel driver in use: PIIX_IDE

00:1f.2 IDE interface: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: ASUSTeK Computer Inc. Device 2601
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at a800 [size=8]
I/O ports at a400 [size=4]
I/O ports at a000 [size=8]
I/O ports at 9800 [size=4]
I/O ports at 9400 [size=16]
Memory at cfeffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [70] Power Management version 2
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. P5GD1-VW Mainboard
Flags: medium devsel, IRQ 19
I/O ports at 0400 [size=32]

01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Avermedia Technologies Inc AVerTV WDM Video Capture
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at d7ffe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Avermedia Technologies Inc AVerTV WDM Audio Capture
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at d7fff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
Subsystem: ASUSTeK Computer Inc. Marvell 88E8053 Gigabit Ethernet controller PCIe (Asus)
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at cfffc000 (64-bit, non-prefetchable) [size=16K]
I/O ports at c800 [size=256]
Expansion ROM at cffc0000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [5c] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: sky2

04:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2) (prog-if 00 [VGA controller])
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
Memory at d8000000 (64-bit, prefetchable) [size=128M]
Memory at d6000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at d5fe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Kernel driver in use: nvidia
#149954

Странно. Система видит тюнер

01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Avermedia Technologies Inc AVerTV WDM Video Capture
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at d7ffe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Avermedia Technologies Inc AVerTV WDM Audio Capture
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at d7fff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

Может надо какие модули подключить....

#149955

Вот и я о том же, какие модули блин...
Bttv?

#149956

А какой тюнер?

#149957

А старое ядро осталось?

#149959
--=XliN=-- написал:
Странно. Система видит тюнер

Видеть-то видит, но в ядре не включена поддержка, проверьте:

text
CONFIG_VIDEO_BT848:                                                                                                                │  
  │                                                                                                                                    │  
  │ Support for BT848 based frame grabber/overlay boards. This includes                                                                │  
  │ the Miro, Hauppauge and STB boards. Please read the material in                                                                    │  
  │ <file:Documentation/video4linux/bttv/> for more information.                                                                       │  
  │                                                                                                                                    │  
  │ To compile this driver as a module, choose M here: the                                                                             │  
  │ module will be called bttv.                                                                                                        │  
  │                                                                                                                                    │  
  │ Symbol: VIDEO_BT848 [=m]                                                                                                           │  
  │ Type  : tristate                                                                                                                   │  
  │ Prompt: BT848 Video For Linux                                                                                                      │  
  │   Defined at drivers/media/video/bt8xx/Kconfig:1                                                                                   │  
  │   Depends on: MEDIA_SUPPORT [=m] && VIDEO_CAPTURE_DRIVERS [=y] && VIDEO_DEV [=m] && PCI [=y] && I2C [=y] && VIDEO_V4L2 [=m] && \   │  
  │ INPUT [=y] && VIDEO_IR [=m]                                                                                                        │  
  │   Location:                                                                                                                        │  
  │     -> Device Drivers                                                                                                              │  
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                                                                                   │  
  │         -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])                                                                     │  
  │   Selects: I2C_ALGOBIT [=y] && VIDEO_BTCX [=n] && VIDEOBUF_DMA_SG [=n] && VIDEO_TUNER [=n] && VIDEO_TVEEPROM [=n] && \             │  
  │ VIDEO_MSP3400 [=n] && VIDEO_TVAUDIO [=n] && VIDEO_TDA7432 [=n] && VIDEO_SAA6588 [=n]
#149960

Старое ядро осталось. Сейчас конфиг ядра покапаю.

#149965
neoil написал:
Сейчас конфиг ядра покапаю.
text

 Location:                                                                                                                        │  
  │     -> Device Drivers                                                                                                              │  
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                                                                                   │  
  │         -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])                                                                     │  
  │           -> BT848 Video For Linux (VIDEO_BT848 [=m])
#149967

Может модуль saa6588 подойдет?

#149972

Хм...В > Device Drivers -> Multimedia support (MEDIA_SUPPORT [=m]) -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y]) -> BT848 Video For Linux (VIDEO_BT848 [=m]) НЕТ строчки "BT848 Video For Linux (VIDEO_BT848", но в Multimedia support ->DVB/ATSC adapters есть строчка "Supported BT878 Adapters"

Опции "Video for Linux" и "DVB for Linux" оставить как модули или лучше включить в ядро?

#149979

Да, нет в конфиге такой строчки - "BT848 Video For Linux (VIDEO_BT848)"
Ядро не поддерживает?

#149989
neoil написал:
Да, нет в конфиге такой строчки - "BT848 Video For Linux (VIDEO_BT848)"
neoil написал:
но в Multimedia support ->DVB/ATSC adapters есть строчка "Supported BT878 Adapters"

Просто перенесли в другое место? Включите там

#150000

Вручную вставил "CONFIG_VIDEO_BT848 [=m]", посмотрим что получится. smile

Войдите или зарегистрируйтесь, чтобы ответить.