SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-28-2007, 06:36 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
SageTV with Ubuntu 7.04

Hello,

I'm a long time lurker and try to figure things out for myself using search features, Google etc and 99% of the time I'm successful but I have run into a wall using the Linux version of SageTV on Ubuntu 7.04. I love using SageTV and I really like using Ubuntu.

I have 2 problems I would like to ask for help with. I was under the impression that SageTV worked with the Aver A180 and the IR Blaster of the PVR-150 and cannot get either to work. All the info I find refers to MythTV and other versions of Linux. When I try to follow them, I don't get anywhere.

1) Does anyone have experience with getting the A180 to work with SageTV running on Ubuntu 7.04 and can point me in the right direction?

2) I can use the PVR-150 fine but I don't see the IR blaster port to change channels on the cable box. Is there something I have to do to get Sage to see the port?


Thanks for ANY help!

Rick
Reply With Quote
  #2  
Old 06-28-2007, 07:39 PM
rz888951 rz888951 is offline
Sage User
 
Join Date: Jun 2007
Posts: 18
Rick,

I've got a very similar setup running with Ubuntu 7.04.

Don't have the A180, but for my HDTV card(fusion 5 lite) I had to load a DVB(dvb_bt8xx) module for the card to get it to work. Ubuntu found the card without doing anything, but listed it as /dev/videoX. When I loaded the DVB module for my card it showed up as videoX and adapter0. Adapter0 is the correct entry. Have you tried to load the DVB module listed in this thread?

http://forums.sagetv.com/forums/showthread.php?t=24761

As for the blaster, I had to load the module i2c_dev. However, that was not enough. i2c_dev creates entries in /dev/i2c-x in Ubuntu. Sage seems to want them in /dev/i2c/x (I assume this is the way Gentoo implements). So I had to create symlinks from /dev/i2c-x to /dev/i2c/x. I used this post as reference.

http://forums.sagetv.com/forums/show...hlight=blaster

Hope that helps
Reply With Quote
  #3  
Old 06-29-2007, 05:55 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Hi rz888951,

Thank you for the reply!

Yep, I saw both threads. I used the one about the A180 along with this info I found in a blog. http://www.jnewcastle.com/blog/2006/...180-on-ubuntu/
I have 2.6.20 kernel so I substituted 20 for 15 and got all the way through. I do see adaptor0 in Sage and can add it but a channel scan produces nothing. dmesg shows a "nxt2004: timeout waiting for tuner lock" over and over. I think my problem has to do with nxt2004. When I follow the directions in the link above substituting my kernel version number I don't get any errors during the installation.

I did see the IR Blaster link as well. I'm not sure what was meant by:

"Had to create additional Dev ln's.

1 -> /dev/i2c-1
2 -> /dev/i2c-2"

I found some info about mknod and tried to use it but it said I was missing arguments.

I had a nice system using WindowsXP, 3 SD tuners, 1 HD tuner, 1 Plextor M402 for capturing from the cable box and a USB-UIRT. It was working well but I decided to save money and use Linux rather than keep paying MS, I was itchin to upgrade to Vista. So far with the money I spent on the linux version of Sage and the PVR-150 to get the IR Blaster I should have just payed MS for the basic home version and been done with it. Now I have less funtionality but I have had fun messing with Linux and learned a lot so I'm not complaining really. I knew it would be a challange and since I have been able to keep wiz.bin and the GF's recordings I haven't missed a beat in her eyes! So far she hasn't asked to watch any DVD's! LOL.
Reply With Quote
  #4  
Old 06-29-2007, 07:38 PM
rz888951 rz888951 is offline
Sage User
 
Join Date: Jun 2007
Posts: 18
Bummer about the A180, hopefully someone else around here will be able to help with that one. I know your feelings about Linux, it can be a bumpy road at times, but I think it's worth it.

As for the blaster. Here is what I would do.

sudo modprobe i2c_dev
that will create all of the /dev/i2c-x devices, no need for mknod
sudo apt-get install lm-sensors - that will give you a command i2cdetect
i2cdetect -l should give you output like

i2c-5 unknown NVIDIA i2c adapter 2 at 1:00.0 Algorithm unavailable
i2c-4 unknown NVIDIA i2c adapter 1 at 1:00.0 Algorithm unavailable
i2c-3 unknown NVIDIA i2c adapter 0 at 1:00.0 Algorithm unavailable
i2c-2 unknown ivtv i2c driver #0 Algorithm unavailable
i2c-1 unknown bt878 #0 [sw] Algorithm unavailable
i2c-0 unknown SMBus ALi 1563 Adapter @ 0400 Algorithm unavailable

IVTV i2c is the blaster. Create a symlink for i2c-2.
sudo mkdir /dev/i2c
sudo ln -s /dev/i2c-2 /dev/i2c/2
Sage should now see the blaster (off of port 3 in this example, but I would try multiple).

Other note: *The above will not persist after a reboot and the blaster port can change. Several steps are needed to correct both of those issues.

Last edited by rz888951; 06-29-2007 at 07:41 PM.
Reply With Quote
  #5  
Old 06-30-2007, 07:56 AM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
For the A180 problem did you install the firmware properly and does dmesg show it loaded the firmware?

_Demo_
Reply With Quote
  #6  
Old 06-30-2007, 08:30 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
@ rz888951,

Thank you! That did the trick for the PVR-150 IR Blaster. I can change the channel on the cable box.

@ _Demo_

Hi _Demo_, thanks for the reply,

This is what I did:

apt-get install linux-doc-2.6.20
cd /usr/share/doc/linux-doc-2.6.20/Documentation/dvb
gzip -d get_dvb_firmware.gz
chmod +x get_dvb_firmware
./get_dvb_firmware nxt2004
cp dvb-fe-nxt2004.fw /lib/firmware
modprobe saa7134-dvb

added blacklist saa7134 to /etc/modprobe.d/blacklist
added saa7134-dvb to /etc/modules

I do have the dvb-fe-nxt2004.fw in /lib/firmware. When I use dmesg I don't see that it loaded the firmware. When I start Sage I do see adaptor0 and when I attempt to add it THEN I see the firmware load in dmesg BUT I start seeing:

[ 1054.407297] nxt2004: Waiting for firmware upload (dvb-fe-nxt2004.fw)...
[ 1054.608284] nxt2004: Waiting for firmware upload(2)...
[ 1056.257786] nxt2004: Firmware upload complete
[ 1060.457745] nxt2004: timeout waiting for tuner lock
[ 1064.413828] nxt2004: timeout waiting for tuner lock
[ 1068.357910] nxt2004: timeout waiting for tuner lock
[ 1072.273992] nxt2004: timeout waiting for tuner lock

and I also see this:

[ 64.331170] tuner 5-0061: tuner type not set
[ 64.331174] tuner 5-0061: tuner type not set


Rick
Reply With Quote
  #7  
Old 06-30-2007, 02:41 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Are you trying QAM or ATSC?

I don't have an A180, but look at these lines for your adapter0 (your numbers will likely be different):

Code:
mmc/encoders/-1306016063/100/0/tuning_mode=Cable
mmc/encoders/-1306016063/broadcast_standard=QAM
mmc/encoders/-1306016063/device_class=DVB
B
Reply With Quote
  #8  
Old 06-30-2007, 07:06 PM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Are you trying QAM or ATSC?

I don't have an A180, but look at these lines for your adapter0 (your numbers will likely be different):

Code:
mmc/encoders/-1306016063/100/0/tuning_mode=Cable
mmc/encoders/-1306016063/broadcast_standard=QAM
mmc/encoders/-1306016063/device_class=DVB
B

Yep, I have those set in Sage Properties. The number 1306016063 is the same as yours.

I don't think my problem is Sage, I think it is a driver problem. I can see the card in Sage as adaptor0 and I can add it with Digital TV Tuner. I never get a picture or sound though and no channels when I do a channel scan.

When I use dmesg I see these errors over and over when Sage is running and I have tried to add the tuner

[ 1060.457745] nxt2004: timeout waiting for tuner lock
[ 1064.413828] nxt2004: timeout waiting for tuner lock
[ 1068.357910] nxt2004: timeout waiting for tuner lock
[ 1072.273992] nxt2004: timeout waiting for tuner lock

and these but less frequently:

[ 64.331170] tuner 5-0061: tuner type not set
[ 64.331174] tuner 5-0061: tuner type not set

If I reboot I don't see those errors until I try to use the tuner. I think I am missing something to set the tuner type? I have seen modprobe saa7134-dvb card=75 tuner=42 commands and tried them but they don't help.

Rick
Reply With Quote
  #9  
Old 06-30-2007, 07:56 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Who is your provider?
Reply With Quote
  #10  
Old 06-30-2007, 08:03 PM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Who is your provider?
Comcast for about a year now. Was Adelphia.
Reply With Quote
  #11  
Old 06-30-2007, 08:11 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Wonder if you need to be using HRC for scanning? If that is the case, I think it is broken... But fixed, just not released.. http://forums.sagetv.com/forums/showthread.php?t=25571

B
Reply With Quote
  #12  
Old 07-01-2007, 07:02 PM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Wonder if you need to be using HRC for scanning? If that is the case, I think it is broken... But fixed, just not released.. http://forums.sagetv.com/forums/showthread.php?t=25571

B
Yep, I had seen the thread but it dealt with SD so I didn't try it. I can see the cable fine on the PVR 500 and the 150. Since you suggested it though I did try it today with the same result though. In my searching for the answer I think the problem is only with Ubuntu. It seems lots of people have the A180 working with other flavours of Linux and MythTV.

I would love to see Linux take off and become a real choice for real people not just computer geeks like myself. I can certainly see why there would be confusion with so many different versions but I think Ubuntu has a chance of doing that. Especially with Dell selling computers with Ubuntu and that Ubuntu and Linspire are teaming up and using Linspire's CNR technology. I guess that is why I want to get SageTV working with Ubuntu and not just give in and load Gentoo or go back to Windows.
Reply With Quote
  #13  
Old 07-01-2007, 08:07 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
I am using Gentoo 2007.0, I like it because it is a very small foot print. I am also running the latest kernel. Do you think you have a driver issue?

try
Code:
modprobe saa7134 card=75
modprobe saa7134-dvb
based on http://mythtv.org/pipermail/mythtv-u...ne/182604.html

fwiw the fusion5 lite requires the analog driver to load the dvb.

b
Reply With Quote
  #14  
Old 07-02-2007, 06:57 PM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
I am using Gentoo 2007.0, I like it because it is a very small foot print. I am also running the latest kernel. Do you think you have a driver issue?

try
Code:
modprobe saa7134 card=75
modprobe saa7134-dvb
based on http://mythtv.org/pipermail/mythtv-u...ne/182604.html

fwiw the fusion5 lite requires the analog driver to load the dvb.

b
Well, I tried it but I still get the same result. I really think it has to with the tuner type not being set. I keep seeing a "tuner type not set" error when I use dmesg while trying to add adaptor0 in Sage. Then I see this "timeout waiting for tuner lock" repeated every second or so. I've Googled the crap outta these errors and now I see links to my own posts here in my Google searches.

I could try loading Gentoo. I really don't know that much about it since I threw myself into Ubuntu a few weeks ago even got a couple people to convert to Ubuntu. All they ever did was web browse and email, works great on older P4s and P3s that are just crawling along running XP that hasn't been defragged, ever or cleaned of trojans, etc. Even loaded Beryl on them. Now they run like new computers, fancy graphics and all. I was surprised at how well they run now.

I'll go download it and burn it. If I can't get the A180, Sage and Ubuntu to work together then I'll try Gentoo this weekend.

Thanks for your suggestions by the way.

Rick
Reply With Quote
  #15  
Old 07-03-2007, 07:49 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Tuner is a Alps TDHU2 according to some threads I read. Would you mind posting your dmesg, lspci, and lsmod output as a text file? Also, your kernel config too.

Thanks!

B

Available tuner types in 2.6.21:
Quote:
#define TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */
#define TUNER_PHILIPS_PAL_I 1
#define TUNER_PHILIPS_NTSC 2
#define TUNER_PHILIPS_SECAM 3 /* you must actively select B/G, L, L` */
#define TUNER_ABSENT 4
#define TUNER_PHILIPS_PAL 5
#define TUNER_TEMIC_NTSC 6 /* 4032 FY5 (3X 7004, 9498, 9789) */
#define TUNER_TEMIC_PAL_I 7 /* 4062 FY5 (3X 8501, 9957) */
#define TUNER_TEMIC_4036FY5_NTSC 8 /* 4036 FY5 (3X 1223, 1981, 7686) */
#define TUNER_ALPS_TSBH1_NTSC 9
#define TUNER_ALPS_TSBE1_PAL 10
#define TUNER_ALPS_TSBB5_PAL_I 11
#define TUNER_ALPS_TSBE5_PAL 12
#define TUNER_ALPS_TSBC5_PAL 13
#define TUNER_TEMIC_4006FH5_PAL 14 /* 4006 FH5 (3X 9500, 9501, 7291) */
#define TUNER_ALPS_TSHC6_NTSC 15
#define TUNER_TEMIC_PAL_DK 16 /* 4016 FY5 (3X 1392, 1393) */
#define TUNER_PHILIPS_NTSC_M 17
#define TUNER_TEMIC_4066FY5_PAL_I 18 /* 4066 FY5 (3X 7032, 7035) */
#define TUNER_TEMIC_4006FN5_MULTI_PAL 19 /* B/G, I and D/K autodetected (3X 7595, 7606, 7657) */
#define TUNER_TEMIC_4009FR5_PAL 20 /* incl. FM radio (3X 7607, 7488, 7711) */
#define TUNER_TEMIC_4039FR5_NTSC 21 /* incl. FM radio (3X 7246, 7578, 7732) */
#define TUNER_TEMIC_4046FM5 22 /* you must actively select B/G, D/K, I, L, L` ! (3X 7804, 7806, 8103, 8104) */
#define TUNER_PHILIPS_PAL_DK 23
#define TUNER_PHILIPS_FQ1216ME 24 /* you must actively select B/G/D/K, I, L, L` */
#define TUNER_LG_PAL_I_FM 25
#define TUNER_LG_PAL_I 26
#define TUNER_LG_NTSC_FM 27
#define TUNER_LG_PAL_FM 28
#define TUNER_LG_PAL 29
#define TUNER_TEMIC_4009FN5_MULTI_PAL_FM 30 /* B/G, I and D/K autodetected (3X 8155, 8160, 8163) */
#define TUNER_SHARP_2U5JF5540_NTSC 31
#define TUNER_Samsung_PAL_TCPM9091PD27 32
#define TUNER_MT2032 33
#define TUNER_TEMIC_4106FH5 34 /* 4106 FH5 (3X 7808, 7865) */
#define TUNER_TEMIC_4012FY5 35 /* 4012 FY5 (3X 0971, 1099) */
#define TUNER_TEMIC_4136FY5 36 /* 4136 FY5 (3X 7708, 7746) */
#define TUNER_LG_PAL_NEW_TAPC 37
#define TUNER_PHILIPS_FM1216ME_MK3 38
#define TUNER_LG_NTSC_NEW_TAPC 39
#define TUNER_HITACHI_NTSC 40
#define TUNER_PHILIPS_PAL_MK 41
#define TUNER_PHILIPS_ATSC 42
#define TUNER_PHILIPS_FM1236_MK3 43
#define TUNER_PHILIPS_4IN1 44 /* ATI TV Wonder Pro - Conexant */
#define TUNER_MICROTUNE_4049FM5 45
#define TUNER_PANASONIC_VP27 46
#define TUNER_LG_NTSC_TAPE 47
#define TUNER_TNF_8831BGFF 48
#define TUNER_MICROTUNE_4042FI5 49 /* DViCO FusionHDTV 3 Gold-Q - 4042 FI5 (3X 8147) */
#define TUNER_TCL_2002N 50
#define TUNER_PHILIPS_FM1256_IH3 51
#define TUNER_THOMSON_DTT7610 52
#define TUNER_PHILIPS_FQ1286 53
#define TUNER_PHILIPS_TDA8290 54
#define TUNER_TCL_2002MB 55 /* Hauppauge PVR-150 PAL */
#define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */
#define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */
#define TUNER_YMEC_TVF_8531MF 58
#define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */
#define TUNER_THOMSON_DTT761X 60 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
#define TUNER_TENA_9533_DI 61
#define TUNER_TEA5767 62 /* Only FM Radio Tuner */
#define TUNER_PHILIPS_FMD1216ME_MK3 63
#define TUNER_LG_TDVS_H06XF 64 /* TDVS H061F, H062F, H064F */
#define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */
#define TUNER_LG_TALN 66
#define TUNER_PHILIPS_TD1316 67
#define TUNER_PHILIPS_TUV1236D 68 /* ATI HDTV Wonder */
#define TUNER_TNF_5335MF 69 /* Sabrent Bt848 */
#define TUNER_SAMSUNG_TCPN_2121P30A 70 /* Hauppauge PVR-500MCE NTSC */
#define TUNER_XCEIVE_XC3028 71
#define TUNER_THOMSON_FE6600 72 /* DViCO FusionHDTV DVB-T Hybrid */
#define TUNER_SAMSUNG_TCPG_6121P30A 73 /* Hauppauge PVR-500 PAL */
#define TUNER_TDA9887 74 /* This tuner should be used only internally */

Last edited by bcjenkins; 07-03-2007 at 08:05 AM.
Reply With Quote
  #16  
Old 07-04-2007, 10:12 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Tuner is a Alps TDHU2 according to some threads I read. Would you mind posting your dmesg, lspci, and lsmod output as a text file? Also, your kernel config too.

Thanks!

B

Available tuner types in 2.6.21:
Here are the files. Thanks for having a look! I do appreciate it.

I was under the impression that the tuner type was a number and set like tuner=42 as an example? Oh well, thanks again for looking and your suggestions!
Attached Files
File Type: zip rick - system stuff.zip (13.6 KB, 269 views)
Reply With Quote
  #17  
Old 07-04-2007, 10:49 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Code:
modprobe saa7134 card=75 tuner=68
modprobe saa7134_dvb
From what I have read, ALPS supports the same instruction set as the PHILIPS_TUV1236D. This card is often lumped in with the ATI HDTV Wonder. The tuner numbers are in the list I posted, but the formatting was lost.

Make sure you are not still blacklisting the saa7134 module so it can load with the parameters above. But for now:

Code:
rmmod saa7134_alsa
rmmod saa7134_dvb
rmmod saa7134
modprobe saa7134 card=75 tuner=68
modprobe saa7134_dvb
dmesg | tail
B
Reply With Quote
  #18  
Old 07-05-2007, 11:16 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Code:
modprobe saa7134 card=75 tuner=68
modprobe saa7134_dvb
From what I have read, ALPS supports the same instruction set as the PHILIPS_TUV1236D. This card is often lumped in with the ATI HDTV Wonder. The tuner numbers are in the list I posted, but the formatting was lost.

Make sure you are not still blacklisting the saa7134 module so it can load with the parameters above. But for now:

Code:
rmmod saa7134_alsa
rmmod saa7134_dvb
rmmod saa7134
modprobe saa7134 card=75 tuner=68
modprobe saa7134_dvb
dmesg | tail
B
Well, that kind of helped. I don't get the tuner not set error anymore after doing what you said here. I did remove the blacklist entry. I do keep getting the "timeout waiting for tuner lock" error though when I try to access the tuner through Sage. I'm closer.
Reply With Quote
  #19  
Old 07-05-2007, 12:35 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by dranockcir View Post
Well, that kind of helped. I don't get the tuner not set error anymore after doing what you said here. I did remove the blacklist entry. I do keep getting the "timeout waiting for tuner lock" error though when I try to access the tuner through Sage. I'm closer.
Can you post the dmesg output again?

Thanks,

B
Reply With Quote
  #20  
Old 07-07-2007, 09:32 AM
dranockcir dranockcir is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Jupiter, FL
Posts: 137
Quote:
Originally Posted by bcjenkins View Post
Can you post the dmesg output again?

Thanks,

B
Hi B,

Sorry for the delay. Here is dmesg after a clean boot with Sage not running.

Rick
Attached Files
File Type: txt dmesg.txt (32.4 KB, 317 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem:Linux 7.04 Placeshifter window won't resize tlimon SageTV Placeshifter 11 09-10-2007 09:58 PM
Ubuntu 7.04 and SageTv Linux 6.1 Box8489 SageTV Linux 7 06-01-2007 07:25 PM
What versions of Linux can be used? InTheFlow SageTV Linux 8 05-16-2007 06:56 PM
6.0 & Ubuntu Feisty - cant change channel on hauppage 500 kambo SageTV Linux 5 03-28-2007 08:42 AM
SageTV on Ubuntu ecoolman SageTV Linux 5 02-01-2007 11:49 PM


All times are GMT -6. The time now is 01:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.