This is a hybrid usb stick: analog & digital receiver, but by now I only got it working as an analog receiver.
1 get the firmware that needs to be downloaded to the stick
# In order to use, you need to:
# 1) Download the windows driver with something like:
# wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
# 2) Extract the file hcw85bda.sys from the zip into the current dir:
# unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys
# 3) run the script:
# ./extract_xc3028.pl
# 4) copy the generated file:
# cp xc3028-v27.fw /lib/firmware
Get extract_xc3028.pl here.
2 compile the required modules
sudo apt-get install build-essential mercurial gcc linux-headers-`uname -r`
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental/
cd v4l-dvb-experimental
make && sudo make install
sudo echo "em28xx" >> /etc/modules
sudo echo "em2880-dvb" >> /etc/modules
=> insert usb stick now; new module should be loaded (look at dmesg)
3 find created devices
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0340000 irq 17
1 [Em28xx Audio ]: Empia Em28xx AudEm28xx Audio - Em28xx Audio
Empia Em28xx Audio
=> audio=hw.1
4 Analog TV - run mplayer (xawt or other should also work)
mplayer -tv driver=v4l2:device=/dev/video0:norm=PAL:chanlist=europe-west:alsa:adevice=hw.1:forceaudio:immediatemode=0:amode=0 tv://
Devel notes
- command to record just audio
sudo arecord -D hw:2 -f dat prova.wav
- firmware download that doesn't work:
http://caligari.treboada.net/ubuntu_tdt
wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
sudo tar xzvf firmware_v4.tgz -C /lib/firmware
No comments:
Post a Comment