View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jan 10, 2006 2:43 pm 
Offline
Joined: Tue Jan 10, 2006 2:36 pm
Posts: 5
Hey

I'm new at myth, and im trying to get it setup and working. Ive gotten pretty far, but now im stuck :(

I have two problems I can't solve... One is the remote channel changing script is not "firing off" even though it has been specified in the config as per the instructions in these posts...

The second problem is ... when the box comes up and I choose watch tv, sometimes the picture will be black and white, and there is no sound, and more "thrashing" on the hard drive than when it operates normally. There doesn't seem to be anything particular I do to make this work / not work, its random. There are errors which ill definately post back.

My system is a Dell optiplex GX400 P4 1.5 Ghz, I850 chipset, intel Audio i8x0.
Hauppage PVR-150 card (non MCE)
Nvidia FX5600 card, 128 mb.

Have R5A30 of knopmyth.

For the IR Blaster... I went through these

PVR 150 IR Blaster Walkthrough (yes working!)
http://mysettopbox.tv/phpBB2/viewtopic. ... ht=pvr+150

LIRC HOWTO: Hauppauge PVR 150 Silver remote, R5A15.1
http://mysettopbox.tv/phpBB2/viewtopic. ... ht=pvr+150


#!/bin/sh
REMOTE_NAME=blaster
for digit in $(echo $1 | sed -e 's/./& /g'); do
/usr/local/bin/irsend SEND_ONCE $REMOTE_NAME $digit
sleep 0.4 # note, you may have to tweak the interdigit delay up a bit, depending on your DISH receiver model
done

test it out
./chan_change.sh 321

This works wonderfully, and I can use my remote to navigate the menu's, so lircd seems to be working.

I added in the top of the "chan_change.sh" a
eject /dev/hdc &

And when I push the channel -/+ button, the screen refreshes, but no open cdrom drive or activity on the lircd... the script

isn't being run!

Quote:

your second ir blaster should be sending out ir signals now as well, you just need to have the script located in the

mythtv-setup as well, on your 2nd input's external channel change script area (mythtv-setup -> number 4 -> your 2nd tuners

input -> type in the external change thing

Quote:
"/usr/local/bin/chan_change.sh"

I put it under Svideo0, Composite0, and Tuner0. Did I miss something, do I need a "chan_change.sh $1" on the end ?



I don't get it ?!!?

I used the config that was posted earlier, i've included it below. I live in canada and have the same motorola reciever.... which reminds me btw, does anyone know how to get the guide to come up ? Once i get this working id like to map one of the buttons for that feature :D

And the working / non working issue, the black and white + no sound vs full color working with sound, i have no idea where to go. I suppose I should start with posting error messages and trying newer nvidia drivers / capture drivers ? or kernel ?

Ive tried playing with the over lay options / enable /disable mpeg hardware decoder output, and openGL.

any other ideas would be execellent :D.

Thanks so much for any help all ! :D

JC


Dmesg Info (slightly pruned)

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.8 (tagged release) loading
ivtv: Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Unknown card: vendor/device: 4444/0016
ivtv: subsystem vendor/device: 1070/8003
ivtv: iTVC16 based
ivtv: Defaulting to WinTV PVR 250 card
ivtv: Please mail the vendor/device and subsystem vendor/device IDs and what kind of
ivtv: card you have to the ivtv-devel mailinglist: http://sourceforge.net/projects/ivtv


ivtv: Prefix your subject line with [UNKNOWN CARD]. <- Could this be an issue ?

ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8239144
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25841 (type = 23)
tveeprom: decoder processor = CX25841 (type = 1c)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
ivtv: loading /lib/modules/ivtv-fw-enc.bin <- good
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0

ivtv warning: i2c client addr: 0x21 not found for command 0x40046403! <- yes LOT and LOTS of these
ivtv warning: i2c client addr: 0x40 not found for command 0x40287611!


ivtv: Initialized WinTV PVR 250, card #0
ivtv: ==================== END INIT IVTV ====================
cx25840: loading /lib/modules/HcwMakoA.ROM <- load ROM
ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #0 ok [client=wm8775[50], addr=1b]
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
intel8x0_measure_ac97_clock: measured 56145 usecs
intel8x0: clocking to 41145
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: AUDIO driver version 0.0.0 loaded <- using this audio input
saa7146: register extension 'dvb'.
saa7146: register extension 'budget dvb'.
saa7146: register extension 'budget_ci dvb'.
saa7146: register extension 'budget_av'.
usbcore: registered new driver ttusb
usbcore: registered new driver ttusb-dec

e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex

hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted) <- pos I know.
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
lirc_dev: IR Remote Control driver registered, at major 61
lirc_pvr150: chip found with RX and TX
ivtv: i2c attach to card #0 ok [client=Hauppauge PVR150 IR RX, addr=71] <- good !
ivtv: i2c attach to card #0 ok [client=Hauppauge PVR150 IR TX, addr=70] <-good
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_pvr150: firmware of size 209327 loaded
lirc_pvr150: 575 codesets loaded
lirc_pvr150: Hauppauge PVR-150 IR blaster: firmware version 1.3.0 <- good.


ivtv warning: i2c client addr: 0x40 not found for command 0x80287610!
ivtv warning: i2c client addr: 0x21 not found for command 0x40206467!
ivtv warning: i2c client addr: 0x40 not found for command 0x80287610!

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

ivtv warning: i2c client addr: 0x21 not found for command 0x400e6407!
agpgart: Detected an Intel i850 Chipset.
agpgart: AGP aperture is 128M @ 0xe0000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
tpm_inf 0000:00:1f.0: LPC-bus found at 0x2440
tpm_inf: probe of 0000:00:1f.0 failed with error -5
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-7174 Tue Mar 22 06:44:39 PST 2005
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

**A LOT OF these.... meaning less to me :(

ivtv warning: i2c client addr: 0x21 not found for command 0x40046406!
ivtv warning: i2c client addr: 0x21 not found for command 0x40046404!
ivtv warning: i2c client addr: 0x40 not found for command 0x40086d11!
ivtv warning: i2c client addr: 0x40 not found for command 0x80287610!
ivtv warning: i2c c
root@mythtv:~#

lspci -v

0000:00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
Subsystem: Dell: Unknown device 00c6
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: 10000000-117fffff
Prefetchable memory behind bridge: f0000000-f7ffffff

0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: ff100000-ff3fffff
Prefetchable memory behind bridge: e8000000-efffffff

0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02) (prog-if 80 [Master])
Subsystem: Dell: Unknown device 00c6
Flags: bus master, medium devsel, latency 0
I/O ports at ffa0 [size=16]

0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 00c6
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at ff80 [size=32]

0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)
Subsystem: Dell: Unknown device 00c6
Flags: medium devsel, IRQ 10
I/O ports at dcd0 [size=16]

0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 00c6
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at ff60 [size=32]

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 02)
Subsystem: Dell: Unknown device 00c6
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at d800 [size=256]
I/O ports at dc40 [size=64]

0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA])
Subsystem: nVidia Corporation: Unknown device 01b9
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 11
Memory at 10000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at 11000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0

0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Daewoo Telecom Ltd: Unknown device 8003
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at ec000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2

0000:02:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 02)
Subsystem: IBM 82558B Ethernet Pro 10/100
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at ebfff000 (32-bit, prefetchable) [size=4K]
I/O ports at ece0 [size=32]
Memory at ff200000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at e8000000 [disabled] [size=1M]

0000:02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e800 [size=256]
Memory at ff1ffc00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at e8100000 [disabled] [size=64K]

Quote:

K, so this works awesome, i did it to my own frontend setup to control a motorola dct 2500, (i have Shaw Cable here in

Canada) here is the lircd.conf i am using for it. This should work for most motorola DCT's (Digital Cable Terminal)



#
# this config file was automatically generated
# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
#
# contributed by Jens Leuschner <leuschner@gmx.net>
#
# brand: Hauppauge
# model:
# supported devices: WinTV primo; WinTV pci; WinTV radio
#
# This config file will work with both homebrew receivers and
# original Hauppauge TV cards !!!
#

begin remote

name blaster
bits 32
flags RAW_CODES
eps 0
aeps 0
plead 0
gap 333333
repeat_bit 0


begin raw_codes
name 0
1900544
name 1
1900545
name 2
1900546
name 3
1900547
name 4
1900548
name 5
1900549
name 6
1900550
name 7
1900551
name 8
1900552
name 9
1900553
name POWER
1900554
name 0_29_KEY_CH_UP
1900559
name 0_29_KEY_CH_DOWN
1900560
name 0_29_KEY_MUTE
1900561
name 0_29_KEY_VOL_DOWN
1900562
name 0_29_CH_PREVIOUS
1900563
name 0_29_KEY_VOL_UP
1900564
name 0_29_KEY_DISPLAY
1900565
name 0_29_KEY_FAVCH
1900572
name 0_29_KEY_SELECT
1900574
name 0_29_KEY_ENTER
1900587
name 0_29_KEY_AB
1900606
end raw_codes

end remote

begin remote

name Hauppauge
bits 13
flags SHIFT_ENC
eps 30
aeps 100

one 950 830
zero 950 830
plead 960
gap 89584
repeat_bit 2

begin codes
TV 0x000000000000100F
RADIO 0x000000000000100C
FULL_SCREEN 0x000000000000102E
CH+ 0x0000000000001020
CH- 0x0000000000001021
VOL- 0x0000000000001011
VOL+ 0x0000000000001010
MUTE 0x000000000000100D
SOURCE 0x0000000000001022
1 0x0000000000001001
2 0x0000000000001002
3 0x0000000000001003
4 0x0000000000001004
5 0x0000000000001005
6 0x0000000000001006
7 0x0000000000001007
8 0x0000000000001008
9 0x0000000000001009
0 0x0000000000001000
RESERVED 0x000000000000101E
MINIMIZE 0x0000000000001026
end codes

end remote


#
# this config file was automatically generated
# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
#
# contributed by
#
# brand: Hauppauge
# model no. of remote control:
# devices being controlled by this remote: PVR 2/350
#

begin remote

name hauppauge_pvr
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100

one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2


begin codes
Power 0x00000000000017FD
Go 0x00000000000017FB
1 0x00000000000017C1
2 0x00000000000017C2
3 0x00000000000017C3
4 0x00000000000017C4
5 0x00000000000017C5
6 0x00000000000017C6
7 0x00000000000017C7
8 0x00000000000017C8
9 0x00000000000017C9
Back/Exit 0x00000000000017DF
0 0x00000000000017C0
Menu 0x00000000000017CD
Red 0x00000000000017CB
Green 0x00000000000017EE
Yellow 0x00000000000017F8
Blue 0x00000000000017E9
Ch+ 0x00000000000017E0
Ch- 0x00000000000017E1
Vol- 0x00000000000017D1
Vol+ 0x00000000000017D0
Ok 0x00000000000017E5
Mute 0x00000000000017CF
Blank 0x00000000000017CC
Full 0x00000000000017FC
Rewind 0x00000000000017F2
Play 0x00000000000017F5
Forward 0x00000000000017F4
Record 0x00000000000017F7
Stop 0x00000000000017F6
Pause 0x00000000000017F0
Replay 0x00000000000017E4
Skip 0x00000000000017DE
end codes

end remote


#
# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
#
# contributed by
#
# brand: Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date: 2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
#

begin remote

name Hauppauge_350
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100

one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2


begin codes
Go 0x00000000000017BB
Power 0x00000000000017BD
TV 0x000000000000179C
Videos 0x0000000000001798
Music 0x0000000000001799
Pictures 0x000000000000179A
Guide 0x000000000000179B
Radio 0x000000000000178C
Up 0x0000000000001794
Left 0x0000000000001796
Right 0x0000000000001797
Down 0x0000000000001795
OK 0x00000000000017A5
Back/Exit 0x000000000000179F
Menu/i 0x000000000000178D
Vol+ 0x0000000000001790
Vol- 0x0000000000001791
Prev.Ch 0x0000000000001792
Mute 0x000000000000178F
Ch+ 0x00000000000017A0
Ch- 0x00000000000017A1
Record 0x00000000000017B7
Stop 0x00000000000017B6
Rewind 0x00000000000017B2
Play 0x00000000000017B5
Forward 0x00000000000017B4
Replay/SkipBackward 0x00000000000017A4
Pause 0x00000000000017B0
SkipForward 0x000000000000179E
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
Asterix 0x000000000000178A
0 0x0000000000001780
# 0x000000000000178E
Red 0x000000000000178B
Green 0x00000000000017AE
Yellow 0x00000000000017B8
Blue 0x00000000000017A9
end codes

end remote
Quote:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 10, 2006 6:28 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
A few things I notice... I recently did a clean install of R5A30 and I have ivtv version 0.4.0. You're showing ivtv 0.3.8. Maybe you need to upgrade to 0.4.0?
Quote:
ivtv: version 0.3.8 (tagged release) loading


Re: black & white picture and no sound... Does your XF86Config-4 specifiy NTSC or PAL tv standard? If you're in Canada, it should be NTSC. Is the audio output of your cable/satellite receiver box plugged directly into your PVR-150?

Re: chan_change.sh
Did you change your permissions so user MythTV can execute it?
Code:
# chmod 755 /usr/local/bin/chan_change.sh

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject: hey hey
PostPosted: Tue Jan 10, 2006 6:47 pm 
Offline
Joined: Tue Jan 10, 2006 2:36 pm
Posts: 5
Hey

Thanks soo much for the reply.... Ive been thinking of going to 0.40, but want to try a few things before that.

I managed to get the remote to kick off the script by adding a $1 at the end. Im not sure if its a required parameter but it sure made mine work.

So for the external channel change command I did change
"/bin/change.sh" to "/bin/change.sh $1" , without the quotes :).


Ive been getting somewhere with trial and error in regards to the video working with sound, or black and white video and no sound


After about 3 reboots, and running this in the console

rmmod lirc_pvr150
rmmod lirc_dev
modprobe lirc_pvr150
and restarting X (ctrl + alt + del), I get into myth and it works perfectly... with the exception of the blue bar around 2 sides of the screen, but im sure thats just an X setting.

Im thinking my XF86Config is set to NTSC... ill verify this and yes the audio is hooked into my PVR150... and as I said when the picture is color it works perfecly, when its black n white ... it does not. strange.

EDIT: just checked the configs, im running on SVIDEO out off the card btw, at 1024X768 to a projection screen, changing HZ doesn't seem to make a difference....

Ill keep post here if I make any more progress. If anyone has any more ideas please let me know.... thanks

JC


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 9:29 pm 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
mihanson wrote:
... I recently did a clean install of R5A30...

I noticed you have the non-mce PVR-150. Are you using the 'silver' remote. And if so, what did you select when you did your installation? The choices were:
a) black
b) grey
c) silver - A415-HPG
d) PVR-150 w/ ir transmitter & receiver
e) radio shack remote

I've been reading lately about using the 'grey' selection, but then I read the latest R5A30 release notes and it seems they've updated "New lircd.conf and lircrc for "silver" remote."

Thanks in advance!


Top
 Profile  
 
 Post subject: Hey
PostPosted: Wed Jan 11, 2006 9:47 pm 
Offline
Joined: Tue Jan 10, 2006 2:36 pm
Posts: 5
I do actually have the silver remote, 44 buttons? or so. I picked "d" when I installed it. I'll try grey, but I think it has less buttons ? ... the config which i posed for the most part all the buttons work. My biggest issue at the moment is getting the box to work when its booted. It will not work on a clean boot with out "fiddling". :(

I didn't have time tonite to try and changes, but tommorow I hope to

Ill keep everyone posted....

Let me know if you have any ideas....

JC


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu