2.6.24.12 won't boot with em28xx device

Bug #204578 reported by cebo
92
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hardy using 2.6.24.12 will not boot with Hauppauge HVR-900 USB device plugged in if userspace drivers are used. If the device is plugged in after boot, the keyboard locks up, and konsole sessions will not close. Syslog shows this:

Mar 21 22:29:48 cebo kernel: [ 120.692597] usb 1-3: new high speed USB device using ehci_hcd and address 3
Mar 21 22:29:48 cebo kernel: [ 120.746395] usb 1-3: configuration #1 chosen from 1 choice
Mar 21 22:29:48 cebo NetworkManager: <debug> [1206091788.714053] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_2040_6502_4028497630').
Mar 21 22:29:48 cebo kernel: [ 120.808272] Linux video capture interface: v2.00
Mar 21 22:29:48 cebo kernel: [ 120.837989] em28xx v4l2 driver version 0.0.1 loaded
Mar 21 22:29:48 cebo kernel: [ 120.838770] em28xx new video device (2040:6502): interface 0, class 255
Mar 21 22:29:48 cebo kernel: [ 120.838773] em28xx: device is attached to a USB 2.0 bus
Mar 21 22:29:48 cebo kernel: [ 120.839640] em28xx #0: Alternate settings: 8
Mar 21 22:29:48 cebo kernel: [ 120.839643] em28xx #0: Alternate setting 0, max size= 0
Mar 21 22:29:48 cebo kernel: [ 120.839644] em28xx #0: Alternate setting 1, max size= 0
Mar 21 22:29:48 cebo kernel: [ 120.839646] em28xx #0: Alternate setting 2, max size= 1448
Mar 21 22:29:48 cebo kernel: [ 120.839647] em28xx #0: Alternate setting 3, max size= 2048
Mar 21 22:29:48 cebo kernel: [ 120.839649] em28xx #0: Alternate setting 4, max size= 2304
Mar 21 22:29:48 cebo kernel: [ 120.839650] em28xx #0: Alternate setting 5, max size= 2580
Mar 21 22:29:48 cebo kernel: [ 120.839652] em28xx #0: Alternate setting 6, max size= 2892
Mar 21 22:29:48 cebo kernel: [ 120.839653] em28xx #0: Alternate setting 7, max size= 3072
Mar 21 22:29:49 cebo kernel: [ 121.069901] input: em2880/em2870 remote control as /devices/virtual/input/input6
Mar 21 22:29:49 cebo kernel: [ 121.079796] em28xx-input.c: remote control handler attached
Mar 21 22:29:49 cebo kernel: [ 121.079800] moduleid: 1
Mar 21 22:29:49 cebo kernel: [ 121.082696] media-stub: adding support for Xceive - xc3028
Mar 21 22:29:49 cebo kernel: [ 121.082699] media-stub: userspace driver version 1
Mar 21 22:29:49 cebo kernel: [ 121.082701] media-stub: Copyright: Markus Rechberger <email address hidden>
Mar 21 22:29:49 cebo kernel: [ 121.086204] media-stub: adding support for Texas Instruments - tvp5150
Mar 21 22:29:49 cebo kernel: [ 121.086207] media-stub: userspace driver version 1
Mar 21 22:29:49 cebo kernel: [ 121.086209] media-stub: Copyright: Mauro Chehab
Mar 21 22:29:49 cebo kernel: [ 121.089605] tuner 5-0061: chip found @ 0xc2 (em28xx #0)
Mar 21 22:29:49 cebo kernel: [ 121.089623] attach inform (default): detected I2C address c2
Mar 21 22:29:49 cebo kernel: [ 121.092112] attach_inform: tvp5150 detected.
Mar 21 22:29:49 cebo NetworkManager: <debug> [1206091789.690624] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/computer_logicaldev_input_2').
Mar 21 22:29:49 cebo kernel: [ 121.135516] em28xx: registered module_id 1
Mar 21 22:29:49 cebo kernel: [ 121.135598] requesting to change mode
Mar 21 22:29:49 cebo kernel: [ 121.214783] requesting to change mode
Mar 21 22:29:51 cebo kernel: [ 121.681827] em28xx #0: V4L2 VBI device registered as /dev/vbi0
Mar 21 22:29:51 cebo kernel: [ 121.682511] em28xx #0: V4L2 device registered as /dev/video0
Mar 21 22:29:51 cebo kernel: [ 121.682513] em28xx #0: Found Hauppauge WinTV HVR Rev. 1.2
Mar 21 22:29:51 cebo kernel: [ 121.682526] usbcore: registered new interface driver em28xx
Mar 21 22:29:51 cebo NetworkManager: <debug> [1206091791.181402] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_2040_6502_4028497630_if0').
Mar 21 22:29:51 cebo kernel: [ 121.705070] em28xx_audio: no version for "snd_pcm_new" found: kernel tainted.
Mar 21 22:29:51 cebo NetworkManager: <debug> [1206091791.223238] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_2040_6502_4028497630_video4linux').
Mar 21 22:29:51 cebo kernel: [ 121.725918] em28xx-audio.c: probing for em28x1 non standard usbaudio
Mar 21 22:29:51 cebo kernel: [ 121.725922] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Mar 21 22:29:51 cebo kernel: [ 121.725978] BUG: unable to handle kernel paging request at virtual address 38326d65
Mar 21 22:29:51 cebo kernel: [ 121.725981] printing eip: f8b90743 *pde = 00000000
Mar 21 22:29:51 cebo kernel: [ 121.725984] Oops: 0000 [#1] SMP
Mar 21 22:29:51 cebo kernel: [ 121.725986] Modules linked in: em28xx_audio(F) media_stub tvp5150 tuner tea5767 tda8290 tuner_simple mt20xx tea5761 em28xx videodev v4l2_common v4l1_compat binfmt_misc rfcomm l2cap bluetooth ipv6 ppdev powernow_k8 cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_conservative freq_table video output container sbs sbshc dock battery iptable_filter ip_tables x_tables aes_i586 dm_crypt dm_mod af_packet ac sbp2 lp snd_hda_intel joydev snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd nvidia(P) i2c_nforce2 rt2500 button psmouse serio_raw i2c_core k8temp agpgart soundcore evdev parport_pc parport pcspkr reiserfs sr_mod cdrom usbhid amd74xx hid ide_core ata_generic pata_amd sg sd_mod sata_nv sata_via pata_acpi libata ohci_hcd scsi_mod forcedeth ohci1394 ieee1394 ehci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
Mar 21 22:29:51 cebo kernel: [ 121.726025]
Mar 21 22:29:51 cebo kernel: [ 121.726027] Pid: 6999, comm: modprobe Tainted: PF (2.6.24-12-generic #1)
Mar 21 22:29:51 cebo kernel: [ 121.726029] EIP: 0060:[<f8b90743>] EFLAGS: 00010246 CPU: 1
Mar 21 22:29:51 cebo kernel: [ 121.726040] EIP is at snd_pcm_timer_init+0x23/0x170 [snd_pcm]
Mar 21 22:29:51 cebo kernel: [ 121.726042] EAX: f18d1000 EBX: 38326d65 ECX: f192bdec EDX: 00000000
Mar 21 22:29:51 cebo kernel: [ 121.726044] ESI: f18d1000 EDI: f2a7a634 EBP: 00000018 ESP: f192bdd4
Mar 21 22:29:51 cebo kernel: [ 121.726045] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Mar 21 22:29:51 cebo kernel: [ 121.726048] Process modprobe (pid: 6999, ti=f192a000 task=f1922b40 task.ti=f192a000)
Mar 21 22:29:51 cebo kernel: [ 121.726049] Stack: 00000000 00000001 f2a4f400 00000000 f2a4f400 00000000 00000003 00000000
Mar 21 22:29:51 cebo kernel: [ 121.726053] f2a7ae00 00000018 f8af120c 00000000 f18d1000 f2a7a600 f8b8867f f8b9992c
Mar 21 22:29:51 cebo kernel: [ 121.726057] f2a7a600 f192be28 f2a7a800 00000001 f8b915f4 436d6370 63304431 ffffff00
Mar 21 22:29:51 cebo kernel: [ 121.726061] Call Trace:
Mar 21 22:29:51 cebo kernel: [ 121.726071] [<f8af120c>] snd_add_device_sysfs_file+0x3c/0x70 [snd]
Mar 21 22:29:51 cebo kernel: [ 121.726083] [<f8b8867f>] snd_pcm_dev_register+0xef/0x200 [snd_pcm]
Mar 21 22:29:51 cebo kernel: [ 121.726101] [<f8af5e4d>] snd_device_register_all+0x2d/0x60 [snd]
Mar 21 22:29:51 cebo NetworkManager: <debug> [1206091791.303418] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_2040_6502_4028497630_video4linux_0').
Mar 21 22:29:51 cebo kernel: [ 121.726112] [<f8af1a1e>] snd_card_register+0x1e/0x320 [snd]
Mar 21 22:29:51 cebo kernel: [ 121.726128] [<f9d76168>] em28xx_audio_init+0xf8/0x150 [em28xx_audio]
Mar 21 22:29:51 cebo kernel: [ 121.726136] [<fad838de>] em28xx_register_extension+0x5e/0xb0 [em28xx]
Mar 21 22:29:51 cebo kernel: [ 121.726147] [sys_init_module+0x126/0x19c0] sys_init_module+0x126/0x19c0
Mar 21 22:29:51 cebo kernel: [ 121.726191] [sysenter_past_esp+0x6b/0xa9] sysenter_past_esp+0x6b/0xa9
Mar 21 22:29:51 cebo kernel: [ 121.726206] =======================
Mar 21 22:29:51 cebo kernel: [ 121.726207] Code: 00 00 5b c3 8d 74 26 00 56 89 c6 53 83 ec 30 8b 56 30 c7 44 24 1c 00 00 00 00 8d 4c 24 18 c7 44 24 18 03 00 00 00 8b 18 83 e2 01 <8b> 03 8b 00 89 44 24 20 8b 43 0c 89 44 24 24 8b 46 0c 01 c0 09
Mar 21 22:29:51 cebo kernel: [ 121.726226] EIP: [<f8b90743>] snd_pcm_timer_init+0x23/0x170 [snd_pcm] SS:ESP 0068:f192bdd4
Mar 21 22:29:51 cebo kernel: [ 121.726236] ---[ end trace 13c5e79623f7d91d ]---

Couldn't get dmesg info cos of keyboard/konsole problem. Also, using kernel 2.6.24.11, system booted fine with device plugged in, but failed to load em28xx-audio - something about a symbol mismatch - seems to be a similar problem to http://mcentral.de/pipermail/em28xx/2008-February/001316.html

I'm using Kubuntu Hardy - development branch with all updates as of March 21. I have no other issues with any hardware or software, just this.

Tags: 1984
Revision history for this message
windskipper (windskipper) wrote :

Same problem with ubuntu hardy with all updates (April 03) and the last version of v4l-dvb-experimental.

If I boot the ubuntu with the device plugged it get stuck on activating HAL, if I hot plugged the device on session the keyboard stop working but the TV is OK.

I use a Terratec USB XS.

Revision history for this message
floe-de (floe-de) wrote :

Same problem with 17 April Version of Ubuntu Hardy 8.04 and the Hauppauge WinTV HVR 900 (B2C0). The TV is not working.

Revision history for this message
Benjamin Schleinzer (schleinzer) wrote :

The problem is that the alsa modules from the stock kernel are build from alsa .16 whereas the kernel alsa version, which is used to build the em28xx modules, is .15. The source files from the linux-header package are not update to the new alsa sources. To fix the problem I build a custom kernel with my sound card enabled. After rebuilding the em28xx driver agains that cutstom kernel the driver worked without problems

Revision history for this message
Benjamin Schleinzer (schleinzer) wrote :
Download full text (3.1 KiB)

As some people have asked me what I did to fix the problem here is a small howto:

1. Tools you'll need

To start, you will need to install a few packages.

sudo apt-get install linux-kernel-devel fakeroot build-essential libncurses5-dev

2. Get the kernel source from ubuntu

apt-get source linux-source

3. Unpack the kernel

mkdir ~/src
cd ~/src
tar xjvf /usr/src/linux-source-<version-number-here>.tar.bz2
cd linux-source-<version-number-here>
cp -vi /boot/config-`uname -r` .config

4. Customize it:

make menuconfig

Now goto Device-Drivers --> Sound --> Advanced Linux Sound Architecture
Now select the following
   <M> Advanced Linux Sound Architecture
   <M> Sequencer support
   <M> Sequencer dummy client
   <M> OSS Mixer API
   <M> OSS PCM (digital audio) API
    [*] OSS PCM (digital audio) API - Include plugin system
    [*] OSS Sequencer API
   <M> RTC Timer support
    [*] Use RTC as default sequencer timer
    [ ] Dynamic device file minor numbers
    [*] Support old ALSA API
    [*] Verbose procfs contents
    [ ] Verbose printk
    [ ] Debug

Now goto PCI devices and select your sound card as module. If unsure select all of them as module.

5. Pack the kernel

make-kpkg clean # only needed if you want to do a "clean" build
fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers

6. Install the new kernel

echo vesafb | sudo tee -a /etc/initramfs-tools/modules
echo fbcon | sudo tee -a /etc/initramfs-tools/modules

sudo dpkg -i linux-image-2.6.24-some-string-here.deb
sudo dpkg -i linux-headers-2.6.24-some-string-here.deb

LIMITATIONS

This is a workaround for the broken source package in ubuntu 8.04.
Most of these steps are form https://help.ubuntu.com/community/Kernel/Compile
If you run modules from the restricted package you need to perform additonal steps.
This holds also true if you have a webcam that runs with the ...

Read more...

Revision history for this message
Randofu (randy-baden) wrote :

Is there some way to fix this that doesn't require building a new kernel? I'm having the same problem.

Revision history for this message
Randofu (randy-baden) wrote :

I got it to work... Not exactly sure how... I haven't tried booting up with it plugged in, but it works if I plug it in after bootup if I do

modprobe em2880-dvb

before plugging it in. Or, put em2880-dvb in /etc/modules

That fixed the problem of the keyboard locking up. Then I followed the advice here: http://ubuntulinuxtipstricks.blogspot.com/2008/04/mythtv-on-hardy.html

Namely, change the line

#load-module module-alsa-sink

to

load-module module-alsa-sink device=plug:dmix

in /etc/pulse/default.pa

After rebooting and plugging the device in again, I ran mythtv again. For some reason it didn't see the card until I ran mythtv-setup again, but it found it immediately then. I reconfigured my audio settings to use ALSA:default, and it started working. It was really quiet; I had to turn the PCM volume up in alsa-mixer.

I don't really know what I'm doing, but hopefully this advice will help someone.

Revision history for this message
Jelle de Jong (jelledejong) wrote :

Ubuntu gets worser and worser, when violation Linux standard base kernel setup, if they worked together with Debian and fedora things could be come a lot better:

I updated my installation guide that should make it able to install the drivers, but its not a very nice way of doing things:
http://mcentral.de/wiki/index.php5/Installation_Guide

Revision history for this message
MarkusRechberger (mrechberger) wrote :

I will release a Ubuntu Package for that driver within the next few days. The issue is solved and caused because the module isn't built against the ubuntu linux module sources (which comes in an extra package).

The installation instruction on mcentral.de won't solve that problem unless someone recompiles the whole kernel (which is not the goal of that project).

Markus

Revision history for this message
Rob Jones (kaosfere) wrote :

WIll this package be put into the Hardy mainline? I've been trying to get a PVR-950 working today and run into this very problem. Glad to see it should be solved soon.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

could be, I'm just setting up a build system for that driver also to catch further updates of the sourcecode and automatically generatore .deb packages for ubuntu 7.10, 8.04 (32/64 bit) as well as for other distributions.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

please do not use those packages in any tutorials because they will be updated frequently and the version number will be raised.
I will set up a site on mcentral.de which keeps track of the latest packages also for other distributions.

Installation:
open a terminal and run following command, this will show up one of the extension used within the driver name for the specific kernel.

This is an example for 32bit Ubuntu Hardy 19. May 2008:
$ uname -r
2.6.24-16-generic
$ wget http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb
$ dpkg -i empia-2.6.24-16-generic-2_i386.deb

i386 stands for 32bit systems
amd64 in general for 64bit systems

== i386/32 bit ==

http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-386-2_i386.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-openvz-2_i386.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-rt-2_i386.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-server-2_i386.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-xen-2_i386.deb

== amd64/64bit ==

http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-4_amd64.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-openvz-4_amd64.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-rt-6_amd64.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-server-4_amd64.deb
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-xen-4_amd64.deb

Revision history for this message
MarkusRechberger (mrechberger) wrote :

when using em28xx based hybrid devices someone might currently run into a problem with dbus:

https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/230877

if the system says that the devicenode is in use but you haven't started a tv application run:

$ lsof -n | grep video

and either close or kill the process which holds the device open.

Revision history for this message
Qin Gao (qing-cs) wrote :
Download full text (5.1 KiB)

After installing the deb file, the card is recognized without any complain, but when using MythTV or Kaffine, it will die directly.

Here is exactly what I done:

 $ hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
 $ cd v4l-*
 $ make
 $ sudo make install
 $ cd ..
 $ wget http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb
 $ sudo dpkg -i empia-2.6.24-16-generic-2_i386.deb

Whenever MythTV or Kaffine wants to access the card, it will complain. MythTV will also quit without showing anything when choosing "add new card".

Below is dmesg output when plug in the card:

[ 785.812160] em28xx #0: V4L2 VBI device registered as /dev/vbi-225
[ 785.829304] em28xx #0: V4L2 device registered as /dev/video-1
[ 785.829313] em28xx #0: Found Pinnacle PCTV HD Pro
[ 785.829351] usbcore: registered new interface driver em28xx
[ 785.906351] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 785.906355] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 785.906582] Em28xx: Initialized (Em28xx Audio Extension) extension
[ 785.928727] em2880-dvb.c: DVB Init
[ 786.249686] DVB: registering new adapter (em2880 DVB-T)
[ 786.249693] DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
[ 786.249889] Em28xx: Initialized (Em2880 DVB Extension) extension

And when it dies:

[ 815.226825] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000a0c
[ 815.226839] printing eip: f8e41860 *pde = 00000000
[ 815.226848] Oops: 0000 [#1] SMP
[ 815.226854] Modules linked in: lgdt330x em28xx_dvb(F) dvb_core em28xx_audio(F) xc3028_tuner(F) tvp5150(F) tuner em28xx(F) videodev v4l2_common v4l1_compat af_packet binfmt_misc rfcomm l2cap bluetooth ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge kvm_intel kvm uinput ppdev ipv6 acpi_cpufreq cpufreq_powersave cpufreq_ondemand cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative bay sbs sbshc dock container iptable_filter ip_tables x_tables aes_i586 dm_crypt parport_pc lp parport arc4 ecb blkcipher joydev pcmcia thinkpad_acpi nvram snd_hda_intel psmouse snd_pcm_oss serio_raw snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep i2c_core evdev pcspkr snd_seq_dummy iwl3945 snd_seq_oss snd_seq_midi yenta_socket iTCO_wdt iTCO_vendor_support iwlwifi_mac80211 rsrc_nonstatic snd_rawmidi snd_seq_midi_event pcmcia_core cfg80211 snd_seq snd_timer snd_seq_device snd soundcore ac battery video output shpchp button pci_hotplug intel_agp agpgart dm_multipath dm_mod ext3 jbd mbcache sg sr_mod cdrom sd_mod pata_acpi usbhid hid ata_generic ahci ata_piix libata scsi_mod ehci_hcd uhci_hcd usbcore e1000 thermal processor fan fbcon tileblit font bitblit softcursor fuse
[ 815.226997]
[ 815.227002] Pid: 17435, comm: mythtv-setup.re Tainted: GF (2.6.24-16-generic #1)
[ 815.227007] EIP: 0060:[<f8e41860>] EFLAGS: 00210246 CPU: 0
[ 815.227034] EIP is at em28xx_v4l2_open+0x90/0x570 [em28xx]
[ 815.227038] EAX: 00000000 EBX: 00000002 ECX: 00000001 EDX: 00000000
[ 815.227042] ESI: 000000e0 EDI: 00000000 EBP: f76d2c68 ESP: f577de84
[ 815.227046] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 815.2270...

Read more...

Revision history for this message
MarkusRechberger (mrechberger) wrote :

this is not needed and mixing up v4l-dvb-kernel or v4l-dvb-experimental with the precompiled drivers will definitelly break!
You now have to restore your kernel/modules in order to get the media driver subsystem clean again.

----
  $ hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel
  $ cd v4l-*
  $ make
  $ sudo make install
  $ cd ..
----

basically you'd just have to click onto:
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb
in the browser and install it using the installer which pops up.

Markus

Revision history for this message
marwooj (marwooj) wrote :
Download full text (7.1 KiB)

Has anyone made LV5H dongle working with ubuntu ?

It is detected end everything looks ok but screen in tvtime is black, no menu shown, tvtime-scanner is nit detecting any channel.

em28xx new video device (eb1a:2883): interface 0, class 255
[ 573.448122] em28xx: device is attached to a USB 2.0 bus
[ 573.448126] em28xx #0: Alternate settings: 8
[ 573.448129] em28xx #0: Alternate setting 0, max size= 0
[ 573.448132] em28xx #0: Alternate setting 1, max size= 0
[ 573.448134] em28xx #0: Alternate setting 2, max size= 1448
[ 573.448137] em28xx #0: Alternate setting 3, max size= 2048
[ 573.448140] em28xx #0: Alternate setting 4, max size= 2304
[ 573.448142] em28xx #0: Alternate setting 5, max size= 2580
[ 573.448145] em28xx #0: Alternate setting 6, max size= 2892
[ 573.448147] em28xx #0: Alternate setting 7, max size= 3072
[ 573.449054] device has gpio reset values stored on board
[ 573.645721] input: em2880/em2870 remote control as /devices/virtual/input/input10
[ 573.673688] em28xx-input.c: remote control handler attached
[ 573.920317] attach_inform: eeprom detected.
[ 573.963291] em28xx #0: i2c eeprom 00: 1a eb 67 95 1a eb 83 28 d0 12 65 03 6a 22 8c 10
[ 573.963305] em28xx #0: i2c eeprom 10: 00 00 24 57 4e 37 41 00 60 00 00 00 02 00 00 00
[ 573.963314] em28xx #0: i2c eeprom 20: 5e 00 01 00 f0 10 01 00 b8 00 00 00 5b 1e 00 00
[ 573.963323] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 10 01 00 00 00 00 00 00
[ 573.963332] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 d3 c4 00 00
[ 573.963341] em28xx #0: i2c eeprom 50: 00 a2 b2 87 81 80 00 00 00 00 00 00 00 00 00 00
[ 573.963349] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
[ 573.963358] em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 38 00 33 00 20 00 44 00
[ 573.963367] em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 10 03 32 00
[ 573.963376] em28xx #0: i2c eeprom 90: 30 00 30 00 37 00 31 00 30 00 00 00 00 00 00 00
[ 573.963385] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963393] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963402] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963410] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963419] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963428] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 573.963436] EEPROM ID= 0x9567eb1a
[ 573.963439] Vendor/Product ID= eb1a:2883
[ 573.963441] AC97 audio (5 sample rates)
[ 573.963443] 500mA max power
[ 573.963445] Table at 0x24, strings=0x226a, 0x108c, 0x0000
[ 573.984974] radio device registered as /dev/radio0
[ 573.991791] em28xx #0: V4L2 device registered as /dev/video0
[ 573.992313] em28xx #0: Found Terratec Hybrid XS ATSC/NTSC
[ 574.009593] radio open()
[ 574.009601] modelock active!
[ 574.010369] usbcore: registered new interface driver em28xx
[ 574.026087] analog tv open()
[ 574.026094] modelock active!
[ 575.978644] usb 2-4: USB disconnect, address 2
[ 576.009435] em28xx-input.c: remote control hand...

Read more...

Revision history for this message
Markus Rechberger (mrechberger-empiatech) wrote :

Okay Qin Gao, marwooj, seems like you ran into another problem there apparmor related

[ 576.852972] [<c01fc517>] apparmor_inode_permission+0x47/0x70
[ 576.853002] [<c021098f>] kobject_get+0xf/0x20
[ 576.853013] [<c018fbd6>] cdev_get+0x16/0x60

this doesn't happen with the 64bit version, neither with a non apparmor patched kernel. I need to investigate that issue :-(

thanks for testing,
Markus

Revision history for this message
el es (el-es-poczta) wrote :

Using the http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb on HH8.04 with Kaffeine on https://wiki.ubuntu.com/LaptopTestingTeam/AcerAspire3023 -- this laptop -- and Pinnacle 300e (hybrid pro stick) - no problems detected as of yet. (Kaffeine is from main Ubuntu repo) Thanks Markus :) System monitor shows about 30% CPU utilization (frequency stepped down to 800Mhz) while watching. Would be worth adding a more clear mention about Kaffeine in your Using Guide :)
Haven't yet found the way to get the remote control working (haven't even started looking yet ;) )

Ke

Revision history for this message
Bastian Beekes (bastian-beekes) wrote :

so what for people with 2.6.24-17-generic? dunno when I installed that update, but I'll try with the old kernel version tomorrow...

Revision history for this message
MarkusRechberger (mrechberger) wrote :

Bastian, keep the kernel and try the same installation! :-)

(again just as a note don't link those packages anywhere there will be updated ones available soon)

Revision history for this message
James Crow (the-crowbar) wrote :

Just wanted to add that the x86_64 package has a problem with the dvb-core.ko file. When I plug in my Pinnacle USB stick there are some errors in dmesg about dvb. When I try to modprobe dvb-core I get an invalid module format error. When I run 'file /lib/modules/2.6.24-16-generic/empia/dvb-core.ko' it appears to be a 32 bit module. On the other hand the analog capture is working because I can watch live tv with tvtime. Thanks

Revision history for this message
MarkusRechberger (mrechberger) wrote : Re: [Bug 204578] Re: 2.6.24.12 won't boot with em28xx device

Hi,

On Tue, May 27, 2008 at 3:37 PM, James Crow <email address hidden> wrote:
> Just wanted to add that the x86_64 package has a problem with the dvb-
> core.ko file. When I plug in my Pinnacle USB stick there are some errors
> in dmesg about dvb. When I try to modprobe dvb-core I get an invalid
> module format error. When I run 'file
> /lib/modules/2.6.24-16-generic/empia/dvb-core.ko' it appears to be a 32
> bit module. On the other hand the analog capture is working because I
> can watch live tv with tvtime. Thanks
>
just remove that file and run depmod -a, it's just a precompiled
dvb-core module for the eeePC.

Markus

> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
James Crow (the-crowbar) wrote :

Markus,

  Thanks for the info. After removing the dvb-core.ko and running 'depmod -a' I am now able to attempt a channel scan with the dvb-utils scan command. I was able to receive only a very "snowy" NTSC signal from where my antenna is currently located. Because of the poor reception I am unable to find any ATSC broadcasts. Once I can move the antenna I will try again. Thanks!

Revision history for this message
Gerald Beuchelt (gerald-beuchelt) wrote :

Markus -

Is there any chance that you can post the links for the 2.6.24-17 kernel? Beyond that, I would highly appreciate if you could make the source available - one of my issues is that my AMD installation reports as i686 architecture, so I would have to compile (I guess). The amd64 packages do not install and the i386 do not work. Thanks!

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On 5/29/08, Gerald Beuchelt <email address hidden> wrote:
> Markus -
>
> Is there any chance that you can post the links for the 2.6.24-17
> kernel? Beyond that, I would highly appreciate if you could make the
> source available - one of my issues is that my AMD installation reports
> as i686 architecture, so I would have to compile (I guess). The amd64
> packages do not install and the i386 do not work. Thanks!
>

The source has been available for ages actually on mcentral.de but
people have problems to compile it this is the reason why I provide
the packages. I expect to push out the next updated packages around
next week.
Did You try the 2.6.24-16 packages with 2.6.24-17?

Markus

Revision history for this message
Gerald Beuchelt (gerald-beuchelt) wrote :

Ah, I see - which repository are the empiatech driver in? So far, I only found the v4l drivers, and with these I run into the keyboard and hald issues ...

I tried the -16 mods on the -16 kernel, but the modules get installed in /lib/modules/2.6.24-16-386, instead of /lib/modules/2.4.24-16-generic, like all my other kernel modules. I have an AMD system, reporting an i686 architecture.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On 5/29/08, Gerald Beuchelt <email address hidden> wrote:
> Ah, I see - which repository are the empiatech driver in? So far, I only
> found the v4l drivers, and with these I run into the keyboard and hald
> issues ...
>

http://mcentral.de/hg/~mrec/em28xx-new

before asking questions how to get it work please search the ML and
other history about the problems which you can run into. The binary
packages just prevent providing one time instructions how to set up a
development system for users who just want to watch TV.

> I tried the -16 mods on the -16 kernel, but the modules get installed in
> /lib/modules/2.6.24-16-386, instead of /lib/modules/2.4.24-16-generic,
> like all my other kernel modules. I have an AMD system, reporting an
> i686 architecture.
>

you have to use the generic package instead of the i386 package in that case..
http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb

Markus

Revision history for this message
Stefan K. (stefank.) wrote :

Hi Markus,
>Did You try the 2.6.24-16 packages with 2.6.24-17?

I tried, but there is no change in result, although the installation process worked without error messages.
Perhaps I've to say that I'm not even sure if the package you try to invent aims at my problem.
Still got the "keyboard lock problem" when I plug in my Terratec Cinergy XS.
I tried the "Compile a custom kernel" version too, but it didn't help either.

Sry, I'm not as good in programming as I should be, so I couldn't give any help in kernel hacking but perhaps I can help with testing ;)

So far, thanks for all the work you've done in solving that problem!

Bye,

Stefan

Revision history for this message
Steven Ellis (steven-openmedia) wrote :

Just tried the generic package on Hardy.

I have a HVR 900 USB device.

1. Under 2.6.24-16-generic module loads without issue and analogue scanning/tuning works. DVB scanning fails without any driver errors.

2. Under 2.6.24-17-generic you need to remove the em28xx.ko module they have now included and copy the /lib/modules/2.6.24-16-generic/empia/ directory to /lib/modules/2.6.24-17-generic/empia/. The driver appears to load correctly and analogue works, but still now DVB-T support,

Revision history for this message
greg_b (gregory-beloncle) wrote :

Hi,

I did try on Hardy as well and I can't get working my Cinergy Hybrid T USB XS.
I use kernel 2.6.24-17.

I tried with the "old" driver (v4l-dvb-experimental) but this one it works only when I boot without device, load the modules and then plug it. It works with Kaffeine but nor really stabil.

I tried to install http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb and then copy the modules under /lib/modules/2.6.24-16-generic/empia/ directory to /lib/modules/2.6.24-17-generic/empia/ (like Steven Ellis) and when I plug the device, dmesg says:

[ 5783.922169] em28xx: no version for "struct_module" found: kernel tainted.
[ 5783.923783] em28xx: Unknown symbol v4l_compat_translate_ioctl
[ 5783.923968] em28xx: Unknown symbol v4l2_video_std_construct
[ 5783.924362] em28xx: Unknown symbol v4l2_type_names
[ 5783.924482] em28xx: Unknown symbol v4l_printk_ioctl
[ 5783.924794] em28xx: Unknown symbol video_unregister_device
[ 5783.924946] em28xx: Unknown symbol video_device_alloc
[ 5783.925021] em28xx: Unknown symbol video_register_device
[ 5783.925442] em28xx: Unknown symbol video_usercopy
[ 5783.925524] em28xx: Unknown symbol video_device_release

I also tried to compile the modules by myself and I get the following when I plug the device:

[ 5327.940861] em28xx: Unknown symbol v4l_compat_translate_ioctl
[ 5327.941065] em28xx: Unknown symbol v4l2_video_std_construct
[ 5327.941491] em28xx: Unknown symbol v4l2_type_names
[ 5327.941627] em28xx: Unknown symbol v4l_printk_ioctl
[ 5327.941949] em28xx: Unknown symbol video_unregister_device
[ 5327.942112] em28xx: Unknown symbol video_device_alloc
[ 5327.942189] em28xx: Unknown symbol video_register_device
[ 5327.942617] em28xx: Unknown symbol video_usercopy
[ 5327.942705] em28xx: Unknown symbol video_device_release

Any idea where the problem could be?

Maybe these messages could help to understand something!

Bye,
Greg

Revision history for this message
jm_maclaren (maclaren) wrote :

what I did and you may have luck with it to is
1. install a clean v4l via
cd /usr/src;sudo su; hg clone http://linuxtv.org/hg/v4l-dvb and then a make and make install
or by reinstalling that package from ubuntu. I wisey backed up the lib/modules path so I could rewrite the files if I had a problem
and then
2. did you install the em288-new that matched your kernel using dpkg -i file
3. next did you try reboot.

I had to reboot with the device unplugged and then plugged it in to get it to work (pinnacle usb hdtv 800e)
It works fine under hardy (mythbuntu 8.04)

James

Revision history for this message
AndiTheBest (andreas-weidlinger) wrote :
Download full text (3.5 KiB)

Hello!

I'm using Ubuntu 8.04. To test my HVR900 B2C0 i bootet with 2.6.24-16 kernel.
So i type

wget http://mcentral.de/empiatech/distris/ubuntu/hardy/empia-2.6.24-16-generic-2_i386.deb
sudo dpkg -i empia-2.6.24-16-generic-2_i386.deb

and now, dvb-t works, wohoo :D nice work Markus!
boot with plugged in device works, and my webcam still works too.

I can watch analog tv too, but without sound. mabybe there is a problem with pulseaudio?
Or is the problem that arecord says that my soundcard is the same device as the tvcard?

arecord -l says:

**** Liste von CAPTURE Geräten ****
Karte 0: NVidia [HDA NVidia], Gerät 0: CONEXANT Analog [CONEXANT Analog]
  Untergeordnete Geräte: 1/1
  Untergeordnetes Gerät '0: subdevice #0
Karte 1: Em28xx Audio [Em28xx Audio], Gerät 0: Em28xx Audio [Empia 28xx Capture]
  Untergeordnete Geräte: 1/1
  Untergeordnetes Gerät '0: subdevice #0

(german->english:
Gerät->device
Liste->list
Untergeordnetes Gerät->subdevice
Karte->card)

dmesg says on beginning of analog tv:

[ 380.826591] analog tv open()
[ 380.826599] dev mode -> mode: 3 - 2 (radio: 1) (tv: 1)
[ 380.929091] tvp5150 5-005c: tvp5150am1 detected.
[ 381.003932] tuner 5-0061: tuner type not set
[ 382.286553] tuner 5-0061: tuner type not set
[ 382.444001] tuner 5-0061: tuner type not set

complete dmesg when i plug in:

[ 89.460988] usb 2-1: new high speed USB device using ehci_hcd and address 5
[ 89.522615] usb 2-1: configuration #1 chosen from 1 choice
[ 89.598555] em28xx: no version for "struct_module" found: kernel tainted.
[ 89.602615] em28xx v4l2 driver version 0.0.1 loaded
[ 89.603115] em28xx new video device (2040:6502): interface 0, class 255
[ 89.603118] em28xx: device is attached to a USB 2.0 bus
[ 89.604187] em28xx #0: Alternate settings: 8
[ 89.604189] em28xx #0: Alternate setting 0, max size= 0
[ 89.604191] em28xx #0: Alternate setting 1, max size= 0
[ 89.604193] em28xx #0: Alternate setting 2, max size= 1448
[ 89.604195] em28xx #0: Alternate setting 3, max size= 2048
[ 89.604197] em28xx #0: Alternate setting 4, max size= 2304
[ 89.604198] em28xx #0: Alternate setting 5, max size= 2580
[ 89.604200] em28xx #0: Alternate setting 6, max size= 2892
[ 89.604202] em28xx #0: Alternate setting 7, max size= 3072
[ 89.801440] input: em2880/em2870 remote control as /devices/virtual/input/input10
[ 89.814196] em28xx-input.c: remote control handler attached
[ 89.894922] trying to set disabled gpio? (00)
[ 89.896415] tuner 5-0061: chip found @ 0xc2 (em28xx #0)
[ 89.896885] attach inform (default): detected I2C address c2
[ 89.902732] attach_inform: tvp5150 detected.
[ 89.932623] tvp5150 5-005c: tvp5150am1 detected.
[ 91.391811] successfully attached tuner
[ 91.395162] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 91.399454] analog tv open()
[ 91.399461] modelock active!
[ 91.401289] vbi open()
[ 91.401294] modelock active!
[ 91.413582] em28xx #0: V4L2 device registered as /dev/video1
[ 91.414091] em28xx #0: Found Hauppauge WinTV HVR Rev. 1.2
[ 91.414613] usbcore: registered new interface driver em28xx
[ 91.454324] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 91.45432...

Read more...

Revision history for this message
Steven Ellis (steven-openmedia) wrote :

Got it working on 2.6.24-17-generic with my HVR900 but I had to clean up some old conflicting kernel modules

# First backup the existing kernel modules
cd /lib/modules/2.6.24-17-generic
tar -zcf 2.6.24-17-generic.bak.tgz 2.6.24-17-generic

# Then copy over the empia driver from 2.6.24-16-generic
cp -a /lib/modules/2.6.24-16-generic/empia /lib/modules/2.6.24-17-generic

# Then delete any conflicting packages
cd /lib/modules/2.6.24-17-generic/kernel
ls /lib/modules/2.6.24-17-generic/empia/ | while read i; do find . -name $i -exec rm -f {} \; ; done

Now DVB and analogue both work

Revision history for this message
Gerald Beuchelt (gerald-beuchelt) wrote :

Markus -

I have tried the 2.6.24-16-generic binaries. They do load properly, but something still seems to be missing. First of all, I have to run depmod -a after every reboot so that modprode can find the modules. Then, inserting em28xx-dvb yields:

[ 149.074003] em28xx_dvb: Unknown symbol dvb_dmxdev_init
[ 149.074133] em28xx_dvb: Unknown symbol dvb_register_adapter
[ 149.074217] em28xx_dvb: Unknown symbol dvb_dmx_release
[ 149.074249] em28xx_dvb: Unknown symbol em28xx_unregister_extension
[ 149.074312] em28xx_dvb: Unknown symbol dvb_net_init
[ 149.074345] em28xx_dvb: Unknown symbol dvb_dmx_swfilter
[ 149.074396] em28xx_dvb: Unknown symbol dvb_dmxdev_release
[ 149.074432] em28xx_dvb: Unknown symbol dvb_frontend_detach
[ 149.074465] em28xx_dvb: Unknown symbol dvb_net_release
[ 149.074497] em28xx_dvb: Unknown symbol em28xx_register_extension
[ 149.074541] em28xx_dvb: Unknown symbol dvb_unregister_frontend
[ 149.074632] em28xx_dvb: Unknown symbol dvb_register_frontend
[ 149.074666] em28xx_dvb: Unknown symbol dvb_unregister_adapter
[ 149.074698] em28xx_dvb: Unknown symbol dvb_dmx_init

Any thoughts?

I have not tried to compile the source.

Thanks.

Revision history for this message
Laurent (syrius-no-log) wrote :

I've managed to compile with self-compiled 2.6.25 and modules were correctly installed (apart from em28xx_audio)

When i scan here are the kern messages :
(obviously it doesn't work)
[ 912.887337] Detected channel parameters:
[ 912.887337] Frequency : 0 kHz
[ 912.887337] Bandwidth : 8 MHz
[ 912.887337] FFT mode : Unknown
[ 912.887337] Guard interval : Unknown
[ 912.887337] Constellation : Unknown
[ 912.887337] Code rate : Unknown
[ 912.887337] Hierarchy : Unknown
[ 912.887337] Priority : Unknown
[ 912.887337] Mirroring : Unknown

i'll go back to the old em28xx-userspace2 + userspace-drivers

Revision history for this message
AndiTheBest (andreas-weidlinger) wrote :

@Laurent

these kern messages are normal, i have the same on 2.6.24-16 while scanning, but it works.
I tought that it don't work too but than i recognized that my active antenna had no current ;)

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Tue, Jun 3, 2008 at 1:10 PM, AndiTheBest <email address hidden> wrote:
> @Laurent
>
> these kern messages are normal, i have the same on 2.6.24-16 while scanning, but it works.
> I tought that it don't work too but than i recognized that my active antenna had no current ;)
>

Sorry I'm finishing my relocation at the moment (basically I don't
have internet at home right now).. it will take 1-2 days till I can
get back to those things.

although some updates:
* the reconnect issue has been fixed locally for now.
* updated the xc5000 firmware
* and many other smaller changes..

I'll commit the code and regenerate the packages when I'm set up again.

Markus

Revision history for this message
Laurent (syrius-no-log) wrote :

@AndiTheBest

really ?
hmm I'm using scan and it writes:
>>> tune to: 626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_AUTO:HIERARCHY_NONE (tuning failed)
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed

Is it also the behavior you have ?

Revision history for this message
AndiTheBest (andreas-weidlinger) wrote :

@Laurent
I've used Kaffeine for scanning but i didn't have these ERROR message.

@Markus:
If you don't have ubuntu, info: kernel 2.6.24-18 is out now. is it feasible to create a deb package which works on all kernel versions?
Do you still have an idea why i don't habe sound on analog tv?

greetz, Andi

Revision history for this message
greg_b (gregory-beloncle) wrote :
Download full text (11.8 KiB)

Hi,

I manage to get working a little bit my Cinergy Hybrid T USB XS.
To manage it I did that:
- update to kernel 2.6.24-18 (I am under ubuntu)
- rename /lib/modules/2.6.24-18-generic/kernel/drivers/media/video/em28xx/em28xx.ko
- copy empia/ folder from the deb package to /lib/modules/2.6.24-18-generic/
- run depmod -a

dmesg gives that (device pluged in after boot):

[ 212.007246] usb 4-1: new high speed USB device using ehci_hcd and address 5
[ 212.152786] usb 4-1: configuration #1 chosen from 1 choice
[ 212.279314] Linux video capture interface: v2.00
[ 212.316906] em28xx: no version for "struct_module" found: kernel tainted.
[ 212.321548] em28xx v4l2 driver version 0.0.1 loaded
[ 212.322463] em28xx new video device (0ccd:005e): interface 0, class 255
[ 212.322480] em28xx: device is attached to a USB 2.0 bus
[ 212.323687] em28xx #0: Alternate settings: 8
[ 212.323698] em28xx #0: Alternate setting 0, max size= 0
[ 212.323702] em28xx #0: Alternate setting 1, max size= 0
[ 212.323706] em28xx #0: Alternate setting 2, max size= 1448
[ 212.323709] em28xx #0: Alternate setting 3, max size= 2048
[ 212.323713] em28xx #0: Alternate setting 4, max size= 2304
[ 212.323717] em28xx #0: Alternate setting 5, max size= 2580
[ 212.323720] em28xx #0: Alternate setting 6, max size= 2892
[ 212.323724] em28xx #0: Alternate setting 7, max size= 3072
[ 212.518733] input: em2880/em2870 remote control as /devices/virtual/input/input9
[ 212.555685] em28xx-input.c: remote control handler attached
[ 212.756011] trying to set disabled gpio? (00)
[ 212.760387] tuner 1-0061: chip found @ 0xc2 (em28xx #0)
[ 212.760450] attach inform (default): detected I2C address c2
[ 212.767041] attach_inform: tvp5150 detected.
[ 212.831450] tvp5150 1-005c: tvp5150am1 detected.
[ 214.460863] successfully attached tuner
[ 214.466056] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 214.490086] em28xx #0: V4L2 device registered as /dev/video0
[ 214.490099] em28xx #0: Found Terratec Hybrid XS (em2882)
[ 214.490239] usbcore: registered new interface driver em28xx
[ 214.499024] analog tv open()
[ 214.499037] modelock active!
[ 214.514056] vbi open()
[ 214.514071] modelock active!
[ 214.529914] em28xx_audio: disagrees about version of symbol snd_pcm_new
[ 214.529923] em28xx_audio: Unknown symbol snd_pcm_new
[ 214.530004] em28xx_audio: disagrees about version of symbol snd_card_register
[ 214.530008] em28xx_audio: Unknown symbol snd_card_register
[ 214.530085] em28xx_audio: disagrees about version of symbol snd_card_free
[ 214.530088] em28xx_audio: Unknown symbol snd_card_free
[ 214.530280] em28xx_audio: disagrees about version of symbol snd_card_new
[ 214.530283] em28xx_audio: Unknown symbol snd_card_new
[ 214.530354] em28xx_audio: disagrees about version of symbol snd_pcm_lib_ioctl
[ 214.530358] em28xx_audio: Unknown symbol snd_pcm_lib_ioctl
[ 214.530568] em28xx_audio: disagrees about version of symbol snd_pcm_set_ops
[ 214.530572] em28xx_audio: Unknown symbol snd_pcm_set_ops
[ 214.530648] em28xx_audio: disagrees about version of symbol snd_pcm_hw_constraint_integer
[ 214.530652] em28xx_audio: Unknown symbol snd_pcm_hw_constraint_integer
[ 2...

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Download full text (5.8 KiB)

I've this bug too... :(

Pinnacle PCTV Hybrid Pro Stick 330e.
Since I prefer not to change the kernel of the machine I'm using on, I'm trying to get it running on Hardy, but I failed :/
I mean, I can get only the analog tuner working, but with no audio at all!

First of all I had to install the em28xx new modules from merucurial, then not to make my keyboard freeze when plugging the usb stick in I had to do a
 sudo modprobe em28xx-dvb

So I can plug the card and start watching, only, the TV.

Btw this is my dmesg output, and it has many errors relating audio. Any idea to solve?

-----------
[ 5274.766342] Linux video capture interface: v2.00
[ 5274.803119] em28xx v4l2 driver version 0.0.1 loaded
[ 5274.803150] usbcore: registered new interface driver em28xx
[ 5295.691373] usb 5-1: new high speed USB device using ehci_hcd and address 2
[ 5295.831305] usb 5-1: configuration #1 chosen from 1 choice
[ 5295.831412] em28xx new video device (2304:0226): interface 0, class 255
[ 5295.831416] em28xx: device is attached to a USB 2.0 bus
[ 5295.831418] em28xx #0: Alternate settings: 8
[ 5295.831420] em28xx #0: Alternate setting 0, max size= 0
[ 5295.831421] em28xx #0: Alternate setting 1, max size= 0
[ 5295.831423] em28xx #0: Alternate setting 2, max size= 1448
[ 5295.831424] em28xx #0: Alternate setting 3, max size= 2048
[ 5295.831426] em28xx #0: Alternate setting 4, max size= 2304
[ 5295.831427] em28xx #0: Alternate setting 5, max size= 2580
[ 5295.831429] em28xx #0: Alternate setting 6, max size= 2892
[ 5295.831430] em28xx #0: Alternate setting 7, max size= 3072
[ 5296.262221] input: em2880/em2870 remote control as /devices/virtual/input/input8
[ 5296.298116] em28xx-input.c: remote control handler attached
[ 5296.498108] trying to set disabled gpio? (00)
[ 5296.500960] tuner 3-0061: chip found @ 0xc2 (em28xx #0)
[ 5296.500980] attach inform (default): detected I2C address c2
[ 5296.506958] attach_inform: tvp5150 detected.
[ 5296.570068] tvp5150 3-005c: tvp5150am1 detected.
[ 5298.104771] successfully attached tuner
[ 5298.108553] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 5298.125210] analog tv open()
[ 5298.125214] modelock active!
[ 5298.126625] vbi open()
[ 5298.126628] modelock active!
[ 5298.127473] em28xx #0: V4L2 device registered as /dev/video0
[ 5298.127476] em2880-dvb.c: DVB Init
[ 5298.457986] DVB: Unable to find symbol drx3973d_attach()
[ 5298.457989] em2880-dvb.c: failed initializing zl10353 DVB-T demodulator
[ 5298.457991] em2880-dvb.c: retrying with mt352 DVB-T demodulator
[ 5298.457992] em2880-dvb.c: no luck with mt352 demodulator, not attaching em2880-dvb
[ 5298.457995] em28xx #0: Found Pinnacle Hybrid Pro (em2882)
[ 5298.494001] em28xx_audio: no version for "snd_pcm_new" found: kernel tainted.
[ 5298.514669] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 5298.514671] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 5298.514710] BUG: unable to handle kernel paging request at virtual address 38326d65
[ 5298.514713] printing eip: f8a71743 *pde = 00000000
[ 5298.514715] Oops: 0000 [#1] SMP
[ 5298.514717] Modules linked in: em28xx_audio(F) xc3028_tuner tvp5150 tuner tea5767 tda8290 tuner_simple mt20xx tea57...

Read more...

Revision history for this message
MarkusRechberger (mrechberger) wrote :
Download full text (6.2 KiB)

Hi,

On Sun, Jun 8, 2008 at 9:17 PM, Treviño (Marco Trevisan)
<email address hidden> wrote:
> I've this bug too... :(
>
> Pinnacle PCTV Hybrid Pro Stick 330e.
> Since I prefer not to change the kernel of the machine I'm using on, I'm trying to get it running on Hardy, but I failed :/
> I mean, I can get only the analog tuner working, but with no audio at all!
>
> First of all I had to install the em28xx new modules from merucurial, then not to make my keyboard freeze when plugging the usb stick in I had to do a
> sudo modprobe em28xx-dvb
>
> So I can plug the card and start watching, only, the TV.
>
> Btw this is my dmesg output, and it has many errors relating audio. Any
> idea to solve?
>

use the precompiled packages.

Markus

> -----------
> [ 5274.766342] Linux video capture interface: v2.00
> [ 5274.803119] em28xx v4l2 driver version 0.0.1 loaded
> [ 5274.803150] usbcore: registered new interface driver em28xx
> [ 5295.691373] usb 5-1: new high speed USB device using ehci_hcd and address 2
> [ 5295.831305] usb 5-1: configuration #1 chosen from 1 choice
> [ 5295.831412] em28xx new video device (2304:0226): interface 0, class 255
> [ 5295.831416] em28xx: device is attached to a USB 2.0 bus
> [ 5295.831418] em28xx #0: Alternate settings: 8
> [ 5295.831420] em28xx #0: Alternate setting 0, max size= 0
> [ 5295.831421] em28xx #0: Alternate setting 1, max size= 0
> [ 5295.831423] em28xx #0: Alternate setting 2, max size= 1448
> [ 5295.831424] em28xx #0: Alternate setting 3, max size= 2048
> [ 5295.831426] em28xx #0: Alternate setting 4, max size= 2304
> [ 5295.831427] em28xx #0: Alternate setting 5, max size= 2580
> [ 5295.831429] em28xx #0: Alternate setting 6, max size= 2892
> [ 5295.831430] em28xx #0: Alternate setting 7, max size= 3072
> [ 5296.262221] input: em2880/em2870 remote control as /devices/virtual/input/input8
> [ 5296.298116] em28xx-input.c: remote control handler attached
> [ 5296.498108] trying to set disabled gpio? (00)
> [ 5296.500960] tuner 3-0061: chip found @ 0xc2 (em28xx #0)
> [ 5296.500980] attach inform (default): detected I2C address c2
> [ 5296.506958] attach_inform: tvp5150 detected.
> [ 5296.570068] tvp5150 3-005c: tvp5150am1 detected.
> [ 5298.104771] successfully attached tuner
> [ 5298.108553] em28xx #0: V4L2 VBI device registered as /dev/vbi0
> [ 5298.125210] analog tv open()
> [ 5298.125214] modelock active!
> [ 5298.126625] vbi open()
> [ 5298.126628] modelock active!
> [ 5298.127473] em28xx #0: V4L2 device registered as /dev/video0
> [ 5298.127476] em2880-dvb.c: DVB Init
> [ 5298.457986] DVB: Unable to find symbol drx3973d_attach()
> [ 5298.457989] em2880-dvb.c: failed initializing zl10353 DVB-T demodulator
> [ 5298.457991] em2880-dvb.c: retrying with mt352 DVB-T demodulator
> [ 5298.457992] em2880-dvb.c: no luck with mt352 demodulator, not attaching em2880-dvb
> [ 5298.457995] em28xx #0: Found Pinnacle Hybrid Pro (em2882)
> [ 5298.494001] em28xx_audio: no version for "snd_pcm_new" found: kernel tainted.
> [ 5298.514669] em28xx-audio.c: probing for em28x1 non standard usbaudio
> [ 5298.514671] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
> [ 5298.514710] BUG: unable to handle kernel paging request at v...

Read more...

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Cool, now DVB-T works, but as stated before there's no audio on analogic :/.
Is this still an ubuntu issue?

Anyway, I didn't test the precompiled packages before because I thought that the mercurial repo was more up to date... Don't you have a patch to make the em28xx sources work with ubuntu?

Revision history for this message
James M. Ward (jmw86069) wrote :

Marcus, although I'm very confused about the various kernels and builds, I understand you're expecting a new release next week. Until then, my question focuses on the remote.

I was able to run "irrecord -H devinput ..." to capture the remote IR signals for the Pinnacle PCTV HD Pro 800e USB stick. It captured every signal, even the ones not recognized by the various other drivers (em28xx, v4l, pinsys, etc.) I'm not sure I did any magic, I just ran it with "devinput" as the REMOTE_DRIVER.

Nonetheless, in my current driver state, I just did get the tuner working again, and now the remote is not recognized at all (nothing about it in /proc/bus/input/devices.) Is it possible either to: (1) use the codes I captured to update the empiatech drivers, or (2) use LIRC and "devinput" instead of the empiatech keypress methodology?

Thank you for all your efforts -- I have no idea how you support so many people and tuner cards! :-)

Revision history for this message
MarkusRechberger (mrechberger) wrote :

Hi,

On Tue, Jun 10, 2008 at 5:27 PM, jmw86069 <email address hidden> wrote:
> Marcus, although I'm very confused about the various kernels and builds,
> I understand you're expecting a new release next week. Until then, my
> question focuses on the remote.
>
> I was able to run "irrecord -H devinput ..." to capture the remote IR
> signals for the Pinnacle PCTV HD Pro 800e USB stick. It captured every
> signal, even the ones not recognized by the various other drivers
> (em28xx, v4l, pinsys, etc.) I'm not sure I did any magic, I just ran it
> with "devinput" as the REMOTE_DRIVER.
>
> Nonetheless, in my current driver state, I just did get the tuner
> working again, and now the remote is not recognized at all (nothing
> about it in /proc/bus/input/devices.) Is it possible either to: (1) use
> the codes I captured to update the empiatech drivers, or (2) use LIRC
> and "devinput" instead of the empiatech keypress methodology?
>

The em28xx driver registers a normal input device, devinput is
actually the only way I know how to grab the input with lirc from the
em28xx input interface.
So using devinput is the only correct way!

> Thank you for all your efforts -- I have no idea how you support so many
> people and tuner cards! :-)
>

The manufacturer of the USB chips hired me for improving support and
adding support for newer devices. I'm on it full time now and there's
a constant improvement but into many directions. I'm aware of many
requests (my Mailbox is full with feature requests) although they have
to be pipelined in some way.

Markus

Revision history for this message
greg_b (gregory-beloncle) wrote :

Hi,

I have still the problem "FIXME:em28xx_i2c_send_bytes(1e): write failed" when I start Kaffeine after booting with device inserted.
I made some researchs and I found some peaple saying that it is no longer needed to install the firmwares in /lib/firmares.

Markus, can you confirm?

Thanks.
Greg

Revision history for this message
tunznath (tunznath) wrote : Can someone help with my DVB-t adaptor
Download full text (26.9 KiB)

Hi
I have a HVR 900 - and I cant seem to get it to work anyone have any ideas - heres the output of dmesg
--------------------------------------------------------------------------------------------------------------------------------------
es)
[ 31.805631] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 31.806755] TCP: Hash tables configured (established 131072 bind 65536)
[ 31.806765] TCP reno registered
[ 31.815262] checking if image is initramfs... it is
[ 32.266907] Switched to high resolution mode on CPU 0
[ 32.458199] Freeing initrd memory: 7723k freed
[ 32.458560] Simple Boot Flag at 0x37 set to 0x1
[ 32.459525] audit: initializing netlink socket (disabled)
[ 32.459551] audit(1213275911.288:1): initialized
[ 32.459799] highmem bounce pool size: 64 pages
[ 32.462791] VFS: Disk quotas dquot_6.5.1
[ 32.462974] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 32.463229] io scheduler noop registered
[ 32.463232] io scheduler anticipatory registered
[ 32.463234] io scheduler deadline registered
[ 32.463256] io scheduler cfq registered (default)
[ 32.463305] Boot video device is 0000:01:05.0
[ 32.463842] isapnp: Scanning for PnP cards...
[ 32.815816] isapnp: No Plug & Play device found
[ 32.921897] Real Time Clock Driver v1.12ac
[ 32.922079] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 32.922905] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
[ 32.923904] ACPI: PCI Interrupt 0000:00:14.6[B] -> GSI 17 (level, low) -> IRQ 17
[ 32.923915] ACPI: PCI interrupt for device 0000:00:14.6 disabled
[ 32.925044] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 32.925163] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 32.925354] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 32.928590] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 32.928598] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 32.930994] mice: PS/2 mouse device common for all mice
[ 32.931226] EISA: Probing bus 0 at eisa.0
[ 32.931243] Cannot allocate resource for EISA slot 4
[ 32.931253] Cannot allocate resource for EISA slot 8
[ 32.931255] EISA: Detected 0 cards.
[ 32.931259] cpuidle: using governor ladder
[ 32.931261] cpuidle: using governor menu
[ 32.931382] NET: Registered protocol family 1
[ 32.931439] Using IPI No-Shortcut mode
[ 32.931491] registered taskstats version 1
[ 32.931608] Magic number: 12:790:78
[ 32.931842] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 32.931844] EDD information not available.
[ 32.932533] Freeing unused kernel memory: 368k freed
[ 32.938893] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 34.386663] fuse init (API version 7.9)
[ 34.550633] ACPI: Transitioning device [FAN1] to D3
[ 34.550639] ACPI: Transitioning device [FAN1] to D3
[ 34.550645] ACPI: Fan [FAN1] (off)
[ 34.602352] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 34.602398] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[ 34.694365] ACPI: Thermal Zone [THZN] (59 C)
[ 35....

Revision history for this message
MarkusRechberger (mrechberger) wrote : Re: [Bug 204578] Re: 2.6.24.12 won't boot with em28xx device

On Thu, Jun 12, 2008 at 11:47 AM, greg_b <email address hidden> wrote:
> Hi,
>
> I have still the problem "FIXME:em28xx_i2c_send_bytes(1e): write failed" when I start Kaffeine after booting with device inserted.
> I made some researchs and I found some peaple saying that it is no longer needed to install the firmwares in /lib/firmares.
>
> Markus, can you confirm?
>

by using the install packages it's not needed anymore right, by
compiling the em28xx-new repository manually it's not needed either.

I'm going back to device support from this week on actually (I'm just
waiting for the green light from Empia to publish the latest code
which adds VBI/Teletext support and fixes some critical and non
critical bugs).

during that time I'll submit my tvtime patches for automatically
enabling audio support to the tvtime maintainer.

Markus

Revision history for this message
Vincenzo Di Massa (hawk-it) wrote :

MarkusRechberger wrote:
> (I'm just
> waiting for the green light from Empia to publish the latest code
> which adds VBI/Teletext support and fixes some critical and non
> critical bugs)

Hi Markus, I'm using the terratec cynergy xs usb thing... I compiled the em28xx-new on 2.6.24-1{6-7-8-9}...
I can watch tv, but if let it load the em28xx-audio.ko module my kernel dies: mouse and keyboard stop responding.

I'm using a macbook santarosa and a Core 2 quad q6600 pc. the result is the same with the precompiled modules.

Will your new code fix this? The problem happend after snd_card_register (I can't post the exact kernel message atm).
Thnak you in advance for any help.

P.S. of course if the tv card is plugged in at startup... the pc comes up without mouse/keyboard.

Regards
Vincenzo

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Thu, Jun 12, 2008 at 9:56 PM, Vincenzo Di Massa <email address hidden> wrote:
> MarkusRechberger wrote:
>> (I'm just
>> waiting for the green light from Empia to publish the latest code
>> which adds VBI/Teletext support and fixes some critical and non
>> critical bugs)
>
> Hi Markus, I'm using the terratec cynergy xs usb thing... I compiled the em28xx-new on 2.6.24-1{6-7-8-9}...
> I can watch tv, but if let it load the em28xx-audio.ko module my kernel dies: mouse and keyboard stop responding.
>
> I'm using a macbook santarosa and a Core 2 quad q6600 pc. the result is
> the same with the precompiled modules.
>
> Will your new code fix this? The problem happend after snd_card_register (I can't post the exact kernel message atm).
> Thnak you in advance for any help.
>

no, you need to include the em28xx source into the linux-ubuntu-module
package and recompile it from there then it will work. Otherwise it
compiles the driver against the wrong sources and due the wrong
interface definition between those sources it will crash.

Please read through all the messages here if you have that problem,
the whole discussion covers that issue.

Markus

Revision history for this message
Vincenzo Di Massa (hawk-it) wrote :

Ok. I'm building 2.6.24-19 version of linux-ubuntu-modules but...
I googled about 3 hours for instructions and found none

http://www.google.com/search?hl=it&safe=off&q=linux-ubuntu-modules+%22em28xx-new%22&btnG=Cerca&lr=
just gives
www.mcentral.de/wiki/index.php5/Installation_Guide
which is about removing linux-ubuntu-modules :-)

BTW...
Why the empia deb for 2.6.24-16 generic and the precompiled driver don't work as well here (keyboard stops workinkg)?

Regards
Vincenzo

Revision history for this message
Armin Barth (armin-barth) wrote : Ubuntu 8.04 with kernel 2.6.14-19-gereric

Hi Markus,
how can I use the em28xx-module with kernel 2.6.24-19-generic.

Regards
Armin

Revision history for this message
James M. Ward (jmw86069) wrote :

I suggest trying the instructions here, they worked for me.

http://ohioloco.ubuntuforums.org/showpost.php?p=5221175&postcount=53

Revision history for this message
Steven Ellis (steven-openmedia) wrote : Re: [Bug 204578] Ubuntu 8.04 with kernel 2.6.14-19-gereric

On Wed, June 25, 2008 3:21 am, Armin Barth wrote:
> Hi Markus,
> how can I use the em28xx-module with kernel 2.6.24-19-generic.
>
>
Have a look at the tips I provide at
http://www.mythtv.co.nz/mythtv/2008/06/08/hauppauge-hvr-900-tuner-and-ubuntu-hardy/

The existing modules should just work if you follow my guide.

--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - <email address hidden>
website - http://www.openmedia.co.nz

Revision history for this message
Chmiels (chmiels) wrote :

unfortunately they don't, at least for me:

[ 95.028202] em28xx: disagrees about version of symbol struct_module
[ 95.030455] em28xx_dvb: disagrees about version of symbol struct_module
[ 119.107651] usb 5-4: new high speed USB device using ehci_hcd and address 9
[ 119.247733] usb 5-4: configuration #1 chosen from 1 choice
[ 119.314829] em28xx: disagrees about version of symbol struct_module
[ 214.138474] usb 5-4: USB disconnect, address 9

linux-image-2.6.24-19-generic and empia-2.6.24-16-generic-4_amd64.deb

Revision history for this message
veerstaad (thomas-schlappa) wrote :
Download full text (17.7 KiB)

Hi,

device: MSI DigiVOX A/D II

Problems:

1. Ubuntu cannot boot if the USB Stick is plugged in.

2. If using TVtime, me-tv i get the following message:
No video source.
No signal.
No such file or directory.
Cannot open capture device /dev/video0.
No tuner device.

3. em28xx-dvb isnt loaded when plugging in. But "sudo modprobe em28xx-dvb" works before plugging in.

4. The terminal freezes (Stick plugged in) if typing "lsusb" and "sudo modprobe em28xx-dvb"

dmesg

[ 7564.105123] usb 7-1: new high speed USB device using ehci_hcd and address 10
[ 7564.261160] usb 7-1: configuration #1 chosen from 1 choice
[ 7564.977962] Linux video capture interface: v2.00
[ 7565.142030] em28xx v4l2 driver version 0.0.1 loaded
[ 7565.142103] em28xx new video device (eb1a:e323): interface 0, class 255
[ 7565.142110] em28xx: device is attached to a USB 2.0 bus
[ 7565.142115] em28xx: you're using the experimental/unstable tree from mcentral.de
[ 7565.142120] em28xx: there's also a stable tree available but which is limited to
[ 7565.142125] em28xx: linux <=2.6.19.2
[ 7565.142129] em28xx: it's fine to use this driver but keep in mind that it will move
[ 7565.142134] em28xx: to http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's
[ 7565.142139] em28xx: proved to be stable
[ 7565.142145] em28xx #0: Alternate settings: 8
[ 7565.142150] em28xx #0: Alternate setting 0, max size= 0
[ 7565.142155] em28xx #0: Alternate setting 1, max size= 0
[ 7565.142160] em28xx #0: Alternate setting 2, max size= 1448
[ 7565.142165] em28xx #0: Alternate setting 3, max size= 2048
[ 7565.142170] em28xx #0: Alternate setting 4, max size= 2304
[ 7565.142174] em28xx #0: Alternate setting 5, max size= 2580
[ 7565.142179] em28xx #0: Alternate setting 6, max size= 2892
[ 7565.142184] em28xx #0: Alternate setting 7, max size= 3072
[ 7565.333941] attach_inform: eeprom detected.
[ 7565.360643] em28xx #0: i2c eeprom 00: 1a eb 67 95 1a eb 23 e3 d0 12 5c 00 6a 22 00 00
[ 7565.360658] em28xx #0: i2c eeprom 10: 00 00 04 57 4e 07 01 00 00 00 00 00 00 00 00 00
[ 7565.360668] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 01 00 00 00 00 00 5b 1e 00 00
[ 7565.360678] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
[ 7565.360688] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360698] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360710] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
[ 7565.360722] em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 38 00 33 00 20 00 44 00
[ 7565.360734] em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
[ 7565.360746] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360758] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360770] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360782] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360794] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 7565.360806] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 75...

Revision history for this message
MarkusRechberger (mrechberger) wrote : Re: [Bug 204578] Re: 2.6.24.12 won't boot with em28xx device
Download full text (18.8 KiB)

I'm preparing the latest package for 2.6.24-19 right now and a patch
for the linux ubuntu modules package that this issue will be fixed in
future...

Markus

On Tue, Jul 1, 2008 at 8:58 PM, veerstaad <email address hidden> wrote:
> Hi,
>
> device: MSI DigiVOX A/D II
>
> Problems:
>
> 1. Ubuntu cannot boot if the USB Stick is plugged in.
>
> 2. If using TVtime, me-tv i get the following message:
> No video source.
> No signal.
> No such file or directory.
> Cannot open capture device /dev/video0.
> No tuner device.
>
> 3. em28xx-dvb isnt loaded when plugging in. But "sudo modprobe em28xx-
> dvb" works before plugging in.
>
> 4. The terminal freezes (Stick plugged in) if typing "lsusb" and "sudo
> modprobe em28xx-dvb"
>
>
> dmesg
>
> [ 7564.105123] usb 7-1: new high speed USB device using ehci_hcd and address 10
> [ 7564.261160] usb 7-1: configuration #1 chosen from 1 choice
> [ 7564.977962] Linux video capture interface: v2.00
> [ 7565.142030] em28xx v4l2 driver version 0.0.1 loaded
> [ 7565.142103] em28xx new video device (eb1a:e323): interface 0, class 255
> [ 7565.142110] em28xx: device is attached to a USB 2.0 bus
> [ 7565.142115] em28xx: you're using the experimental/unstable tree from mcentral.de
> [ 7565.142120] em28xx: there's also a stable tree available but which is limited to
> [ 7565.142125] em28xx: linux <=2.6.19.2
> [ 7565.142129] em28xx: it's fine to use this driver but keep in mind that it will move
> [ 7565.142134] em28xx: to http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's
> [ 7565.142139] em28xx: proved to be stable
> [ 7565.142145] em28xx #0: Alternate settings: 8
> [ 7565.142150] em28xx #0: Alternate setting 0, max size= 0
> [ 7565.142155] em28xx #0: Alternate setting 1, max size= 0
> [ 7565.142160] em28xx #0: Alternate setting 2, max size= 1448
> [ 7565.142165] em28xx #0: Alternate setting 3, max size= 2048
> [ 7565.142170] em28xx #0: Alternate setting 4, max size= 2304
> [ 7565.142174] em28xx #0: Alternate setting 5, max size= 2580
> [ 7565.142179] em28xx #0: Alternate setting 6, max size= 2892
> [ 7565.142184] em28xx #0: Alternate setting 7, max size= 3072
> [ 7565.333941] attach_inform: eeprom detected.
> [ 7565.360643] em28xx #0: i2c eeprom 00: 1a eb 67 95 1a eb 23 e3 d0 12 5c 00 6a 22 00 00
> [ 7565.360658] em28xx #0: i2c eeprom 10: 00 00 04 57 4e 07 01 00 00 00 00 00 00 00 00 00
> [ 7565.360668] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 01 00 00 00 00 00 5b 1e 00 00
> [ 7565.360678] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
> [ 7565.360688] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ 7565.360698] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ 7565.360710] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
> [ 7565.360722] em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 38 00 33 00 20 00 44 00
> [ 7565.360734] em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
> [ 7565.360746] em28xx #0: i2c eeprom 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ 7565.360758] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [ 7565.360770] em28x...

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

confirming due to the number of comments.

Markus if you have a package that solves this issue, can you refer to https://wiki.ubuntu.com/SponsorshipProcess and see if it can be sponsored for inclusion in Ubuntu.

Thanks.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Sat, Aug 2, 2008 at 12:07 AM, Jean-Baptiste Lallement
<email address hidden> wrote:
> confirming due to the number of comments.
>
> Markus if you have a package that solves this issue, can you refer to
> https://wiki.ubuntu.com/SponsorshipProcess and see if it can be
> sponsored for inclusion in Ubuntu.
>
I will read through it right after submitting that feedback...

A small howto again:
run "cat /proc/version"
Linux version 2.6.24-19-generic (buildd@king) (gcc version 4.2.3
(Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008

this shows up -generic behind the kernel version number, match this
string with the available empia packages:

i386/32bit:
http://mcentral.de/empia/20080804/empia-hardy-386-i386-latest.deb
http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb

amd64:
http://mcentral.de/empia/20080804/empia-hardy-generic-amd64-latest.deb

note you're welcome to link this packages on your website or in
tutorials, those links are symlinks to the actual driver packages on
the webserver, and will be linked to the latest available version.

Markus

Revision history for this message
greg_b (gregory-beloncle) wrote :

MarkusRechberger a écrit :
> A small howto again:
> run "cat /proc/version"
> Linux version 2.6.24-19-generic (buildd@king) (gcc version 4.2.3
> (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008
>
> this shows up -generic behind the kernel version number, match this
> string with the available empia packages:
>
> i386/32bit:
> http://mcentral.de/empia/20080804/empia-hardy-386-i386-latest.deb
> http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
>
> amd64:
> http://mcentral.de/empia/20080804/empia-hardy-generic-amd64-latest.deb
>
> note you're welcome to link this packages on your website or in
> tutorials, those links are symlinks to the actual driver packages on
> the webserver, and will be linked to the latest available version.
>
> Markus
>

Hi Markus,

I try to install the new package under ubuntu 2.6.24-19-generic and it
works fine! I can even now boot with device inserted and there is no
crash anymore!
Markus, you did a really good job!
Thanks a lot.

Br,
Greg

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Wed, Aug 6, 2008 at 9:57 PM, greg_b <email address hidden> wrote:
> MarkusRechberger a écrit :
>> A small howto again:
>> run "cat /proc/version"
>> Linux version 2.6.24-19-generic (buildd@king) (gcc version 4.2.3
>> (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008
>>
>> this shows up -generic behind the kernel version number, match this
>> string with the available empia packages:
>>
>> i386/32bit:
>> http://mcentral.de/empia/20080804/empia-hardy-386-i386-latest.deb
>> http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
>>
>> amd64:
>> http://mcentral.de/empia/20080804/empia-hardy-generic-amd64-latest.deb
>>
>> note you're welcome to link this packages on your website or in
>> tutorials, those links are symlinks to the actual driver packages on
>> the webserver, and will be linked to the latest available version.
>>
>> Markus
>>
>
> Hi Markus,
>
> I try to install the new package under ubuntu 2.6.24-19-generic and it
> works fine! I can even now boot with device inserted and there is no
> crash anymore!
> Markus, you did a really good job!
> Thanks a lot.
>

great, thanks

For those who don't know there's a mailinglist available with a few
hundred subscribers already:

This is the general discussion mailinglist (patches can be posted there too):
http://mcentral.de/mailman/listinfo/em28xx

em28xx-commits will notify about em28xx related patches which got committed:
http://mcentral.de/mailman/listinfo/em28xx-commits

Markus

> Br,
> Greg
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

marking "Fix commited" due to the latest comments.

Changed in linux:
status: Confirmed → Fix Committed
Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

Markus,

Could you please write a howto for compiling module for ubuntu from sources?

As I can imagine, it is just necessary to join together kernel source with LUM sources and build the em28xx module on such mixing (to resolv all audio issues with different alsa versions) - or, might be, to place the em28xx into LUM and compile it this way...

However, it would be really good to have a possibility to make the driver from sources.

I am using Asus EeePC 900 with Adam's kernel - 2.6.24-20-eeepc (provided specially for EeePc on array.org) and Pinnacle tuner (330e).
I tried to force it to work using this manual: https://wiki.ubuntu.com/em28xx (there is adviced to compile sources from http://mcentral.de/hg/~mrec/v4l-dvb-kernel and just install it). I tried it, and it works with analog TV (by the way, I don't have DVB in my region), but without sound. It says "em28xx_audio: no version for "snd_pcm_new" found: kernel tainted" into dmesg.

I would like to probe your precompiled module, but unfortunately it doesn't work with my kernel.

So, could you please describe how to compile such module?

Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

I've compiled working em28xx myself for 2.6.24-20-eeepc by placing the em28xx code inside LUM sources and recompiling the LUM.

I am going to publish this howto in a wiki.

However - it would be nice to be possible to compile this standalone packet also.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Sat, Aug 9, 2008 at 6:49 AM, Alexey Vinogradov
<email address hidden> wrote:
> I've compiled working em28xx myself for 2.6.24-20-eeepc by placing the
> em28xx code inside LUM sources and recompiling the LUM.
>

it's not so difficult.

> I am going to publish this howto in a wiki.
>

not sure if you saw the ubuntu directory in the sources it contains
modified makefiles for the lum package. Would be nice if you could put
all this up into a wiki.by using those makefiles.

> However - it would be nice to be possible to compile this standalone
> packet also.
>

it's not possible unless ubuntu guys add the alsa headers to the real
kernel sources there, otherwise the interface won't match and the
em28xx audio driver crashes because of that.

Markus

> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Alexander Schaber (alexanderschaber) wrote :

Hello Markus,

(Hardware: Cinergy Hybrid XS FM)

I've just tried your "latest" packages on a Ubuntu 8.04 x86 Machine with all patches applied. And it worked! :)

And I've also just tried your "latest" packages on another Ubuntu 8.04 x86_64 Machine with all patches applied. And it did not work :( Here is the output of dmesg:

[ 126.649753] usb 5-4: new high speed USB device using ehci_hcd and address 2
[ 126.789422] usb 5-4: configuration #1 chosen from 1 choice
[ 126.921085] Linux video capture interface: v2.00
[ 127.011185] em28xx: disagrees about version of symbol v4l2_video_std_construct
[ 127.011191] em28xx: Unknown symbol v4l2_video_std_construct
[ 127.011334] em28xx: disagrees about version of symbol v4l2_type_names
[ 127.011335] em28xx: Unknown symbol v4l2_type_names
[ 127.011513] em28xx: disagrees about version of symbol video_unregister_device
[ 127.011514] em28xx: Unknown symbol video_unregister_device
[ 127.011565] em28xx: disagrees about version of symbol video_device_alloc
[ 127.011566] em28xx: Unknown symbol video_device_alloc
[ 127.011585] em28xx: disagrees about version of symbol video_register_device
[ 127.011587] em28xx: Unknown symbol video_register_device
[ 127.011759] em28xx: disagrees about version of symbol video_device_release
[ 127.011761] em28xx: Unknown symbol video_device_release

Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

Markus,

I saw the ubuntu folder. I've investigated your build.sh script and found the key "ubuntu".

About standalone packet - I just included em28xx into LUM with your "ubuntu" key and then extracted a subset containing only em28xx staff. I've packed it into .deb - just exactly as you did. And - I also added dependency for the packed from appropriate LUM.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Sat, Aug 9, 2008 at 2:40 PM, Alexander Schaber
<email address hidden> wrote:
> Hello Markus,
>
> (Hardware: Cinergy Hybrid XS FM)
>
> I've just tried your "latest" packages on a Ubuntu 8.04 x86 Machine with
> all patches applied. And it worked! :)
>
> And I've also just tried your "latest" packages on another Ubuntu 8.04
> x86_64 Machine with all patches applied. And it did not work :( Here is
> the output of dmesg:
>
> [ 126.649753] usb 5-4: new high speed USB device using ehci_hcd and address 2
> [ 126.789422] usb 5-4: configuration #1 chosen from 1 choice
> [ 126.921085] Linux video capture interface: v2.00
> [ 127.011185] em28xx: disagrees about version of symbol v4l2_video_std_construct
> [ 127.011191] em28xx: Unknown symbol v4l2_video_std_construct
> [ 127.011334] em28xx: disagrees about version of symbol v4l2_type_names
> [ 127.011335] em28xx: Unknown symbol v4l2_type_names
> [ 127.011513] em28xx: disagrees about version of symbol video_unregister_device
> [ 127.011514] em28xx: Unknown symbol video_unregister_device
> [ 127.011565] em28xx: disagrees about version of symbol video_device_alloc
> [ 127.011566] em28xx: Unknown symbol video_device_alloc
> [ 127.011585] em28xx: disagrees about version of symbol video_register_device
> [ 127.011587] em28xx: Unknown symbol video_register_device
> [ 127.011759] em28xx: disagrees about version of symbol video_device_release
> [ 127.011761] em28xx: Unknown symbol video_device_release
>

Alexander, what does cat /proc/version show up?

Markus

> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Alexander Schaber (alexanderschaber) wrote :

alexander:~$ cat /proc/version
Linux version 2.6.24-19-generic (buildd@king) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008

alexander:~$ uname -a
Linux alexander-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux

Greetings
 Alexander

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Mon, Aug 11, 2008 at 8:49 AM, Alexander Schaber
<email address hidden> wrote:
> alexander:~$ cat /proc/version
> Linux version 2.6.24-19-generic (buildd@king) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 21:01:46 UTC 2008
>
> alexander:~$ uname -a
> Linux alexander-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux
>
>

this should be fine actually did you do some manual updates eg. did
you try to install v4l-dvb-experimental or v4l-dvb from linuxtv.org?

The kernel which the packages were made for is the same, so I guess
you might have pulled some custom changes in there.

Markus

Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

Here is the package for 2.6.24-21-eeepc kernel (which is from array.org)

Revision history for this message
Alexander Schaber (alexanderschaber) wrote :

Markus, it's quiet possible that I fiddled with the v4l stuff from linuxtv.org .. Is there a way to find that out for sure and in the case, that I did try those versions, how do I revert that?

Greetings Alexander

Revision history for this message
DougM (demdel) wrote :

I have gone through several iterations of loading ubuntu's 2.6.24-19-generic #1 SMP and using Markus' http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb package. From experience mixing v4l from any of the howtos on the linuxtv site or at mcentral yield a non-functioning video setup; neither scan, kaffeine, nor analog tvtime work.

The best I have done is get tvtime to work with sox and Markus' driver package above with a clean load of 2.6.24-19-generic.

The best way I have found to get back to a working configuration is to boot an alternative kernel (I always have a spare :), remove the non-functioning kernel packages (and rm lefotvers if needed), then re-install the packages again. Time consuming, but guaranteed results.

The v4l Makefile has a "remove", which along with reinstalling Markus' .deb package should work (followed by a depmod -a), but I prefer a clean slate.

I woud like to know how to get ATSC in the states working on the HVR-950; ubuntu's scan (dvbscan) and w_can do not seem to work,, although the /dev/dvb files are there.
Response is:

# w_scan -a 0
w_scan version 20080105
-_-_-_-_ Getting frontend capabilities-_-_-_-_
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!
dumping lists (0 services)
Done.

Any thought on the dvb side would be appreciated. I would be happy to provide detailed information. BTW;platform is EeePC 901.
Doug.

Revision history for this message
pudland (pudland-verizon) wrote :

hello,
  I have a pinnacle pctv hd pro stick 801e.
  I have: Linux version 2.6.24-19-generic (buildd@terranova) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008

I justed installed the: http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
and am not sure if i have to make and make install....... etc.

must I?

Thanks for the work Markus/everyone,
Adam

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Thu, Aug 21, 2008 at 11:07 PM, pudland <email address hidden> wrote:
> hello,
> I have a pinnacle pctv hd pro stick 801e.
> I have: Linux version 2.6.24-19-generic (buildd@terranova) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008
>
> I justed installed the: http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
> and am not sure if i have to make and make install....... etc.
>
> must I?
>

801e is not an Empia based stick.

Markus

Revision history for this message
pudland (pudland-verizon) wrote :

Markus,
  Ok, what led me to this path was this:
 http://www.mythtv.org/wiki/index.php/Pinnacle_PCTV_HD_Pro_USB_Stick.

  I did some quick google'in and cant find the chipset. Should i break it open and look?

Thanks,
Adam

Revision history for this message
pudland (pudland-verizon) wrote :

EDIT...

It seems to be a "DiBcom DiB7700 chip".

Never heard that one before.

Adam

Revision history for this message
DougM (demdel) wrote :

Latest results:
Analog TV works (sound and video):
Ubuntu kernel: 2.6.24-19-generic #1 SMP
Markus' http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
Ubuntu's tvtime and sox workaround for audio.

DVB - ATSC works:
Ubuntu eeepc: 2.6.24-20-eeepc
v4l-dvb-experimental (using hg from mcentral: hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental)
xine, scan (dvbscan), and me-tv work (although the latter is a little on the choppy side).
Analog TV: audio does not work; video works but without audio via tvtime (sox workaround does not seem to work).

The latest ubuntu eeepc kernel, 2.6.24-21-eeepc
Neither of the above work (although I see it has the new alsa audio drivers for the eeepc).

Doug.

Revision history for this message
DougM (demdel) wrote :

Should have mentioned, above posts are for the HVR-950.
Doug.

Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

Doug,

I've compiled the empia-new as .deb for 2.6.24-20-eeepc and 2.6.24-21-eeepc.
You cand find them as the attachments in the comments to this bug issue.

2008/8/22 DougM <email address hidden>

> Latest results:
> Analog TV works (sound and video):
> Ubuntu kernel: 2.6.24-19-generic #1 SMP
> Markus'
> http://mcentral.de/empia/20080804/empia-hardy-generic-i386-latest.deb
> Ubuntu's tvtime and sox workaround for audio.
>
> DVB - ATSC works:
> Ubuntu eeepc: 2.6.24-20-eeepc
> v4l-dvb-experimental (using hg from mcentral: hg clone
> http://mcentral.de/hg/~mrec/v4l-dvb-experimental<http://mcentral.de/hg/%7Emrec/v4l-dvb-experimental>
> )
> xine, scan (dvbscan), and me-tv work (although the latter is a little on
> the choppy side).
> Analog TV: audio does not work; video works but without audio via tvtime
> (sox workaround does not seem to work).
>
> The latest ubuntu eeepc kernel, 2.6.24-21-eeepc
> Neither of the above work (although I see it has the new alsa audio drivers
> for the eeepc).
>
> Doug.
>

Revision history for this message
DougM (demdel) wrote :

Alexey,
Thanks for the .deb packages. I loaded the 2.6.24-21-eeepc against its associated kernel image/headers, etc. Analog TV with tvtime/sox works. ATSC/DVB (i.e. scan/w_scan/xine/me-tv) does not. Is there an option required for em28xx module to work in DVB mode (noticed a message in dmesg about em28xx-audio in analog mode)? Is additional software/driver required or driver conflict I should be aware of which renders DVB operable (or not in the case of conflict)?
Thanks,
Doug,

Revision history for this message
Alexey Vinogradov (a-n-vinogradov) wrote :

Doug,

I have not any possibility to test dvb module - since there is no such
signal in my area. I've just compiled the module for ubuntu.
However - you could look to the output of dmesg and report it here. Markus
is the actual author of these source - and if some enormous will be there,
he will tell you about.

AFAIK the module em28xx-dvb is required for DVB. However, on my EEEPC it
seems that this module is loaded without an error (but however - I don't
have dvb signal to check it).

Revision history for this message
DougM (demdel) wrote :
Download full text (5.4 KiB)

Alexey,
Thanks. Regrettably, analog TV will be gone in 6 months in US by law, so need to have DVB by then. Providing more information in hopes of some insight. o me it appears modules load, so suspect issue is compatibility with applications, unknown options, or missing layer (or something between my ears :).
Doug.

uname -a
Linux doug 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux

dmesg | grep em28
[ 25.653594] em28xx v4l2 driver version 0.0.1 loaded
[ 25.702122] em28xx: new video device (2040:6513): interface 0, class 255
[ 25.702131] em28xx: device is attached to a USB 2.0 bus
[ 25.702141] em28xx #0: Alternate settings: 8
[ 25.702146] em28xx #0: Alternate setting 0, max size= 0
[ 25.702152] em28xx #0: Alternate setting 1, max size= 0
[ 25.702158] em28xx #0: Alternate setting 2, max size= 1448
[ 25.702164] em28xx #0: Alternate setting 3, max size= 2048
[ 25.702170] em28xx #0: Alternate setting 4, max size= 2304
[ 25.702175] em28xx #0: Alternate setting 5, max size= 2580
[ 25.702181] em28xx #0: Alternate setting 6, max size= 2892
[ 25.702187] em28xx #0: Alternate setting 7, max size= 3072
[ 27.981956] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 28.000930] em28xx #0: V4L2 device registered as /dev/video0
[ 28.000942] em28xx #0: Found Hauppauge WinTV HVR 950
[ 28.000993] usbcore: registered new interface driver em28xx
[ 28.065607] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 28.065616] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 28.119432] em2880-dvb.c: DVB Init
[ 28.563549] DVB: registering new adapter (em2880 DVB-T)

lsmod:
Module Size Used by
nls_iso8859_1 4224 1
nls_cp437 5888 1
vfat 13952 1
fat 53660 1 vfat
ipv6 268292 10
af_packet 23044 4
i915 31744 2
drm 81556 3 i915
ppdev 9604 0
sbs 14344 0
sbshc 6912 1 sbs
dock 10512 0
container 4864 0
acpi_cpufreq 9876 0
cpufreq_userspace 4396 0
cpufreq_stats 6284 0
cpufreq_powersave 1920 0
cpufreq_ondemand 8972 2
freq_table 4744 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 7944 0
iptable_filter 3072 0
ip_tables 14028 1 iptable_filter
x_tables 15364 1 ip_tables
ext3 135944 2
jbd 47380 1 ext3
lgdt330x 8964 1
parport_pc 35492 0
lp 11556 0
parport 37064 3 ppdev,parport_pc,lp
em28xx_dvb 16644 0
dvb_core 80764 2 lgdt330x,em28xx_dvb
em28xx_audio 10372 0
xc3028_tuner 5760 1
tvp5150 19600 0
evdev 12160 6
usb_storage 72640 1
em28xx 370880 2 em28xx_dvb,em28xx_audio
libusual 18340 1 usb_storage
i2c_core 24064 4 lgdt330x,xc3028_tuner,tvp5150,em28xx
videodev 28544 1 em28...

Read more...

Revision history for this message
Olivier (olivier-piat) wrote :
Download full text (15.5 KiB)

Hello DougM,
I don't know if I can solve your issue, but to me the package provided
worked after a few tricks.
But first, have you installed Kaffeine ? Because when I first tried DVB,
the Digital TV option appeared on Kaffeine, but I could not scan the
channels, and the problem was on the frontend, the system loaded the
distribution frontend module, instead of the empia package one. So I
replaced the zl10353.ko (for my Terratec Hybrid Cinergy XS, yours should
be something like lgdt330x) with the one on the package, and it worked.

I am using Ubuntu Hardy Amd64 version 2.6.24-19.

Also, could you provide the rest of dmesg for when you plug in the tv
receptor (not just em28) ?
And just an FYI, you can use "grep -i" for insensitive case (I just
found out about it, Em28 lines did not appear below).

Le dimanche 24 août 2008 à 01:30 +0000, DougM a écrit :
> Alexey,
> Thanks. Regrettably, analog TV will be gone in 6 months in US by law, so need to have DVB by then. Providing more information in hopes of some insight. o me it appears modules load, so suspect issue is compatibility with applications, unknown options, or missing layer (or something between my ears :).
> Doug.
>
> uname -a
> Linux doug 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux
>
> dmesg | grep em28
> [ 25.653594] em28xx v4l2 driver version 0.0.1 loaded
> [ 25.702122] em28xx: new video device (2040:6513): interface 0, class 255
> [ 25.702131] em28xx: device is attached to a USB 2.0 bus
> [ 25.702141] em28xx #0: Alternate settings: 8
> [ 25.702146] em28xx #0: Alternate setting 0, max size= 0
> [ 25.702152] em28xx #0: Alternate setting 1, max size= 0
> [ 25.702158] em28xx #0: Alternate setting 2, max size= 1448
> [ 25.702164] em28xx #0: Alternate setting 3, max size= 2048
> [ 25.702170] em28xx #0: Alternate setting 4, max size= 2304
> [ 25.702175] em28xx #0: Alternate setting 5, max size= 2580
> [ 25.702181] em28xx #0: Alternate setting 6, max size= 2892
> [ 25.702187] em28xx #0: Alternate setting 7, max size= 3072
> [ 27.981956] em28xx #0: V4L2 VBI device registered as /dev/vbi0
> [ 28.000930] em28xx #0: V4L2 device registered as /dev/video0
> [ 28.000942] em28xx #0: Found Hauppauge WinTV HVR 950
> [ 28.000993] usbcore: registered new interface driver em28xx
> [ 28.065607] em28xx-audio.c: probing for em28x1 non standard usbaudio
> [ 28.065616] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
> [ 28.119432] em2880-dvb.c: DVB Init
> [ 28.563549] DVB: registering new adapter (em2880 DVB-T)
>
> lsmod:
> Module Size Used by
> nls_iso8859_1 4224 1
> nls_cp437 5888 1
> vfat 13952 1
> fat 53660 1 vfat
> ipv6 268292 10
> af_packet 23044 4
> i915 31744 2
> drm 81556 3 i915
> ppdev 9604 0
> sbs 14344 0
> sbshc 6912 1 sbs
> dock 10512 0
> container 4864 0
> acpi_cpufreq 9876 0
> cpufreq_userspace 4396 0
> cpufreq_stats 6284 0
> cpufreq_powersa...

Revision history for this message
MarkusRechberger (mrechberger) wrote :
Download full text (16.1 KiB)

Hi,

I have some good news we're replacing the alsa driver with a vendor
specific audio driver, this will allow to compile the driver again the
normal way! The driver should be available within the next few days.

Markus

On Wed, Aug 27, 2008 at 12:33 AM, Olivier <email address hidden> wrote:
> Hello DougM,
> I don't know if I can solve your issue, but to me the package provided
> worked after a few tricks.
> But first, have you installed Kaffeine ? Because when I first tried DVB,
> the Digital TV option appeared on Kaffeine, but I could not scan the
> channels, and the problem was on the frontend, the system loaded the
> distribution frontend module, instead of the empia package one. So I
> replaced the zl10353.ko (for my Terratec Hybrid Cinergy XS, yours should
> be something like lgdt330x) with the one on the package, and it worked.
>
> I am using Ubuntu Hardy Amd64 version 2.6.24-19.
>
> Also, could you provide the rest of dmesg for when you plug in the tv
> receptor (not just em28) ?
> And just an FYI, you can use "grep -i" for insensitive case (I just
> found out about it, Em28 lines did not appear below).
>
> Le dimanche 24 août 2008 à 01:30 +0000, DougM a écrit :
>> Alexey,
>> Thanks. Regrettably, analog TV will be gone in 6 months in US by law, so need to have DVB by then. Providing more information in hopes of some insight. o me it appears modules load, so suspect issue is compatibility with applications, unknown options, or missing layer (or something between my ears :).
>> Doug.
>>
>> uname -a
>> Linux doug 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux
>>
>> dmesg | grep em28
>> [ 25.653594] em28xx v4l2 driver version 0.0.1 loaded
>> [ 25.702122] em28xx: new video device (2040:6513): interface 0, class 255
>> [ 25.702131] em28xx: device is attached to a USB 2.0 bus
>> [ 25.702141] em28xx #0: Alternate settings: 8
>> [ 25.702146] em28xx #0: Alternate setting 0, max size= 0
>> [ 25.702152] em28xx #0: Alternate setting 1, max size= 0
>> [ 25.702158] em28xx #0: Alternate setting 2, max size= 1448
>> [ 25.702164] em28xx #0: Alternate setting 3, max size= 2048
>> [ 25.702170] em28xx #0: Alternate setting 4, max size= 2304
>> [ 25.702175] em28xx #0: Alternate setting 5, max size= 2580
>> [ 25.702181] em28xx #0: Alternate setting 6, max size= 2892
>> [ 25.702187] em28xx #0: Alternate setting 7, max size= 3072
>> [ 27.981956] em28xx #0: V4L2 VBI device registered as /dev/vbi0
>> [ 28.000930] em28xx #0: V4L2 device registered as /dev/video0
>> [ 28.000942] em28xx #0: Found Hauppauge WinTV HVR 950
>> [ 28.000993] usbcore: registered new interface driver em28xx
>> [ 28.065607] em28xx-audio.c: probing for em28x1 non standard usbaudio
>> [ 28.065616] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
>> [ 28.119432] em2880-dvb.c: DVB Init
>> [ 28.563549] DVB: registering new adapter (em2880 DVB-T)
>>
>> lsmod:
>> Module Size Used by
>> nls_iso8859_1 4224 1
>> nls_cp437 5888 1
>> vfat 13952 1
>> fat 53660 1 vfat
>> ipv6 268292 10
>> af_packet 23044 4
>> i915 ...

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Wed, Aug 27, 2008 at 1:01 AM, Markus Rechberger
<email address hidden> wrote:
> Hi,
>
> I have some good news we're replacing the alsa driver with a vendor
> specific audio driver, this will allow to compile the driver again the
> normal way! The driver should be available within the next few days.
>

for those who want to test the alphacode:

$ hg clone http://mcentral.de/hg/~mrec/em28xx-new
$ cd em28xx-new
$ ./build.sh build
$ ./build.sh install

now the custom part:
$ find /lib/modules | grep em28xx-audio | xargs rm
// take care that the em28xx-audio module is not loadable from somewhere.
$ modprobe em28xx.ko
$ insmod em28xx-aad.ko

this module creates an audio node called /dev/aad0 it's a very
simplistic interface I'll add some more features lateron (eg. support
for poll()/select())

----

This driver is not compatible with alsa, so sox and arecord will not
work anymore instead there's a small testapplication available in
aad_test

$ cd aad_test
$ make
$ ./test | aplay --format=S16_LE --rate=48000 -c 2

(this testtool uses /dev/aad0 it's currently hardcoded).

The driver currently only supports one attached device, it's also on
the todolist.

Now this shouldn't require the linux ubuntu modules sourcepackage anymore.
The aad driver is much simpler to programm and use than the alsa
framework. We have business customers who have serious problems with
alsa which makes it unacceptable to use.

Markus

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Wed, Aug 27, 2008 at 2:55 AM, Markus Rechberger
<email address hidden> wrote:
> On Wed, Aug 27, 2008 at 1:01 AM, Markus Rechberger
> <email address hidden> wrote:
>> Hi,
>>
>> I have some good news we're replacing the alsa driver with a vendor
>> specific audio driver, this will allow to compile the driver again the
>> normal way! The driver should be available within the next few days.
>>
>
> for those who want to test the alphacode:
>
> $ hg clone http://mcentral.de/hg/~mrec/em28xx-new
> $ cd em28xx-new
> $ ./build.sh build
> $ ./build.sh install
>
> now the custom part:
> $ find /lib/modules | grep em28xx-audio | xargs rm
> // take care that the em28xx-audio module is not loadable from somewhere.
> $ modprobe em28xx.ko
> $ insmod em28xx-aad.ko
>
> this module creates an audio node called /dev/aad0 it's a very
> simplistic interface I'll add some more features lateron (eg. support
> for poll()/select())
>
> ----
>
> This driver is not compatible with alsa, so sox and arecord will not
> work anymore instead there's a small testapplication available in
> aad_test
>
> $ cd aad_test
> $ make
> $ ./test | aplay --format=S16_LE --rate=48000 -c 2
>
> (this testtool uses /dev/aad0 it's currently hardcoded).
>
> The driver currently only supports one attached device, it's also on
> the todolist.
>
> Now this shouldn't require the linux ubuntu modules sourcepackage anymore.
> The aad driver is much simpler to programm and use than the alsa
> framework. We have business customers who have serious problems with
> alsa which makes it unacceptable to use.
>

tvtime on mcentral.de is also patched to support the aad interface

$ hg clone http://mcentral.de/hg/~mrec/tvtime
$ cd tvtime
$ ./bootstrap
$ ./configure --prefix=/usr
// you might change the configure part accordingly to your system
$ make
$ make install
$ tvtime

Markus

Revision history for this message
DougM (demdel) wrote :
Download full text (38.0 KiB)

Markus,
The alpha code for em28xx and tvtime work well for analog TV on my eeepc, however still no joy on the DVB.
uname: Linux dm12345 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux

I did notice lgdt330x.ko in media/dvb/frontend
/lib/modules/2.6.24-21-eeepc/kernel/drivers/media/dvb/frontends/lgdt330x.ko
/lib/modules/2.6.24-21-eeepc/empia/lgdt3304.ko
Not sure if this is source of conflict?

Olivier et al, lsmod, dmesg in full follows.

Doug.
lsmod:
Module Size Used by
lgdt330x 8964 1
em28xx_dvb 16644 0
dvb_core 80764 2 lgdt330x,em28xx_dvb
tuner_xc3028 5888 1
tvp5150 19600 0
em28xx 373056 1 em28xx_dvb
i2c_core 24064 4 lgdt330x,tuner_xc3028,tvp5150,em28xx
videodev 28544 1 em28xx
v4l2_common 17664 2 em28xx,videodev
v4l1_compat 14724 2 em28xx,videodev
nls_iso8859_1 4224 1
nls_cp437 5888 1
vfat 13952 1
fat 53660 1 vfat
af_packet 23044 4
i915 31744 2
drm 81556 3 i915
ppdev 9604 0
ipv6 268292 16
sbs 14344 0
sbshc 6912 1 sbs
dock 10512 0
container 4864 0
acpi_cpufreq 9876 0
cpufreq_userspace 4396 0
cpufreq_stats 6284 0
cpufreq_powersave 1920 0
cpufreq_ondemand 8972 2
freq_table 4744 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 7944 0
iptable_filter 3072 0
ip_tables 14028 1 iptable_filter
x_tables 15364 1 ip_tables
ext3 135944 2
jbd 47380 1 ext3
parport_pc 35492 0
lp 11556 0
parport 37064 3 ppdev,parport_pc,lp
snd_hda_intel 346128 3
snd_pcm_oss 41248 0
snd_mixer_oss 17024 1 snd_pcm_oss
snd_pcm 77572 2 snd_hda_intel,snd_pcm_oss
snd_page_alloc 10632 2 snd_hda_intel,snd_pcm
snd_hwdep 9732 1 snd_hda_intel
snd_seq_dummy 4100 0
evdev 12160 6
usbhid 31616 0
hid 38144 1 usbhid
psmouse 44180 0
serio_raw 7172 0
atl1e 35092 0
snd_seq_oss 34560 0
snd_seq_midi 8480 0
rt2860sta 524120 1
snd_rawmidi 24864 1 snd_seq_midi
pcspkr 3456 0
snd_seq_midi_event 7552 2 snd_seq_oss,snd_seq_midi
iTCO_wdt 12196 0
iTCO_vendor_support 4100 1 iTCO_wdt
snd_seq 53200 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
shpchp 33428 0
pci_hotplug 14728 1 shpchp
snd_timer 23940 2 snd_pcm,snd_seq
snd_seq_device 8716 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 55972 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss...

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Fri, Aug 29, 2008 at 4:58 PM, DougM <email address hidden> wrote:
> Markus,
> The alpha code for em28xx and tvtime work well for analog TV on my eeepc, however still no joy on the DVB.
> uname: Linux dm12345 2.6.24-21-eeepc #1 SMP Thu Aug 7 22:18:05 MDT 2008 i686 GNU/Linux
>
> I did notice lgdt330x.ko in media/dvb/frontend
> /lib/modules/2.6.24-21-eeepc/kernel/drivers/media/dvb/frontends/lgdt330x.ko
> /lib/modules/2.6.24-21-eeepc/empia/lgdt3304.ko
> Not sure if this is source of conflict?
>

give me some time I just moved to a new aparment and setting up
everything here .. already got more technical equipment here than
furniture (which is bad!)

I'm meeting the people from Empia this week and they're very
interested in getting more customers in that area too.

eeePC and Acer Aspire One (netbook) are a topic - we already have
graphical installers for it actually.

Markus

Revision history for this message
Xwang (xwang1976) wrote :
Download full text (3.8 KiB)

I've tried to compile tvtime as explained but it gives this error:
/tvtime$ make
make all-recursive
make[1]: Entering directory `/home/andreak/tvtime'
Making all in intl
make[2]: Entering directory `/home/andreak/tvtime/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andreak/tvtime/intl'
Making all in m4
make[2]: Entering directory `/home/andreak/tvtime/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andreak/tvtime/m4'
Making all in docs
make[2]: Entering directory `/home/andreak/tvtime/docs'
Making all in man
make[3]: Entering directory `/home/andreak/tvtime/docs/man'
Making all in de
make[4]: Entering directory `/home/andreak/tvtime/docs/man/de'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andreak/tvtime/docs/man/de'
Making all in en
make[4]: Entering directory `/home/andreak/tvtime/docs/man/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andreak/tvtime/docs/man/en'
Making all in es
make[4]: Entering directory `/home/andreak/tvtime/docs/man/es'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andreak/tvtime/docs/man/es'
make[4]: Entering directory `/home/andreak/tvtime/docs/man'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/andreak/tvtime/docs/man'
make[3]: Leaving directory `/home/andreak/tvtime/docs/man'
make[3]: Entering directory `/home/andreak/tvtime/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/andreak/tvtime/docs'
make[2]: Leaving directory `/home/andreak/tvtime/docs'
Making all in data
make[2]: Entering directory `/home/andreak/tvtime/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andreak/tvtime/data'
Making all in plugins
make[2]: Entering directory `/home/andreak/tvtime/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andreak/tvtime/plugins'
Making all in src
make[2]: Entering directory `/home/andreak/tvtime/src'
gcc -DHAVE_CONFIG_H -I. -I.. `/usr/bin/freetype-config --cflags` -Wall -pedantic -I. -DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/usr/etc/tvtime\"" -DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\"" -I../plugins -I/usr/include/libxml2 -g -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-x11output.o -MD -MP -MF .deps/tvtime-x11output.Tpo -c -o tvtime-x11output.o `test -f 'x11output.c' || echo './'`x11output.c
x11output.c:24:28: error: ffmpeg/swscale.h: Nessun file o directory
x11output.c: In function ‘get_sws_cpuflags’:
x11output.c:110: error: ‘SWS_CPU_CAPS_MMX’ undeclared (first use in this function)
x11output.c:110: error: (Each undeclared identifier is reported only once
x11output.c:110: error: for each function it appears in.)
x11output.c:114: error: ‘SWS_CPU_CAPS_3DNOW’ undeclared (first use in this function)
x11output.c: In function ‘x11_set_size’:
x11output.c:146: warning: implicit declaration of function ‘sws_freeContext’
x11output.c:147: warning: implicit declaration of function ‘sws_getContext’
x11output.c:147: error: ‘PIX_FMT_YUYV422’ undeclared (first use in this function)
x11output.c:147: error: ‘PIX_FMT_RG...

Read more...

Revision history for this message
Vincenzo Di Massa (hawk-it) wrote :

On Sun, Aug 31, 2008 at 5:46 PM, Xwang <email address hidden> wrote:

<snip>

>
> gcc -DHAVE_CONFIG_H -I. -I.. `/usr/bin/freetype-config --cflags` -Wall
> -pedantic -I. -DDATADIR="\"/usr/share/tvtime\""
> -DCONFDIR="\"/usr/etc/tvtime\"" -DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE
> -DLOCALEDIR="\"/usr/share/locale\"" -I../plugins -I/usr/include/libxml2
> -g -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-x11output.o -MD -MP -MF
> .deps/tvtime-x11output.Tpo -c -o tvtime-x11output.o `test -f 'x11output.c'
> || echo './'`x11output.c
> x11output.c:24:28: error: ffmpeg/swscale.h: Nessun file o directory

------------------------------------^^^^^^^^^^^^^^^^^^^^^----------------------------------

<snip>

> What can I do?

It's easy :-) Just issue the command:
$ sudo apt-get install libswscale-dev

How do you know which package has the needed file (swscale.h) ?
$sudo apt-get install apt-file
...
$sudo apt-file update
...
$apt-file search swscale.h
libswscale-dev: /usr/include/ffmpeg/swscale.h

Regards
Vincenzo

Revision history for this message
waspbloke (david-emmo) wrote :

Hello,

not sure if I really understand even 5% of some of this thread and some of it scares the willies out of me as a novice linux user...that said, I've been using ubuntu for 5 weeks on my lappie and managed to get through some chewy stuff already, sooo....

I have a spare PC with half decent HW and a HVR900 stick and I want to install ubuntu/MythTV on it...what's my best course of action?

My guess from reading around and this thread is something like:

- Clean install ubuntu
- Install MythTV
- Install all those 'extra' codecs and what-not from medibuntu (maybe?)
- Apply the appropriate patch as per Markus' post above
- do some voodoo(???)

...and my HVR900 will be good to go...??? :-D :-D :-D

Probably got it all wrong but if you want to use me as a test case and keep the instructions pretty simple, I'll be happy to try it all out.

My PC is an ASUS mobo with an AMD cpu (1.8GHz ish), Geforce4 Ti4600 AGP4 GPU card, Creative SB live PCI sound.

Hauppauge WinTV-HVR900 (USB2), M/R:65018/B2C0 #4006

I did a ubuntu test install on it a couple weeks ago and it seemed happy enough.

Look forward to your suggestions.

Revision history for this message
Shiraz Khan (shirazakhan) wrote :

Dear Markus,

After going throught hell of time, I have finally given up. I had gone through all the possible workarounds but there is still no sound on tvime (it shows 0 volume, which doesn't increase). I have built the tvtime from scratch, and installed em28xx_new drivers also. But still no sound :(
I read somewhere that this usb tv card is working fine in fedora 9. It is some issue with ubuntu kernel :-?
Please help !!

Revision history for this message
Vincenzo Di Massa (hawk-it) wrote :

I have built the tvtime from scratch... where did you fetch tvtime from?
The right place is from the repo at http://mcentral.de/
@Markus: is that correct when using latest packages?

Regards
Vincenzo

On Fri, Sep 5, 2008 at 1:18 PM, Shiraz Khan <email address hidden> wrote:
> Dear Markus,
>
> After going throught hell of time, I have finally given up. I had gone through all the possible workarounds but there is still no sound on tvime (it shows 0 volume, which doesn't increase). I have built the tvtime from scratch, and installed em28xx_new drivers also. But still no sound :(
> I read somewhere that this usb tv card is working fine in fedora 9. It is some issue with ubuntu kernel :-?
> Please help !!
>
> ** Attachment added: "Dmesg Output"
> http://launchpadlibrarian.net/17302525/dmesg_out
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Shiraz Khan (shirazakhan) wrote :

I built tvtime using sources from mcentral.de.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Fri, Sep 5, 2008 at 3:55 PM, Shiraz Khan <email address hidden> wrote:
> I built tvtime using sources from mcentral.de.
>

let me update the buildscripts tomorrow for ubuntu. I just set up my
buildsystems on thursday (received them very late).

Markus

Revision history for this message
Shiraz Khan (shirazakhan) wrote :

This is the dmesg output when i do a modprobe em28xx-audio

[ 2907.897702] em28xx_audio: Unknown symbol em28xx_i2c_call_clients
[ 2907.898196] em28xx_audio: disagrees about version of symbol em28xx_unregister_extension
[ 2907.898199] em28xx_audio: Unknown symbol em28xx_unregister_extension
[ 2907.898403] em28xx_audio: disagrees about version of symbol em28xx_register_extension
[ 2907.898406] em28xx_audio: Unknown symbol em28xx_register_extension

Revision history for this message
waspbloke (david-emmo) wrote :
Download full text (13.5 KiB)

Hi again,

There's a lot of confusing/conflicting info out there about getting my WinTV HVR900 working on ubuntu and I've tried most things.

Here's where I am now...

Clean default standalone install of Mythbuntu 8.04 with all updates (143Mb),reboot, everything working; plug in my WinTV HVR900 stick and:

$ uname -a
Linux mythbuntu 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

$ lsmod
Module Size Used by
tvp5150 19856 0
em28xx 49064 0
compat_ioctl32 2304 1 em28xx
ir_common 36100 1 em28xx
videodev 29440 1 em28xx
v4l2_common 18304 2 em28xx,videodev
v4l1_compat 15492 2 em28xx,videodev
tveeprom 16656 1 em28xx
af_packet 23812 2
ipv6 267780 23
cpufreq_ondemand 9740 0
cpufreq_userspace 5284 0
cpufreq_conservative 8712 0
cpufreq_powersave 2688 0
cpufreq_stats 7104 0
freq_table 5536 2 cpufreq_ondemand,cpufreq_stats
video 19856 0
output 4736 1 video
dock 11280 0
container 5632 0
sbs 15112 0
sbshc 7680 1 sbs
battery 14212 0
iptable_filter 3840 0
ip_tables 14820 1 iptable_filter
x_tables 16132 1 ip_tables
ac 6916 0
lp 12324 0
parport 37832 1 lp
snd_emu10k1_synth 8064 0
snd_emux_synth 36224 1 snd_emu10k1_synth
snd_seq_virmidi 8192 1 snd_emux_synth
snd_seq_midi_emul 7552 1 snd_emux_synth
snd_emu10k1 146880 2 snd_emu10k1_synth
snd_ac97_codec 101028 1 snd_emu10k1
ac97_bus 3072 1 snd_ac97_codec
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 11400 2 snd_emu10k1,snd_pcm
snd_util_mem 5632 2 snd_emux_synth,snd_emu10k1
snd_hwdep 10500 2 snd_emux_synth,snd_emu10k1
snd_seq_dummy 4868 0
snd_seq_oss 35584 0
snd_seq_midi 9376 0
snd_rawmidi 25760 3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq_midi_event 8320 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
nvidia 4718832 36
snd_seq 54224 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24836 3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 9612 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
emu10k1_gp 4608 0
snd 56996 16 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
gameport 16008 2 emu10k1_gp
soundcore 8800 1 snd
serio_raw 7940 0
button 9232 0
i2c_nforce2 7680 0
nvidia...

Revision history for this message
Leszek (bigl-aff) wrote :

I've managed to have tvtime with sound with latest kernel from Hardy (2.6.24-19-generic). Afer installing DEB file I've done few commands taken from original driver Makefile:

sudo /sbin/depmod -ae -F /boot/System.map-2.6.24-19-generic 2.6.24-19-generic
sudo depmod -a
sudo /etc/init.d/udev reload
sudo reboot

After reboot tvtime works with analog TV with sox workaround - you need to install libsox-fmt-all ("sudo apt-get install libsox-fmt-all") and then use such script to start tvtime:

sox -q -w -r 48000 -t ossdsp /dev/dsp2 -t ossdsp /dev/dsp &
tvtime
killall sox

I hope it helps some of you.

Revision history for this message
Bastian Beekes (bastian-beekes) wrote :

I have no success with a MSI DigiVOX A/D II so far. Even under Gutsy it was a bit challenging, but I finally managed it by putting "options em28xx card=52" in /etc/modprobe.d/options and loading snd_usb_audio and em28xx-audio manually.

With Hardy and your package, all I get is
[ 214.598105] usb 4-3: new high speed USB device using ehci_hcd and address 2
[ 214.733845] usb 4-3: configuration #1 chosen from 1 choice

any suggestions?

Revision history for this message
Bend3r (aitorher-gmail) wrote :

My case:

Ubuntu Hardy 2.6.24-21-generic
Pinnacle PCTV 330e

After thousands of hours trying to make my TV card work (following lots of howtos and smoking billions of cigarettes) I just get frustration (and probably a lung cancer). Is there any howto which allow ubuntu users to get their TV card work in Linux (without altering the kernel)?

This post was written by a Desperate Spaniard Ubuntu User

Revision history for this message
Compuwalah (compuwalah) wrote :

HVR900 B2C0
Clean Hardy Install 32 bit/386 (2.6.24-19-generic kernel) + applied all updates to bring it to latest
Installed the 20080804 generic deb package from Marcus.
Everything is working fine
   audio
   analogue TV
   DVB

except that I have to explicitly give
                      sudo modprobe em28xx
after which no issues watsoever

If it matters ... my system : 2.8 GHz duo core Pentium/ 1 GB ECC RAM / 160GB + 250GB / modded XFX NVIDIA 8400GS (using 16x card on 4x slot) / DVD ROM / DVD RW
Have been following this since 2006 ... so finally can see DVB from Linux ... yohoooo (seeing analogue with no probs on Feisty/Gutsy for so long )
Thanks Marcus

However one issue is that mplayer only plays dvb for first time. If you quit and try to again see DVB channel it exits saying end of file. To get it working, you have to start/close kaffein. But that is for posting on mplayer forum. But thot info maybe useful to someone.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Sat, Oct 18, 2008 at 4:00 PM, Compuwalah <email address hidden> wrote:
> HVR900 B2C0
> Clean Hardy Install 32 bit/386 (2.6.24-19-generic kernel) + applied all updates to bring it to latest
> Installed the 20080804 generic deb package from Marcus.
> Everything is working fine
> audio
> analogue TV
> DVB
>
> except that I have to explicitly give
> sudo modprobe em28xx
> after which no issues watsoever
>
> If it matters ... my system : 2.8 GHz duo core Pentium/ 1 GB ECC RAM / 160GB + 250GB / modded XFX NVIDIA 8400GS (using 16x card on 4x slot) / DVD ROM / DVD RW
> Have been following this since 2006 ... so finally can see DVB from Linux ... yohoooo (seeing analogue with no probs on Feisty/Gutsy for so long )
> Thanks Marcus
>
> However one issue is that mplayer only plays dvb for first time. If you
> quit and try to again see DVB channel it exits saying end of file. To
> get it working, you have to start/close kaffein. But that is for posting
> on mplayer forum. But thot info maybe useful to someone.
>

that's a bug in libdbus, it keeps the filenode open unless you kill
the process which accesses the devicenodes.

https://launchpad.net/bugs/230877

Markus

Revision history for this message
Leszek (bigl-aff) wrote :

For latest Hardy kernel 2.6.24-21-generic previous package doesn't work at all since it puts all needed modules into older kernel directory under /lib/modules. Here you can find working package for latest 2.6.24-21-generic kernel:

http://big.aff.com.pl/empia/hardy/kernel-2.6.24-21/

Revision history for this message
el es (el-es-poczta) wrote :

@Leszek: It is not exactly only the directories.
See my dmesg extract:
[261509.189740] usb 3-1: new high speed USB device using ehci_hcd and address 9
[261509.330626] usb 3-1: configuration #1 chosen from 1 choice
[261509.331313] <NULL>: em28xx new video device (2304:0226): interface 0, class 255
[261509.331321] em28xx: device is attached to a USB 2.0 bus
[261509.331328] em28xx #0: Alternate settings: 8
[261509.331333] em28xx #0: Alternate setting 0, max size= 0
[261509.331337] em28xx #0: Alternate setting 1, max size= 0
[261509.331342] em28xx #0: Alternate setting 2, max size= 1448
[261509.331347] em28xx #0: Alternate setting 3, max size= 2048
[261509.331352] em28xx #0: Alternate setting 4, max size= 2304
[261509.331356] em28xx #0: Alternate setting 5, max size= 2580
[261509.331361] em28xx #0: Alternate setting 6, max size= 2892
[261509.331366] em28xx #0: Alternate setting 7, max size= 3072
[261509.989352] attach_inform: tvp5150 detected.
[261510.053667] tvp5150 1-005c: tvp5150am1 detected.
[116137.290294] successfully attached tuner
[116137.300640] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[116137.320873] em28xx #0: V4L2 device registered as /dev/video0
[116137.321560] em28xx-audio.c: probing for em28x1 non standard usbaudio
[116137.321570] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[116137.322253] input: em2880/em2870 remote control as /devices/virtual/input/input15
[116137.347433] em28xx-input.c: remote control handler attached
[116137.347441] em28xx #0: Found Pinnacle Hybrid Pro (em2882)
[116137.392110] em28xx_dvb: disagrees about version of symbol dvb_net_init
[116137.392121] em28xx_dvb: Unknown symbol dvb_net_init
[116137.392241] em28xx_dvb: disagrees about version of symbol dvb_net_release
[116137.392243] em28xx_dvb: Unknown symbol dvb_net_release

But
lukasz@lukasz-laptop:~$ ls /dev/dv*
/dev/dvd1 /dev/dvdrw1
lukasz@lukasz-laptop:~$

means, no dvb device is created. Hence Kaffeine (Ubuntu stock, 0.8.6) does not show 'Digital TV' option.

lukasz@lukasz-laptop:~$ uname -a
Linux lukasz-laptop 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux

Could somebody try to compile ? I can't (run out of disk space on my Linux partition(s))...

Revision history for this message
Leszek (bigl-aff) wrote :

>
> means, no dvb device is created. Hence Kaffeine (Ubuntu stock, 0.8.6)
> does not show 'Digital TV' option.

Sorry - I've tested only analog TV and it works OK (in tvtime and MythTV)
despite error messages you've shown.

Revision history for this message
el es (el-es-poczta) wrote :

This has fixed all the issues :
http://mcentral.de/empia/empia-2.6.24-21-generic-2_i386.deb

DVB works again :)
Thanks Markus

Revision history for this message
apienk (andrzej-pienkowski) wrote :

Could someone please provide a current amd64 .deb for empia or em28xx-new. I have problems compiling under Intrepid (2.6.27-8).

My device Media-Tech MT4153 seems to be a clone of Pinnacle Hybrid Pro Stick with USB ID: eb1a:0x2881.

Revision history for this message
Adriano Melo (adrianomelo) wrote :

i'm not getting sound here with World DVB-T 305U, i tried install from:

http://mcentral.de/empia/empia-2.6.24-21-generic-2_i386.deb

and from:
http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz
+
http://mcentral.de/hg/%7Emrec/v4l-dvb-experimental

can anyone help me? please..
is 305U supported by em28xx-audio or snd-usb-audio ?

thanks...

user@user:~$ cat /proc/version
Linux version 2.6.24-21-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Tue Oct 21 23:43:45 UTC 2008

dmesg:
[ 466.885691] Linux video capture interface: v2.00
[ 466.907946] em28xx v4l2 driver version 0.0.1 loaded
[ 466.909349] em28xx: new video device (eb1a:e305): interface 0, class 255
[ 466.909360] em28xx: device is attached to a USB 2.0 bus
[ 466.909984] em28xx #0: Alternate settings: 8
[ 466.909992] em28xx #0: Alternate setting 0, max size= 0
[ 466.909997] em28xx #0: Alternate setting 1, max size= 0
[ 466.910003] em28xx #0: Alternate setting 2, max size= 1448
[ 466.910008] em28xx #0: Alternate setting 3, max size= 2048
[ 466.910013] em28xx #0: Alternate setting 4, max size= 2304
[ 466.910018] em28xx #0: Alternate setting 5, max size= 2580
[ 466.910023] em28xx #0: Alternate setting 6, max size= 2892
[ 466.910028] em28xx #0: Alternate setting 7, max size= 3072
[ 467.224206] attach_inform: tvp5150 detected.
[ 467.287503] tvp5150 1-005c: tvp5150am1 detected.
[ 468.855097] successfully attached tuner
[ 468.865471] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 468.889962] em28xx #0: V4L2 device registered as /dev/video0
[ 468.889978] em28xx #0: Found KWorld DVB-T 305U
[ 468.890021] em28xx: new video device (eb1a:e305): interface 1, class 255
[ 468.890027] em28xx: probing error: endpoint is non-ISO endpoint!
[ 468.890069] usbcore: registered new interface driver em28xx
[ 469.001116] em2880-dvb.c: DVB Init
[ 469.303056] em2880-dvb.c: unsupported device
[ 469.303071] Em28xx: Initialized (Em2880 DVB Extension) extension
[ 697.595083] tvp5150 1-005c: tvp5150am1 detected.
[ 865.745609] usbcore: registered new interface driver snd-usb-audio
[ 906.432432] out of range
[ 917.485235] em28xx: don't switch the standard while the device is capturingout of range

Revision history for this message
Chickn Mon (chicknmon) wrote :

Will there be a http://mcentral.de/empia/empia-2.6.24-22-generic-2_i386.deb release?

The 2.6.24-21 version seems to be working well for me and my mythbuntu box with an HVR-950, but the last update grabbed a new kernel...

I tried copying the /lib/modules/2.6.24-22-generic/empia directory over, and removing a bunch of similarly named modules that looked like they might conflict, then ran depmod -a.. But when I plugged in the HVR-950, the kernel complained:

 kernel: [ 1235.948058] Linux video capture interface: v2.00
 kernel: [ 1235.993119] em28xx: disagrees about version of symbol struct_module
 kernel: [ 1311.052550] em28xx: disagrees about version of symbol struct_module
 kernel: [ 1379.593383] em28xx: disagrees about version of symbol struct_module
 kernel: [ 1383.806935] em28xx: disagrees about version of symbol struct_module
 kernel: [ 1383.814345] em28xx_dvb: disagrees about version of symbol struct_module
 kernel: [ 1399.574349] usb 5-1: USB disconnect, address 3
 kernel: [ 1412.762036] usb 5-1: new high speed USB device using ehci_hcd and address 4
 kernel: [ 1412.899532] usb 5-1: configuration #1 chosen from 1 choice
 kernel: [ 1412.965729] em28xx: disagrees about version of symbol struct_module

So I went back to 2.6.24-21 for now.

And on that note, what are the chances this will get into the upstream at some point?

By the way, thanks for all your hard work. There is clearly a lot of work going ino this driver and it has certainly helped me a lot.

Revision history for this message
gborzi (gborzi) wrote :

Hello to everyone,
I've made a package for empia drivers source. This package contains the source and a dkms conf file, so that it is architecture-independent and also doesn't depend on the kernel version. It works like nvidia-new-kernel-source-envy or lirc-modules-source. I've named it empia-modules-source and it's about 500k. It has been tested on my system, and works fine, besides the teletext. I would like to share this package, so I tried to put it in the web space provided by my ISP. But the web space of my ISP isn't working today, I'll retry but it is always so slow. Any help/suggestion will be appreciated.
BTW, I'm trying to attach the package to this message, hope it works.

Revision history for this message
gborzi (gborzi) wrote :

Wow, it was uploaded!

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I've tested it, but the build fails since the kernel headers miss some dvb related headers. I can get it from the linux-source package, but what about including them in the package itself changing the include paths?
In fact actually the package seems useless since on each kernel update it won't be able to update the module...

Revision history for this message
gborzi (gborzi) wrote :

Have you tested it on Intrepid or Hardy? I've Hardy installed and on my system linux-source is not needed.
If the problem appears on Intrepid, I'll be unable to work on the package.
BTW, the teletext is working with mtt and kdetv, doesn't work with mplayer and the unmaintained alevt. Don't know with zapping, this program crashes immediatly.

Revision history for this message
Chmiels (chmiels) wrote :
Download full text (3.2 KiB)

Tested on kubuntu hardy x86_64, make fails with following errors:
DKMS make.log for empia-0.020081230/ for kernel 2.6.27-11-generic (x86_64)
wto, 6 sty 2009, 19:39:23 CET

running ./build.sh build

make[1]: Wejście do katalogu `/var/lib/dkms/empia/0.020081230/build'
rm -rf Module.symvers;
make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=`pwd` modules
make[2]: Wejście do katalogu `/disk/src/linux-headers-2.6.27-11-generic'
  CC [M] /var/lib/dkms/empia/0.020081230/build/em2880-dvb.o
In file included from /var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:33:
/var/lib/dkms/empia/0.020081230/build/em28xx.h:31:20: error: dmxdev.h: No such file or directory
/var/lib/dkms/empia/0.020081230/build/em28xx.h:32:23: error: dvb_demux.h: No such file or directory
/var/lib/dkms/empia/0.020081230/build/em28xx.h:33:21: error: dvb_net.h: No such file or directory
/var/lib/dkms/empia/0.020081230/build/em28xx.h:34:26: error: dvb_frontend.h: No such file or directory
In file included from /var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:33:
/var/lib/dkms/empia/0.020081230/build/em28xx.h:557: error: field ‘demux’ has incomplete type
/var/lib/dkms/empia/0.020081230/build/em28xx.h:565: error: field ‘adapter’ has incomplete type
/var/lib/dkms/empia/0.020081230/build/em28xx.h:568: error: field ‘dmxdev’ has incomplete type
/var/lib/dkms/empia/0.020081230/build/em28xx.h:570: error: field ‘dvbnet’ has incomplete type
In file included from /var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:40:
/var/lib/dkms/empia/0.020081230/build/mt352/mt352.h: In function ‘mt352_write’:
/var/lib/dkms/empia/0.020081230/build/mt352/mt352.h:68: error: dereferencing pointer to incomplete type
/var/lib/dkms/empia/0.020081230/build/mt352/mt352.h:69: error: dereferencing pointer to incomplete type
In file included from /var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:42:
/var/lib/dkms/empia/0.020081230/build/drx3973d/drx3973d_demod.h: At top level:
/var/lib/dkms/empia/0.020081230/build/drx3973d/drx3973d_demod.h:9: error: field ‘frontend’ has incomplete type
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:48:22: error: lgdt330x.h: No such file or directory
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c: In function ‘em2880_complete_irq’:
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:257: error: implicit declaration of function ‘dvb_dmx_swfilter’
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c: At top level:
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:366: warning: ‘struct dvb_demux_feed’ declared inside parameter list
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:366: warning: its scope is only this definition or declaration, which is probably not what you want
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c: In function ‘em2880_start_feed’:
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:368: error: dereferencing pointer to incomplete type
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:369: error: dereferencing pointer to incomplete type
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c: At top level:
/var/lib/dkms/empia/0.020081230/build/em2880-dvb.c:383: warning: ‘struct dvb_demu...

Read more...

Revision history for this message
gborzi (gborzi) wrote :

Hello Chmiels, I suppose you are using a custom kernel on Hardy, the output shows version 2.6.27-11-generic, whereas current Hardy kernel is at version 2.6.24-22-generic. It looks like the same problem encountered by Treviño, i.e. that kernel version 2.6.27 don't include in their linux-header packages some files needed to compile Markus driver.
I'm using x86_64 too.

Revision history for this message
floe-de (floe-de) wrote :

Hello,
I used Hardy with the newest kernel 2.6.24-23-generic and have a Hauppauge WinTV HVR-900 B2C0.
The kenel modules was made with the empia-modules-source_0.020081230-0ubuntu1_all.deb from gborzi. I also tried it with the mcentral self compiling but it doesn't work, too.

After I plugged in the USB-TV Stick the keyboard locked as mentioned in the first post.
Here are the latest messages before the keyboard locks an I must reboot:

[ 65.407689] usb 5-4: new high speed USB device using ehci_hcd and address 5
[ 65.466544] usb 5-4: configuration #1 chosen from 1 choice
[ 28.078978] Linux video capture interface: v2.00
[ 28.101003] em28xx v4l2 driver version 0.0.1 loaded
[ 28.101356] em28xx: new video device (2040:6502): interface 0, class 255
[ 28.101358] em28xx: device is attached to a USB 2.0 bus
[ 28.101359] em28xx #0: Alternate settings: 8
[ 28.101360] em28xx #0: Alternate setting 0, max size= 0
[ 28.101361] em28xx #0: Alternate setting 1, max size= 0
[ 28.101362] em28xx #0: Alternate setting 2, max size= 1448
[ 28.101363] em28xx #0: Alternate setting 3, max size= 2048
[ 28.101364] em28xx #0: Alternate setting 4, max size= 2304
[ 28.101364] em28xx #0: Alternate setting 5, max size= 2580
[ 28.101365] em28xx #0: Alternate setting 6, max size= 2892
[ 28.101366] em28xx #0: Alternate setting 7, max size= 3072
[ 28.362160] tvp5150 0-005c: tvp5150am1 detected.
[ 67.957884] successfully attached tuner
[ 29.092144] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 29.100125] em28xx #0: V4L2 device registered as /dev/video0
[ 29.100215] input: em2880/em2870 remote control as /devices/virtual/input/input12
[ 29.111581] em28xx-input.c: remote control handler attached
[ 29.111583] em28xx #0: Found Hauppauge WinTV HVR (B2C0)
[ 29.111591] usbcore: registered new interface driver em28xx
[ 29.129223] em28xx_audio: no version for "snd_pcm_new" found: kernel tainted.
[ 29.136338] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 29.136340] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger

Revision history for this message
gborzi (gborzi) wrote :

Hello to everyone,
I have experienced the keyboard hang when plugging and unplugging repeatedly (at least 4+ times) the USB tv stick. Googling for this problem, I have found a similar keyboard hang problem related to laptop hibernation/resume. I tried one of the suggested fix, i.e. a script with

echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind
echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind

in it and launched it with sudo using onboard, but it didn't worked. The script simply hanged.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Thu, Jan 29, 2009 at 2:41 AM, gborzi <email address hidden> wrote:
> Hello to everyone,
> I have experienced the keyboard hang when plugging and unplugging repeatedly (at least 4+ times) the USB tv stick. Googling for this problem, I have found a similar keyboard hang problem related to laptop hibernation/resume. I tried one of the suggested fix, i.e. a script with
>
> echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind
> echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind
>
> in it and launched it with sudo using onboard, but it didn't worked. The
> script simply hanged.
>

This issue should be fixed by next week! The deinitialization of the
polling timers for the remote control in linux is a mess, since the
timer is still active after unplugging it and tries to access
deinitialized functions it will die.

regards,
Markus

Revision history for this message
gborzi (gborzi) wrote :

Thanks for your efforts Markus, I'll try your driver next week.

Revision history for this message
gborzi (gborzi) wrote :

One possible fix that has just crossed my mind: since the problem is in the remote control, can it be somewhat fixed by disabling infrared remote support, i.e. by loading the em28xx module with the option disable_ir=1. I don't have a remote for my dazzle TV usb stick, so it won't be a problem for me. Someone else may prefer a non-working remote rather than a non-working keyboard.

Revision history for this message
greg_b (gregory-beloncle) wrote :
Download full text (8.7 KiB)

Hi gborzi,

I tested your package on hardy, kernel 2.6.23-23-generic with a Cinergy
Hybrid T USB XS.

Compilation & modules installation were OK but when I plug the dongle I
got the following error. Again, a problem with sound!

I am trying to get DVB working since several months and that is
impossible! Each time a new kernel is realeased, each time the stick
doen't work anymore and each time it is needed to reinstall everything
from beginning!

Any idea?

Greg.

--------------
[ 116.517520] Linux video capture interface: v2.00
[ 116.534288] em28xx v4l2 driver version 0.0.1 loaded
[ 116.534503] em28xx: new video device (0ccd:005e): interface 0, class 255
[ 116.534506] em28xx: device is attached to a USB 2.0 bus
[ 116.534732] em28xx #0: Alternate settings: 8
[ 116.534734] em28xx #0: Alternate setting 0, max size= 0
[ 116.534736] em28xx #0: Alternate setting 1, max size= 0
[ 116.534738] em28xx #0: Alternate setting 2, max size= 1448
[ 116.534739] em28xx #0: Alternate setting 3, max size= 2048
[ 116.534741] em28xx #0: Alternate setting 4, max size= 2304
[ 116.534742] em28xx #0: Alternate setting 5, max size= 2580
[ 116.534744] em28xx #0: Alternate setting 6, max size= 2892
[ 116.534746] em28xx #0: Alternate setting 7, max size= 3072
[ 116.661353] attach_inform: tvp5150 detected.
[ 116.688398] tvp5150 1-005c: tvp5150am1 detected.
[ 118.051474] successfully attached tuner
[ 118.055527] em28xx #0: V4L2 VBI device registered as /dev/vbi0
[ 118.075081] em28xx #0: V4L2 device registered as /dev/video0
[ 118.075153] input: em2880/em2870 remote control as
/devices/virtual/input/input8
[ 118.121931] em28xx-input.c: remote control handler attached
[ 118.121937] em28xx #0: Found Empia Hybrid ATSC (em2882)
[ 118.121953] usbcore: registered new interface driver em28xx
[ 118.158520] em28xx_audio: no version for "snd_pcm_new" found: kernel
tainted.
[ 118.160233] em28xx-audio.c: probing for em28x1 non standard usbaudio
[ 118.160238] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
[ 118.160327] BUG: unable to handle kernel paging request at virtual
address 38326d65
[ 118.160331] printing eip: f8a87743 *pde = 00000000
[ 118.160335] Oops: 0000 [#1] SMP
[ 118.160337] Modules linked in: em28xx_audio(F) tuner_xc3028 tvp5150
em28xx videodev v4l2_common v4l1_compat lirc_atiusb ati_remote hci_usb
ipv6 af_packet radeon drm rfcomm l2cap bluetooth ppdev powernow_k8
cpufreq_powersave cpufreq_userspace cpufreq_conservative
cpufreq_ondemand cpufreq_stats freq_table sbs video output sbshc dock
container battery iptable_filter ip_tables x_tables ac sbp2 lp
parport_pc parport pcspkr k8temp lirc_imon lirc_dev i2c_piix4 i2c_core
snd_hda_intel snd_pcm_oss snd_mixer_oss evdev snd_pcm snd_page_alloc
snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi
snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore button
ati_agp shpchp pci_hotplug agpgart ext3 jbd mbcache pata_atiixp
ata_generic pata_acpi sg sr_mod cdrom sd_mod usbhid hid floppy atiixp
ohci1394 ide_core ieee1394 ehci_hcd ahci ohci_hcd libata scsi_mod
usbcore r8169 thermal processor fan fbcon tileblit font bitblit
softcursor fuse
[ 118.160380]
[ ...

Read more...

Revision history for this message
gborzi (gborzi) wrote :

Hello Greg,
my device has a different USB ID than your, it's eb1a:2881. For this device the em28xx-audio module is not automatically loaded, and when I manually load it, i.e. "sudo modprobe em28xx-audio", I get this in dmesg

[ 1479.298364] em28xx_audio: no version for "snd_pcm_new" found: kernel tainted.

like you, but I don't have the line with "em28xx-audio.c: probing for em28x1 non standard usbaudio". Perhaps I'm wrong, but I think that em28xx-audio is needed only for analog TV audio.
What specific problem do you have with audio? You don't have it in analog TV, digital TV or both? If you miss it only in analog, this can be fixed with sox.
BTW, I tried the fix that disables the remote, and it worked. I plugged/unplugged the stick 11 times, waiting for /dev/dvb to appear after each plugging, and the keyboard didn't hang.

Revision history for this message
MarkusRechberger (mrechberger) wrote :
Download full text (9.4 KiB)

On Thu, Jan 29, 2009 at 9:19 PM, greg_b <email address hidden> wrote:
> Hi gborzi,
>
> I tested your package on hardy, kernel 2.6.23-23-generic with a Cinergy
> Hybrid T USB XS.
>

There's a 2.6.27 kernel available I think which should work properly!
Since they got rid of the linux-ubuntu-module package that issue
shouldn't occure anymore with newer kernels.

-Markus
> Compilation & modules installation were OK but when I plug the dongle I
> got the following error. Again, a problem with sound!
>
> I am trying to get DVB working since several months and that is
> impossible! Each time a new kernel is realeased, each time the stick
> doen't work anymore and each time it is needed to reinstall everything
> from beginning!
>
> Any idea?
>
>
> Greg.
>
>
>
> --------------
> [ 116.517520] Linux video capture interface: v2.00
> [ 116.534288] em28xx v4l2 driver version 0.0.1 loaded
> [ 116.534503] em28xx: new video device (0ccd:005e): interface 0, class 255
> [ 116.534506] em28xx: device is attached to a USB 2.0 bus
> [ 116.534732] em28xx #0: Alternate settings: 8
> [ 116.534734] em28xx #0: Alternate setting 0, max size= 0
> [ 116.534736] em28xx #0: Alternate setting 1, max size= 0
> [ 116.534738] em28xx #0: Alternate setting 2, max size= 1448
> [ 116.534739] em28xx #0: Alternate setting 3, max size= 2048
> [ 116.534741] em28xx #0: Alternate setting 4, max size= 2304
> [ 116.534742] em28xx #0: Alternate setting 5, max size= 2580
> [ 116.534744] em28xx #0: Alternate setting 6, max size= 2892
> [ 116.534746] em28xx #0: Alternate setting 7, max size= 3072
> [ 116.661353] attach_inform: tvp5150 detected.
> [ 116.688398] tvp5150 1-005c: tvp5150am1 detected.
> [ 118.051474] successfully attached tuner
> [ 118.055527] em28xx #0: V4L2 VBI device registered as /dev/vbi0
> [ 118.075081] em28xx #0: V4L2 device registered as /dev/video0
> [ 118.075153] input: em2880/em2870 remote control as
> /devices/virtual/input/input8
> [ 118.121931] em28xx-input.c: remote control handler attached
> [ 118.121937] em28xx #0: Found Empia Hybrid ATSC (em2882)
> [ 118.121953] usbcore: registered new interface driver em28xx
> [ 118.158520] em28xx_audio: no version for "snd_pcm_new" found: kernel
> tainted.
> [ 118.160233] em28xx-audio.c: probing for em28x1 non standard usbaudio
> [ 118.160238] em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
> [ 118.160327] BUG: unable to handle kernel paging request at virtual
> address 38326d65
> [ 118.160331] printing eip: f8a87743 *pde = 00000000
> [ 118.160335] Oops: 0000 [#1] SMP
> [ 118.160337] Modules linked in: em28xx_audio(F) tuner_xc3028 tvp5150
> em28xx videodev v4l2_common v4l1_compat lirc_atiusb ati_remote hci_usb
> ipv6 af_packet radeon drm rfcomm l2cap bluetooth ppdev powernow_k8
> cpufreq_powersave cpufreq_userspace cpufreq_conservative
> cpufreq_ondemand cpufreq_stats freq_table sbs video output sbshc dock
> container battery iptable_filter ip_tables x_tables ac sbp2 lp
> parport_pc parport pcspkr k8temp lirc_imon lirc_dev i2c_piix4 i2c_core
> snd_hda_intel snd_pcm_oss snd_mixer_oss evdev snd_pcm snd_page_alloc
> snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi
> snd_seq_midi_e...

Read more...

Revision history for this message
greg_b (gregory-beloncle) wrote :

Hello gborzi,

I tried again and actually when I start kaffeine I don't have the DVB
option. Indeed, I just want to get DVB TV working, I don't need analog.

Maybe you are right, I should maybe simply not start the audio module.
Do you have an idea how to do that? Should I modify the source code? Where?

Thanks!
Regards,
Greg

gborzi a écrit :
> Hello Greg,
> my device has a different USB ID than your, it's eb1a:2881. For this device the em28xx-audio module is not automatically loaded, and when I manually load it, i.e. "sudo modprobe em28xx-audio", I get this in dmesg
>
> [ 1479.298364] em28xx_audio: no version for "snd_pcm_new" found: kernel
> tainted.
>
> like you, but I don't have the line with "em28xx-audio.c: probing for em28x1 non standard usbaudio". Perhaps I'm wrong, but I think that em28xx-audio is needed only for analog TV audio.
> What specific problem do you have with audio? You don't have it in analog TV, digital TV or both? If you miss it only in analog, this can be fixed with sox.
> BTW, I tried the fix that disables the remote, and it worked. I plugged/unplugged the stick 11 times, waiting for /dev/dvb to appear after each plugging, and the keyboard didn't hang.
>

Revision history for this message
gborzi (gborzi) wrote :

Hello Greg,
sorry, I don't know how to modify the source, I only made a package. The coding is done by Markus Rechberger, I think you need to contact him.

Regards.

Revision history for this message
greg_b (gregory-beloncle) wrote :

Hi gborzi,

your idea to avoid starting module em28xx-audio solved the issue! Thanks
a lot!

I have indeed modified a bit little the source code and rebuilt it and
now this module is no longer loaded which avoid the crash.

In case this interest somebody else, I have edited file em28xx-card.c,
searched for my module type (Empia Hybrid ATSC (em2882)) and edit this line:

..dev_modes = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT | EM28XX_AUDIO,

which I have modified into:

..dev_modes = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT,

like this, audio module is longer loaded.

Yes I know that is a dirty work around but at least it works :)

Cheers,
Greg

gborzi a écrit :
> Hello Greg,
> sorry, I don't know how to modify the source, I only made a package. The coding is done by Markus Rechberger, I think you need to contact him.
>
> Regards.
>

Revision history for this message
buzonn (buzonn) wrote :

Hi,
I tried to install "empia-modules-source_0.020081230-0ubuntu1_all.deb", but it doesn't work for me. What can I do? I did sudo dpkg -i empia-modules-source_0.020081230-0ubuntu1_all.deb

Here you can see the message (I use ubuntu 8.10):

Seleccionando el paquete empia-modules-source previamente no seleccionado.
(Leyendo la base de datos ...
222918 ficheros y directorios instalados actualmente.)
Desempaquetando empia-modules-source (de empia-modules-source_0.020081230-0ubuntu1_all.deb) ...
Configurando empia-modules-source (0.020081230-0ubuntu1) ...
Adding Module to DKMS build system
Doing initial module build

Error! Build of drx3973d.ko failed for: 2.6.27-11-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/empia/0.020081230/build/ for more information.
Installing initial module

Error! Could not locate drx3973d.ko for module empia in the DKMS tree.
You must run a dkms build for kernel 2.6.27-11-generic (i686) first.
Done.

Revision history for this message
gborzi (gborzi) wrote :

Hello buzonn,
the package I have made works in ubuntu 8.04, not in 8.10, because the latter lacks some include files in linux-headers package. I have made a package that works in 8.10, but at the moment it's in another computer. I'll attach it ASAP.

Regards.

Revision history for this message
Leszek (bigl-aff) wrote :

BTW my card (Pinnacle Hybrid USB Stick) runs without problems in Ubuntu 8.10
with original driver provided by 2.6.27 kernel. I just needed to obtain
xc3028-v27.fw file (Xceive proprietary firmware) which was missing. But
that's easy thing and it's described here -
http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware.

Revision history for this message
buzonn (buzonn) wrote :

Thanks gborzi, i'm waiting for your package.

Leszek, I use a "Cinergy Hybrid T USB XS FM". I think I don't need download any firmware.

regards

Revision history for this message
Leszek (bigl-aff) wrote :

If so - That's fine. Yyou can simply try new kernel without any problems and
see if it works. You don't need any compilation or something else - just
install kernel, reboot and insert your card.

You can find collection of all ubuntu kernels here -
http://kernel.ubuntu.com/~kernel-ppa/mainline/<http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/>

Leszek, I use a "Cinergy Hybrid T USB XS FM". I think I don't need
> download any firmware.
>

Revision history for this message
buzonn (buzonn) wrote :

Hi Leszek,

I think I don't need to find out a firmware but I need the driver.

Revision history for this message
Leszek (bigl-aff) wrote :

Driver is in kernel itself - all kernels from 2.6.25 have built-in driver
for em28xx devices. I've struggled with Ubuntu 8.04 (kernel 2.6.24) with
driver from www.mcentral.de and then I've realized that probably all I need
is to migrate to Ubuntu 8.10 (kernel 2.6.27) or to newer kernel package at
least. I've done very clean migration to Ubuntu 8.10 (automatic miration
with update-manager) and my card works withount any additional steps with
built-in driver from generic 2.6.27 kernel provided in Ubuntu. All I needed
was to download XC3028 tuner firmware - there was message in dmesg about
needed firmware.

BTW in Ubuntu 8.04 I had no firmware and my card worked (at least with
kernel 2.6.24-11). But with built-in driver I need firmware. That's why I
wrote you about need to download firmware. But if your card uses different
tuner and doesn't need a firmware for it it's even better and easier to
switch to built-in driver. But naturally you can do whatever you want.

2009/3/31 buzonn <email address hidden>

> Hi Leszek,
>
> I think I don't need to find out a firmware but I need the driver.
>
>

Revision history for this message
buzonn (buzonn) wrote :

ok, I said that because after read lots of these posts I understood that I only needed the driver (nobody said that for the Cinergy Hybrid is necesary to look for a firmware, they only spoke about the empia driver). I use the 2.6.27(-11) kernel and at http://linux.terratec.de/ says:

Cinergy Hybrid T USB XS FM -->Empia EM2882 + Xceive 5000

Maybe you are on the right track, sorry.

I'll look for a xceive firmware.

P.D.: I didn't see something in dmesg about firmware (didn't I find out? wasn't it?)

Revision history for this message
Leszek (bigl-aff) wrote :

1. Messages about missing firmware started not when I inserted it but when I
tried to use it (with "tvtime" in my case)

2. All info about Xceive 5000 is here -
http://www.linuxtv.org/wiki/index.php/Xceive_XC5000

As you can see yourself from this page kernels 2.6.24+ have built in support
for the XC5000 and it works fine.

And info about obtaining needed firmware are on the bottom of the webpage.

Good luck! :-)

2009/3/31 buzonn <email address hidden>

> ok, I said that because after read lots of these posts I understood that
> I only needed the driver (nobody said that for the Cinergy Hybrid is
> necesary to look for a firmware, they only spoke about the empia
> driver). I use the 2.6.27(-11) kernel and at http://linux.terratec.de/
> says:
>
> Cinergy Hybrid T USB XS FM -->Empia EM2882 + Xceive 5000
>
> Maybe you are on the right track, sorry.
>
> I'll look for a xceive firmware.
>
> P.D.: I didn't see something in dmesg about firmware (didn't I find out?
> wasn't it?)
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
buzonn (buzonn) wrote :

I downloaded http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz and put in /lib/firmware but doesn't work.

After that I did modprobe em28xx and then dmesg |grep em2 and I got:
[ 345.414137] em28xx v4l2 driver version 0.1.0 loaded
[ 345.415318] usbcore: registered new interface driver em28xx

Revision history for this message
buzonn (buzonn) wrote :

Hi Leszek,
sorry, I read your post after the mine. If em28xx and XC5000 are built-in my card must work but doesn't work. I tried with the firmware that I said in the other post.

I read this: https://wiki.ubuntu.com/em28xx but I only did the step about download the driver and copy to the correct path because you said me that for you is only necesary to download the firmware (and for me "maybe nothing" because it's built-in).

(nothing in dmesg using tvtime, but i can't see tv channel).

Revision history for this message
gborzi (gborzi) wrote :

Hello,
here is the package I made for em28xx-new (hoping it will be uploaded, it's 507kB). Please note that this package works because it has some include files that are needed to compile but are no longer available in the linux-headers package. Actually, I downloaded the linux-source package, extracted the relevant include files and put them in the package. This means that this .deb file may not work on Jaunty.
As for the firmware, to my knowledge the em28xx driver in the kernel needs a firmware for some card, e.g. if you load it with the option card=53. In this case the firmware to load is named xc3028-fw. On the other hand, the mcentral em28xx driver doesn't need a firmware file, because it's included in the source files. Please note that when a module needs a firmware file and doesn't find it, you will see a message with dmesg.

Revision history for this message
Leszek (bigl-aff) wrote :

These webpages describe things to have alternative driver working - the one
from www.mcentral.de . And by the way they are outdated since driver is
developed and things change.

So better start with original Ubuntu 8.10 kernel (maybe reinstall it to be
sure) and follow instructions on page describing how to use built-in driver.
It's the page I've sent you in previous mail -
http://www.linuxtv.org/wiki/index.php/Xceive_XC5000

On the bottom of this page you have instructions how to download and extract
firmware for XC5000. It as simple as these 3 commands:

wget
http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
http://www.steventoth.net/linux/xc5000/extract.sh

sh ./extract.sh

sudo cp dvb-fe-xc5000-1.1.fw /lib/firmware

After this reboot and insert your card into USB port. Everything should
work.

2009/3/31 buzonn <email address hidden>

> Hi Leszek,
> sorry, I read your post after the mine. If em28xx and XC5000 are built-in
> my card must work but doesn't work. I tried with the firmware that I said in
> the other post.
>
> I read this: https://wiki.ubuntu.com/em28xx but I only did the step
> about download the driver and copy to the correct path because you said
> me that for you is only necesary to download the firmware (and for me
> "maybe nothing" because it's built-in).
>
> (nothing in dmesg using tvtime, but i can't see tv channel).
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Tue, Mar 31, 2009 at 9:43 PM, Leszek <email address hidden> wrote:
> These webpages describe things to have alternative driver working - the one
> from www.mcentral.de . And by the way they are outdated since driver is
> developed and things change.
>

I would not say that they are outdated, it's still the only way to get
many device work with it.
Things are still changing there..

Markus

Revision history for this message
Leszek (bigl-aff) wrote :

I wrote about ubuntu webpage with EM28XX info but not the one on
www.mcentral.de - https://wiki.ubuntu.com/em28xx .

Ubuntu have original kernel driver since version 8.10 (kernel 2.6.27) and do
not mention it at all. Most howto's mentined on this page are from 2007. How
do you call it if not by term "outdated"?

2009/3/31 MarkusRechberger <email address hidden>

> On Tue, Mar 31, 2009 at 9:43 PM, Leszek <email address hidden> wrote:
> > These webpages describe things to have alternative driver working - the
> one
> > from www.mcentral.de . And by the way they are outdated since driver is
> > developed and things change.
> >
>
> I would not say that they are outdated, it's still the only way to get
> many device work with it.
> Things are still changing there..
>
> Markus
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
buzonn (buzonn) wrote :

with the gborzi's package I can see tdt tv but not analog and fm radio. TvTime doesn't work but Kaffeine and xine does it with "standard" channel, with HD channel they crash.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Tue, Mar 31, 2009 at 11:08 PM, Leszek <email address hidden> wrote:
> I wrote about ubuntu webpage with EM28XX info but not the one on
> www.mcentral.de - https://wiki.ubuntu.com/em28xx .
>
> Ubuntu have original kernel driver since version 8.10 (kernel 2.6.27) and do
> not mention it at all. Most howto's mentined on this page are from 2007. How
> do you call it if not by term "outdated"?
>

outch, this ubuntu wikisite is totally outdated yes.
Those firmwares should not even be available on the net anymore because they're
just confusing....

Markus

> 2009/3/31 MarkusRechberger <email address hidden>
>
>> On Tue, Mar 31, 2009 at 9:43 PM, Leszek <email address hidden> wrote:
>> > These webpages describe things to have alternative driver working - the
>> one
>> > from www.mcentral.de . And by the way they are outdated since driver is
>> > developed and things change.
>> >
>>
>> I would not say that they are outdated, it's still the only way to get
>> many device work with it.
>> Things are still changing there..
>>
>> Markus
>>
>> --
>> 2.6.24.12 won't boot with em28xx device
>> https://bugs.launchpad.net/bugs/204578
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
el es (el-es-poczta) wrote :

@gborzi :
excuse me if this is obvious : which one of these attached packages :
http://launchpadlibrarian.net/20822155/empia-modules-source_0.020081230-0ubuntu1_all.deb
or
http://launchpadlibrarian.net/24587734/empia-modules-source_0.020090217-0ubuntu1_all.deb

will work on Hardy, and which kernels exactly (off these http://kernel.ubuntu.com/~kernel-ppa/mainline/ possibly? Or the currently prepacked ones?) ?
Because currently I use the last one released by Markus, hence I am stuck with kernel 2.6.24-22-generic; I have been hesitating to upgrade the kernel because that could put my Pinnacle PCTV Hybrid Pro USB Stick (330e) out of action...
I can not upgrade to Intrepid because of disk space issues (only have 1.1 GB left, the updater claims to need 1.4G... but that's probably a material for another bug)

Revision history for this message
gborzi (gborzi) wrote :

The first one, empia-modules-source_0.020081230-0ubuntu1_all.deb, works on Hardy; the second one, empia-modules-source_0.020090217-0ubuntu1_all.deb works on Intrepid. These packages use dkms to work, i.e. the first time a new kernel is booted dkms tries to compile the modules, puts them under /lib/modules/(booted kernel version) and removes those modules with the same name of the compiled ones. See http://linux.dell.com/projects.shtml#dkms to understand how dkms works. Note that you need to have linux-headers installed for dkms to work, in fact linux-headers is a dependency of dkms. Both packages have worked on my system with the pre-packed kernels.

Hope this helps.

Revision history for this message
MarkusRechberger (mrechberger) wrote :

On Sat, Apr 4, 2009 at 10:42 PM, gborzi <email address hidden> wrote:
> The first one, empia-modules-source_0.020081230-0ubuntu1_all.deb, works
> on Hardy; the second one, empia-modules-
> source_0.020090217-0ubuntu1_all.deb works on Intrepid. These packages
> use dkms to work, i.e. the first time a new kernel is booted dkms tries
> to compile the modules, puts them under /lib/modules/(booted kernel
> version) and removes those modules with the same name of the compiled
> ones. See http://linux.dell.com/projects.shtml#dkms to understand how
> dkms works. Note that you need to have linux-headers installed for dkms
> to work, in fact linux-headers is a dependency of dkms. Both packages
> have worked on my system with the pre-packed kernels.
>
> Hope this helps.
>

I'm currently doing some tests with the newer drivers which are just
in userspace for that
device.
This would avoid having to recompile the driver everytime
http://mcentral.de/wiki/index.php5/DVBConfigFramework

it's not published yet but it also adds support for MacOSX by using
the same driver even!

the drx3975d driver is not part of the em28xx-new package anymore and
will be distributed
with that new system again (this solves all the legal issues with
trident (Micronas sold the chip
division to Trident recently)).

Markus

> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
buzonn (buzonn) wrote :

I have tried the leszek's solution on ubuntu 8.10 and 9.04rc but doesn' work:

These webpages describe things to have alternative driver working - the one
from www.mcentral.de . And by the way they are outdated since driver is
developed and things change.

So better start with original Ubuntu 8.10 kernel (maybe reinstall it to be
sure) and follow instructions on page describing how to use built-in driver.
It's the page I've sent you in previous mail -
http://www.linuxtv.org/wiki/index.php/Xceive_XC5000

On the bottom of this page you have instructions how to download and extract
firmware for XC5000. It as simple as these 3 commands:

wget
http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
http://www.steventoth.net/linux/xc5000/extract.sh

sh ./extract.sh

sudo cp dvb-fe-xc5000-1.1.fw /lib/firmware

After this reboot and insert your card into USB port. Everything should
work.

The only solution on 8.10 is install the gborzi's deb package but only digital tuner work. Analogic TV and radio FM doesn't work and on Ubuntu 9.04rc I have no idea to do it. Any solutions?

Note: I have a Cinergy Hybrid T USB XS FM card.

Revision history for this message
Leszek (bigl-aff) wrote :

I've now everything working on 9.04 with my istruction. The only change is
that with TVTime in 9.04 sox command changed slightly (I had to use alsa
source not oss since with oss sox stopped working just when tvtime
initialised device). But then everything is OK.

2009/4/18 buzonn <email address hidden>

> I have tried the leszek's solution on ubuntu 8.10 and 9.04rc but doesn'
> work:
>

Revision history for this message
buzonn (buzonn) wrote :

I have built a deb package following the instruccions that gborzi told me. It works on ubuntu 9.04rc.

Good luck!

Revision history for this message
Fellipe (felipecorredor) wrote :

Hello.
I had the digital tv working with this device (HVR-900) in Ubuntu 8.10, everything was ok before reinstall (not upgrade) to Jaunty, the final release. In this new installing I've tried installing the package "empia-modules-source_0.020090217-0ubuntu1_all.deb" which worked with 8.10. For my surprise, it only works for analogical tv with no sound (Zapping and tv-time), and the remote worked great, just like before. Then I came here and found the "empia-modules-source_0.020090409-0ubuntu1_all.deb" package, which does not work at all, this is the output:

"felipe@felipe-desktop:~/Escritorio$ sudo dpkg -i empia-modules-source_0.020090409-0ubuntu1_all.deb
Seleccionando el paquete empia-modules-source previamente no seleccionado.
(Leyendo la base de datos ...
157994 ficheros y directorios instalados actualmente.)
Desempaquetando empia-modules-source (de empia-modules-source_0.020090409-0ubuntu1_all.deb) ...
Configurando empia-modules-source (0.020090409-0ubuntu1) ...
Adding Module to DKMS build system
Doing initial module build

Error! Build of em28xx-aad.ko failed for: 2.6.28-11-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/empia/0.020090409/build/ for more information.
Installing initial module

Error! Could not locate em28xx-aad.ko for module empia in the DKMS tree.
You must run a dkms build for kernel 2.6.28-11-generic (i686) first.
Done.

felipe@felipe-desktop:~/Escritorio$ sudo dpkg -r empia-modules-source(Leyendo la base de datos ...
158096 ficheros y directorios instalados actualmente.)
Desinstalando empia-modules-source ...
Uninstalling initial module

Error! The module empia 0.020090409 is not currently installed.
This module is not currently ACTIVE for kernel 2.6.28-11-generic (i686).
Removing all DKMS Modules
Done."

As you can see, my kernel is 2.6.28-11-generic, the one of the final release of Jaunty. Is this the problem? and if it is, Will come a new package to make work it all in Jaunty? I would be gratefull if it will. Thank you very much!

Revision history for this message
Fellipe (felipecorredor) wrote :

Is there anybody out there?

Revision history for this message
gborzi (gborzi) wrote :

Hello Fellipe,
sorry for the delay in answering your question, I overlooked your previous post. I won't make any new package, I have left Ubuntu for Archlinux. Anyway I'll try to help you solve your problem, but to do this, I need, just to start, the content of the make.log mentioned by the error message you posted, i.e.

Error! Build of em28xx-aad.ko failed for: 2.6.28-11-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/empia/0.020090409/build/ for more information.
Installing initial module

Perhaps from this error log I can understand what went wrong.

Revision history for this message
Fellipe (felipecorredor) wrote :

Sure!
This is the file. There is some phrases in Spanish, other in English... I can translate whatever you want :)

Thank you!

Revision history for this message
gborzi (gborzi) wrote :

Hello Fellipe,
no need to translate, Spanish is so close to Italian that I'm able to understand the compiler error messages. Your problem is that some include file of the linux-headers-2.6.28-11 package are missing (perhaps you tried the previous version of the package for Intrepid), so reinstall linux-headers-2.6.28-11 and try again, I mean reinstall linux-headers-2.6.28-11 and then install empia-modules-source. Please report the results, i.e. if it works (as we hope) or not.

Revision history for this message
Fellipe (felipecorredor) wrote :

Gborzi
Thanks for your answer.

You was right, I tried to install the previous version for Intrepid.
I followed your instructions, remove the old package, reinstalled the linux-headers-2.6.28-11 via synaptic, and install the latest package. There was no error messages on installation, but the device didn't work. After reboot, I tried with zapping, kaffeine, me-tv and tvtime. The remote control neither.

There is no "make.log" file like before.

This is the dmesg:

[ 212.343884] em28xx: disagrees about version of symbol v4l_compat_translate_ioctl
[ 212.343890] em28xx: Unknown symbol v4l_compat_translate_ioctl
[ 212.345100] em28xx: disagrees about version of symbol video_unregister_device
[ 212.345104] em28xx: Unknown symbol video_unregister_device
[ 212.345262] em28xx: disagrees about version of symbol video_device_alloc
[ 212.345264] em28xx: Unknown symbol video_device_alloc
[ 212.345346] em28xx: disagrees about version of symbol video_register_device
[ 212.345349] em28xx: Unknown symbol video_register_device
[ 212.345778] em28xx: disagrees about version of symbol video_usercopy
[ 212.345781] em28xx: Unknown symbol video_usercopy
[ 212.345862] em28xx: disagrees about version of symbol video_device_release
[ 212.345864] em28xx: Unknown symbol video_device_release

Note: I reinstalled the Intrepid package while there be a solution, just to use the remote control. I guess i can reinstall the linux-headers-2.6.28-11 again later :)

If you need more info, just let me know.

Thanks a lot!

Revision history for this message
gborzi (gborzi) wrote :

Hello Fellipe,
I think a little explanation on how these packages work (or don't work) is needed. On Intrepid the linux-headers package lacked some include files to compile mcentral's drivers, so I added a tar.gz archive to the package and a script that installed these files, compiled the drivers and removed the include files. When the Intrepid package is used on Jaunty where the linux-headers package have the required include files, these files are overwritten by those provided by the package and then removed.
I suppose (please note that I'm guessing, I can't check for sure) that some of these include files somehow remained under the linux-headers package directory and resulted in a "fake" compilation, i.e. the drivers where compiled with the old include files. This would explain the error messages you posted.
A possible solution would be:
1) remove the empia-modules-source package
2) remove the linux-headers-2.6.28-11 package and check that there are no files under /usr/src/linux-headers-2.6.28-11
3) If you find any file below this directory check if they belong to some other package (to my knowledge this shouldn't happen, but I can't be sure), and in case they do not belong to any package remove them.
4) reinstall linux-headers-2.6.28-11, empia-modules-source, reboot and reinsert your pen.
Please check if you have a /dev/vbi*, /dev/video* files and /dev/dvb/adapter* directory after inserting your pen.

Revision history for this message
Fellipe (felipecorredor) wrote :

Hello again.

I followed your instructions, uninstalled the packages using aptitude remove --purge linux-headers-2.6.28-11, checked for no files under /usr/src/linux-headers-2.6.28-11 (there was no files or folders under /usr/src/), reinstalled the empia-modules-source-20090409, reboot, and... same thing, don't work at all, and same output in demsg "Unknown symbol..." and "disagrees about version of symbol..."

Is there anybody who could make work this driver with Ubuntu 9.04?

Thanks for your help guys.

Revision history for this message
Belfry (es4477) wrote :

Could someone kindly compile em28xx for Hardy, kernel 2.6.24-23-gerneric (32bit)? Thanks in advance.

http://mcentral.de/wiki/index.php5/Installation_Guide

Revision history for this message
Belfry (es4477) wrote :

# Ubuntu Hardy Users please have a look at
# https://bugs.launchpad.net/ubuntu/+bug/204578
# There are precompiled packages available for Hardy, see the installation instruction
# at the bottom of that bugreport!

There are no instructions at the bottom.

Revision history for this message
gborzi (gborzi) wrote :

Hello Fellipe,
sorry, but I have no other suggestions. You may ask to buzonn if the package still works on his system.

Revision history for this message
buzonn (buzonn) wrote :

Fellipe, I have ubuntu 9.04 up date and it's works for me (ok, only digital receiver, not analogic and FM and kaffeine says that I use a tv card and the mine is another one, but in ubuntu 8.10 I had the same issues).

Belfry, have you follow the thread? gborzi made the deb package for ubuntu 8.04, it's says "at the bottom" because when the autor wrote that it was at the bottom.

Revision history for this message
Fellipe (felipecorredor) wrote :

Thanks for your help, Gborzi and Buzonn.

I'll try to install the driver in another clean installation of 9.04, then I tell you what happens.

Regards!

Revision history for this message
el es (el-es-poczta) wrote :

Gborzi,
the .deb installation failed for me when the 8.10 upgraded from 2.6.27-14 to -15 - dkms reported error while building it.

So I reverted to -14 and everything worked again.

Whether I uninstall it first or not, does not matter, the error is somewhere in the dkms build.

How can I find out what's missing?
Maybe shoud I upgrade to 9.04 ?

(The mainline driver lacks dvb support for my Pinnacle Hybrid Pro (330e) USB, and analog has no sound (unpatched tvtime I think). With Markus' driver, I use STOCK Kaffeine, and it works DVB out of the box (only no 'red button' apps support, but I can live with this)).

Revision history for this message
buzonn (buzonn) wrote :

Hi everybody again!

I Have just intalled a new copy of Ubuntu 9.10. I tried to use my "Cinergy Hybrid T USB XS FM" card, but as I thought it doesn't work. I tried this instructions (Leszek spoke about that time ago):

http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware

and

http://www.linuxtv.org/wiki/index.php/Xceive_XC5000

Does anybody know how to do it work without ask to Gborzi every new Ubuntu version?

Revision history for this message
gborzi (gborzi) wrote :

Hello Buzonn,
forget about the empia-modules-source package. Markus Rechberger stopped developing this driver, that compiled cleanly until kernel 2.6.28. For kernels 2.6.29 and 2.6.30 I was able to make a patch, but with 2.6.31 I failed to do so. So, unless someone else is able to patch the driver to compile with 2.6.31, the package is now useless.

Revision history for this message
buzonn (buzonn) wrote :

Hello gborzi,

Very bad news.

Markus, what's the stand of empia on linux drivers?

Revision history for this message
el es (el-es-poczta) wrote :

Hello All Subscribers !

Devin Heitmueller has released a new driver that is targeted at Pinnacle PCTV Hybrid Pro 330e specifically!

Please try it out : http://www.kernellabs.com/blog/?p=1397

Revision history for this message
el es (el-es-poczta) wrote :

(and HVR-900R2 too!)

chris (roughmouth)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
buzonn (buzonn) wrote :

Has ubuntu 10.04 the fix? I'm trying u10.04 from the liveCD but I can't use my card.

Revision history for this message
buzonn (buzonn) wrote :

wait, I see "Pinnacle PCTV Hybrid Pro 330e and HVR-900R2", so the bug still exits for the rest of the cards.

Revision history for this message
Vreixo Formoso (metalpain2002) wrote :

Devin Heitmueller drivers work really well with HVR-900 R2. I think they should be considered for future Ubuntu release or updates.

Revision history for this message
buzonn (buzonn) wrote :
Download full text (9.5 KiB)

But his solution seems to be only for these two cards, so it's not a general
fix and this bug is still open.

2010/5/12 Vreixo Formoso <email address hidden>

> Devin Heitmueller drivers work really well with HVR-900 R2. I think they
> should be considered for future Ubuntu release or updates.
>
> --
> 2.6.24.12 won't boot with em28xx device
> https://bugs.launchpad.net/bugs/204578
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Fix Committed
>
> Bug description:
> Hardy using 2.6.24.12 will not boot with Hauppauge HVR-900 USB device
> plugged in if userspace drivers are used. If the device is plugged in after
> boot, the keyboard locks up, and konsole sessions will not close. Syslog
> shows this:
>
> Mar 21 22:29:48 cebo kernel: [ 120.692597] usb 1-3: new high speed USB
> device using ehci_hcd and address 3
> Mar 21 22:29:48 cebo kernel: [ 120.746395] usb 1-3: configuration #1
> chosen from 1 choice
> Mar 21 22:29:48 cebo NetworkManager: <debug> [1206091788.714053]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_2040_6502_4028497630').
> Mar 21 22:29:48 cebo kernel: [ 120.808272] Linux video capture interface:
> v2.00
> Mar 21 22:29:48 cebo kernel: [ 120.837989] em28xx v4l2 driver version
> 0.0.1 loaded
> Mar 21 22:29:48 cebo kernel: [ 120.838770] em28xx new video device
> (2040:6502): interface 0, class 255
> Mar 21 22:29:48 cebo kernel: [ 120.838773] em28xx: device is attached to a
> USB 2.0 bus
> Mar 21 22:29:48 cebo kernel: [ 120.839640] em28xx #0: Alternate settings:
> 8
> Mar 21 22:29:48 cebo kernel: [ 120.839643] em28xx #0: Alternate setting 0,
> max size= 0
> Mar 21 22:29:48 cebo kernel: [ 120.839644] em28xx #0: Alternate setting 1,
> max size= 0
> Mar 21 22:29:48 cebo kernel: [ 120.839646] em28xx #0: Alternate setting 2,
> max size= 1448
> Mar 21 22:29:48 cebo kernel: [ 120.839647] em28xx #0: Alternate setting 3,
> max size= 2048
> Mar 21 22:29:48 cebo kernel: [ 120.839649] em28xx #0: Alternate setting 4,
> max size= 2304
> Mar 21 22:29:48 cebo kernel: [ 120.839650] em28xx #0: Alternate setting 5,
> max size= 2580
> Mar 21 22:29:48 cebo kernel: [ 120.839652] em28xx #0: Alternate setting 6,
> max size= 2892
> Mar 21 22:29:48 cebo kernel: [ 120.839653] em28xx #0: Alternate setting 7,
> max size= 3072
> Mar 21 22:29:49 cebo kernel: [ 121.069901] input: em2880/em2870 remote
> control as /devices/virtual/input/input6
> Mar 21 22:29:49 cebo kernel: [ 121.079796] em28xx-input.c: remote control
> handler attached
> Mar 21 22:29:49 cebo kernel: [ 121.079800] moduleid: 1
> Mar 21 22:29:49 cebo kernel: [ 121.082696] media-stub: adding support for
> Xceive - xc3028
> Mar 21 22:29:49 cebo kernel: [ 121.082699] media-stub: userspace driver
> version 1
> Mar 21 22:29:49 cebo kernel: [ 121.082701] media-stub: Copyright: Markus
> Rechberger <email address hidden>
> Mar 21 22:29:49 cebo kernel: [ 121.086204] media-stub: adding support for
> Texas Instruments - tvp5150
> Mar 21 22:29:49 cebo kernel: [ 121.086207] media-stub: userspace driver
> version 1
> Mar 21 22:29:49 cebo kernel: [ 121.086209...

Read more...

Revision history for this message
Fellipe (felipecorredor) wrote :

Hello all.

I have a problem with the Hauppauge HVR 900, I can't shut down the pc when it's plugged. Ubuntu just stay freeze just before the moment it would shut down when the device is unplugged.
I'm using Ubuntu 10.10, kernel 2.6.35-22-generic.

To be honest, actually the tv doesn't work (once did), but it doesn't matter to me, I only care about the remote control, which is working.

I guess the solution is to change some parameters in any system's file, isn't it?, At the moment the only thing a find and tried, was to put the line "acpi=force" in menu.list.

It's no so important, but I would like to forget about plugging or unplugging or forcing shut down the computer.

Thank you very much!

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
tags: added: 1984
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.