You are not logged in.

#1 2008-12-15 21:02:14

cosma
Member
Registered: 2008-12-15
Posts: 10

How to use DVB on ArchLinux (with an em28xx chip)?

Hi there,

I'm trying to figure out how to use my Terratec Cinergy Hybrid T USB XS on ArchLinux. It should use the em2880 chip.

I think that the correct kernel modules are already bundled with the latest kernel version:

bash-3.2# lsmod | grep 'em28'
em28xx_dvb             10500  0 
dvb_core               86956  1 em28xx_dvb
em28xx_alsa            11400  0 
em28xx                 71852  2 em28xx_dvb,em28xx_alsa
compat_ioctl32         11520  1 em28xx
videodev               38784  3 tuner,em28xx,compat_ioctl32
videobuf_vmalloc        9476  1 em28xx
videobuf_core          20484  2 em28xx,videobuf_vmalloc
ir_common              39428  1 em28xx
tveeprom               16900  1 em28xx
i2c_core               25760  8 tuner_xc2028,tuner,v4l2_common,tvp5150,em28xx,nvidia,tveeprom,i2c_nforce2
snd_pcm                82440  4 em28xx_alsa,snd_pcsp,snd_hda_intel,snd_pcm_oss
snd                    64840  13 em28xx_alsa,snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
usbcore               156816  8 em28xx_dvb,em28xx_alsa,em28xx,usbhid,isp1760,ehci_hcd,ohci_hcd

This is the dmesg after plugging the USB device:

usb 2-4: new high speed USB device using ehci_hcd and address 5
usb 2-4: configuration #1 chosen from 1 choice
em28xx new video device (0ccd:005e): interface 0, class 255
em28xx Doesn't have usb audio class
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
em28xx #0: chip ID is em2882/em2883
tuner' 2-0061: chip found @ 0xc2 (em28xx #0)
em28xx #0: i2c eeprom 00: 1a eb 67 95 cd 0c 5e 00 d0 12 5c 03 9e 40 de 1c
em28xx #0: i2c eeprom 10: 6a 34 27 57 46 07 01 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 31 00 b8 00 14 00 5b 1e 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 00 00 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 34 03 54 00 65 00
em28xx #0: i2c eeprom 70: 72 00 72 00 61 00 54 00 65 00 63 00 20 00 45 00
em28xx #0: i2c eeprom 80: 6c 00 65 00 63 00 74 00 72 00 6f 00 6e 00 69 00
em28xx #0: i2c eeprom 90: 63 00 20 00 47 00 6d 00 62 00 48 00 00 00 40 03
em28xx #0: i2c eeprom a0: 43 00 69 00 6e 00 65 00 72 00 67 00 79 00 20 00
em28xx #0: i2c eeprom b0: 48 00 79 00 62 00 72 00 69 00 64 00 20 00 54 00
em28xx #0: i2c eeprom c0: 20 00 55 00 53 00 42 00 20 00 58 00 53 00 20 00
em28xx #0: i2c eeprom d0: 28 00 32 00 38 00 38 00 32 00 29 00 00 00 1c 03
em28xx #0: i2c eeprom e0: 30 00 37 00 30 00 32 00 30 00 31 00 30 00 30 00
em28xx #0: i2c eeprom f0: 38 00 30 00 38 00 33 00 00 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a, hash = 0x4c13bfbe
Vendor/Product ID= 0ccd:005e
AC97 audio (5 sample rates)
500mA max power
Table at 0x27, strings=0x409e, 0x1cde, 0x346a
em28xx #0: 

em28xx #0: The support for this board weren't valid yet.
em28xx #0: Please send a report of having this working
em28xx #0: not to V4L mailing list (and/or to other addresses)

xc2028 2-0061: creating new instance
xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
firmware: requesting xc3028-v27.fw
xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
xc2028 2-0061: Loading firmware for type=BASE (1), id 0000000000000000.
xc2028 2-0061: Loading firmware for type=(0), id 000000000000b700.
SCODE (20000000), id 000000000000b700:
xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
xc2028 2-0061: i2c input error: rc = -19 (should be 2)
xc2028 2-0061: Unable to read tuner registers.
xc2028 2-0061: Loading firmware for type=BASE (1), id 0000000000000000.
xc2028 2-0061: Loading firmware for type=(0), id 000000000000b700.
SCODE (20000000), id 000000000000b700:
xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
xc2028 2-0061: i2c input error: rc = -19 (should be 2)
xc2028 2-0061: Unable to read tuner registers.
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 2-005c: *** unknown tvp8081 chip detected.
tvp5150 2-005c: *** Rom ver is 130.131
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
tvp5150 debug 2-005c: i2c i/o error: rc == -19 (should be 1)
em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
em28xx #0: Found Terratec Hybrid XS (em2882)
tvp5150 2-005c: tvp5150am1 detected.

So it seems that the device has been recognized.. I downloaded the firmwares from http://konstantin.filtschew.de/v4l-firmware/ (the v2, since it is the 0ccd:005e version). I've also extracted the xc3028-v27.fw from the windows drivers using extract_xc3028.pl, since dmesg was complaining for the missing file.

However, Kaffeine doesn't recognize the DVB device, and I can't get any other player to work with it.

Is the kernel-bundled em28xx module broken for this device? I remember that I could make this USB dongle work some months ago in an Ubuntu setup, compiling the v4l from sources - do you think that this is required? I see many people can't compile it with the latest kernels.. and don't know exactly where to start.

Any help would be very appreciated.. thank you
Cosma

Offline

#2 2008-12-19 19:27:28

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: How to use DVB on ArchLinux (with an em28xx chip)?

do you have the right rights to access the device? what is the output of "ls -l /dev/video*" ? are you in the "video" group?

Offline

#3 2008-12-25 11:45:05

cosma
Member
Registered: 2008-12-15
Posts: 10

Re: How to use DVB on ArchLinux (with an em28xx chip)?

Yes, and yes, I think...

[cosma@cosma-archlinux ~]$ ls -l /dev/video*
lrwxrwxrwx 1 root root 10 25 dic 11:13 /dev/video -> v4l/video0
lrwxrwxrwx 1 root root 10 25 dic 11:13 /dev/video0 -> v4l/video0
[cosma@cosma-archlinux ~]$ groups cosma
lp wheel video audio optical storage users

Offline

#4 2008-12-25 12:35:33

cosma
Member
Registered: 2008-12-15
Posts: 10

Re: How to use DVB on ArchLinux (with an em28xx chip)?

Anybody can explain me what's the difference between /dev/video* and /dev/adapter*/* ?

I tried to cat my /dev/video1 (sometimes, plugging out and in the adapter, it gets assigned to video1) and some weird stuff is actually received smile so I decided to try a frequency scan.. I prepared the frequency file for my local muxes, installed the linuxtv-dvb-apps package, and tried to scan:

bash-3.2# scan ./it-Roma
scanning ./it-Roma
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2247: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No such file or directory

(also triend to play with the -f, -d and -a options to switch on adapter1, demux1 and frontend1)

Now, those devices was not created at all in my system.. isn't v4l supposed to create them, once recognized the dvb device?

Offline

#5 2008-12-25 15:28:51

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: How to use DVB on ArchLinux (with an em28xx chip)?

when sacn xxx > channels.conf, it shows

WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010

what is the problem?

Offline

#6 2009-11-02 14:08:11

florut
Member
Registered: 2008-02-14
Posts: 32
Website

Re: How to use DVB on ArchLinux (with an em28xx chip)?

Does someone has information about how to setup this product on kernel 2.6.31 ?

http://bbs.archlinux.org/viewtopic.php? … 39#p648539


Using Chakra [core, community, extra, kdemod-core, kdemod-extragear, kdemod-playground, archlinuxfr]
ASUS UL30VT - Core2Duo SU7300 (x64) @1,3Ghz + GM45 Express (hybrid, GeForce G210M disabled)

Offline

#7 2009-11-02 14:11:33

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: How to use DVB on ArchLinux (with an em28xx chip)?

Read the forum guidelines.  No bumping old threads. Closing.

Offline

Board footer

Powered by FluxBB