|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
For the A180 problem did you install the firmware properly and does dmesg show it loaded the firmware?
_Demo_ |
#6
|
|||
|
|||
@ 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 |
#7
|
|||
|
|||
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 |
#8
|
|||
|
|||
Quote:
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 |
#9
|
|||
|
|||
Who is your provider?
|
#10
|
|||
|
|||
Comcast for about a year now. Was Adelphia.
|
#11
|
|||
|
|||
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 |
#12
|
|||
|
|||
Quote:
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. |
#13
|
|||
|
|||
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 fwiw the fusion5 lite requires the analog driver to load the dvb. b |
#14
|
|||
|
|||
Quote:
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 |
#15
|
|||
|
|||
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:
Last edited by bcjenkins; 07-03-2007 at 08:05 AM. |
#16
|
|||
|
|||
Quote:
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! |
#17
|
|||
|
|||
Code:
modprobe saa7134 card=75 tuner=68 modprobe saa7134_dvb 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 |
#18
|
|||
|
|||
Quote:
|
#19
|
|||
|
|||
Quote:
Thanks, B |
#20
|
|||
|
|||
Hi B,
Sorry for the delay. Here is dmesg after a clean boot with Sage not running. Rick |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |