View previous topic :: View next topic |
Author |
Message |
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Sat Sep 15, 2007 1:49 am Post subject: IVTV and permission denied on /dev/v4l/video0 |
|
|
why would the PVR-350 that I have not be able to be accessed?
Code: | DavidCPU ~ # /dev/v4l/video0 > test.mpg
bash: /dev/v4l/video0: Permission denied
DavidCPU ~ # cd /dev/v4l
DavidCPU v4l # ls
total 0
drwxr-xr-x 2 root root 220 2007-09-14 20:09 .
drwxr-xr-x 17 root root 14K 2007-09-14 20:06 ..
crwxrwxrwx 1 root video 81, 64 2007-09-14 20:09 radio0
crwxrwxrwx 1 root video 81, 224 2007-09-14 20:09 vbi0
crwxrwxrwx 1 root video 81, 240 2007-09-14 20:09 vbi16
crwxrwxrwx 1 root video 81, 232 2007-09-14 20:09 vbi8
crwxrwxrwx 1 root video 81, 0 2007-09-14 20:09 video0
crwxrwxrwx 1 root video 81, 16 2007-09-14 20:09 video16
crwxrwxrwx 1 root video 81, 24 2007-09-14 20:09 video24
crwxrwxrwx 1 root video 81, 32 2007-09-14 20:09 video32
crwxrwxrwx 1 root video 81, 48 2007-09-14 20:09 video48 |
Code: | DavidCPU ~ # /dev/v4l/video0 >test.mpg
bash: /dev/v4l/video0: Permission denied
DavidCPU ~ # uname -a
Linux DavidCPU 2.6.21-gentoo-r3 #1 Sat Jun 16 14:42:37 CDT 2007 i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux
DavidCPU ~ # dmesg
Linux version 2.6.21-gentoo-r3 (root@DavidCPU) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #1 Sat Jun 16 14:42:37 CDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 0000000017ef0000 end: 0000000017ff0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 0000000017ff0000 size: 0000000000003000 end: 0000000017ff3000 type: 4
copy_e820_map() start: 0000000017ff3000 size: 000000000000d000 end: 0000000018000000 type: 3
copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
383MB LOWMEM available.
Entering add_active_range(0, 0, 98288) 0 entries of 256 used
(trunkated for ease of reading)
Freeing unused kernel memory: 220k freed
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.10.3 (tagged release) loading
ivtv: Linux version: 2.6.21-gentoo-r3 mod_unload K7
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23415 based)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
nvidia: module license 'NVIDIA' taints kernel.
NVRM: The NVIDIA GeForce3 Ti 200 GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9755 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
tveeprom 1-0050: The eeprom says no radio is present, but the tuner type
tveeprom 1-0050: indicates otherwise. I will assume that radio is present.
tveeprom 1-0050: Hauppauge model 48132, rev K268, serial# 8207546
tveeprom 1-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: audio processor is MSP4448 (idx 27)
tveeprom 1-0050: decoder processor is SAA7115 (idx 19)
tveeprom 1-0050: has radio, has IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-350
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7115 1-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
msp3400 1-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
msp3400 1-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPEG (1 MB)
ivtv0: Registered device vbi8 for decoder VBI (1 MB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1 MB)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner 1-0061: type set to 47 (LG NTSC (TAPE series))
spurious 8259A interrupt: IRQ7.
ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
ivtv: ==================== END INIT IVTV ====================
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
rt2500 1.1.0 CVS CVS http://rt2x00.serialmonkey.com
Filesystem "hda3": Disabling barriers, not supported by the underlying device
Adding 375472k swap on /dev/hda2. Priority:-1 extents:1 across:375472k
spurious 8259A interrupt: IRQ15.
rt2500 EEPROM: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Channel
rt2500 EEPROM: 4 4 4 4 4 4 4 4 4 4 4 4 4 4 dBm Maximum
dazuko: info: using chroot events for chroot'd processes
dazuko: loaded, version=2.3.3 |
Code: | DavidCPU home # lsmod
Module Size Used by
dazuko 58052 0
commoncap 7232 1 dazuko
msp3400 31072 0
saa7127 12180 0
saa7115 16272 0
tuner 61608 0
rt2500 180580 1
ivtv 134800 0
firmware_class 9792 1 ivtv
cx2341x 11652 1 ivtv
tveeprom 14928 1 ivtv |
_________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Sat Sep 15, 2007 1:53 am Post subject: |
|
|
Code: | DavidCPU ~ # eix ivtv
[U] media-tv/ivtv
Available versions: 0.4.5 0.4.7 0.4.8 0.4.9 0.6.3 0.6.4 0.6.5 0.6.6 0.7.1 0.7.2 0.7.3 0.8.0-r1 0.8.1-r1 0.8.2-r1 0.9.0 0.9.1 0.10.0-r1 0.10.1-r1 (~)0.10.2 0.10.3 (~)0.10.4 0.10.5 (~)1.0.1
Installed versions: 0.10.3(06:38:44 PM 09/14/2007)(-fbcon kernel_linux)
Homepage: http://www.ivtvdriver.org
Description: ivtv driver for Hauppauge PVR PCI cards
|
_________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Sat Sep 15, 2007 2:48 am Post subject: |
|
|
funny thing is that this seems to work right
Code: | DavidCPU ~ # ivtv-tune -c 51
/dev/video0: 385.250 MHz (Signal Detected)
|
I still can't get permission to see it.
I am doing this as root _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Sat Sep 15, 2007 3:05 am Post subject: |
|
|
why is the group
video 81
and not just video?
I guess I thought root could get at anything _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
Coelacanth Tux's lil' helper
Joined: 18 Dec 2006 Posts: 83
|
Posted: Sat Sep 15, 2007 5:09 am Post subject: |
|
|
Are you sure you want to execute it?
Have you tried:
# cat /dev/v4l/video0 > test.mpg |
|
Back to top |
|
|
badgers l33t
Joined: 04 Sep 2003 Posts: 680 Location: Madison, WI
|
Posted: Sat Sep 15, 2007 2:32 pm Post subject: |
|
|
DUDE you are a genius and I am a tool...
thanks
it was so awsome that you caught that. _________________ Abit KD7-S
Athlon XP2500+
166mHz FSB
512 Meg PC3200 Ram running at 166mHz
LiteOn DVD dual Layer burner(hdc)
2.6.17 Suspend2 kernel with no scsi support |
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Mon Oct 01, 2007 1:50 am Post subject: |
|
|
I think I may be having a similar problem. I can get the file to be created with the cat command after tuning the card but the result appears to be an empty file. Any suggestions?
Code: | matt@localhost ~ $ ivtv-tune -c 12
/dev/video0: 205.250 MHz
matt@localhost ~ $ cat /dev/v4l/video0 > chan12v4l.mpg
matt@localhost ~ $ mplayer ~/chan12v4l.mpg
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 2)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /home/matt/chan12v4l.mpg.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Seek failed
Exiting... (End of file)
matt@localhost ~ $ |
I have also tried using cat on /dev/video0 with the same result. directly viewing video0 or video24(radio) with "# mplayer /dev/video0" says it is accessing the device but I don't see or here anything. |
|
Back to top |
|
|
/carlito Guru
Joined: 31 Dec 2004 Posts: 451 Location: Belgium
|
Posted: Mon Oct 01, 2007 8:16 am Post subject: |
|
|
eztrigger wrote: |
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Seek failed
|
What use flags did you compile mplayer with? Imo you forgot to compile in win32codecs, ivtv and v4l support... _________________
.O.
..O
OOO
|
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Wed Oct 03, 2007 1:53 am Post subject: |
|
|
I did not have ivtv or v4l flags, so I added those and did emerge --newuse world and I get the same results. Any other ideas?
Code: | matt@localhost ~ $ ivtv-tune -f 55.250
/dev/video0: 55.250 MHz
matt@localhost ~ $ mplayer /dev/video0
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 2)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /dev/video0.
MPlayer interrupted by signal 2 in module: demux_open
matt@localhost ~ $ cat /dev/video0 > ~/test.mpg
matt@localhost ~ $ mplayer test.mpg
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (Family: 15, Model: 6, Stepping: 2)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing test.mpg.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Seek failed
Exiting... (End of file) |
|
|
Back to top |
|
|
/carlito Guru
Joined: 31 Dec 2004 Posts: 451 Location: Belgium
|
Posted: Wed Oct 03, 2007 9:09 am Post subject: |
|
|
Please post the output of Code: | dmesg |grep -i ivtv |
_________________
.O.
..O
OOO
|
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Thu Oct 04, 2007 12:54 am Post subject: |
|
|
Code: | matt@localhost ~ $ dmesg | grep -i ivtv
ivtv: ==================== START INIT IVTV ====================
ivtv: version 1.0.0 (2.6.22-gentoo-r5 SMP mod_unload 386 ) loading
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: Failed to load module tveeprom
ivtv0: Autodetected Hauppauge WinTV PVR-150
ivtv0: Failed to load module tuner
ivtv0: Failed to load module cx25840
ivtv0: Failed to load module wm8775
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c addr 0x44 not found for command 0x4008646f!
ivtv0: i2c hardware 0x00000020 (wm8775) not found for command 0x4008646d!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0x4008646d!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv: ==================== END INIT IVTV ====================
ivtv0: i2c addr 0x44 not found for command 0xc0cc5605!
|
|
|
Back to top |
|
|
jimhend~1 Tux's lil' helper
Joined: 20 Nov 2003 Posts: 89
|
Posted: Thu Oct 04, 2007 4:42 am Post subject: |
|
|
it looks like some modules arent loading.
this is my output.
dmesg |grep -i ivtv
ivtv: Start initialization, version 1.0.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23415 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
ivtv0: Autodetected Hauppauge WinTV PVR-350
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7115 2-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
msp3400 2-0040: MSP4418G-B3 found @ 0x80 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPEG (1 MB)
ivtv0: Registered device vbi8 for decoder VBI (1 MB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1 MB)
ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
ivtv: End initialization
these days i just settle for the in kernel ivtv.
zcat /proc/config.gz | grep -i video
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
CONFIG_VIDEO_TVAUDIO=m
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TDA9875 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
CONFIG_VIDEO_MSP3400=m
CONFIG_VIDEO_CS53L32A=m
# CONFIG_VIDEO_TLV320AIC23B is not set
CONFIG_VIDEO_WM8775=m
CONFIG_VIDEO_WM8739=m
# Video decoders
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_SAA7110 is not set
# CONFIG_VIDEO_SAA7111 is not set
# CONFIG_VIDEO_SAA7114 is not set
CONFIG_VIDEO_SAA711X=m
# CONFIG_VIDEO_SAA7191 is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_VPX3220 is not set
# Video and audio decoders
CONFIG_VIDEO_CX25840=m
# MPEG video encoders
CONFIG_VIDEO_CX2341X=m
# Video encoders
CONFIG_VIDEO_SAA7127=m
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# Video improvement chips
CONFIG_VIDEO_UPD64031A=m
CONFIG_VIDEO_UPD64083=m
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
CONFIG_VIDEO_IVTV=m
# CONFIG_VIDEO_CAFE_CCIC is not set
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_TVEEPROM=m
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_VIDEO_SELECT is not set |
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Fri Oct 05, 2007 12:33 pm Post subject: |
|
|
that sounds right, but what do I need to get the tuner module loaded? |
|
Back to top |
|
|
absoluteflatness Tux's lil' helper
Joined: 21 Jan 2007 Posts: 138 Location: Blacksburg or Falls Church, VA
|
Posted: Fri Oct 05, 2007 3:11 pm Post subject: |
|
|
Well, the selection process should have made you build all the necessary modules if you were building the ivtv module.
Does your output from "zcat /proc/config.gz | grep -i video " match the one shown above?
What happens when you do:
# modprobe tuner |
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Sun Oct 07, 2007 5:00 pm Post subject: |
|
|
I have the following where jimhend~1 does not have anything mentioned:
Code: | CONFIG_VIDEO_CX88=m
CONFIG_VIDEO_CX88_ALSA=M
CONFIG_VIDEO_CX88_BLACKBIRD=m
CONFIG_VIDEO_PVRUSB2 is not set
CONFIG_VIDEO_EM28XX is not set
CONFIG_VIDEO_USBVISION is not set
CONFIG_VIDEO_OVCAMCHIP is not set
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_SELECT=y |
I don't have this where jimhend~1 does:
Code: | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
None of this should cause a problem though right?
modprobe tuner just gives me a new command line(that means it started the tuner service, I assume? mplayer /dev/video0 still doesn't do anything after this):
|
|
Back to top |
|
|
absoluteflatness Tux's lil' helper
Joined: 21 Jan 2007 Posts: 138 Location: Blacksburg or Falls Church, VA
|
Posted: Wed Oct 10, 2007 6:05 am Post subject: |
|
|
Well, on it's startup, the ivtv module tried to load tveeprom, tuner, cx25840, and wm8775, but failed to for some reason. I'm not sure why it would fail on startup but work correctly when manually inserted though. Anyway, in addition to the module loading failure messages, your log shows the driver failing to send commands to the components that those modules control. The pratical upshot is that to work correctly the ivtv driver needs to have the tveeprom, tuner, cx25840, and wm8775 modules inserted into the kernel.
Anyway, on to important matters:
You could try this: remove the ivtv module: "modprobe -r ivtv"
Then, insert each of the above mentioned modules: "modprobe tveeprom", "modprobe tuner", and so on.
Finally, re-insert the ivtv module. Try to run "mplayer /dev/video0" again and see what happens.
If it works, or doesn't, please post the section of your dmesg input between the "START INIT IVTV" and "END INIT IVTV" lines. Posting just the lines that contain "ivtv", which is what you posted before, leaves out some of the output. You can do this by running the following command:
Code: | dmesg | sed -n '/= START INIT IVTV/,/= *END INIT IVTV/p' |
|
|
Back to top |
|
|
eztrigger n00b
Joined: 27 Sep 2007 Posts: 12
|
Posted: Sat Oct 13, 2007 10:56 pm Post subject: |
|
|
Awesome. Both TV and radio now seem to work with mplayer. Now how to get those missing modules to load automatically:
Code: | localhost matt # dmesg | sed -n '/= START INIT IVTV/ ,/= *END INIT IVTV/p'
ivtv: ==================== START INIT IVTV ====================
ivtv: version 1.0.0 (2.6.22-gentoo-r5 SMP mod_unload 386 ) loading
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 21 (level, low) -> IRQ 20
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: Failed to load module tveeprom
tveeprom 0-0050: Hauppauge model 26552, rev C2A3, serial# 8033083
tveeprom 0-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)
tveeprom 0-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-150
ivtv0: Failed to load module tuner
ivtv0: Failed to load module cx25840
ivtv0: Failed to load module wm8775
tuner 0-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c addr 0x44 not found for command 0x4008646f!
ivtv0: i2c hardware 0x00000020 (wm8775) not found for command 0x4008646d!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0x4008646d!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv: ==================== END INIT IVTV ====================
ivtv: ==================== START INIT IVTV ====================
ivtv: version 1.0.0 (2.6.22-gentoo-r5 SMP mod_unload 386 ) loading
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 21 (level, low) -> IRQ 20
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Failed to load module tveeprom
tveeprom 0-0050: Hauppauge model 26552, rev C2A3, serial# 8033083
tveeprom 0-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)
tveeprom 0-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-150
ivtv0: Failed to load module tuner
ivtv0: Failed to load module cx25840
ivtv0: Failed to load module wm8775
tuner 0-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv: ==================== END INIT IVTV ====================
localhost matt # |
|
|
Back to top |
|
|
tmba n00b
Joined: 14 Oct 2007 Posts: 2
|
Posted: Sun Oct 14, 2007 6:06 am Post subject: failed to load module tuner |
|
|
I'm also having the same issue, ivtv does not load module tuner. Manually removing the modules and re-loading them does not seem to help for me though. Here is my messages log:
#############################################################
# dmesg | sed -n '/= START INIT IVTV/,/= *END INIT IVTV/p'
#############################################################
ivtv: ==================== START INIT IVTV ====================
ivtv: version 1.0.0 (2.6.22-gentoo-r8 SMP mod_unload PENTIUMIII ) loading
ivtv0: Autodetected Hauppauge card (cx23415 based)
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
input: i2c IR (Hauppauge) as /class/input/input7
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-0/0-0018/ir0 [ivtv i2c driver #0]
saa7115 0-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
msp3400 0-0040: MSP4418G-B3 found @ 0x80 (ivtv i2c driver #0)
msp3400 0-0040: MSP4418G-B3 supports nicam and radio, mode is autodetect and autoselect
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: Failed to load module tveeprom
tveeprom 0-0050: Hauppauge model 48139, rev K2B7, serial# 9927831
tveeprom 0-0050: tuner model is Philips FM1216ME MK5 (idx 117, type 3
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
tveeprom 0-0050: audio processor is MSP4418 (idx 25)
tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-350
ivtv0: Failed to load module tuner
ivtv0: Failed to load module saa7115
ivtv0: Failed to load module saa7127
ivtv0: Failed to load module msp3400
tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPEG (1 MB)
ivtv0: Registered device vbi8 for decoder VBI (1 MB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1 MB)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
ivtv: ==================== END INIT IVTV ====================
#############################################################
Output from my loaded modules (wonder why it can not load tuner when tuner shows up in lsmod
#############################################################
# lsmod | grep 'tuner\|i2c\|bttv\|ivtv'
ivtv 117392 0
cx2341x 14340 1 ivtv
tuner 59816 0
bttv 159988 0
video_buf 22404 1 bttv
compat_ioctl32 5248 1 bttv
i2c_algo_bit 9092 2 ivtv,bttv
btcx_risc 7816 1 bttv
videodev 28160 2 ivtv,bttv
v4l1_compat 15876 3 ivtv,bttv,videodev
tveeprom 17680 2 ivtv,bttv
ir_kbd_i2c 10636 0
ir_common 33540 2 bttv,ir_kbd_i2c
i2c_dev 9348 0
i2c_isa 7168 1 sis5595
i2c_core 22272 20 ivtv,tuner,bttv,i2c_algo_bit,tveeprom,upd64031a,cx25840,wm8739,tvaudio,upd64083,cs53l32a,wm8775,saa7127,msp3400,saa7115,ir_kbd_i2c,i2c_dev,sis5595,i2c_isa,saa717x
v4l2_common 18688 16 ivtv,cx2341x,tuner,bttv,videodev,upd64031a,cx25840,wm8739,tvaudio,upd64083,cs53l32a,wm8775,saa7127,msp3400,saa7115,saa717x |
|
Back to top |
|
|
absoluteflatness Tux's lil' helper
Joined: 21 Jan 2007 Posts: 138 Location: Blacksburg or Falls Church, VA
|
Posted: Mon Oct 15, 2007 11:44 pm Post subject: |
|
|
For comparison, this is what my ivtv loading looks like:
Code: |
ivtv: ==================== START INIT IVTV ====================
ivtv: version 1.0.0 (2.6.22-gentoo-r8libata SMP preempt mod_unload ) loading
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:05:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
nvidia: module license 'NVIDIA' taints kernel.
ivtv0: loaded v4l-cx2341x-enc.fw firmware (-139635948680320 bytes)
ivtv0: Encoder revision: 0x02060039
tveeprom 2-0050: Hauppauge model 26552, rev C268, serial# 8581888
tveeprom 2-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-150
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
tuner 2-0061: type set to 47 (LG NTSC (TAPE series))
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
Installing spdif_bug patch: Audigy 2 ZS [SB0350]
ivtv: ==================== END INIT IVTV ==================== |
What problems are you having? The same ones as the earlier poster reported? You don't have the "i2c * not found" errors, so, given you have those modules loaded, I would think there's a chance that the capture card will be working, despite the errors. Both of you do seem to have the similar problem that the modules can be loaded by modprobe, but not by the ivtv loading process.
I'm really not entirely sure where this problem is coming from. Try this:
Code: | locate -u
locate tveeprom.ko
locate tuner.ko
locate cx25840.ko
locate wm8775.ko |
To see if you've got old modules floating around somewhere. |
|
Back to top |
|
|
tmba n00b
Joined: 14 Oct 2007 Posts: 2
|
Posted: Tue Oct 16, 2007 3:34 am Post subject: my bad |
|
|
Boy do I feel like what the heading under my nick says. I went through once more to double check which kernel options are enabled, and in the end I found that CONFIG_KMOD was missing.
You see, I read 'The following kernel options are sensed (and required):' from the ivtv documentation for gentoo at http://ivtvdriver.org/index.php/Howto:Gentoo and therefore assumed that ivtv would not install without them. Needless to say, its not the case.
Thanks for the advice though |
|
Back to top |
|
|
absoluteflatness Tux's lil' helper
Joined: 21 Jan 2007 Posts: 138 Location: Blacksburg or Falls Church, VA
|
Posted: Tue Oct 16, 2007 7:34 am Post subject: |
|
|
Unfortunately for you, that documentation is out of date. I'm looking at the ebuilds right now, and the older ivtv ebuilds (from before the driver was integrated into the kernel sources) do indeed check for CONFIG_KMOD. However, the new ones (1.x) don't, I presume because you could theoretically compile ivtv into your kernel, and thus not need automatic module loading. (Edit: I've put in some skeleton documentation covering installation with newer kernels (>=2.6.22) on the ivtvdriver.org Gentoo page)
If you're still reading this thread, eztrigger, this is probably also your problem. The kernel option in question is "Automatic kernel module loading", which I believe falls under "Loadable module support". |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Tue Oct 16, 2007 7:34 pm Post subject: |
|
|
absoluteflatness wrote: | Unfortunately for you, that documentation is out of date. I'm looking at the ebuilds right now, and the older ivtv ebuilds (from before the driver was integrated into the kernel sources) do indeed check for CONFIG_KMOD. However, the new ones (1.x) don't, I presume because you could theoretically compile ivtv into your kernel, and thus not need automatic module loading. |
Whoops, that's fixed now, thanks for catching that. When we put the 1.0 branch in the tree, we cleaned up the kernel module options since some were redundant. I guess that got left out.
IVTV website recommends loading the drivers as modules, so I'm gonna have to agree with them there. _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|