em28xx

Differences between revisions 13 and 14
Revision 13 as of 2007-03-07 03:32:45
Size: 6745
Editor: 165
Comment:
Revision 14 as of 2007-06-10 18:59:04
Size: 6686
Editor: 0x57344dc2
Comment: Shine up
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
officially the [http://www.empiatech.com.tw/pro_em2880.htm em2880] is em2840 + DVB_T (Analogue/DVB-T Hybrid USB Tuner) Officially the [http://www.empiatech.com.tw/pro_em2880.htm em2880] is em2840 + DVB_T (Analogue/DVB-T Hybrid USB Tuner)
Line 12: Line 12:
 * [http://linuxtv.org/v4lwiki/index.php/Em2880/remote Remote control] .. supported
 * VBI (Teletext) .. supported with zapping
 * DVB-T .. supported tested with xine, kaffeine and mplayer
 * [http://linuxtv.org/v4lwiki/index.php/Em2880/remote Remote control] supported
 * VBI (Teletext) supported with zapping
 * DVB-T supported tested with xine, kaffeine and mplayer
Line 24: Line 24:
 * [http://forum.ubuntuusers.de/topic/24001/ Click here for a german installation thread] (just a forum, last posts are usually more uptodate)  * [http://forum.ubuntuusers.de/topic/24001/ Click here for a german installation thread] (just a forum, last posts are usually more up-to-date)
Line 26: Line 26:
 * [http://konstantin.filtschew.de/blog/?p=68 German howto] (Updated 25. Jan. 2007)  * [http://konstantin.filtschew.de/blog/?p=68 German how-to] (Updated 25. Jan. 2007)
Line 28: Line 28:
 * [http://www.marcushellberg.com/pages/projects/digital-tv-in-linux.php another english one] (outdated)  * [http://www.marcushellberg.com/pages/projects/digital-tv-in-linux.php Another english one] (outdated)
Line 30: Line 30:
 * [http://doc.ubuntu-fr.org/materiel/terratec-cinergy-xs French howto] (probably outdated)  * [http://doc.ubuntu-fr.org/materiel/terratec-cinergy-xs French how-to] (probably outdated)
Line 34: Line 34:
 * [http://lunapark6.com/?p=2682 English Ubuntu Edgy Eft & Fedora Core 6 howto for Hauppage WinTV-HVR-950] (Updated 08. Jan. 2007)  * [http://lunapark6.com/?p=2682 English Ubuntu Edgy Eft & Fedora Core 6 how-to for Hauppage WinTV-HVR-950] (Updated 08. Jan. 2007)
Line 38: Line 38:
 * [http://doc.ubuntu-fr.org/materiel/pctv_usb_stick_remote french remote howto]  * [http://doc.ubuntu-fr.org/materiel/pctv_usb_stick_remote French remote how-to]
Line 40: Line 40:
 * (feel free to add alternative howtos here)  * (feel free to add alternative how-tos here)
Line 46: Line 46:
If you have one of the following devices you need to get a copy of the xceive firmware. If you have one of the following devices you need to get a copy of the ''xceive'' firmware.
Line 52: Line 52:
<pre>
sha1sum filename
{{{
$ sha1sum filename
Line 58: Line 58:
</pre> }}}
Line 60: Line 60:
Following devices might need firmware.tgz (if analogue doesn't work out try firmware_v2.tgz or firmware_v3.tgz and please report it to me (mrechberger at gmail.com) it's very likely that some of these devices require firmware_v3 to get audio work ):
<pre>
Following devices might need `firmware.tgz` (if analogue doesn't work out try `firmware_v2.tgz` or `firmware_v3.tgz` and please report it to me ([[MailTo(mrechberger_at_gmail.com)]]). It's very likely that some of these devices require `firmware_v3` to get audio work):
Line 66: Line 66:
</pre>
<pre><nowiki>
cd /lib/firmware
sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware.tgz
sudo tar xvzf firmware.tgz
</nowiki></pre>
Line 73: Line 67:
These devices require firmware v2:
<pre>
{{{
$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware.tgz
$ sudo tar xvzf firmware.tgz
}}}

These devices require `firmware_v2`:
Line 78: Line 78:
</pre>
<pre><nowiki>
cd /lib/firmware
sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v2.tgz
sudo tar xvzf firmware_v2.tgz
</nowiki></pre>

{{{
$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v2.tgz
$ sudo tar xvzf firmware_v2.tgz
}}}
Line 86: Line 86:
These devices require firmware v3: These devices require `firmware_v3`:
Line 92: Line 92:
<pre>
cd /lib/firmware
sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
sudo tar xvzf firmware_v3.tgz
</pre>
Line 98: Line 93:
These devices require firmware v4:
<pre>
{{{
$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
$ sudo tar xvzf firmware_v3.tgz
}}}

These devices require `firmware_v4`:
Line 101: Line 102:
</pre>
<pre>
cd /lib/firmware
sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
sudo tar xvzf firmware_v4.tgz
</pre>
Line 108: Line 103:
The firmware is a piece of software which is needed by your device and gets uploaded by the linux driver, it's not stored on the device itself so you won't change the behaviour of that device in windows. {{{
$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
$ sudo tar xvzf firmware_v4.tgz
}}}
Line 110: Line 109:
 * Requirements: Hg from http://www.selenic.com/mercurial/ (for ubuntu (and debian): sudo apt-get install mercurial)
 * the linux kernel sources for your kernel, 2.6.15+ Kernels are well tested, everything below might cause problems with the usbaudio support (for ubuntu (and debian): sudo apt-get install kernel-source-2.6.15 kernel-headers)
 * check out the source
code (do not use the webfrontend for downloading the repository):
The firmware is a piece of software which is needed by your device and gets uploaded by the linux driver, it's not stored on the device itself so you won't change the behavior of that device in Windows.

* Requirements: Hg from [http://www.selenic.com/mercurial/]. You can install Mercurial in Ubuntu with:
   {{{
  
sudo apt-get install mercurial
}}}

 * The linux kernel sources for your kernel. 2.6.15+ kernels are well tested, everything below might cause problems with the usbaudio support. Install sources for you current kernel with this command:
   {{{
  
sudo apt-get install linux-headers-`uname -r` linux-source
}}}

Chec
k out the source code (do not use the web frontend for downloading the repository):
Line 115: Line 123:
<pre><nowiki>
 hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
</nowiki></pre>
{{{
$ hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
}}}
Line 119: Line 127:
if this repository is down you can try my mirror If this repository is down you can try my mirror:
Line 121: Line 129:
<pre><nowiki>
 hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel
</nowiki></pre>
{{{
$ hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel
}}}
Line 125: Line 133:
(thanks to Nima Paknejad for providing the webspace and the domain) ''Thanks to Nima Paknejad for providing the web space and the domain''
Line 127: Line 135:
 * build the source (commands are prefixed with #, the second # in a line is usually a comment):
<pre><nowiki>
 # cd v4l-dvb-kernel
 # make
 now as root:
 # make install
-- before posting any error messages, reboot your machine here --
now load the drivers (as root):
 # modprobe em28xx
</nowiki></pre>
Build the source:
{{{
$ cd v4l-dvb-kernel
$ make
$ sudo make install
}}}
Line 138: Line 142:
To verify that your setup was correct you might compare your dmesg output with ones on following wiki site: [http://linuxtv.org/v4lwiki/index.php/Em2880/dmesg dmesg] Before posting any error messages, reboot your machine here.

Now load the drivers:
{{{
$ sudo modprobe em28xx
}}}

To verify that your setup was correct you might compare your `dmesg` output with ones on following wiki site: [http://linuxtv.org/v4lwiki/index.php/Em2880/dmesg]
Line 141: Line 152:
scanning for channels for xine (dvbscan is called scan in debian)
<pre>

$ dvbscan -n -o zap -p de-Muenchen > ~/.xine/channels.conf #replace de-Muenchen with your frequencyfile
# for u
buntu 6.06 (and maybe others?) try something like this:
#
scan -n -o zap -p /usr/share/doc/dvb-utils/examples/scan/dvb-t/de-Koeln-Bonn # replace de-Koeln-Bonn with your frequencyfile
Scanning for channels for '''xine''' (`dvbscan` is called `scan` in Debian) (replace `de-Muenchen` with your frequency file)
{{{

$ dvbscan -n -o zap -p de-Muenchen > ~/.xine/channels.conf
}}}

For U
buntu 6.06 (and maybe others?) try something like this (replace `de-Koeln-Bonn` with your frequency file)
{{{
$
scan -n -o zap -p /usr/share/doc/dvb-utils/examples/scan/dvb-t/de-Koeln-Bonn
Line 151: Line 165:
</pre> }}}
Line 153: Line 167:
I'll add support for other applications by time when I have DVB-T around again. But for now only dvbscan, xine and kaffeine are well tested and supported. I'll add support for other applications by time when I have DVB-T around again. But for now only '''dvbscan''', '''xine''' and '''kaffeine''' are well tested and supported.
Line 155: Line 169:
If you have any problems with the installation have a look at http://mcentral.de/wiki/index.php/Talk:Em2880 this site contains some frequently asked questions, you're invited to extend that site! If you have any problems with the installation have a look at this site: [http://mcentral.de/wiki/index.php/Talk:Em2880]. It contains some frequently asked questions, you're invited to extend that site!

Original Website

Roadmap

Officially the [http://www.empiatech.com.tw/pro_em2880.htm em2880] is em2840 + DVB_T (Analogue/DVB-T Hybrid USB Tuner)

Installation

Alternative howtos (if you want to write an howto, always refer to this site since things might change, please state that out explicitly at the beginning too!) Note: The firmware installation became easier now, these links aren't uptodate yet. Feel free to contact the writers of outdated howtos.

Original installation description starts here:

  • Firmware

If you have one of the following devices you need to get a copy of the xceive firmware.

Mirror 1: http://konstantin.filtschew.de/v4l-firmware/

Mirror 2: http://www.tuxamito.com.es/em2880/

$ sha1sum filename
0bddf428ef4e8b532002d5a7ba7bddfdeb99085b  firmware.tgz
caa44ded1e1d6cf3a9a9e530caca840a92d6920f  firmware_v2.tgz
792193b3e073c27d1d2eccebc72ec9ad1b6950a6  firmware_v3.tgz
134d3b77b40d1b1298a91bb32c44544cebf77e64  firmware_v4.tgz

Following devices might need firmware.tgz (if analogue doesn't work out try firmware_v2.tgz or firmware_v3.tgz and please report it to me (MailTo(mrechberger_at_gmail.com)). It's very likely that some of these devices require firmware_v3 to get audio work):

  • Terratec Cinergy Hybrid T XS (french edition)
  • Terratec Cinergy T XS
  • DNT DA2 Hybrid
  • Kworld 350U

$ cd /lib/firmware 
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware.tgz 
$ sudo tar xvzf firmware.tgz

These devices require firmware_v2:

  • MSI DigiVox A/D

  • Kworld 310U
  • Terratec Cinergy Hybrid T XS (USB ID=0ccd:005e)

$ cd /lib/firmware 
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v2.tgz
$ sudo tar xvzf firmware_v2.tgz

These devices require firmware_v3:

  • HVR 900 B2C0(sticker on the dev.)

  • HVR 900 A1C0

  • Terratec Cinergy Hybrid T XS
  • Pinnacle PCTV Hybrid Pro
  • Pinnacle PCTV Hybrid Pro Stick (320e) (USB ID=eb1a:2881)

$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz
$ sudo tar xvzf firmware_v3.tgz

These devices require firmware_v4:

  • Pinnacle HD Pro Stick (North American version, NTSC/ATSC)

$ cd /lib/firmware
$ sudo wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
$ sudo tar xvzf firmware_v4.tgz

The firmware is a piece of software which is needed by your device and gets uploaded by the linux driver, it's not stored on the device itself so you won't change the behavior of that device in Windows.

  • Requirements: Hg from [http://www.selenic.com/mercurial/]. You can install Mercurial in Ubuntu with:

    •    sudo apt-get install mercurial
  • The linux kernel sources for your kernel. 2.6.15+ kernels are well tested, everything below might cause problems with the usbaudio support. Install sources for you current kernel with this command:
    •    sudo apt-get install linux-headers-`uname -r` linux-source

Check out the source code (do not use the web frontend for downloading the repository):

Stable:

$ hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel

If this repository is down you can try my mirror:

$ hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel

Thanks to Nima Paknejad for providing the web space and the domain

Build the source:

$ cd v4l-dvb-kernel
$ make
$ sudo make install

Before posting any error messages, reboot your machine here.

Now load the drivers:

$ sudo modprobe em28xx

To verify that your setup was correct you might compare your dmesg output with ones on following wiki site: [http://linuxtv.org/v4lwiki/index.php/Em2880/dmesg] If you device isn't listed there please help to complete the list and add your device there too.

Scanning for channels for xine (dvbscan is called scan in Debian) (replace de-Muenchen with your frequency file)

$ dvbscan -n -o zap -p de-Muenchen > ~/.xine/channels.conf

For Ubuntu 6.06 (and maybe others?) try something like this (replace de-Koeln-Bonn with your frequency file)

$ scan -n -o zap -p /usr/share/doc/dvb-utils/examples/scan/dvb-t/de-Koeln-Bonn
>>> tune to: 754000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_1_2:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
0x0000 0x0022: pmt_pid 0x0220 BR -- Bayerisches FS (running)
0x0000 0x0023: pmt_pid 0x0230 BR -- BR-alpha (running)
0x0000 0x00e1: pmt_pid 0x0e10 BR -- SÜDWEST BW (running)
0x0000 0x0041: pmt_pid 0x0410 BR -- hr-fernsehen (running)

I'll add support for other applications by time when I have DVB-T around again. But for now only dvbscan, xine and kaffeine are well tested and supported.

If you have any problems with the installation have a look at this site: [http://mcentral.de/wiki/index.php/Talk:Em2880]. It contains some frequently asked questions, you're invited to extend that site!

em28xx (last edited 2009-08-18 19:18:41 by dsl-243-140-217)