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
  #101  
Old 01-25-2009, 03:53 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Just a follow up:

I was able to move to kernel 2.6.28 on Arch with the newly updated driver merge from Janne. I'll post my steps, but keep in mind I also run 3 HVR-1600s

B
  1. Clone hdpvr tree
  2. Pull latest changes from ~awalls/v4l-dvb @linuxtv.org
  3. Applied patch for ATSC tuner on HVR-1600 from mailing list
  4. built modules
  5. Delete /lib/modules/2.6.28-ARCH/kernel/drivers/media
  6. make install
  7. reboot
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #102  
Old 05-25-2009, 12:19 AM
antpowers antpowers is offline
Sage User
 
Join Date: Apr 2009
Location: New Jersey
Posts: 7
Quote:
Originally Posted by _Demo_ View Post
I have attached a copy of the patch needed for ir blaster support.

_Demo_
Was this patch integrated into the hdpvr driver? How does one configure usage in SageTV?
Reply With Quote
  #103  
Old 05-26-2009, 08:28 AM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
Quote:
Originally Posted by antpowers View Post
Was this patch integrated into the hdpvr driver? How does one configure usage in SageTV?
I don't think it has been. Once you have applied the patch and rebuilt the driver you simply need to configure the source and select Infrared Blaster when you have a choice for your tuning devices then select the i2c device of the hdpvr driver when it asks for the port.

_Demo_
Reply With Quote
  #104  
Old 05-30-2009, 06:22 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Janne has two trees for the driver.

http://hg.jannau.net/hdpvr/
http://hg.jannau.net/hdpvr-merge/

The driver is in the first tree.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #105  
Old 06-05-2009, 08:27 AM
jpappas jpappas is offline
Sage User
 
Join Date: Feb 2007
Location: Texas USA
Posts: 47
PVR-500 compat_ioctl32 Issues

Quote:
Originally Posted by bcjenkins View Post
Just a follow up:

I was able to move to kernel 2.6.28 on Arch with the newly updated driver merge from Janne. I'll post my steps, but keep in mind I also run 3 HVR-1600s
  1. Clone hdpvr tree
  2. Pull latest changes from ~awalls/v4l-dvb @linuxtv.org
  3. Applied patch for ATSC tuner on HVR-1600 from mailing list
  4. built modules
  5. Delete /lib/modules/2.6.28-ARCH/kernel/drivers/media
  6. make install
  7. reboot
I am not sure that this is the right thread for this issue, as I am running PVR-500s, not HD-PVR, but it is all I can find on the compat_ioctl32 issue.

So I upgraded/migrated/comsolidated from a 32-bit and 64-bit systems to just the 64-bit system (both OpenSuse 11.1, 2.6.27.21), with PVR-500, and the mentioned compat_ioctr32 problem has appearently reared up. Oddly, it only effects the second tuner, the first one seems to work fine on a sustained basis, but the other one results in "No Signal", along with the mentioned kernel message and sagetv_0.txt messages.

So I went to apply the patch listed but the file names are different (I have a compat_ioctl32.c, not the needed v4l2-compat-ioctl32.c) so the patch chunks do not seem to apply. I am not that comfortable with my skillz to start changing things around, so any help would be appreciated.

Thanks!
jp
Reply With Quote
  #106  
Old 06-05-2009, 07:33 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
I would do the following (please back up all files you want to keep)
  1. Make sure you can compile drivers with the kernel headers installed
  2. Install Mercurial
  3. Clone the v4l repository
  4. Run make in the new directory
  5. rm all kernel modules in media and down
  6. run make install
  7. reboot computer

High level, I can provide more detail if needed.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #107  
Old 06-08-2009, 10:55 AM
jpappas jpappas is offline
Sage User
 
Join Date: Feb 2007
Location: Texas USA
Posts: 47
V4L-DVB Linux 64-Bit

Quote:
Originally Posted by bcjenkins View Post
  1. Make sure you can compile drivers with the kernel headers installed
  2. Install Mercurial
  3. Clone the v4l repository
  4. Run make in the new directory
  5. rm all kernel modules in media and down
  6. run make install
  7. reboot computer
As usual, you are awesome

Steps accomplished (for posterity):
  1. Make sure you can compile drivers with the kernel headers installed:
    Verify kernel-headers are installed (I keep the src tree installed as well)
  2. Install Mercurial
    `apt-get`, or in my case, `zypper install mercurial`
  3. Clone the v4l repository
    `hg clone http://linuxtv.org/hg/v4l-dvb/`
  4. Run make in the new directory
    `cd v4l-dvb;make`
  5. run make install
    `make install`
  6. reboot computer
    `reboot`

I also took the opportunity to upgrade to Java 1.6.0u14.

Seems to be running fine over the last day or so, clean logs. Only notable (running logs in verbose) entry:
WARNING - MissingResource: "Linux_DVB_Capture_Manager"

Thanks again B!
John
Reply With Quote
  #108  
Old 06-11-2009, 04:49 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
You left out an important step (especially for 64-bit users)

Code:
rm -Rf /lib/modules/`uname -r`/kernel/drivers/media/
prior to install. There was a change in module name for the v4l 32-bit compat layer and if the old version is not removed; it will cause issues. You could use a less brutish method as well, but I think the above is the best and most absolute one.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #109  
Old 06-12-2009, 09:54 AM
whartsell whartsell is offline
Sage User
 
Join Date: May 2008
Posts: 20
anybody running multiple hd-pvrs in 64 bit linux

I just migrated sage from windows to linux (ubuntu 9.04 64bit) and got the hd-pvr setup without a hitch. I plan on adding a second hd-pvr and was wondering if anybody has done this in linux and if their are any potential problems?
Reply With Quote
  #110  
Old 06-12-2009, 11:46 AM
harrijay harrijay is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Wisconsin
Posts: 152
I have had 2 running for quite a while with no problems. Just be aware you might want to setup Udev rules to keep them in the same order if you have other types of tuners
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary
Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk,
A180 using VMDirectPath, 1 xHDHR
Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15
Sun JRE 1.6.0_20
Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated
Clients: 1 Media MVP and 2 STX-HD100
Reply With Quote
  #111  
Old 06-16-2009, 09:12 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
How well does the HD-PVR run on linux? Does it have the same issues of not responding like in Windows if you have AC3 pass-through enabled?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #112  
Old 06-17-2009, 09:46 AM
harrijay harrijay is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Wisconsin
Posts: 152
I have both of mine running with Stereo audio input fixed resoloution of 720p and do not have any problems. I have not really tried the setting of letting the resoloution change depending on the show so I cannot speak for that. I did have them also hooked up via SPDIF without a problem for a while but when i tried to change my receivers to PCM I was getting wierd issues where I would have video but no audio. my thought was that it had something to do with the receiver sending a different audio stream half way through the show but I could not figure out what really happened.
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary
Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk,
A180 using VMDirectPath, 1 xHDHR
Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15
Sun JRE 1.6.0_20
Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated
Clients: 1 Media MVP and 2 STX-HD100
Reply With Quote
  #113  
Old 06-17-2009, 10:16 AM
whartsell whartsell is offline
Sage User
 
Join Date: May 2008
Posts: 20
Quote:
Originally Posted by Taddeusz View Post
How well does the HD-PVR run on linux? Does it have the same issues of not responding like in Windows if you have AC3 pass-through enabled?

I had mine running for a year in windows with AC3 and no issues.
I just moved to ubuntu 9.04 64 and the hd-pvr is working fine with ac3 but it has only been a week in linux
Reply With Quote
  #114  
Old 06-17-2009, 10:24 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I'm considering switching my server to Linux but I'm not sure. It's pretty stable as it is. The only thing I lack is being able to capture surround sound through my HDPVR without stability problems. It is currently capturing PCM audio from my STB and the only issues I have with it come from the STB itself.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #115  
Old 06-17-2009, 11:08 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Once upon a time there were firmware issues with AC3 on the HDPVR related to FiOS boxes. I have not tried it since then and frankly have little use for 5.1 as we hardly watch TV in the theater room.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #116  
Old 06-30-2009, 10:47 AM
psicat psicat is offline
Sage User
 
Join Date: Oct 2006
Posts: 33
Any current known problems with HD-PVR capture?
Can you playback HD-PVR interlaced content (480i/1080i)?
Is VDPAU supported?
Any commercial flagging support (if not, I guess mythcommflag could be used)?

I'm a LinHES (KnoppMyth) developer and I'm considering adding in easy support for SageTV under our Arch based distro. Before I start experimenting, I would appreciate any warning of pitfalls and such. Also, is there a demo license for the Linux version?

Well, I think I have answered all my questions. Looks like Sage is backend only on Linux. And I see some are using commskip under Wine for commerical flagging. Sorry for the noise.

Last edited by psicat; 08-06-2009 at 12:23 PM. Reason: update
Reply With Quote
  #117  
Old 07-09-2009, 09:50 AM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
How do I get linux 2.6.30?

According to the myth wiki http://www.mythtv.org/wiki/Hauppauge_HD-PVR, HDPVR driver is included in the linux kernel by default as of 2.6.30. My ubuntu is telling me that it's 2.6.28. Any idea how one picks up a newer version? Is it in a development tree? What are the steps to get it?
Reply With Quote
  #118  
Old 07-09-2009, 11:11 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I actually just copied and pasted the commands directly out of the wiki that you posted, to build the driver in my Ubuntu 9.04 server.
Reply With Quote
  #119  
Old 07-21-2009, 06:56 PM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
Here are some instructions if someone wants to use the ir blaster with latest linux kernel:

in hdpvr-core.c function hdpvr_probe there is :

#ifdef CONFIG_I2C
/* until i2c is working properly */
retval = 0; /* hdpvr_register_i2c_adapter(dev); */
if (retval < 0) {
v4l2_err(&dev->v4l2_dev, "registering i2c adapter failed\n");
goto error;
}
#endif /* CONFIG_I2C */

that should be changed to put back

retval = hdpvr_register_i2c_adapter(dev);

and also in hdpvr-i2c.c function hdpvr_i2c_write

it says

if (ret == 2)
ret = 0;
else if (ret >= 0)
ret = -EIO;

this should be changed to :

if (ret == 2 && buf[1]==(len-1))
ret = 0;
else if (ret >= 0)
ret = -EIO;

for better reliability.

_Demo_
Reply With Quote
  #120  
Old 09-05-2009, 10:27 PM
hanki hanki is offline
Sage User
 
Join Date: Nov 2006
Posts: 22
Demo

I have followed the thread between you and loonsailor, and think this is the last thing I haven't tried to get the blaster working in linux.

I am not knowledgeable about where this code change is or how to do it. Can you (and I know its annoying when us less technical folk attempt this), lay out the steps to make this change - where is the file, how do I edit it, and compile it in order.

I have been forced to linux because the HD PVR simply does not like the windows box. Even before I get the ir blaster working, it is the first time the darn HD PVR box didn't shut down after changing channels...

any help is welcome.

H
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
HD PVR and IR tuning? Deacon Crusher Hardware Support 39 12-06-2009 11:17 AM
Capture Devices Gone After Reboot hchucky Hardware Support 6 11-14-2008 10:24 PM
SageTV V6.4.2 Public Beta is Here! Narflex SageTV Beta Test Software 3 05-13-2008 08:19 PM
The Beginning of the End? lobosrul General Discussion 76 05-01-2007 06:39 PM


All times are GMT -6. The time now is 09:16 AM.


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