View previous topic :: View next topic |
Author |
Message |
eflothmeier n00b
Joined: 20 Sep 2014 Posts: 58 Location: Tucson, AZ
|
Posted: Tue Feb 03, 2015 6:18 am Post subject: PVR card integration |
|
|
I have a PVR card:
02:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
... and the best approximation in the 3.17.7 kernel is:
<M> Conexant cx25821 support
<M> Conexant 25821 DMA audio support
I also have:
[*] Analog TV support
I still have no luck integrating this. It would be encouraging
to see a device node that looks like this:
/dev/video0
At least that was what I saw when this box was in an earlier
universe. That is, I've shelved the drives that once worked
in this old box, got new drives and upgraded with new s/w.
Can old h/w be integrated into new s/w?
Erich |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 872
|
Posted: Tue Feb 03, 2015 8:57 am Post subject: |
|
|
you probably try to use the wrong driver and you might need some firmware; check here (chip seems similar to yours: http://openbenchmarking.org/linux/PCI/0400/4444:0016 )
from this it also seems the devnode might be called ivtv.
i could only check with kernel 3.18.5 (on ~amd64) and there is a driver that exactly fits your chipset:
Code: | -> Device Drivers
--> Multimedia Support
---> Media PCI Adapters
----> < > Conexant cx23416/cx23415 MPEG encoder/decoder support (NEW) |
it's got some deps:
Code: | Depends on: MEDIA_SUPPORT [=m] && MEDIA_PCI_SUPPORT [=y] && MEDIA_ANALOG_TV_SUPPORT [=y] && VIDEO_V4L2 [=m] && PCI [=y] && I2C [=m] && | RC_CORE [=m]
| (some multimedia-drivers have deps on rc-drivers)
but you will find it; additional info is mentioned in its help.
GOOD LUCK! _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
eflothmeier n00b
Joined: 20 Sep 2014 Posts: 58 Location: Tucson, AZ
|
Posted: Thu Feb 05, 2015 5:24 am Post subject: |
|
|
Interesting,
I'll bet I have the e-build for that kernel. It's in beta
status (~x86) right?
EWF |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 872
|
Posted: Thu Feb 05, 2015 9:08 am Post subject: |
|
|
yes, 3.18 is still considered ~unstable.
but the driver also exists in 3.17.8-gentoo-r1 stable, i just checked it.
before you can select the different pci-adapters you have to select Analog, Digital TV and Remote Controller support:
Code: | *** Multimedia core support ***
[ ] Cameras/video grabbers support
[*] Analog TV support
[*] Digital TV support
[ ] AM/FM radio receivers/transmitters support
[ ] Software defined radio support
[*] Remote Controller support
[ ] Enable advanced debug functionality on V4L2 drivers
[ ] Enable old-style fixed minor ranges on drivers/video devices
[*] DVB Network Support (NEW)
(8) maximum number of DVB/ATSC adapters (NEW)
[ ] Dynamic DVB minor allocation (NEW)
*** Media drivers ***
< > Compile Remote Controller keymap modules
[ ] Remote controller decoders ----
[ ] Remote Controller devices ----
[ ] Media USB Adapters ----
[*] Media PCI Adapters ---> |
and maybe some more stuff.
GOOD LUCK! _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
eflothmeier n00b
Joined: 20 Sep 2014 Posts: 58 Location: Tucson, AZ
|
Posted: Wed Feb 18, 2015 7:07 pm Post subject: |
|
|
I did some digging and discovered these are already in 3.17.7
I have:
Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y
#
# Analog TV USB devices
#
CONFIG_VIDEO_PVRUSB2=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
.
.
# Analog/digital TV USB devices
#
#
# Webcam, TV (analog/digital) USB devices
#
# CONFIG_VIDEO_EM28XX is not set
CONFIG_MEDIA_PCI_SUPPORT=y
.
.
# Supported MMC/SDIO adapters
#
CONFIG_VIDEO_CX2341X=y
CONFIG_VIDEO_TVEEPROM=y
# CONFIG_CYPRESS_FIRMWARE is not set
.
.
and...
# Audio decoders, processors and mixers
#
CONFIG_VIDEO_MSP3400=y
CONFIG_VIDEO_CS53L32A=y
CONFIG_VIDEO_WM8775=y
#
# RDS decoders
#
#
# Video decoders
#
CONFIG_VIDEO_SAA711X=y
However we're still not out of the woods yet. There's IVTV
under the old regime there was:
* media-tv/ivtv
Latest version available: 1.2.0-r1
Latest version installed: 1.2.0-r1
Size of files: 470 kB
Homepage: http://www.ivtvdriver.org
Description: ivtv driver for Hauppauge PVR PCI cards
License: GPL-2
However, that has now disappeared. But we still have:
* dev-perl/Video-ivtv
Latest version available: 0.13-r1
Latest version installed: [ Not Installed ]
Size of files: 21 KiB
Homepage: http://ivtv.sourceforge.net
Description: Video::ivtv perl module, for use with ivtv-ptune
License: GPL-2
* media-tv/ivtv-utils
Latest version available: 1.4.1
Latest version installed: [ Not Installed ]
Size of files: 186 KiB
Homepage: http://www.ivtvdriver.org/
Description: IVTV utilities for Hauppauge PVR PCI cards
License: GPL-2
* sys-firmware/ivtv-firmware
Latest version available: 20080701-r1
Latest version installed: [ Not Installed ]
Size of files: 123 KiB
Homepage: http://www.ivtvdriver.org/index.php/Firmware
Description: firmware for Hauppauge PVR-x50 and Conexant 2341x based cards
* x11-drivers/xf86-video-ivtv
Latest version available: 1.1.2-r2
Latest version installed: [ Not Installed ]
Size of files: 306 KiB
Homepage: http://ivtvdriver.org/
Description: X.Org driver for TV-out on ivtvdev cards
License: MIT
Under the old regime the kernel features were installed as modules.
New kernels seem to discourage the use of modules, however.
Thanks for getting back to me. Sorry I'm slow at responding.
I'm a very careful person.
Erich |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Feb 18, 2015 9:09 pm Post subject: |
|
|
That driver has been around forever, since at least kernel 2.6 days. Search for CONFIG_VIDEO_IVTV. IIRC, you have to enable remote control to see it in the menu, even if you are not using the remote control. Post the results of 'dmesg | grep ivtv'.
See info here: http://ivtvdriver.org/index.php/Supported_hardware
Is your card a Hauppauge PVR-150/250/350 or something else? |
|
Back to top |
|
|
eflothmeier n00b
Joined: 20 Sep 2014 Posts: 58 Location: Tucson, AZ
|
Posted: Fri Feb 20, 2015 5:29 am Post subject: |
|
|
It's a PVR-150
No, That isn't set yet:
so there's nothing right now in the dmesg:
Symbol: VIDEO_IVTV [=n]
Type : tristate
Prompt: Conexant cx23416/cx23415 MPEG encoder/decoder support
Location:
-> Device Drivers
-> Multimedia support (MEDIA_SUPPORT [=y])
(2) -> Media PCI Adapters (MEDIA_PCI_SUPPORT [=y])
Defined at drivers/media/pci/ivtv/Kconfig:1
Depends on: MEDIA_SUPPORT [=y] && MEDIA_PCI_SUPPORT [=y] && MEDIA_ANALOG_TV_SUPPORT [
Selects: I2C_ALGOBIT [=y] && VIDEO_TUNER [=y] && VIDEO_TVEEPROM [=y] && VIDEO_CX2341X
I might also need
Symbol: VIDEO_IVTV_ALSA [=n]
Type : tristate
Prompt: Conexant cx23415/cx23416 ALSA interface for PCM audio capture
If it isn't specifically for cx23416, I don't want to set it. Like for example:
Symbol: VIDEO_FB_IVTV [=n]
Type : tristate
Prompt: Conexant cx23415 framebuffer support |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Fri Feb 20, 2015 2:44 pm Post subject: |
|
|
That's for the PVR-350. You don't need it.
I don't use the remote either, but I think you have to enable generic remote control for the IVTV selections to appear.
The driver also needs to load firmware. First enable ivtv and ivtv_alsa as modules and reboot, then look at the messages.
I have one machine with a PVR-150 and another with a PVR-250. Actually, I have three machines with them, but I forget which is which. The software is identical. |
|
Back to top |
|
|
eflothmeier n00b
Joined: 20 Sep 2014 Posts: 58 Location: Tucson, AZ
|
Posted: Sat Feb 21, 2015 1:36 am Post subject: |
|
|
Success.
My software configuration can now access the PVR-150:
Thanks for the advice for configuring the kernel.
First, I have:
mmom ~ # lsmod
Module Size Used by
nvidia_agp 3832 0
ivtv_alsa 5193 0
wm8775 2948 1
tuner 14038 1
cx25840 42458 1
ivtv 124111 1 ivtv_alsa
tveeprom 10609 1 ivtv
cx2341x 15093 1 ivtv
e100 25283 0
snd_intel8x0 22245 0
snd_ac97_codec 82721 1 snd_intel8x0
ac97_bus 770 1 snd_ac97_codec
The modules loaded without my intervention. Just the same
my /etc/conf.d/modules file has:
.
.
,
#modules=iosf_mbi
#modules=kcopy
#modules=cx2341x
#modules=tveeprom
#modules=cs53l32a
#modules=cx25840
#modules=m52790
#modules=msp3400
#modules=saa7115
#modules=saa7127
#modules=saa717x
#modules=upd64031a
#modules=upd64083
#modules=vp27smpx
#modules=wm8739
#modules=wm8775
modules=ivtv-alsa
modules=ivtv
#modules=hdpvr
#modules=pvrusb2
modules=tuner
#modules=videobuf2-core
#modules=videobuf2-memops
#modules=videobuf2-vmalloc
modules=e100
#modules=e1000
#modules=x86_pkg_temp_thermal
#modules=g_webcam
#modules=libcomposite
#modules=xhci-hcd
#modules=configfs
#modules=udf
#modules=crc-itu-t
#modules=ipt_MASQUERADE
#modules=iptable_nat
#modules=nf_log_arp
#modules=/nf_log_ipv4
#modules=nf_nat_ipv4
#modules=nf_log_ipv6
#modules=nf_log_common
#modules=nf_nat
#modules=nf_nat_ftp
#modules=netfilter/nf_nat_irc
#modules=netfilter/nf_nat_sip
#modules=netfilter/xt_LOG
#modules=xt_mark
#modules=xt_nat
modules=ac97_bus
modules=snd-ac97-codec
modules=snd-intel8x0
modules=nvidia-agp
I now have:
crw-rw----+ 1 root video 81, 0 Feb 20 17:59 video0
crw-rw----+ 1 root video 81, 3 Feb 20 17:59 video24
crw-rw----+ 1 root video 81, 1 Feb 20 17:59 video32
in /dev
I also have:
* dev-perl/Video-ivtv
* media-tv/ivtv-utils
* sys-firmware/ivtv-firmware
installed
There's another problem, but it's not related to PVR-150
More on that later.
Erich |
|
Back to top |
|
|
|