[linux-dvb] Re: Pinnacle PCTV HD Pro Stick

Markus Rechberger mrechberger at gmail.com
Sun Nov 26 19:44:16 CET 2006


Hi,

On 11/26/06, Erik Meitner <erik at wanderings.us> wrote:
> System is Ubuntu Edgy.
>
> $ uname -a
> Linux cheren 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
> GNU/Linux
>
> $ hg tip
> changeset:   4827:c7e1a07d90b4
> tag:         tip
> user:        Markus Rechberger <mrechberger at gmail.com>
> date:        Sun Nov 26 09:32:02 2006 +0100
> summary:     pinnacle hd pro, changed tuner to MT2060
>
> Used v2 firmware from; http://mcentral.de/firmware/
>
> After inserting USB stick the following modules are loaded:
> mt2060                  7300  0
> tvp5150                20240  0
> tuner                  64804  1 mt2060
> em28xx                 90676  0
> compat_ioctl32          2304  1 em28xx
> ir_common              32900  1 em28xx
> videodev               26880  1 em28xx
> v4l1_compat            14980  2 em28xx,videodev
> v4l2_common            24320  3 tuner,em28xx,videodev
> tveeprom               18576  1 em28xx
>
>
> Nov 26 12:12:47 cheren kernel: [17180450.156000] usb 4-4: new high speed
> USB device using ehci_hcd and address 4
> Nov 26 12:12:47 cheren kernel: [17180450.296000] usb 4-4: configuration
> #1 chosen from 1 choice
> Nov 26 12:12:47 cheren kernel: [17180450.428000] Linux video capture
> interface: v2.00
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx v4l2 driver
> version 0.0.1 loaded
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx new video device
> (2304:0227): interface 0, class 255
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> settings: 8
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 0, max size= 0
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 1, max size= 0
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 2, max size= 1448
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 3, max size= 2048
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 4, max size= 2304
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 5, max size= 2580
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 6, max size= 2892
> Nov 26 12:12:47 cheren kernel: [17180450.436000] em28xx #0: Alternate
> setting 7, max size= 3072
> Nov 26 12:12:49 cheren kernel: [17180453.056000] Tuner: registering
> extension (MT2060 Silicon Tuner)
> Nov 26 12:12:49 cheren kernel: [17180453.060000] attach_inform: eeprom
> detected.
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 16 a4 1c
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 1c 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 00 69 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 00 16 03
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 00 30 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> a0: 65 00 00 00 1c 03 30 00 36 00 30 00 38 00 30 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> b0: 31 00 30 00 31 00 30 00 33 00 38 00 34 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] em28xx #0: i2c eeprom
> f0: 00 00 dc 00 00 00 00 00 00 00 00 00 00 00 00 00
> Nov 26 12:12:49 cheren kernel: [17180453.088000] EEPROM ID= 0x9567eb1a
> Nov 26 12:12:49 cheren kernel: [17180453.088000] Vendor/Product ID=
> 2304:0227
> Nov 26 12:12:49 cheren kernel: [17180453.088000] AC97 audio (5 sample rates)
> Nov 26 12:12:49 cheren kernel: [17180453.088000] 500mA max power
> Nov 26 12:12:49 cheren kernel: [17180453.088000] Table at 0x27,
> strings=0x168e, 0x1ca4, 0x246a
> Nov 26 12:12:49 cheren kernel: [17180453.092000] tuner 4-0061: chip
> found @ 0xc2 (em28xx #0)
> Nov 26 12:12:49 cheren kernel: [17180453.092000] attach inform
> (default): detected I2C address c2
> Nov 26 12:12:49 cheren kernel: [17180453.092000] Tuner: setting up tuner
> core extension for: MT2060 Silicon Tuner
> Nov 26 12:12:49 cheren kernel: [17180453.096000] em28xx-video.c:
> requesting em2880-dvb!
> Nov 26 12:12:49 cheren kernel: [17180453.096000] em28xx #0: Found
> Pinnacle PCTV HD Pro
> Nov 26 12:12:49 cheren kernel: [17180453.096000] usbcore: registered new
> driver em28xx
>
>
> em2880-dvb never loaded.
>
> $ sudo modprobe em2880-dvb
> Segmentation fault
>
> Nov 26 12:15:39 cheren kernel: [17180622.700000] Tuner: registering
> extension (Xceive 3028 Tuner)
> Nov 26 12:15:39 cheren kernel: [17180622.720000] em2880-dvb.c: DVB Init
> Nov 26 12:15:39 cheren kernel: [17180622.720000] em2880-dvb.c: VIDIOC_S_MODE
> Nov 26 12:15:39 cheren kernel: [17180622.824000] FIXME: Write failed,
> backtrace:
> Nov 26 12:15:39 cheren kernel: [17180622.824000]
> ===============================
> Nov 26 12:15:39 cheren kernel: [17180622.824000] 02
> Nov 26 12:15:39 cheren kernel: [17180622.824000]
> ================================
> Nov 26 12:15:39 cheren kernel: [17180622.824000] lgdt330x:
> i2c_read_demod_bytes: addr 0x0e select 0x02 error (ret == -19)
> Nov 26 12:15:39 cheren kernel: [17180622.824000] BUG: unable to handle
> kernel NULL pointer dereference at virtual address 000001b0
> Nov 26 12:15:39 cheren kernel: [17180622.824000]  printing eip:
> Nov 26 12:15:39 cheren kernel: [17180622.824000] f9e82c02
> Nov 26 12:15:39 cheren kernel: [17180622.824000] *pde = 00000000
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Oops: 0002 [#1]
> Nov 26 12:15:39 cheren kernel: [17180622.824000] SMP
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Modules linked in:
> xc3028_tuner mt352 zl10353 em2880_dvb lgdt330x dvb_core mt2060 tvp5150
> tuner em28xx compat_ioctl32 ir_common videodev v4l1_compat v4l2_common
> tveeprom binfmt_misc rfcomm l2cap nvram uinput radeon drm
> speedstep_centrino cpufreq_userspace cpufreq_stats freq_table
> cpufreq_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi
> sbs sony_acpi pcc_acpi ibm_acpi i2c_ec hotkey dock dev_acpi button
> battery container ac asus_acpi ipv6 deflate zlib_deflate twofish serpent
> aes blowfish des sha256 sha1 crypto_null af_key af_packet radeonfb
> i2c_algo_bit i2c_core lp snd_intel8x0 tsdev snd_ac97_codec snd_ac97_bus
> irtty_sir sir_dev pcmcia snd_pcm_oss snd_mixer_oss nsc_ircc ipw2200
> hci_usb snd_pcm snd_timer snd soundcore bluetooth irda psmouse serio_raw
> ieee80211 ieee80211_crypt pcspkr snd_page_alloc e1000 crc_ccitt
> yenta_socket rsrc_nonstatic pcmcia_core intel_agp agpgart evdev shpchp
> pci_hotplug parport_pc parport floppy ext3 jbd ehci_hcd uhci_hcd usbcore
> ide_generic ide_cd cdrom ide_disk piix generic thermal processor fan
> fbcon tileblit font bitblit softcursor vesafb capability commoncap
> Nov 26 12:15:39 cheren kernel: [17180622.824000] CPU:    0
> Nov 26 12:15:39 cheren kernel: [17180622.824000] EIP:
> 0060:[<f9e82c02>]    Not tainted VLI
> Nov 26 12:15:39 cheren kernel: [17180622.824000] EFLAGS: 00010296
> (2.6.17-10-generic #2)
> Nov 26 12:15:39 cheren kernel: [17180622.824000] EIP is at
> em2880_dvb_init+0x1c2/0x590 [em2880_dvb]
> Nov 26 12:15:39 cheren kernel: [17180622.824000] eax: 00000000   ebx:
> ee4b8000   ecx: dffff4c0   edx: c14893c0
> Nov 26 12:15:39 cheren kernel: [17180622.824000] esi: f9e855dc   edi:
> e806d3f8   ebp: e1eca000   esp: e22e1ea4
> Nov 26 12:15:39 cheren kernel: [17180622.824000] ds: 007b   es: 007b
> ss: 0068
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Process modprobe (pid:
> 16309, threadinfo=e22e0000 task=f27c4030)
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Stack: f9e83bf9
> 00000000 00000006 e1eca000 f9e855dc e806d3f8 00000438 f9eb547e
> Nov 26 12:15:39 cheren kernel: [17180622.824000]        e22e1ed4
> f9e85680 f9e85680 f9e85680 c013cda8 f9e856c8 c02f1471 f9e8568c
> Nov 26 12:15:39 cheren kernel: [17180622.824000]        e1dd1674
> 00003482 00000082 f9e8568c f9e85680 00000000 00000000 00000000
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Call Trace:
> Nov 26 12:15:39 cheren kernel: [17180622.824000]  <f9eb547e>
> em28xx_register_extension+0x5e/0xb0 [em28xx]  <c013cda8>
> sys_init_module+0x148/0x19c0
> Nov 26 12:15:39 cheren kernel: [17180622.824000]  <c012bfb0>
> msleep+0x0/0x30  <c0102fbb> sysenter_past_esp+0x54/0x79
> Nov 26 12:15:39 cheren kernel: [17180622.824000] Code: f5 69 03 00 b8 64
> 00 00 00 e8 cb 93 2a c6 8d 55 5c b8 0c 56 e8 f9 e8 5e 50 e4 ff c7 83 04
> 02 00 00 03 00 00 00 89 83 34 02 00 00 <c7> 80 b0 01 00 00 c0 29 e8 f9
> 8b 83 34 02 00 00 85 c0 0f 85 92
> Nov 26 12:15:39 cheren kernel: [17180622.824000] EIP: [<f9e82c02>]
> em2880_dvb_init+0x1c2/0x590 [em2880_dvb] SS:ESP 0068:e22e1ea4
>
>
Erik,

ok, I fixed that oops problem though seems like your device needs a
different intitialization setup.
http://linuxtv.org/v4lwiki/index.php/USBVideo follow that instruction
and scan for an atsc channel and send me the parsed result. I guess
the GPIO initialization is wrong.

Markus



More information about the linux-dvb mailing list