Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Hauppauge HVR1100 with Philips SAA7133 [v1.1]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Nigredo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2005
Posts: 78
Location: UESR/PL

PostPosted: Wed Dec 06, 2006 8:09 pm    Post subject: HOWTO: Hauppauge HVR1100 with Philips SAA7133 [v1.1] Reply with quote

A few weeks ago I bought a hybrid (analog + DVB-T) tuner Hauppage HVR1100. The reason I chose this one was that there is a simple howto on Gentoo Wiki, so I thought there wouldn't be any problems running it. I was wrong.

The problem was that instead of Connexant CX88 chip there is Philips SAA7133 (there are two HVR1100 cards). It also works under Linux, but it's a bit harder to get it running. To make you feel better I have some good news:
Gentoo Wiki wrote:
I can't get the radio support to work. It appears it's not ready. The kernel diver file says : /* FIXME, add radio support */ But it seems it's coming.

The FM Radio works! //see below

1. Kernel configuration
It's gonna be different as SAA713x driver from kernel don't support this card. There's no reason to panic. It is supported by live development version.
Code:
Device drivers --> Multimedia devices --> <M> Video for Linux
--> Digital Video Broadcasting for Linux --> [*] DVB for Linux

This is all we need from kernel. The device drivers will be installed separately:
Code:
emerge v4l-dvb-hg

This card needs the package with firmware to be installed. In make.conf file add:
Code:
DVB_CARDS="tda1004x"

And then:
Code:
emerge linuxtv-dvb-firmware

We may need to add modules to /etc/modules-autoload.d/kernel-2.6 file:
Code:

dvb-core
saa7134
saa7134-alsa
saa7134-dvb

I don't know whether it is necessary, but I added this to /etc/modules.d/saa7134:
Code:
options saa7134 i2c_scan=1 card=104 nicam=1

After these steps the following devices should appear:
Code:
ls /dev/v4l
radio0  vbi0  video0

And:
Code:
ls /dev/dvb/adapter0
demux0  dvr0  frontend0  net0

lsmod should show:
Code:
Module                  Size  Used by
saa7134_dvb            15428  0
dvb_pll                11396  1 saa7134_dvb
video_buf_dvb           3972  1 saa7134_dvb
tda1004x               12228  2 saa7134_dvb
firmware_class          6656  2 saa7134_dvb,tda1004x
saa7134_alsa            9024  0
tuner                  50984  0
saa7134               101856  2 saa7134_dvb,saa7134_alsa
video_buf              17220  4 saa7134_dvb,video_buf_dvb,saa7134_alsa,saa7134
compat_ioctl32          1088  1 saa7134
ir_kbd_i2c              6032  1 saa7134
ir_common              24964  2 saa7134,ir_kbd_i2c
videodev               18304  1 saa7134
v4l1_compat            11140  2 saa7134,videodev
v4l2_common            18368  3 tuner,saa7134,videodev
dvb_core               61864  1 video_buf_dvb
i2c_isa                 3328  1 w83627hf

2. Analog TV
There is the same problem as with the card with CX88. We need to do:
Code:
arecord -D hw:1,0 -c 2 -r 32000 -f S16_LE -t wav | aplay -

To hear the sound using TVtime.
3. FM Radio
It works, but with with the same issue as analog TV. You also need to run arecord. For me gradio hangs. If you experience such problems try GQradio.
4. DVB-T
You will need to use dvbscan:
Code:
dvbscan /usr/share/dvb/dvb-t/[YOURCITY] > channels.conf

If you can't find your location there, you can try using w_scan. It should return needed parameters, but some of them may be wrong (for me it was FEC).
After you manage to get a proper channels.conf file try access a specific channel:
Code:
mplayer dvb://[NAME OF THE CHANNEL]
kaffeine : dvb://[NAME OF THE CHANNEL]

4. Software
media-tv/v4l-dvb-hg-0.1-r2
media-tv/linuxtv-dvb-firmware-2006.11.13
media-tv/linuxtv-dvb-apps-1.1.1.20060917
media-tv/w_scan-20060903
sys-kernel/gentoo-sources-2.6.18-r3
Links
V4L-Wiki: SAA7134-alsa - some useful tips (e.g. how to watch or record it with MPlayer)


Last edited by Nigredo on Sun Jan 07, 2007 7:02 pm; edited 2 times in total
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 873
Location: Hamburg, Germany

PostPosted: Sat Dec 09, 2006 8:28 pm    Post subject: Reply with quote

The article about the HVR 1100 in the gentoo wiki already has a section about how to get the remote control working.
Back to top
View user's profile Send private message
ColinK
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 142

PostPosted: Mon Jan 29, 2007 12:50 am    Post subject: Reply with quote

I had alot of trouble getting this Card working with MythTV.

This is what I did:

I DEACTIVATED V4L & DVB in my Kernel Configuration, because the v4l-dvb-hg package seems to ship a later version of some drivers.

I then emerged v4l-dvb-hg and linuxtv-dvb-{apps firmware headers}
with dvb_cards_tda1004x-Useflag for DVB-T support.

/etc/modules.autoload.d/kernel-2.6:
saa7134 card=104 tuner=54 video_nr=1 vbi_nr=1 radio_nr=1
saa7134-alsa index=1
saa7134-dvb


video_nr=vbi_nr=radio_nr=index=1 was neccessary for saa7134-alsa to load correctly because I have another soundcard (which blocks "index=0").

Sound:
This has less delay than arecord ... | aplay -:
sox -r 32000 -w -t alsa hw:1,0 -t alsa default


MythTV:
LiveTV was jerky (like Stop and Go) until I changed the Recording-Resolution from 420x420 to 720x576 (which is full PAL).

I hope this is of use to anyone. :)
Back to top
View user's profile Send private message
Fool2cool
n00b
n00b


Joined: 03 Feb 2007
Posts: 2

PostPosted: Sat Feb 03, 2007 4:27 pm    Post subject: Reply with quote

Ive Tried both methods here and still cant get the Damn thing to show up, using the first method it complains that it cant load the modules. im at my wits end having tried both Modules as well the Saa7134 and the CX88 one suggested in the wiki. Does anyone have any ideas that could help me get this working.

EDIT
ok the modules load fine i just dont have /dev/dvb for some reason :S

EDIT2
Solved it, had to remove the nicam=1 option and then it all worked smoothly
Back to top
View user's profile Send private message
ColinK
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 142

PostPosted: Sun Feb 04, 2007 2:45 pm    Post subject: Reply with quote

So, what doesn't work yet? Is everything fine now?
Back to top
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Sun Jun 10, 2007 8:49 pm    Post subject: Reply with quote

My emerge bombs out when I try to install the firmware:-

Code:
>>> Downloading 'http://www.technotrend.de/new/217g/tt_Premium_217g.zip'
--21:48:17--  http://www.technotrend.de/new/217g/tt_Premium_217g.zip
           => `/usr/portage/distfiles/tt_Premium_217g.zip'
Resolving www.technotrend.de... 88.198.155.229
Connecting to www.technotrend.de|88.198.155.229|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:48:17 ERROR 404: Not Found.


Anyone know where else I can get it?
Back to top
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Thu Jun 14, 2007 10:04 am    Post subject: Reply with quote

The download site seems to have moved. I got lucky with the following:-

http://www.technotrend-online.com/download/software/217/tt_budget_217g.zip

http://www.technotrend-online.com/download/software/217/tt_premium_217g.zip

Move both files into /usr/portage/distfiles and rename tt_premium_217g.zip to tt_Premium_217g.zip and you should be ok
Back to top
View user's profile Send private message
Sensenmann
n00b
n00b


Joined: 19 May 2003
Posts: 26
Location: Wiesbaden

PostPosted: Sun Jul 22, 2007 2:58 pm    Post subject: Reply with quote

http://deela.cc.fh-lippe.de/files/linuxtv-dvb-firmware/

this is another mirror... and mucho faster

best Regards
Back to top
View user's profile Send private message
cfloeter
n00b
n00b


Joined: 29 Jul 2005
Posts: 12
Location: Germany

PostPosted: Wed Aug 29, 2007 10:24 pm    Post subject: Reply with quote

I tried the above, but emerging linuxtv-dvb-firmware gives me:
Quote:
!!! Digest verification failed:
!!! /usr/portage/distfiles/Technisat_DVB-PC_4_4_COMPACT.zip
!!! Reason: Filesize does not match recorded size
!!! Got: 20589158
!!! Expected: 5058048

It's actually 20Mb that this emerge loads before giving this error.

Any ideas what I can do about this?

EDIT: Ok, sorted this. The Manifest file of this ebuild contained wrong data. I found another one on the net and added it to my overlay. The ebuild then finished successfully.
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 461
Location: London,UK

PostPosted: Wed Oct 10, 2007 5:40 am    Post subject: Reply with quote

Thanks for the excellent guide. The only issue left with 1100 is that the Line-in doesnt work. I have an external audio sources which i have plugged in into the Line-in of 1100. In alsamixer i have increased the volumes to max on Line , Line 2 and video. The capture is also set on all three of them. However, there is no audio coming of the speakers. I I did use the arecord and sox commands as given in the gentoo wiki.

Does anybody know how to get the line-in working?
Back to top
View user's profile Send private message
arterius
n00b
n00b


Joined: 03 Nov 2006
Posts: 39

PostPosted: Thu Oct 18, 2007 9:23 pm    Post subject: Reply with quote

Thanks for the wiki even though some info is not up to date anymore.

All modules for example can be compiled into the kernel.

Analog video quality is pretty good but I have some issues with the sound.

Code:
 arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | aplay -


After about 20-30 minutes I have to pause shortly and reissue the command.

Is an upgrade to the 1300 Version of the card with a hardware decoder worth it? :D
Back to top
View user's profile Send private message
cfloeter
n00b
n00b


Joined: 29 Jul 2005
Posts: 12
Location: Germany

PostPosted: Fri Dec 28, 2007 1:52 pm    Post subject: Reply with quote

I've been trying audio sample rates >32000 in mplayer/mencoder, but only got distorted sound output.

Seems like the HVR1100 is limited to 16kHz (per channel) audio sampling...
Is there a way to achieve higher sample rates, say, 44100 or 48000?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum