make sure they're RW for that group. Mine have no group permissions. I think it's udev that sets these to be owned by me (as a regular user) when I login.On Sat, 2006-04-15 at 10:09 -0500, Richard Hendershot wrote: > My video devices are owned by my login user, root group. can you sudo > cat /dev/video0 > tst.mpg ? or perhaps this trace was while you > logged in as root? Logging in as root did the trick, although all I got was a few seconds of a black screen. So I at least chown'd my /dev/video* devices to the mythtv group.
> I don't load the framebuffer nor lirc. I'm ignoring the mplayer deal > at this point since it sounds broken. capturing the stream is a good > test. > > All I have in my modprobe.conf is for snd and eth0. Since a lot of > this is in the kernel I don't think anything is needed. I'm not sure > about FB and LIRC though. I'd suggest taking that all out and seeing > what works, add it back in one at a time. I have an all-encompassing > (or encompassing enough for my needs ;) mod removal that I use to dump > ivtv related modules so I can load fresh. your needs are probably a > little different but here goes, fyi > > /sbin/rmmod ivtv bttv cx8800 cx88xx cx25840 tuner tveeprom msp3400 > wm8775 tda9887 saa7115 saa7127 > /sbin/depmod -a > /sbin/modprobe ivtv Unfortunately, all that did was to make it return to the main MythTV screen faster after I pressed "Watch TV".
Using MythTV to troubleshoot adds a lot of indirection and abstraction. There's a lot of mention in the ivtv readme's about making sure to cold boot (leaving the machine off for a minute or more before powering up again), the framebuffer device interacting with the driver
"3. The framebuffer will not allow direct writing safely, it will mess up, and that module options are not necessary most all of the time.
encoding and decoding, usually making the chip inoperable until another
reboot."
what do you get from
grep -A 11 ivtv /etc/sysconfig/hwconf..which kudzu places into this file on boot. I don't think you need anything about ivtv in modprobe.conf I think all you need are the eth0 and usb-controller lines, until ivtv is working, then put lirc back in then put ivtv_fb back in.
btw, in the docs, the first node (char-major-81) is videodev, not ivtv. the minor node (char-major-81-0) is ivtv
alias char-major-81 videodev...so if you keep these, this might have an effect.
alias char-major-81-0 ivtv
Do you have videodev module loaded?
[sys]# /sbin/lsmod |grep ivtv ivtv 160400 0 v4l1_compat 11973 1 ivtv tveeprom 13905 1 ivtv videodev 9409 1 ivtv i2c_core 20673 9 msp3400,saa7127,saa7115,tda9887,tuner,ivtv,tveeprom,i2c_algo_bit,i2c_i801 [sys]#
> btw- If you'd built ivtv from sources you probably have detritus in > usr/local. Maybe you're loading old msp or other modules from there, > so another suggestion would be to make certain the ivtv stuff is all > in one place and the stuff you want it to be. Actually, I just followed the instructions at http://wilsonet.com/mythtv/fcmyth.php I didn't build any packages at all.
That one's a little out of date.
> --- my modprobe.conf ---
> alias eth0 b44
> alias snd-card-0 snd-intel8x0
> options snd-card-0 index=0
> options snd-intel8x0 index=0
> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1
> || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
>
>
> On Sat, 2006-04-15 at 10:40 -0400, Bill Baker wrote:
> > On Sat, 2006-04-15 at 07:18 -0500, Richard Hendershot wrote:
> > > The low-latency timer message looks a little odd. Also there's a
> > > spurious interrupt mentioned for IRQ7. If you've recently changed
> > > your BIOS settings there may be something there that's awry. I'm
> > > running on FC5 so my trace is a little different but fundamentally the
> > > same, other than those two.
> >
> > I haven't changed any BIOS settings. All I've done is upgraded some
> > packages.
> >
> > > Are the /dev/videoX devices present? Are their permissions ok?
> >
> > # ls -l /dev/video*
> > lrwxrwxrwx 1 root root 6 Apr 14 18:14 /dev/video -> video0
> > crw------- 1 mythtv root 81, 0 Apr 14 18:14 /dev/video0
> > crw------- 1 mythtv root 81, 16 Apr 14 18:14 /dev/video16
> > crw------- 1 mythtv root 81, 24 Apr 14 18:14 /dev/video24
> > crw------- 1 mythtv root 81, 32 Apr 14 18:14 /dev/video32
> > crw------- 1 mythtv root 81, 48 Apr 14 18:14 /dev/video48
> >
> > > I have removed all additions to modprobe.conf for IVTV since upgrading
> > > to kernel 2.6.16 and ivtv 0.6.1 and removed
> > > /etc/sysconfig/modules/ivtv.modules. Somebody check me, I dont' think
> > > there's anything else involved.
> >
> > Here's my /etc/modprobe.conf. Is there anything I should remove?
> > ----------------------------
> > alias eth0 3c59x
> > alias usb-controller ohci-hcd
> > alias char-major-61 lirc_i2c
> > # ivtv modules setup
> > alias char-major-81 ivtv
> > alias char-major-81-0 ivtv
> >
> > install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe
> > ivtv-fb
> > # lirc setup
> > install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
> > lirc_i2c
> > -----------------------------
> >
> > Also, the file ivtv.modules doesn't exist on my system.
> >
> > > Also, does mplayer work normally otherwise? If I pass a non-existent
> > > device (mplayer /dev/video5) then mplayer responds file not found. I
> > > never get a segfault. what if you "sudo mplayer /dev/video0" ?
> >
> > I found that no matter what I try to play, whether it's a nonexistent
> > file or device, a zero-length file, or a valid movie file, mplayer
> > always gives me a segfault. This happens whether I run it as a regular
> > user or as root.
> >
> > > Good luck! Keep us posted....
> > >
> > > On Fri, 2006-04-14 at 19:49 -0400, Bill Baker wrote:
> > > > On Sat, 2006-04-15 at 01:16 +0200, Petter Gundersen wrote:
> > > > > On 4/14/06, Bill Baker <[EMAIL PROTECTED]> wrote:
> > > > > > OK, I tried a couple of different things: I tried typing
> > > > > > "mplayer /dev/video0" at the command prompt, both as a regular user and
> > > > > > as root, and I got a segmentation fault. Then I tried typing
> > > > > > "cat /dev/video0 >/video/recordings/testfile.avi" and it came back with
> > > > > > a zero-length file. Something must have gone wrong in the settings, but
> > > > > > I don't know what. Any ideas?
> > > > > >
> > > > >
> > > > > Post your ivtv dmesg info as described here:
> > > > > http://ivtvdriver.org/index.php/Asking_for_help
> > > >
> > > > No problem. Here you go:
> > > >
> > > > # dmesg | tac | sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV
> > > > =/p; /= START INIT IVTV =/q' | tac
> > > >
> > > > ivtv: ==================== START INIT IVTV ====================
> > > > ivtv: version 0.6.1 (development snapshot compiled on Wed Mar 29
> > > > 20:31:08 2006) loading
> > > > ivtv: Linux version: 2.6.16-1.2069_FC4 586 REGPARM 4KSTACKS gcc-4.0
> > > > 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 WinTV PVR-350 card (cx23415 based)
> > > > PCI: Found IRQ 5 for device 0000:00:0a.0
> > > > ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> > > > tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 8262518
> > > > tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
> > > > tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
> > > > tveeprom 0-0050: audio processor is MSP4448 (idx 27)
> > > > tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
> > > > tveeprom 0-0050: has radio, has IR remote
> > > > tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> > > > tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> > > > saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> > > > saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
> > > > msp3400 0-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
> > > > msp3400 0-0040: MSP4448G-A2 supports radio, mode is autodetect and
> > > > autoselect
> > > > ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> > > > ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
> > > > ivtv0: Encoder revision: 0x02040024
> > > > ivtv0: Decoder revision: 0x02020023
> > > > ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> > > > total)
> > > > ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
> > > > total)
> > > > ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
> > > > total)
> > > > ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
> > > > total)
> > > > ivtv0: Create encoder radio stream
> > > > ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB
> > > > total)
> > > > ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB
> > > > total)
> > > > ivtv0: Create decoder VOUT stream
> > > > ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB
> > > > total)
> > > > ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
> > > > tuner 0-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 ====================
> > > >
> > > > And here's the output of lspci -v:
> > > >
> > > > # lspci -v
> > > > 00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
> > > > Subsystem: ALi Corporation ALI M1541 Aladdin V/V+ AGP System
> > > > Controller
> > > > Flags: bus master, slow devsel, latency 32
> > > > Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
> > > > Capabilities: [b0] AGP version 1.0
> > > >
> > > > 00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04)
> > > > (prog-if 00 [Normal decode])
> > > > Flags: bus master, slow devsel, latency 32
> > > > Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
> > > >
> > > > 00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
> > > > (prog-if 10 [OHCI])
> > > > Flags: bus master, medium devsel, latency 32, IRQ 11
> > > > Memory at eb001000 (32-bit, non-prefetchable) [size=4K]
> > > > Capabilities: [60] Power Management version 2
> > > >
> > > > 00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
> > > > (rev c3)
> > > > Flags: bus master, medium devsel, latency 0
> > > > Capabilities: [f0] Power Management version 2
> > > >
> > > > 00:08.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2
> > > > MX/MX 400] (rev b2) (prog-if 00 [VGA])
> > > > Subsystem: eVga.com. Corp.: Unknown device b039
> > > > Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
> > > > Memory at e9000000 (32-bit, non-prefetchable) [size=16M]
> > > > Memory at d8000000 (32-bit, prefetchable) [size=128M]
> > > > [virtual] Expansion ROM at 10000000 [disabled] [size=64K]
> > > > Capabilities: [60] Power Management version 2
> > > >
> > > > 00:0a.0 Multimedia video controller: Internext Compression Inc iTVC15
> > > > MPEG-2 Encoder (rev 01)
> > > > Subsystem: Hauppauge computer works Inc. WinTV PVR-350
> > > > Flags: bus master, medium devsel, latency 64, IRQ 5
> > > > Memory at e4000000 (32-bit, prefetchable) [size=64M]
> > > > Capabilities: [44] Power Management version 2
> > > >
> > > > 00:0c.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
> > > > (rev 30)
> > > > Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
> > > > Flags: bus master, medium devsel, latency 32, IRQ 10
> > > > I/O ports at e000 [size=128]
> > > > Memory at eb000000 (32-bit, non-prefetchable) [size=128]
> > > > Expansion ROM at ea000000 [disabled] [size=128K]
> > > > Capabilities: [dc] Power Management version 1
> > > >
> > > > 00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c2) (prog-if fa)
> > > > Flags: bus master, medium devsel, latency 32, IRQ 5
> > > > I/O ports at f000 [size=16]
> > > > Capabilities: [60] Power Management version 2
> > > >
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
