View previous topic :: View next topic |
Author |
Message |
Nigredo Tux's lil' helper
Joined: 30 Jul 2005 Posts: 78 Location: UESR/PL
|
Posted: Wed Dec 06, 2006 8:09 pm Post subject: HOWTO: Hauppauge HVR1100 with Philips SAA7133 [v1.1] |
|
|
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:
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 |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Sat Dec 09, 2006 8:28 pm Post subject: |
|
|
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 |
|
|
ColinK Tux's lil' helper
Joined: 30 Dec 2005 Posts: 142
|
Posted: Mon Jan 29, 2007 12:50 am Post subject: |
|
|
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 |
|
|
Fool2cool n00b
Joined: 03 Feb 2007 Posts: 2
|
Posted: Sat Feb 03, 2007 4:27 pm Post subject: |
|
|
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 |
|
|
ColinK Tux's lil' helper
Joined: 30 Dec 2005 Posts: 142
|
Posted: Sun Feb 04, 2007 2:45 pm Post subject: |
|
|
So, what doesn't work yet? Is everything fine now? |
|
Back to top |
|
|
mrpete Apprentice
Joined: 01 Sep 2003 Posts: 184
|
Posted: Sun Jun 10, 2007 8:49 pm Post subject: |
|
|
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 |
|
|
mrpete Apprentice
Joined: 01 Sep 2003 Posts: 184
|
|
Back to top |
|
|
Sensenmann n00b
Joined: 19 May 2003 Posts: 26 Location: Wiesbaden
|
|
Back to top |
|
|
cfloeter n00b
Joined: 29 Jul 2005 Posts: 12 Location: Germany
|
Posted: Wed Aug 29, 2007 10:24 pm Post subject: |
|
|
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 |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Wed Oct 10, 2007 5:40 am Post subject: |
|
|
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 |
|
|
arterius n00b
Joined: 03 Nov 2006 Posts: 39
|
Posted: Thu Oct 18, 2007 9:23 pm Post subject: |
|
|
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? |
|
Back to top |
|
|
cfloeter n00b
Joined: 29 Jul 2005 Posts: 12 Location: Germany
|
Posted: Fri Dec 28, 2007 1:52 pm Post subject: |
|
|
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 |
|
|
|