linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Pinnacle PCTV Hybrid Pro Card (310c)... once again...
@ 2009-03-14 23:29 Mihai Moldovan
  2009-03-14 23:41 ` Markus Rechberger
  0 siblings, 1 reply; 8+ messages in thread
From: Mihai Moldovan @ 2009-03-14 23:29 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Mateusz, Jacek, Kurt, Juergen, Obri, Kamre, "Álvaro",
	Alfred, Andy

[-- Attachment #1: Type: text/plain, Size: 11342 bytes --]

Hello readers,

Amazon just had this card transported to me today... and of course I
gave the in-kernel 2.6.28.7 drivers a shot, but it didn't work out at
all, so I thought giving the repo provided in the wiki article (for
reference:
http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_Hybrid_Pro_Card_%28310c%29)
would be a good idea.

Thus, I removed every in-kernel tuner and DVB module, checked the repo
out, build the new modules and had them installed. This, however,
yielded following results (dmesg extract):

[ 1988.812035] pcmcia_socket pcmcia_socket0: pccard: CardBus card
inserted into slot 0
[ 1988.812102] pci 0000:07:00.0: reg 10 32bit mmio: [0x000000-0xffffff]
[ 1988.812225] pci 0000:07:00.1: reg 10 32bit mmio: [0x000000-0xffffff]
[ 1988.812341] pci 0000:07:00.2: reg 10 32bit mmio: [0x000000-0xffffff]
[ 2003.326837] cx25843.c: starting probe for adapter SMBus I801 adapter
at 18e0 (0x40004)
[ 2003.328060] cx25843.c: detecting cx25843 client on address 0x88
[ 2003.328090] cx25843.c: starting probe for adapter NVIDIA i2c adapter 
(0x0)
[ 2003.328511] cx25843.c: starting probe for adapter NVIDIA i2c adapter 
(0x0)
[ 2003.328961] cx25843.c: starting probe for adapter NVIDIA i2c adapter 
(0x0)
[ 2003.335211] em28xx: Unknown symbol v4l_compat_translate_ioctl
[ 2003.335404] em28xx: Unknown symbol v4l2_video_std_construct
[ 2003.335850] em28xx: Unknown symbol v4l2_type_names
[ 2003.339965] em28xx: Unknown symbol v4l_printk_ioctl
[ 2003.340663] em28xx: Unknown symbol video_unregister_device
[ 2003.340851] em28xx: Unknown symbol video_device_alloc
[ 2003.340948] em28xx: Unknown symbol video_register_device
[ 2003.342372] em28xx: Unknown symbol video_usercopy
[ 2003.342470] em28xx: Unknown symbol video_device_release
[ 2003.352874] em28xx_audio: Unknown symbol em28xx_i2c_call_clients
[ 2003.353305] em28xx_audio: Unknown symbol snd_pcm_new
[ 2003.353407] em28xx_audio: Unknown symbol snd_card_register
[ 2003.353508] em28xx_audio: Unknown symbol snd_card_free
[ 2003.353683] em28xx_audio: Unknown symbol snd_component_add
[ 2003.353873] em28xx_audio: Unknown symbol snd_card_new
[ 2003.353977] em28xx_audio: Unknown symbol snd_pcm_lib_ioctl
[ 2003.354280] em28xx_audio: Unknown symbol em28xx_unregister_extension
[ 2003.354465] em28xx_audio: Unknown symbol snd_pcm_set_ops
[ 2003.354570] em28xx_audio: Unknown symbol snd_pcm_hw_constraint_integer
[ 2003.354691] em28xx_audio: Unknown symbol em28xx_register_extension
[ 2003.354910] em28xx_audio: Unknown symbol snd_pcm_period_elapsed
[ 2003.357625] em28xx_aad: Unknown symbol em28xx_unregister_extension
[ 2003.357753] em28xx_aad: Unknown symbol em28xx_register_extension
[ 2003.358895] em28xx_dvb: Unknown symbol dvb_dmxdev_init
[ 2003.359262] em28xx_dvb: Unknown symbol dvb_register_adapter
[ 2003.359506] em28xx_dvb: Unknown symbol dvb_dmx_release
[ 2003.359602] em28xx_dvb: Unknown symbol em28xx_unregister_extension
[ 2003.359787] em28xx_dvb: Unknown symbol dvb_net_init
[ 2003.359886] em28xx_dvb: Unknown symbol dvb_dmx_swfilter
[ 2003.360514] em28xx_dvb: Unknown symbol dvb_dmxdev_release
[ 2003.360638] em28xx_dvb: Unknown symbol dvb_frontend_detach
[ 2003.360737] em28xx_dvb: Unknown symbol dvb_net_release
[ 2003.360898] em28xx_dvb: Unknown symbol em28xx_register_extension
[ 2003.361189] em28xx_dvb: Unknown symbol dvb_unregister_frontend
[ 2003.361455] em28xx_dvb: Unknown symbol dvb_register_frontend
[ 2003.361554] em28xx_dvb: Unknown symbol dvb_unregister_adapter
[ 2003.361653] em28xx_dvb: Unknown symbol dvb_dmx_init
[ 2003.362770] em28xx_audioep: Unknown symbol snd_pcm_new
[ 2003.362872] em28xx_audioep: Unknown symbol snd_card_register
[ 2003.362973] em28xx_audioep: Unknown symbol snd_card_free
[ 2003.363375] em28xx_audioep: Unknown symbol snd_card_new
[ 2003.363479] em28xx_audioep: Unknown symbol snd_pcm_lib_ioctl
[ 2003.363659] em28xx_audioep: Unknown symbol snd_pcm_set_ops
[ 2003.363843] em28xx_audioep: Unknown symbol snd_pcm_hw_constraint_integer
[ 2003.364044] em28xx_audioep: Unknown symbol snd_pcm_period_elapsed
[ 2038.162200] pcmcia_socket pcmcia_socket0: pccard: card ejected from
slot 0

As you can see, there were several problems, I'll explain them a little
bit further: first of all a lot of unresolved symbols which are part of
ALSA itself (snd_* ones.) This is perfectly valid and true since I don't
use ALSA but OSS, however, using the provided modules seems not to be
working without ALSA - bummer deal... I'd appreciate any help here
(other than "switch to ALSA" rants, of course, which are not very
productive!)

Secondly, there are a lot of unresolved dvb* symbol errors personally I
can not explain.

After this episode of failing I wanted to give LinuxTV.org's v4l-dvb
tree a shot... once again had all installed v4l and dvb modules removed
(module-wise out of the Kernel as well as file-wise on the harddisk of
course), checked out the other repo, built the modules, installed them,
re-inserted the card.

This time I got the following new errors, but at least not the old ones:

[ 2197.245488] cx88xx: Unknown symbol i2c_bit_add_bus
[ 2197.251385] cx8800: Unknown symbol cx88_reset
[ 2197.251672] cx8800: Unknown symbol cx88_call_i2c_clients
[ 2197.251774] cx8800: Unknown symbol cx88_wakeup
[ 2197.251904] cx8800: Unknown symbol cx88_risc_stopper
[ 2197.260330] cx8800: Unknown symbol cx88_print_irqbits
[ 2197.260435] cx8800: Unknown symbol cx88_set_scale
[ 2197.260567] cx8800: Unknown symbol cx88_shutdown
[ 2197.260763] cx8800: Unknown symbol cx88_vdev_init
[ 2197.260913] cx8800: Unknown symbol cx88_core_put
[ 2197.261231] cx8800: Unknown symbol cx88_audio_thread
[ 2197.261479] cx8800: Unknown symbol cx88_core_irq
[ 2197.261614] cx8800: Unknown symbol cx88_core_get
[ 2197.261715] cx8800: Unknown symbol cx88_get_stereo
[ 2197.261816] cx8800: Unknown symbol cx88_ir_stop
[ 2197.262195] cx8800: Unknown symbol cx88_set_tvnorm
[ 2197.262297] cx8800: Unknown symbol cx88_ir_start
[ 2197.262705] cx8800: Unknown symbol cx88_risc_buffer
[ 2197.263412] cx8800: Unknown symbol cx88_set_stereo
[ 2197.263882] cx8800: Unknown symbol cx88_sram_channels
[ 2197.264169] cx8800: Unknown symbol cx88_set_tvaudio
[ 2197.264271] cx8800: Unknown symbol cx88_sram_channel_dump
[ 2197.264406] cx8800: Unknown symbol cx88_sram_channel_setup
[ 2197.264612] cx8800: Unknown symbol cx88_free_buffer
[ 2197.265458] cx8800: Unknown symbol cx88_newstation
[ 2197.276698] cx88xx: Unknown symbol i2c_bit_add_bus
[ 2197.289372] cx8802: Unknown symbol cx88_reset
[ 2197.289474] cx8802: Unknown symbol cx88_wakeup
[ 2197.289605] cx8802: Unknown symbol cx88_risc_stopper
[ 2197.289736] cx8802: Unknown symbol cx88_print_irqbits
[ 2197.289866] cx8802: Unknown symbol cx88_shutdown
[ 2197.289984] cx8802: Unknown symbol cx88_core_put
[ 2197.290382] cx8802: Unknown symbol cx88_core_irq
[ 2197.290513] cx8802: Unknown symbol cx88_core_get
[ 2197.290792] cx8802: Unknown symbol cx88_sram_channels
[ 2197.290893] cx8802: Unknown symbol cx88_sram_channel_dump
[ 2197.290997] cx8802: Unknown symbol cx88_sram_channel_setup
[ 2197.291381] cx8802: Unknown symbol cx88_free_buffer
[ 2197.291589] cx8802: Unknown symbol cx88_risc_databuffer

I thought I had to remove any in-kernel driver before using the v4l-dvb
tree, but obviously this was wrong... however, after installing the
in-kernel cx88 module as well, I got the following result:

[ 4734.289076] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
[ 4734.289113] cx8800 0000:07:00.0: enabling device (0000 -> 0002)
[ 4734.289123] cx8800 0000:07:00.0: PCI INT A -> GSI 22 (level, low) ->
IRQ 22
[ 4734.306537] cx88[0]: subsystem: 12ab:1788, board: Pinnacle Hybrid
PCTV [card=60,autodetected], frontend(s): 1
[ 4734.306541] cx88[0]: TV tuner type 71, Radio tuner type 71
[ 4734.317119] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[ 4734.428129] tuner' 4-0061: chip found @ 0xc2 (cx88[0])
[ 4734.525243] xc2028 4-0061: creating new instance
[ 4734.525247] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 4734.525254] xc2028 4-0061: destroying instance
[ 4734.525345] xc2028 4-0061: creating new instance
[ 4734.525347] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 4734.525350] cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
[ 4734.525365] cx88[0]/0: found at 0000:07:00.0, rev: 5, irq: 22,
latency: 0, mmio: 0x8c000000
[ 4734.525375] cx8800 0000:07:00.0: setting latency timer to 64
[ 4734.525530] cx88[0]/0: registered device video0 [v4l2]
[ 4734.525564] cx88[0]/0: registered device vbi0
[ 4734.525596] cx88[0]/0: registered device radio0
[ 4734.525685] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
[ 4734.529919] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
[ 4734.530152] cx88[0]/2: cx2388x 8802 Driver Manager
[ 4734.530165] cx88-mpeg driver manager 0000:07:00.2: enabling device
(0000 -> 0002)
[ 4734.530175] cx88-mpeg driver manager 0000:07:00.2: PCI INT A -> GSI
22 (level, low) -> IRQ 22
[ 4734.530184] cx88-mpeg driver manager 0000:07:00.2: setting latency
timer to 64
[ 4734.530193] cx88[0]/2: found at 0000:07:00.2, rev: 5, irq: 22,
latency: 64, mmio: 0x8e000000
[ 4734.594309] cx88/2: cx2388x dvb driver version 0.0.6 loaded
[ 4734.594313] cx88/2: registering cx8802 driver, type: dvb access: shared
[ 4734.594316] cx88[0]/2: subsystem: 12ab:1788, board: Pinnacle Hybrid
PCTV [card=60]
[ 4734.594319] cx88[0]/2: cx2388x based DVB/ATSC card
[ 4734.594321] cx8802_alloc_frontends() allocating 1 frontend(s)
[ 4734.598305] xc2028 4-0061: attaching existing instance
[ 4734.598308] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[ 4734.598310] cx88[0]/2: xc3028 attached
[ 4734.598317] DVB: registering new adapter (cx88[0])
[ 4734.598320] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
DVB-T)...
[ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
[ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.

Lazy people just scrolling by, reading the beginning and the end of
those dmesg messages might have spotted the problem already, which
particularly is:

[ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
[ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.

This indicates that I seem to miss this firmware file. However, once
again the Wiki article suggests using the firmware driver package for
Pinnacle from this site: http://mcentral.de/firmware/

This package does not include the requested file and I haven't seen it
around doing a Google recherche either... but I found some web pages
with other dmesg output revealing that actually the requested file is
not the file to be used with my card but instead the xc3028_init0.i2c.fw
file...

Am I using the wrong drivers? What's happening? I'm quite a bit sad and
depressed despite Marvin not being my name... err, actually I have no
idea how I can get this card working...

Anybody around here knowing any helpful hints?

I hope I didn't forgot any information.

Best regards,


Mihai



P.S.: I have added the people mentioned on the wiki page as CC's, I hope
this is OK for you guys and the email addresses are still valid...
well... one never knows.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-14 23:29 Pinnacle PCTV Hybrid Pro Card (310c)... once again Mihai Moldovan
@ 2009-03-14 23:41 ` Markus Rechberger
  2009-03-15  0:00   ` Mihai Moldovan
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Rechberger @ 2009-03-14 23:41 UTC (permalink / raw)
  To: Mihai Moldovan
  Cc: Linux Media Mailing List, Mateusz, Jacek, Kurt, Juergen, Obri,
	Kamre, "Álvaro", Alfred, Andy

On Sun, Mar 15, 2009 at 12:29 AM, Mihai Moldovan <ionic@ionic.de> wrote:
> Hello readers,
>
> Amazon just had this card transported to me today... and of course I
> gave the in-kernel 2.6.28.7 drivers a shot, but it didn't work out at
> all, so I thought giving the repo provided in the wiki article (for
> reference:
> http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_Hybrid_Pro_Card_%28310c%29)
> would be a good idea.
>
> Thus, I removed every in-kernel tuner and DVB module, checked the repo
> out, build the new modules and had them installed. This, however,
> yielded following results (dmesg extract):
>
> [ 1988.812035] pcmcia_socket pcmcia_socket0: pccard: CardBus card
> inserted into slot 0
> [ 1988.812102] pci 0000:07:00.0: reg 10 32bit mmio: [0x000000-0xffffff]
> [ 1988.812225] pci 0000:07:00.1: reg 10 32bit mmio: [0x000000-0xffffff]
> [ 1988.812341] pci 0000:07:00.2: reg 10 32bit mmio: [0x000000-0xffffff]
> [ 2003.326837] cx25843.c: starting probe for adapter SMBus I801 adapter
> at 18e0 (0x40004)
> [ 2003.328060] cx25843.c: detecting cx25843 client on address 0x88
> [ 2003.328090] cx25843.c: starting probe for adapter NVIDIA i2c adapter
> (0x0)
> [ 2003.328511] cx25843.c: starting probe for adapter NVIDIA i2c adapter
> (0x0)
> [ 2003.328961] cx25843.c: starting probe for adapter NVIDIA i2c adapter
> (0x0)
> [ 2003.335211] em28xx: Unknown symbol v4l_compat_translate_ioctl
> [ 2003.335404] em28xx: Unknown symbol v4l2_video_std_construct
> [ 2003.335850] em28xx: Unknown symbol v4l2_type_names
> [ 2003.339965] em28xx: Unknown symbol v4l_printk_ioctl
> [ 2003.340663] em28xx: Unknown symbol video_unregister_device
> [ 2003.340851] em28xx: Unknown symbol video_device_alloc
> [ 2003.340948] em28xx: Unknown symbol video_register_device
> [ 2003.342372] em28xx: Unknown symbol video_usercopy
> [ 2003.342470] em28xx: Unknown symbol video_device_release
> [ 2003.352874] em28xx_audio: Unknown symbol em28xx_i2c_call_clients
> [ 2003.353305] em28xx_audio: Unknown symbol snd_pcm_new
> [ 2003.353407] em28xx_audio: Unknown symbol snd_card_register
> [ 2003.353508] em28xx_audio: Unknown symbol snd_card_free
> [ 2003.353683] em28xx_audio: Unknown symbol snd_component_add
> [ 2003.353873] em28xx_audio: Unknown symbol snd_card_new
> [ 2003.353977] em28xx_audio: Unknown symbol snd_pcm_lib_ioctl
> [ 2003.354280] em28xx_audio: Unknown symbol em28xx_unregister_extension
> [ 2003.354465] em28xx_audio: Unknown symbol snd_pcm_set_ops
> [ 2003.354570] em28xx_audio: Unknown symbol snd_pcm_hw_constraint_integer
> [ 2003.354691] em28xx_audio: Unknown symbol em28xx_register_extension
> [ 2003.354910] em28xx_audio: Unknown symbol snd_pcm_period_elapsed
> [ 2003.357625] em28xx_aad: Unknown symbol em28xx_unregister_extension
> [ 2003.357753] em28xx_aad: Unknown symbol em28xx_register_extension
> [ 2003.358895] em28xx_dvb: Unknown symbol dvb_dmxdev_init
> [ 2003.359262] em28xx_dvb: Unknown symbol dvb_register_adapter
> [ 2003.359506] em28xx_dvb: Unknown symbol dvb_dmx_release
> [ 2003.359602] em28xx_dvb: Unknown symbol em28xx_unregister_extension
> [ 2003.359787] em28xx_dvb: Unknown symbol dvb_net_init
> [ 2003.359886] em28xx_dvb: Unknown symbol dvb_dmx_swfilter
> [ 2003.360514] em28xx_dvb: Unknown symbol dvb_dmxdev_release
> [ 2003.360638] em28xx_dvb: Unknown symbol dvb_frontend_detach
> [ 2003.360737] em28xx_dvb: Unknown symbol dvb_net_release
> [ 2003.360898] em28xx_dvb: Unknown symbol em28xx_register_extension
> [ 2003.361189] em28xx_dvb: Unknown symbol dvb_unregister_frontend
> [ 2003.361455] em28xx_dvb: Unknown symbol dvb_register_frontend
> [ 2003.361554] em28xx_dvb: Unknown symbol dvb_unregister_adapter
> [ 2003.361653] em28xx_dvb: Unknown symbol dvb_dmx_init
> [ 2003.362770] em28xx_audioep: Unknown symbol snd_pcm_new
> [ 2003.362872] em28xx_audioep: Unknown symbol snd_card_register
> [ 2003.362973] em28xx_audioep: Unknown symbol snd_card_free
> [ 2003.363375] em28xx_audioep: Unknown symbol snd_card_new
> [ 2003.363479] em28xx_audioep: Unknown symbol snd_pcm_lib_ioctl
> [ 2003.363659] em28xx_audioep: Unknown symbol snd_pcm_set_ops
> [ 2003.363843] em28xx_audioep: Unknown symbol snd_pcm_hw_constraint_integer
> [ 2003.364044] em28xx_audioep: Unknown symbol snd_pcm_period_elapsed
> [ 2038.162200] pcmcia_socket pcmcia_socket0: pccard: card ejected from
> slot 0
>
> As you can see, there were several problems, I'll explain them a little
> bit further: first of all a lot of unresolved symbols which are part of
> ALSA itself (snd_* ones.) This is perfectly valid and true since I don't
> use ALSA but OSS, however, using the provided modules seems not to be
> working without ALSA - bummer deal... I'd appreciate any help here
> (other than "switch to ALSA" rants, of course, which are not very
> productive!)
>
> Secondly, there are a lot of unresolved dvb* symbol errors personally I
> can not explain.
>
> After this episode of failing I wanted to give LinuxTV.org's v4l-dvb
> tree a shot... once again had all installed v4l and dvb modules removed
> (module-wise out of the Kernel as well as file-wise on the harddisk of
> course), checked out the other repo, built the modules, installed them,
> re-inserted the card.
>
> This time I got the following new errors, but at least not the old ones:
>
> [ 2197.245488] cx88xx: Unknown symbol i2c_bit_add_bus
> [ 2197.251385] cx8800: Unknown symbol cx88_reset
> [ 2197.251672] cx8800: Unknown symbol cx88_call_i2c_clients
> [ 2197.251774] cx8800: Unknown symbol cx88_wakeup
> [ 2197.251904] cx8800: Unknown symbol cx88_risc_stopper
> [ 2197.260330] cx8800: Unknown symbol cx88_print_irqbits
> [ 2197.260435] cx8800: Unknown symbol cx88_set_scale
> [ 2197.260567] cx8800: Unknown symbol cx88_shutdown
> [ 2197.260763] cx8800: Unknown symbol cx88_vdev_init
> [ 2197.260913] cx8800: Unknown symbol cx88_core_put
> [ 2197.261231] cx8800: Unknown symbol cx88_audio_thread
> [ 2197.261479] cx8800: Unknown symbol cx88_core_irq
> [ 2197.261614] cx8800: Unknown symbol cx88_core_get
> [ 2197.261715] cx8800: Unknown symbol cx88_get_stereo
> [ 2197.261816] cx8800: Unknown symbol cx88_ir_stop
> [ 2197.262195] cx8800: Unknown symbol cx88_set_tvnorm
> [ 2197.262297] cx8800: Unknown symbol cx88_ir_start
> [ 2197.262705] cx8800: Unknown symbol cx88_risc_buffer
> [ 2197.263412] cx8800: Unknown symbol cx88_set_stereo
> [ 2197.263882] cx8800: Unknown symbol cx88_sram_channels
> [ 2197.264169] cx8800: Unknown symbol cx88_set_tvaudio
> [ 2197.264271] cx8800: Unknown symbol cx88_sram_channel_dump
> [ 2197.264406] cx8800: Unknown symbol cx88_sram_channel_setup
> [ 2197.264612] cx8800: Unknown symbol cx88_free_buffer
> [ 2197.265458] cx8800: Unknown symbol cx88_newstation
> [ 2197.276698] cx88xx: Unknown symbol i2c_bit_add_bus
> [ 2197.289372] cx8802: Unknown symbol cx88_reset
> [ 2197.289474] cx8802: Unknown symbol cx88_wakeup
> [ 2197.289605] cx8802: Unknown symbol cx88_risc_stopper
> [ 2197.289736] cx8802: Unknown symbol cx88_print_irqbits
> [ 2197.289866] cx8802: Unknown symbol cx88_shutdown
> [ 2197.289984] cx8802: Unknown symbol cx88_core_put
> [ 2197.290382] cx8802: Unknown symbol cx88_core_irq
> [ 2197.290513] cx8802: Unknown symbol cx88_core_get
> [ 2197.290792] cx8802: Unknown symbol cx88_sram_channels
> [ 2197.290893] cx8802: Unknown symbol cx88_sram_channel_dump
> [ 2197.290997] cx8802: Unknown symbol cx88_sram_channel_setup
> [ 2197.291381] cx8802: Unknown symbol cx88_free_buffer
> [ 2197.291589] cx8802: Unknown symbol cx88_risc_databuffer
>
> I thought I had to remove any in-kernel driver before using the v4l-dvb
> tree, but obviously this was wrong... however, after installing the
> in-kernel cx88 module as well, I got the following result:
>
> [ 4734.289076] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
> [ 4734.289113] cx8800 0000:07:00.0: enabling device (0000 -> 0002)
> [ 4734.289123] cx8800 0000:07:00.0: PCI INT A -> GSI 22 (level, low) ->
> IRQ 22
> [ 4734.306537] cx88[0]: subsystem: 12ab:1788, board: Pinnacle Hybrid
> PCTV [card=60,autodetected], frontend(s): 1
> [ 4734.306541] cx88[0]: TV tuner type 71, Radio tuner type 71
> [ 4734.317119] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
> [ 4734.428129] tuner' 4-0061: chip found @ 0xc2 (cx88[0])
> [ 4734.525243] xc2028 4-0061: creating new instance
> [ 4734.525247] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
> [ 4734.525254] xc2028 4-0061: destroying instance
> [ 4734.525345] xc2028 4-0061: creating new instance
> [ 4734.525347] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
> [ 4734.525350] cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
> [ 4734.525365] cx88[0]/0: found at 0000:07:00.0, rev: 5, irq: 22,
> latency: 0, mmio: 0x8c000000
> [ 4734.525375] cx8800 0000:07:00.0: setting latency timer to 64
> [ 4734.525530] cx88[0]/0: registered device video0 [v4l2]
> [ 4734.525564] cx88[0]/0: registered device vbi0
> [ 4734.525596] cx88[0]/0: registered device radio0
> [ 4734.525685] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
> [ 4734.529919] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
> [ 4734.530152] cx88[0]/2: cx2388x 8802 Driver Manager
> [ 4734.530165] cx88-mpeg driver manager 0000:07:00.2: enabling device
> (0000 -> 0002)
> [ 4734.530175] cx88-mpeg driver manager 0000:07:00.2: PCI INT A -> GSI
> 22 (level, low) -> IRQ 22
> [ 4734.530184] cx88-mpeg driver manager 0000:07:00.2: setting latency
> timer to 64
> [ 4734.530193] cx88[0]/2: found at 0000:07:00.2, rev: 5, irq: 22,
> latency: 64, mmio: 0x8e000000
> [ 4734.594309] cx88/2: cx2388x dvb driver version 0.0.6 loaded
> [ 4734.594313] cx88/2: registering cx8802 driver, type: dvb access: shared
> [ 4734.594316] cx88[0]/2: subsystem: 12ab:1788, board: Pinnacle Hybrid
> PCTV [card=60]
> [ 4734.594319] cx88[0]/2: cx2388x based DVB/ATSC card
> [ 4734.594321] cx8802_alloc_frontends() allocating 1 frontend(s)
> [ 4734.598305] xc2028 4-0061: attaching existing instance
> [ 4734.598308] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
> [ 4734.598310] cx88[0]/2: xc3028 attached
> [ 4734.598317] DVB: registering new adapter (cx88[0])
> [ 4734.598320] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
> DVB-T)...
> [ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
> [ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
>
> Lazy people just scrolling by, reading the beginning and the end of
> those dmesg messages might have spotted the problem already, which
> particularly is:
>
> [ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
> [ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
>
> This indicates that I seem to miss this firmware file. However, once
> again the Wiki article suggests using the firmware driver package for
> Pinnacle from this site: http://mcentral.de/firmware/
>

I use to build the firwmare into the drivers which are in userland nowadays.
There are no drivers(sources) available which require any *external*
firmware from mcentral.de anymore.

regards,
Markus

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-14 23:41 ` Markus Rechberger
@ 2009-03-15  0:00   ` Mihai Moldovan
  2009-03-15  0:25     ` Markus Rechberger
  0 siblings, 1 reply; 8+ messages in thread
From: Mihai Moldovan @ 2009-03-15  0:00 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Markus Rechberger, Mateusz, Jacek, Kurt, Juergen, Obri, Kamre,
	Álvaro, Alfred, Andy

[-- Attachment #1: Type: text/plain, Size: 19771 bytes --]

* On 15.03.2009 00:41, Markus Rechberger wrote:
> On Sun, Mar 15, 2009 at 12:29 AM, Mihai Moldovan <ionic@ionic.de> wrote:
>   
>> Hello readers,
>>
>> Amazon just had this card transported to me today... and of course I
>> gave the in-kernel 2.6.28.7 drivers a shot, but it didn't work out at
>> all, so I thought giving the repo provided in the wiki article (for
>> reference:
>> http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_Hybrid_Pro_Card_%28310c%29)
>> would be a good idea.
>>
>> Thus, I removed every in-kernel tuner and DVB module, checked the repo
>> out, build the new modules and had them installed. This, however,
>> yielded following results (dmesg extract):
>>
>> [ 1988.812035] pcmcia_socket pcmcia_socket0: pccard: CardBus card
>> inserted into slot 0
>> [ 1988.812102] pci 0000:07:00.0: reg 10 32bit mmio: [0x000000-0xffffff]
>> [ 1988.812225] pci 0000:07:00.1: reg 10 32bit mmio: [0x000000-0xffffff]
>> [ 1988.812341] pci 0000:07:00.2: reg 10 32bit mmio: [0x000000-0xffffff]
>> [ 2003.326837] cx25843.c: starting probe for adapter SMBus I801 adapter
>> at 18e0 (0x40004)
>> [ 2003.328060] cx25843.c: detecting cx25843 client on address 0x88
>> [ 2003.328090] cx25843.c: starting probe for adapter NVIDIA i2c adapter
>> (0x0)
>> [ 2003.328511] cx25843.c: starting probe for adapter NVIDIA i2c adapter
>> (0x0)
>> [ 2003.328961] cx25843.c: starting probe for adapter NVIDIA i2c adapter
>> (0x0)
>> [ 2003.335211] em28xx: Unknown symbol v4l_compat_translate_ioctl
>> [ 2003.335404] em28xx: Unknown symbol v4l2_video_std_construct
>> [ 2003.335850] em28xx: Unknown symbol v4l2_type_names
>> [ 2003.339965] em28xx: Unknown symbol v4l_printk_ioctl
>> [ 2003.340663] em28xx: Unknown symbol video_unregister_device
>> [ 2003.340851] em28xx: Unknown symbol video_device_alloc
>> [ 2003.340948] em28xx: Unknown symbol video_register_device
>> [ 2003.342372] em28xx: Unknown symbol video_usercopy
>> [ 2003.342470] em28xx: Unknown symbol video_device_release
>> [ 2003.352874] em28xx_audio: Unknown symbol em28xx_i2c_call_clients
>> [ 2003.353305] em28xx_audio: Unknown symbol snd_pcm_new
>> [ 2003.353407] em28xx_audio: Unknown symbol snd_card_register
>> [ 2003.353508] em28xx_audio: Unknown symbol snd_card_free
>> [ 2003.353683] em28xx_audio: Unknown symbol snd_component_add
>> [ 2003.353873] em28xx_audio: Unknown symbol snd_card_new
>> [ 2003.353977] em28xx_audio: Unknown symbol snd_pcm_lib_ioctl
>> [ 2003.354280] em28xx_audio: Unknown symbol em28xx_unregister_extension
>> [ 2003.354465] em28xx_audio: Unknown symbol snd_pcm_set_ops
>> [ 2003.354570] em28xx_audio: Unknown symbol snd_pcm_hw_constraint_integer
>> [ 2003.354691] em28xx_audio: Unknown symbol em28xx_register_extension
>> [ 2003.354910] em28xx_audio: Unknown symbol snd_pcm_period_elapsed
>> [ 2003.357625] em28xx_aad: Unknown symbol em28xx_unregister_extension
>> [ 2003.357753] em28xx_aad: Unknown symbol em28xx_register_extension
>> [ 2003.358895] em28xx_dvb: Unknown symbol dvb_dmxdev_init
>> [ 2003.359262] em28xx_dvb: Unknown symbol dvb_register_adapter
>> [ 2003.359506] em28xx_dvb: Unknown symbol dvb_dmx_release
>> [ 2003.359602] em28xx_dvb: Unknown symbol em28xx_unregister_extension
>> [ 2003.359787] em28xx_dvb: Unknown symbol dvb_net_init
>> [ 2003.359886] em28xx_dvb: Unknown symbol dvb_dmx_swfilter
>> [ 2003.360514] em28xx_dvb: Unknown symbol dvb_dmxdev_release
>> [ 2003.360638] em28xx_dvb: Unknown symbol dvb_frontend_detach
>> [ 2003.360737] em28xx_dvb: Unknown symbol dvb_net_release
>> [ 2003.360898] em28xx_dvb: Unknown symbol em28xx_register_extension
>> [ 2003.361189] em28xx_dvb: Unknown symbol dvb_unregister_frontend
>> [ 2003.361455] em28xx_dvb: Unknown symbol dvb_register_frontend
>> [ 2003.361554] em28xx_dvb: Unknown symbol dvb_unregister_adapter
>> [ 2003.361653] em28xx_dvb: Unknown symbol dvb_dmx_init
>> [ 2003.362770] em28xx_audioep: Unknown symbol snd_pcm_new
>> [ 2003.362872] em28xx_audioep: Unknown symbol snd_card_register
>> [ 2003.362973] em28xx_audioep: Unknown symbol snd_card_free
>> [ 2003.363375] em28xx_audioep: Unknown symbol snd_card_new
>> [ 2003.363479] em28xx_audioep: Unknown symbol snd_pcm_lib_ioctl
>> [ 2003.363659] em28xx_audioep: Unknown symbol snd_pcm_set_ops
>> [ 2003.363843] em28xx_audioep: Unknown symbol snd_pcm_hw_constraint_integer
>> [ 2003.364044] em28xx_audioep: Unknown symbol snd_pcm_period_elapsed
>> [ 2038.162200] pcmcia_socket pcmcia_socket0: pccard: card ejected from
>> slot 0
>>
>> As you can see, there were several problems, I'll explain them a little
>> bit further: first of all a lot of unresolved symbols which are part of
>> ALSA itself (snd_* ones.) This is perfectly valid and true since I don't
>> use ALSA but OSS, however, using the provided modules seems not to be
>> working without ALSA - bummer deal... I'd appreciate any help here
>> (other than "switch to ALSA" rants, of course, which are not very
>> productive!)
>>
>> Secondly, there are a lot of unresolved dvb* symbol errors personally I
>> can not explain.
>>
>> After this episode of failing I wanted to give LinuxTV.org's v4l-dvb
>> tree a shot... once again had all installed v4l and dvb modules removed
>> (module-wise out of the Kernel as well as file-wise on the harddisk of
>> course), checked out the other repo, built the modules, installed them,
>> re-inserted the card.
>>
>> This time I got the following new errors, but at least not the old ones:
>>
>> [ 2197.245488] cx88xx: Unknown symbol i2c_bit_add_bus
>> [ 2197.251385] cx8800: Unknown symbol cx88_reset
>> [ 2197.251672] cx8800: Unknown symbol cx88_call_i2c_clients
>> [ 2197.251774] cx8800: Unknown symbol cx88_wakeup
>> [ 2197.251904] cx8800: Unknown symbol cx88_risc_stopper
>> [ 2197.260330] cx8800: Unknown symbol cx88_print_irqbits
>> [ 2197.260435] cx8800: Unknown symbol cx88_set_scale
>> [ 2197.260567] cx8800: Unknown symbol cx88_shutdown
>> [ 2197.260763] cx8800: Unknown symbol cx88_vdev_init
>> [ 2197.260913] cx8800: Unknown symbol cx88_core_put
>> [ 2197.261231] cx8800: Unknown symbol cx88_audio_thread
>> [ 2197.261479] cx8800: Unknown symbol cx88_core_irq
>> [ 2197.261614] cx8800: Unknown symbol cx88_core_get
>> [ 2197.261715] cx8800: Unknown symbol cx88_get_stereo
>> [ 2197.261816] cx8800: Unknown symbol cx88_ir_stop
>> [ 2197.262195] cx8800: Unknown symbol cx88_set_tvnorm
>> [ 2197.262297] cx8800: Unknown symbol cx88_ir_start
>> [ 2197.262705] cx8800: Unknown symbol cx88_risc_buffer
>> [ 2197.263412] cx8800: Unknown symbol cx88_set_stereo
>> [ 2197.263882] cx8800: Unknown symbol cx88_sram_channels
>> [ 2197.264169] cx8800: Unknown symbol cx88_set_tvaudio
>> [ 2197.264271] cx8800: Unknown symbol cx88_sram_channel_dump
>> [ 2197.264406] cx8800: Unknown symbol cx88_sram_channel_setup
>> [ 2197.264612] cx8800: Unknown symbol cx88_free_buffer
>> [ 2197.265458] cx8800: Unknown symbol cx88_newstation
>> [ 2197.276698] cx88xx: Unknown symbol i2c_bit_add_bus
>> [ 2197.289372] cx8802: Unknown symbol cx88_reset
>> [ 2197.289474] cx8802: Unknown symbol cx88_wakeup
>> [ 2197.289605] cx8802: Unknown symbol cx88_risc_stopper
>> [ 2197.289736] cx8802: Unknown symbol cx88_print_irqbits
>> [ 2197.289866] cx8802: Unknown symbol cx88_shutdown
>> [ 2197.289984] cx8802: Unknown symbol cx88_core_put
>> [ 2197.290382] cx8802: Unknown symbol cx88_core_irq
>> [ 2197.290513] cx8802: Unknown symbol cx88_core_get
>> [ 2197.290792] cx8802: Unknown symbol cx88_sram_channels
>> [ 2197.290893] cx8802: Unknown symbol cx88_sram_channel_dump
>> [ 2197.290997] cx8802: Unknown symbol cx88_sram_channel_setup
>> [ 2197.291381] cx8802: Unknown symbol cx88_free_buffer
>> [ 2197.291589] cx8802: Unknown symbol cx88_risc_databuffer
>>
>> I thought I had to remove any in-kernel driver before using the v4l-dvb
>> tree, but obviously this was wrong... however, after installing the
>> in-kernel cx88 module as well, I got the following result:
>>
>> [ 4734.289076] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
>> [ 4734.289113] cx8800 0000:07:00.0: enabling device (0000 -> 0002)
>> [ 4734.289123] cx8800 0000:07:00.0: PCI INT A -> GSI 22 (level, low) ->
>> IRQ 22
>> [ 4734.306537] cx88[0]: subsystem: 12ab:1788, board: Pinnacle Hybrid
>> PCTV [card=60,autodetected], frontend(s): 1
>> [ 4734.306541] cx88[0]: TV tuner type 71, Radio tuner type 71
>> [ 4734.317119] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
>> [ 4734.428129] tuner' 4-0061: chip found @ 0xc2 (cx88[0])
>> [ 4734.525243] xc2028 4-0061: creating new instance
>> [ 4734.525247] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
>> [ 4734.525254] xc2028 4-0061: destroying instance
>> [ 4734.525345] xc2028 4-0061: creating new instance
>> [ 4734.525347] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
>> [ 4734.525350] cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
>> [ 4734.525365] cx88[0]/0: found at 0000:07:00.0, rev: 5, irq: 22,
>> latency: 0, mmio: 0x8c000000
>> [ 4734.525375] cx8800 0000:07:00.0: setting latency timer to 64
>> [ 4734.525530] cx88[0]/0: registered device video0 [v4l2]
>> [ 4734.525564] cx88[0]/0: registered device vbi0
>> [ 4734.525596] cx88[0]/0: registered device radio0
>> [ 4734.525685] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
>> [ 4734.529919] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
>> [ 4734.530152] cx88[0]/2: cx2388x 8802 Driver Manager
>> [ 4734.530165] cx88-mpeg driver manager 0000:07:00.2: enabling device
>> (0000 -> 0002)
>> [ 4734.530175] cx88-mpeg driver manager 0000:07:00.2: PCI INT A -> GSI
>> 22 (level, low) -> IRQ 22
>> [ 4734.530184] cx88-mpeg driver manager 0000:07:00.2: setting latency
>> timer to 64
>> [ 4734.530193] cx88[0]/2: found at 0000:07:00.2, rev: 5, irq: 22,
>> latency: 64, mmio: 0x8e000000
>> [ 4734.594309] cx88/2: cx2388x dvb driver version 0.0.6 loaded
>> [ 4734.594313] cx88/2: registering cx8802 driver, type: dvb access: shared
>> [ 4734.594316] cx88[0]/2: subsystem: 12ab:1788, board: Pinnacle Hybrid
>> PCTV [card=60]
>> [ 4734.594319] cx88[0]/2: cx2388x based DVB/ATSC card
>> [ 4734.594321] cx8802_alloc_frontends() allocating 1 frontend(s)
>> [ 4734.598305] xc2028 4-0061: attaching existing instance
>> [ 4734.598308] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
>> [ 4734.598310] cx88[0]/2: xc3028 attached
>> [ 4734.598317] DVB: registering new adapter (cx88[0])
>> [ 4734.598320] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
>> DVB-T)...
>> [ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
>> [ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
>>
>> Lazy people just scrolling by, reading the beginning and the end of
>> those dmesg messages might have spotted the problem already, which
>> particularly is:
>>
>> [ 4734.608466] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
>> [ 4734.626640] xc2028 4-0061: Error: firmware xc3028-v27.fw not found.
>>
>> This indicates that I seem to miss this firmware file. However, once
>> again the Wiki article suggests using the firmware driver package for
>> Pinnacle from this site: http://mcentral.de/firmware/
>>
>>     
>
> I use to build the firwmare into the drivers which are in userland nowadays.
> There are no drivers(sources) available which require any *external*
> firmware from mcentral.de anymore.
>   

Hi Markus,

that's cool... but which tree is the one you actually do speak about?
v4l-dvb-experimental? As stated... I've already tried it without any
success. :(

Other than this I am out of ideas... but you could mean
userspace-drivers though, is this the tree to go?  The page the README
file points to is outdated by the way...

When trying to compile all the stuff, I am getting this error messages:

sui userspace-drivers # ./build.sh
found kernel version (2.6.28.7-tuxonice-squashFS3.4-OSS4.1)
make -C /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/build
M=/usr/src/Pinnacle/userspace-drivers/kernel modules -Wall
make[1]: Entering directory `/usr/src/linux-2.6.28.7'
  CC [M]  /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.o
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
»tuner_request_module«:
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:1466: Fehler:
Dereferenzierung eines Zeigers auf unvollständigen Typen
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
»tuner_init«:
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2208: Fehler:
Implizite Deklaration der Funktion »class_device_create«
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2208: Warnung:
Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
»tuner_exit«:
/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2218: Fehler:
Implizite Deklaration der Funktion »class_device_destroy«
make[2]: *** [/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.o]
Fehler 1
make[1]: *** [_module_/usr/src/Pinnacle/userspace-drivers/kernel] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.28.7'
make: *** [all] Fehler 2
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/userspace  \
        -C /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/build
M=/usr/src/Pinnacle/userspace-drivers/kernel modules_install
make[1]: Entering directory `/usr/src/linux-2.6.28.7'
  DEPMOD  2.6.28.7-tuxonice-squashFS3.4-OSS4.1
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol em28xx_i2c_call_clients
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_pcm_new
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_card_register
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_card_free
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_component_add
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_card_new
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_pcm_lib_ioctl
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_pcm_set_ops
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_pcm_hw_constraint_integer
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
needs unknown symbol snd_pcm_period_elapsed
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_pcm_new
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_card_register
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_card_free
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_card_new
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_pcm_lib_ioctl
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_pcm_set_ops
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_pcm_hw_constraint_integer
WARNING:
/lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
needs unknown symbol snd_pcm_period_elapsed
make[1]: Leaving directory `/usr/src/linux-2.6.28.7'
depmod -a
gcc -c media-core.c "-I/lib/modules/`uname -r`/source/include"
gcc media-core.o tuner-qt1010.c -o tuner-qt1010 "-I/lib/modules/`uname
-r`/source/include"  -g
gcc media-core.o tuner-mt2060.c -o tuner-mt2060 "-I/lib/modules/`uname
-r`/source/include"  -g
gcc -shared media-core.c -o libmedia-core.so "-I/lib/modules/`uname
-r`/source/include"  -fPIC -g
gcc -shared -L. -lmedia-core tuner-xc3028.c -o libtuner-xc3028.so
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -shared -L. -lmedia-core demod-zl10353.c -o libdemod-zl10353.so
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -L. -lmedia-core demod-zl10353.c -o demod-zl10353
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -L. -lmedia-core vdecoder-tvp5150.c -o vdecoder-tvp5150
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -shared -L. -lmedia-core vdecoder-tvp5150.c -o libvdec-tvp5150.so
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -shared -L. -lmedia-core vdecoder-cx25840.c -o libvdec-cx25840.so
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
gcc -shared -L. -lmedia-core demod-lgdt3304.c -o libdemod-lgdt3304.so
"-I/lib/modules/`uname -r`/source/include"  -fPIC -g
make[1]: Entering directory
`/usr/src/Pinnacle/userspace-drivers/userspace/xc5000'
g++ XC5000_example_app.cpp i2c_driver.c xc5000_control.c -o test
"-I/lib/modules/`uname -r`/source/include" -lmedia-core -L..
gcc -shared tuner-xc5000.c i2c_driver.c xc5000_control.c -o
libtuner-xc5000.so -g -fPIC -lm "-I/lib/modules/`uname -r`/source/include"
gcc tuner-xc5000.c i2c_driver.c xc5000_control.c -o tuner-xc5000 -g -L..
-lmedia-core -lm "-I/lib/modules/`uname -r`/source/include"
make[1]: Leaving directory
`/usr/src/Pinnacle/userspace-drivers/userspace/xc5000'
make[1]: Entering directory
`/usr/src/Pinnacle/userspace-drivers/userspace/drx3975d'
gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c main.c
-lmedia-core -L.. -DDRXD_TYPE_B -o test -lm -g "-I/lib/modules/`uname
-r`/source/include"
drx_dap_wasi.c: In Funktion »DRXDAP_WASI_WriteBlock«:
drx_dap_wasi.c:463: Warnung: Unverträgliche implizite Deklaration der
eingebauten Funktion »printf«
gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c
demod-drx3975d.c -shared -DDRXD_TYPE_B -DDRXD_TYPE_A -fPIC -o
libdemod-drx3975d.so -lm -L.. -lmedia-core -g "-I/lib/modules/`uname
-r`/source/include"
drx_dap_wasi.c: In Funktion »DRXDAP_WASI_WriteBlock«:
drx_dap_wasi.c:463: Warnung: Unverträgliche implizite Deklaration der
eingebauten Funktion »printf«
make[1]: Leaving directory
`/usr/src/Pinnacle/userspace-drivers/userspace/drx3975d'
make[1]: Entering directory
`/usr/src/Pinnacle/userspace-drivers/userspace/xc3028'
gcc xc3028_example_app.c -lm -o test
gcc tuner-xc3028.c -o tuner-xc3028 -g -L.. -lmedia-core -lm
gcc -shared tuner-xc3028.c -o libtuner-xc3028.so -g -fPIC -lm
make[1]: Leaving directory
`/usr/src/Pinnacle/userspace-drivers/userspace/xc3028'
gcc media-daemon.c -L. -lmedia-core -ldl -o media-daemon
"-I/lib/modules/`uname -r`/source/include"  -g
mkdir -p //usr/sbin
mkdir -p //usr/lib
mkdir -p //usr/lib/v4l-dvb
install media-daemon //usr/sbin
cp libmedia-core.so //usr/lib
cp libtuner-xc3028.so //usr/lib/v4l-dvb
cp libdemod-zl10353.so //usr/lib/v4l-dvb
cp libvdec-tvp5150.so //usr/lib/v4l-dvb
cp libvdec-cx25840.so //usr/lib/v4l-dvb
cp libdemod-lgdt3304.so //usr/lib/v4l-dvb
cp xc5000/libtuner-xc5000.so //usr/lib/v4l-dvb
cp xc3028/libtuner-xc3028.so //usr/lib/v4l-dvb
cp drx3975d/libdemod-drx3975d.so //usr/lib/v4l-dvb
 * WARNING:  media-daemon has not yet been started.
Gentoo found

The latter ones are not fatal, but the first ones are, that said...
tuner-stub won't be built at all (bad stuff...)

I did use the following GCC version: gcc (GCC) 4.1.2 20070214 (  (gdc
0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)

Best regards,


Mihai


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-15  0:00   ` Mihai Moldovan
@ 2009-03-15  0:25     ` Markus Rechberger
  2009-03-15  1:19       ` Ionic
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Rechberger @ 2009-03-15  0:25 UTC (permalink / raw)
  To: Mihai Moldovan
  Cc: Linux Media Mailing List, Mateusz, Jacek, Kurt, Juergen, Obri,
	Kamre, Álvaro, Alfred, Andy

> Hi Markus,
>
> that's cool... but which tree is the one you actually do speak about?
> v4l-dvb-experimental? As stated... I've already tried it without any
> success. :(
>

this tree doesn't exist anymore it's just a symlink to the split out
em28xx driver on mcentral.de
you should try your luck with the linuxtv.org/hg/v4l-dvb repository

> Other than this I am out of ideas... but you could mean
> userspace-drivers though, is this the tree to go?  The page the README
> file points to is outdated by the way...
>

those things are not relevant for your device, no drivers on
mcentral.de are relevant for your device.
read your first dmesg log carefully and try to obtain the xc3028
firmware and put it to /lib/firmware

regards,
Markus

> When trying to compile all the stuff, I am getting this error messages:
>
> sui userspace-drivers # ./build.sh
> found kernel version (2.6.28.7-tuxonice-squashFS3.4-OSS4.1)
> make -C /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/build
> M=/usr/src/Pinnacle/userspace-drivers/kernel modules -Wall
> make[1]: Entering directory `/usr/src/linux-2.6.28.7'
>  CC [M]  /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.o
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
> »tuner_request_module«:
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:1466: Fehler:
> Dereferenzierung eines Zeigers auf unvollständigen Typen
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
> »tuner_init«:
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2208: Fehler:
> Implizite Deklaration der Funktion »class_device_create«
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2208: Warnung:
> Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c: In Funktion
> »tuner_exit«:
> /usr/src/Pinnacle/userspace-drivers/kernel/media-stub.c:2218: Fehler:
> Implizite Deklaration der Funktion »class_device_destroy«
> make[2]: *** [/usr/src/Pinnacle/userspace-drivers/kernel/media-stub.o]
> Fehler 1
> make[1]: *** [_module_/usr/src/Pinnacle/userspace-drivers/kernel] Fehler 2
> make[1]: Leaving directory `/usr/src/linux-2.6.28.7'
> make: *** [all] Fehler 2
> make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/userspace  \
>        -C /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/build
> M=/usr/src/Pinnacle/userspace-drivers/kernel modules_install
> make[1]: Entering directory `/usr/src/linux-2.6.28.7'
>  DEPMOD  2.6.28.7-tuxonice-squashFS3.4-OSS4.1
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol em28xx_i2c_call_clients
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_pcm_new
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_card_register
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_card_free
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_component_add
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_card_new
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_pcm_lib_ioctl
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_pcm_set_ops
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_pcm_hw_constraint_integer
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audio.ko
> needs unknown symbol snd_pcm_period_elapsed
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_pcm_new
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_card_register
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_card_free
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_card_new
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_pcm_lib_ioctl
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_pcm_set_ops
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_pcm_hw_constraint_integer
> WARNING:
> /lib/modules/2.6.28.7-tuxonice-squashFS3.4-OSS4.1/empia/em28xx-audioep.ko
> needs unknown symbol snd_pcm_period_elapsed
> make[1]: Leaving directory `/usr/src/linux-2.6.28.7'
> depmod -a
> gcc -c media-core.c "-I/lib/modules/`uname -r`/source/include"
> gcc media-core.o tuner-qt1010.c -o tuner-qt1010 "-I/lib/modules/`uname
> -r`/source/include"  -g
> gcc media-core.o tuner-mt2060.c -o tuner-mt2060 "-I/lib/modules/`uname
> -r`/source/include"  -g
> gcc -shared media-core.c -o libmedia-core.so "-I/lib/modules/`uname
> -r`/source/include"  -fPIC -g
> gcc -shared -L. -lmedia-core tuner-xc3028.c -o libtuner-xc3028.so
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -shared -L. -lmedia-core demod-zl10353.c -o libdemod-zl10353.so
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -L. -lmedia-core demod-zl10353.c -o demod-zl10353
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -L. -lmedia-core vdecoder-tvp5150.c -o vdecoder-tvp5150
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -shared -L. -lmedia-core vdecoder-tvp5150.c -o libvdec-tvp5150.so
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -shared -L. -lmedia-core vdecoder-cx25840.c -o libvdec-cx25840.so
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> gcc -shared -L. -lmedia-core demod-lgdt3304.c -o libdemod-lgdt3304.so
> "-I/lib/modules/`uname -r`/source/include"  -fPIC -g
> make[1]: Entering directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/xc5000'
> g++ XC5000_example_app.cpp i2c_driver.c xc5000_control.c -o test
> "-I/lib/modules/`uname -r`/source/include" -lmedia-core -L..
> gcc -shared tuner-xc5000.c i2c_driver.c xc5000_control.c -o
> libtuner-xc5000.so -g -fPIC -lm "-I/lib/modules/`uname -r`/source/include"
> gcc tuner-xc5000.c i2c_driver.c xc5000_control.c -o tuner-xc5000 -g -L..
> -lmedia-core -lm "-I/lib/modules/`uname -r`/source/include"
> make[1]: Leaving directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/xc5000'
> make[1]: Entering directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/drx3975d'
> gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c main.c
> -lmedia-core -L.. -DDRXD_TYPE_B -o test -lm -g "-I/lib/modules/`uname
> -r`/source/include"
> drx_dap_wasi.c: In Funktion »DRXDAP_WASI_WriteBlock«:
> drx_dap_wasi.c:463: Warnung: Unverträgliche implizite Deklaration der
> eingebauten Funktion »printf«
> gcc drx3973d.c drx_dap_wasi.c bsp_host.c bsp_i2c.c drx_driver.c
> demod-drx3975d.c -shared -DDRXD_TYPE_B -DDRXD_TYPE_A -fPIC -o
> libdemod-drx3975d.so -lm -L.. -lmedia-core -g "-I/lib/modules/`uname
> -r`/source/include"
> drx_dap_wasi.c: In Funktion »DRXDAP_WASI_WriteBlock«:
> drx_dap_wasi.c:463: Warnung: Unverträgliche implizite Deklaration der
> eingebauten Funktion »printf«
> make[1]: Leaving directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/drx3975d'
> make[1]: Entering directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/xc3028'
> gcc xc3028_example_app.c -lm -o test
> gcc tuner-xc3028.c -o tuner-xc3028 -g -L.. -lmedia-core -lm
> gcc -shared tuner-xc3028.c -o libtuner-xc3028.so -g -fPIC -lm
> make[1]: Leaving directory
> `/usr/src/Pinnacle/userspace-drivers/userspace/xc3028'
> gcc media-daemon.c -L. -lmedia-core -ldl -o media-daemon
> "-I/lib/modules/`uname -r`/source/include"  -g
> mkdir -p //usr/sbin
> mkdir -p //usr/lib
> mkdir -p //usr/lib/v4l-dvb
> install media-daemon //usr/sbin
> cp libmedia-core.so //usr/lib
> cp libtuner-xc3028.so //usr/lib/v4l-dvb
> cp libdemod-zl10353.so //usr/lib/v4l-dvb
> cp libvdec-tvp5150.so //usr/lib/v4l-dvb
> cp libvdec-cx25840.so //usr/lib/v4l-dvb
> cp libdemod-lgdt3304.so //usr/lib/v4l-dvb
> cp xc5000/libtuner-xc5000.so //usr/lib/v4l-dvb
> cp xc3028/libtuner-xc3028.so //usr/lib/v4l-dvb
> cp drx3975d/libdemod-drx3975d.so //usr/lib/v4l-dvb
>  * WARNING:  media-daemon has not yet been started.
> Gentoo found
>
> The latter ones are not fatal, but the first ones are, that said...
> tuner-stub won't be built at all (bad stuff...)
>
> I did use the following GCC version: gcc (GCC) 4.1.2 20070214 (  (gdc
> 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
>
> Best regards,
>
>
> Mihai
>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-15  0:25     ` Markus Rechberger
@ 2009-03-15  1:19       ` Ionic
  2009-03-15  2:03         ` Mateusz Jędrasik
  0 siblings, 1 reply; 8+ messages in thread
From: Ionic @ 2009-03-15  1:19 UTC (permalink / raw)
  To: Markus Rechberger
  Cc: Linux Media Mailing List, Mateusz, Jacek, Kurt, Juergen, Obri,
	Kamre, Álvaro, Alfred, Andy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* On 15.03.2009 01:25, Markus Rechberger wrote:
>> Hi Markus,
>>
>> that's cool... but which tree is the one you actually do speak about?
>> v4l-dvb-experimental? As stated... I've already tried it without any
>> success. :(
>>
>
> this tree doesn't exist anymore it's just a symlink to the split out
> em28xx driver on mcentral.de
> you should try your luck with the linuxtv.org/hg/v4l-dvb repository
Okay, thank you!

>> Other than this I am out of ideas... but you could mean
>> userspace-drivers though, is this the tree to go?  The page the README
>> file points to is outdated by the way...
>>
>
> those things are not relevant for your device, no drivers on
> mcentral.de are relevant for your device.
Interesting... thought they'd be the right drivers to get the device
working due to the (possibly outdated) information on it's wiki page...

> read your first dmesg log carefully and try to obtain the xc3028
> firmware and put it to /lib/firmwar
Well, that seems to be some sort of problem. I found this site (and
several others during March, 14th)
http://lists-archives.org/video4linux/20835-extract-tool-for-xc3028-firmware.html
which shows how to extract the firmware file in question. It doesn't
seem to fit my card though... I've done it anyways though.

No error messages printed by the drivers anymore, just the normal output:

[16398.130540] Linux video capture interface: v2.00
[16398.176622] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
[16398.177500] cx88[0]: subsystem: 12ab:1788, board: Pinnacle Hybrid
PCTV [card=60,autodetected], frontend(s): 1
[16398.177504] cx88[0]: TV tuner type 71, Radio tuner type 71
[16398.185553] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
[16398.326195] tveeprom 4-0050: Huh, no eeprom present (err=-6)?
[16398.326200] cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
[16398.326207] cx88[0]/2: cx2388x 8802 Driver Manager
[16398.326221] cx88-mpeg driver manager 0000:07:00.2: enabling device
(0000 -> 0002)
[16398.326231] cx88-mpeg driver manager 0000:07:00.2: PCI INT A -> GSI
22 (level, low) -> IRQ 22
[16398.326240] cx88-mpeg driver manager 0000:07:00.2: setting latency
timer to 64
[16398.326249] cx88[0]/2: found at 0000:07:00.2, rev: 5, irq: 22,
latency: 64, mmio: 0x8e000000
[16398.330880] cx8800 0000:07:00.0: enabling device (0000 -> 0002)
[16398.330890] cx8800 0000:07:00.0: PCI INT A -> GSI 22 (level, low)
- -> IRQ 22
[16398.330899] cx88[0]/0: found at 0000:07:00.0, rev: 5, irq: 22,
latency: 0, mmio: 0x8c000000
[16398.330908] cx8800 0000:07:00.0: setting latency timer to 64
[16398.331217] cx88[0]/0: registered device video0 [v4l2]
[16398.331249] cx88[0]/0: registered device vbi0
[16398.331284] cx88[0]/0: registered device radio0
[16398.353479] cx88/2: cx2388x dvb driver version 0.0.6 loaded
[16398.353483] cx88/2: registering cx8802 driver, type: dvb access: shared
[16398.353486] cx88[0]/2: subsystem: 12ab:1788, board: Pinnacle Hybrid
PCTV [card=60]
[16398.353489] cx88[0]/2: cx2388x based DVB/ATSC card
[16398.353491] cx8802_alloc_frontends() allocating 1 frontend(s)
[16398.362618] xc2028 4-0061: creating new instance
[16398.362621] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
[16398.362624] cx88[0]/2: xc3028 attached
[16398.362628] DVB: registering new adapter (cx88[0])
[16398.362632] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
DVB-T)...

Here comes the interesting part, though: radio -s is finding no
stations (this is not critical for me, but indicates some misbehavior)
and dvbscan does only output "Unable to query frontend status" (Exit
code 1.)

After running dvbcan, dmesg grows by following messages:

[16485.369819] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
[16485.374523] xc2028 4-0061: Loading 80 firmware images from
xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[16485.374629] cx88[0]: Calling XC2028/3028 callback
[16485.374632] cx88[0]: setting GPIO to radio!
[16487.371046] xc2028 4-0061: Loading firmware for type=BASE F8MHZ MTS
(7), id 0000000000000000.
[16487.371053] cx88[0]: Calling XC2028/3028 callback
[16487.371055] cx88[0]: setting GPIO to radio!
[16491.995176] xc2028 4-0061: Loading firmware for type=D2633 DTV8
(210), id 0000000000000000.
[16492.039958] xc2028 4-0061: Loading SCODE for type=DTV6 QAM DTV7
DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.
[16492.080028] cx88[0]: Calling XC2028/3028 callback

I've also been curious about analog TV (which is my premier "want to
get it working" aim)... with no luck. tvtime-scanner scanned and
scanned and scanned without finding any station.

New messages after running tvtime-scanner:

[16491.995176] xc2028 4-0061: Loading firmware for type=D2633 DTV8
(210), id 0000000000000000.
[16492.039958] xc2028 4-0061: Loading SCODE for type=DTV6 QAM DTV7
DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.
[16492.080028] cx88[0]: Calling XC2028/3028 callback

So... I guess nothing is working sadly...

I'm really not sure whether the correct firmware is used. This HVR
firmware file is said to be "generic" (more or less), but your
firmware package for Pinnacle devices does include a lot of other
firmware files which seem not to include this "*-v27.fw" file either...

Thank you once again for helping out.

Best regards,


Mihai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCgAGBQJJvFeHAAoJEB/WLtluJTqHQFgP/2mDAgLz28No8YwGu5TMu3eN
s//kEu2G3bUp3gwQ/ijz8C2GTMO8Ioei+ptwyELetet3gUK/yBs0xf5jLTldw2iz
BkvOQ0P+nPKcHQ87eB21TmRxSZOunju9fjQc/euMOY625QCFqsw7z6pru77ATOC/
SpJHRVJpTrycFY6Xt67edO2URcrBJQuF+MDDkZhUec4CGMCxxxM/FmJ0KoohEMuI
re1ci/Dh0untENo9Up4i1MkcpfUFQoKcXddZQj56FPovQFbmF7Wb2CoRToXnr6mR
cVu3CTTJ64BKpBBqzq0nZu3bmvk5eo9Z3WpfvBZJ32d6umZzix53sOsSXk22Dko6
D2hg78va/kKBw5YJ+fvwZmlBOJingZkH78VkTgzVNvO8O6fH+jPm0w1tou3oExxg
6tKixARkDrwF4KiFEXsEaP/e0D+A6FvfsS1CL5DxSiXe7XDLoWPZ+RGjOdoKx1jX
Y3PoWV1plVHkiZOz22mgnQUuO7et96/gxpWUXkugYqSgvgG4D2d/j0t1WsS2yCfw
pdJEyGvtwrMpiuokrp28TRqUaeqZAGCYyJs0xIzvs1sdz//3yX0aBZvv7DrBlGoZ
3POk1vXjdi0ECj9SAg/cnHfyvmDijUbVTMd+aRpqz9xos2WG5FHvZj0jsCLDAreE
oDAr1qlnvbXj78ySD/eQ
=SQzv
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-15  1:19       ` Ionic
@ 2009-03-15  2:03         ` Mateusz Jędrasik
  2009-03-15 10:34           ` Mihai Moldovan
  0 siblings, 1 reply; 8+ messages in thread
From: Mateusz Jędrasik @ 2009-03-15  2:03 UTC (permalink / raw)
  To: Ionic; +Cc: Linux Media Mailing List

Please don't cc-flood (is that the correct way to name it?:)) your
recipients ;)

To answer any questions that were posed at me, I have not been using the
card much, but were able to get analog picture (no sound) with it using
Ubuntu 8.10 stock kernel - I'm guessing 2.6.27 at the time.

I might give it a try some time, once dvb becomes more popular over here
I believe.

Stay tuned.

Dnia 2009-03-15, nie o godzinie 02:19 +0100, Ionic pisze:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> * On 15.03.2009 01:25, Markus Rechberger wrote:
> >> Hi Markus,
> >>
> >> that's cool... but which tree is the one you actually do speak about?
> >> v4l-dvb-experimental? As stated... I've already tried it without any
> >> success. :(
> >>
> >
> > this tree doesn't exist anymore it's just a symlink to the split out
> > em28xx driver on mcentral.de
> > you should try your luck with the linuxtv.org/hg/v4l-dvb repository
> Okay, thank you!
> 
> >> Other than this I am out of ideas... but you could mean
> >> userspace-drivers though, is this the tree to go?  The page the README
> >> file points to is outdated by the way...
> >>
> >
> > those things are not relevant for your device, no drivers on
> > mcentral.de are relevant for your device.
> Interesting... thought they'd be the right drivers to get the device
> working due to the (possibly outdated) information on it's wiki page...
> 
> > read your first dmesg log carefully and try to obtain the xc3028
> > firmware and put it to /lib/firmwar
> Well, that seems to be some sort of problem. I found this site (and
> several others during March, 14th)
> http://lists-archives.org/video4linux/20835-extract-tool-for-xc3028-firmware.html
> which shows how to extract the firmware file in question. It doesn't
> seem to fit my card though... I've done it anyways though.
> 
> No error messages printed by the drivers anymore, just the normal output:
> 
> [16398.130540] Linux video capture interface: v2.00
> [16398.176622] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
> [16398.177500] cx88[0]: subsystem: 12ab:1788, board: Pinnacle Hybrid
> PCTV [card=60,autodetected], frontend(s): 1
> [16398.177504] cx88[0]: TV tuner type 71, Radio tuner type 71
> [16398.185553] cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
> [16398.326195] tveeprom 4-0050: Huh, no eeprom present (err=-6)?
> [16398.326200] cx88[0]: Asking xc2028/3028 to load firmware xc3028-v27.fw
> [16398.326207] cx88[0]/2: cx2388x 8802 Driver Manager
> [16398.326221] cx88-mpeg driver manager 0000:07:00.2: enabling device
> (0000 -> 0002)
> [16398.326231] cx88-mpeg driver manager 0000:07:00.2: PCI INT A -> GSI
> 22 (level, low) -> IRQ 22
> [16398.326240] cx88-mpeg driver manager 0000:07:00.2: setting latency
> timer to 64
> [16398.326249] cx88[0]/2: found at 0000:07:00.2, rev: 5, irq: 22,
> latency: 64, mmio: 0x8e000000
> [16398.330880] cx8800 0000:07:00.0: enabling device (0000 -> 0002)
> [16398.330890] cx8800 0000:07:00.0: PCI INT A -> GSI 22 (level, low)
> - -> IRQ 22
> [16398.330899] cx88[0]/0: found at 0000:07:00.0, rev: 5, irq: 22,
> latency: 0, mmio: 0x8c000000
> [16398.330908] cx8800 0000:07:00.0: setting latency timer to 64
> [16398.331217] cx88[0]/0: registered device video0 [v4l2]
> [16398.331249] cx88[0]/0: registered device vbi0
> [16398.331284] cx88[0]/0: registered device radio0
> [16398.353479] cx88/2: cx2388x dvb driver version 0.0.6 loaded
> [16398.353483] cx88/2: registering cx8802 driver, type: dvb access: shared
> [16398.353486] cx88[0]/2: subsystem: 12ab:1788, board: Pinnacle Hybrid
> PCTV [card=60]
> [16398.353489] cx88[0]/2: cx2388x based DVB/ATSC card
> [16398.353491] cx8802_alloc_frontends() allocating 1 frontend(s)
> [16398.362618] xc2028 4-0061: creating new instance
> [16398.362621] xc2028 4-0061: type set to XCeive xc2028/xc3028 tuner
> [16398.362624] cx88[0]/2: xc3028 attached
> [16398.362628] DVB: registering new adapter (cx88[0])
> [16398.362632] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
> DVB-T)...
> 
> Here comes the interesting part, though: radio -s is finding no
> stations (this is not critical for me, but indicates some misbehavior)
> and dvbscan does only output "Unable to query frontend status" (Exit
> code 1.)
> 
> After running dvbcan, dmesg grows by following messages:
> 
> [16485.369819] i2c-adapter i2c-4: firmware: requesting xc3028-v27.fw
> [16485.374523] xc2028 4-0061: Loading 80 firmware images from
> xc3028-v27.fw, type: xc2028 firmware, ver 2.7
> [16485.374629] cx88[0]: Calling XC2028/3028 callback
> [16485.374632] cx88[0]: setting GPIO to radio!
> [16487.371046] xc2028 4-0061: Loading firmware for type=BASE F8MHZ MTS
> (7), id 0000000000000000.
> [16487.371053] cx88[0]: Calling XC2028/3028 callback
> [16487.371055] cx88[0]: setting GPIO to radio!
> [16491.995176] xc2028 4-0061: Loading firmware for type=D2633 DTV8
> (210), id 0000000000000000.
> [16492.039958] xc2028 4-0061: Loading SCODE for type=DTV6 QAM DTV7
> DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.
> [16492.080028] cx88[0]: Calling XC2028/3028 callback
> 
> I've also been curious about analog TV (which is my premier "want to
> get it working" aim)... with no luck. tvtime-scanner scanned and
> scanned and scanned without finding any station.
> 
> New messages after running tvtime-scanner:
> 
> [16491.995176] xc2028 4-0061: Loading firmware for type=D2633 DTV8
> (210), id 0000000000000000.
> [16492.039958] xc2028 4-0061: Loading SCODE for type=DTV6 QAM DTV7
> DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.
> [16492.080028] cx88[0]: Calling XC2028/3028 callback
> 
> So... I guess nothing is working sadly...
> 
> I'm really not sure whether the correct firmware is used. This HVR
> firmware file is said to be "generic" (more or less), but your
> firmware package for Pinnacle devices does include a lot of other
> firmware files which seem not to include this "*-v27.fw" file either...
> 
> Thank you once again for helping out.
> 
> Best regards,
> 
> 
> Mihai
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQIcBAEBCgAGBQJJvFeHAAoJEB/WLtluJTqHQFgP/2mDAgLz28No8YwGu5TMu3eN
> s//kEu2G3bUp3gwQ/ijz8C2GTMO8Ioei+ptwyELetet3gUK/yBs0xf5jLTldw2iz
> BkvOQ0P+nPKcHQ87eB21TmRxSZOunju9fjQc/euMOY625QCFqsw7z6pru77ATOC/
> SpJHRVJpTrycFY6Xt67edO2URcrBJQuF+MDDkZhUec4CGMCxxxM/FmJ0KoohEMuI
> re1ci/Dh0untENo9Up4i1MkcpfUFQoKcXddZQj56FPovQFbmF7Wb2CoRToXnr6mR
> cVu3CTTJ64BKpBBqzq0nZu3bmvk5eo9Z3WpfvBZJ32d6umZzix53sOsSXk22Dko6
> D2hg78va/kKBw5YJ+fvwZmlBOJingZkH78VkTgzVNvO8O6fH+jPm0w1tou3oExxg
> 6tKixARkDrwF4KiFEXsEaP/e0D+A6FvfsS1CL5DxSiXe7XDLoWPZ+RGjOdoKx1jX
> Y3PoWV1plVHkiZOz22mgnQUuO7et96/gxpWUXkugYqSgvgG4D2d/j0t1WsS2yCfw
> pdJEyGvtwrMpiuokrp28TRqUaeqZAGCYyJs0xIzvs1sdz//3yX0aBZvv7DrBlGoZ
> 3POk1vXjdi0ECj9SAg/cnHfyvmDijUbVTMd+aRpqz9xos2WG5FHvZj0jsCLDAreE
> oDAr1qlnvbXj78ySD/eQ
> =SQzv
> -----END PGP SIGNATURE-----
> 
-- 
Mateusz Jędrasik <m.jedrasik@gmail.com>
tel. +48(79)022-9393, +48(51)69-444-90
http://imachine.szklo.eu.org


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-15  2:03         ` Mateusz Jędrasik
@ 2009-03-15 10:34           ` Mihai Moldovan
  2009-03-15 22:06             ` Mihai Moldovan
  0 siblings, 1 reply; 8+ messages in thread
From: Mihai Moldovan @ 2009-03-15 10:34 UTC (permalink / raw)
  To: Mateusz Jędrasik; +Cc: Linux Media Mailing List

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

* On 15.03.2009 03:03, Mateusz Jędrasik wrote:
> Please don't cc-flood (is that the correct way to name it?:)) your
>  recipients ;)

Sorry, this has not been my intention. Still as far as I know, this is
the preferred method on LKML (adding as many CCs as one thinks people
could be or are involved into the problem in question.)


> To answer any questions that were posed at me, I have not been
> using the card much, but were able to get analog picture (no sound)
>  with it using Ubuntu 8.10 stock kernel - I'm guessing 2.6.27 at
> the time.

Cool, this would be a great start, really! I will switch to in-kernel
drivers again, too (thought 2.6.28.7 ones.) Let's see whether this
does work...


> I might give it a try some time, once dvb becomes more popular over
>  here I believe.

Well, the zone I'm living in was the first area where DVB-T has been
tested (somewhat around 1997 tests began IIRC.) Thus, we have a high
rate of DVB-T broadcasting stations here and you are basically happy
to watch DVB-T programmes nearly everywhere here.
Thus, I'd find having DVB-T working too would be AMAZING (I don't want
to pay cable fees either.)


> Stay tuned.

But I cannot tune anything! ;-)

Best regards,


Mihai


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Pinnacle PCTV Hybrid Pro Card (310c)... once again...
  2009-03-15 10:34           ` Mihai Moldovan
@ 2009-03-15 22:06             ` Mihai Moldovan
  0 siblings, 0 replies; 8+ messages in thread
From: Mihai Moldovan @ 2009-03-15 22:06 UTC (permalink / raw)
  To: Mateusz Jędrasik; +Cc: Linux Media Mailing List

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

* On 15.03.2009 11:34, I myself wrote:
> * On 15.03.2009 03:03, Mateusz Jędrasik wrote:
>> To answer any questions that were posed at me, I have not been
>> using the card much, but were able to get analog picture (no
>> sound) with it using Ubuntu 8.10 stock kernel - I'm guessing
>> 2.6.27 at the time.
>
> Cool, this would be a great start, really! I will switch to
> in-kernel drivers again, too (thought 2.6.28.7 ones.) Let's see
> whether this does work...
Tried out the stock Kernel drivers and experienced following:

  - DVB-T is working fine, at least with VLC... Kaffeine leaves the
card in an unusable state sometimes which can be only solved be
re-plugging the card, really weird stuff...

  - radio is still not working and it actually does break analog TV
output (obviously? Needs further investigation!)

  - analog TV is working fine now in picture but the sound fails on
full scale - can this problem be addressed by anyone here? What
exactly is wrong with it? I read about sound working with this
usbaudio.sh script, but it's ALSA only... could OSS support be
possibly integrated?


>> Stay tuned.
>
> But I cannot tune anything! ;-)
Done - tuned in correctly now. :-)

Best regards,


Mihai



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-15 22:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14 23:29 Pinnacle PCTV Hybrid Pro Card (310c)... once again Mihai Moldovan
2009-03-14 23:41 ` Markus Rechberger
2009-03-15  0:00   ` Mihai Moldovan
2009-03-15  0:25     ` Markus Rechberger
2009-03-15  1:19       ` Ionic
2009-03-15  2:03         ` Mateusz Jędrasik
2009-03-15 10:34           ` Mihai Moldovan
2009-03-15 22:06             ` Mihai Moldovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).