All of lore.kernel.org
 help / color / mirror / Atom feed
* [UNKNOWN IVTV CARD] Sony Vaio [4444:0016]
@ 2021-02-19  9:16 Nomeji
  2021-02-19 10:03 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Nomeji @ 2021-02-19  9:16 UTC (permalink / raw)
  To: linux-media

I've found an old PCI TV Card gathered from a Sony Vaio desktop PC. It looks really similar to a Haupauge PVR-150 or PVR-250 except it's recognized as a Sony device in lspci.
ivtv default it to PVR-150 but it's probably more similar to a PVR-250. Is there a way to default it to PVR-250 instead of PVR-150?

Here is dmesg log:

[   16.163433] ivtv: Start initialization, version 1.4.3
[   16.163486] ivtv0: Initializing card 0
[   16.163490] ivtv0: Unknown card: vendor/device: [4444:0016]
[   16.163491] ivtv0:               subsystem vendor/device: [104d:816d]
[   16.163492] ivtv0:               cx23416 based
[   16.163493] ivtv0: Defaulting to Hauppauge WinTV PVR-150 card
[   16.163494] ivtv0: Please mail the vendor/device and subsystem vendor/device IDs and what kind of
[   16.163495] ivtv0: card you have to the linux-media mailinglist (<a target="_blank" rel="noreferrer nofollow noopener" href="http://www.linuxtv.org">www.linuxtv.org</a>)
[   16.163496] ivtv0: Prefix your subject line with [UNKNOWN IVTV CARD].
[   16.221120] tveeprom: Encountered bad packet header [aa]. Corrupt or not a Hauppauge eeprom.
[   16.221125] ivtv0: Invalid EEPROM
[   16.286450] iTCO_vendor_support: vendor-support=0
[   16.287559] cx25840 10-0044: Unable to detect h/w, assuming cx23887
[   16.288569] cx25840 10-0044: cx23887 A/V decoder found @ 0x88 (ivtv i2c driver #0)

I2C mapping looks different:

[   16.486000] wm8775 10-001b: I2C: cannot write 000 to register R23
[   16.489015] wm8775 10-001b: I2C: cannot write 000 to register R7
[   16.492025] wm8775 10-001b: I2C: cannot write 021 to register R11
[   16.494767] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0003 detected
[   16.494815] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.495228] wm8775 10-001b: I2C: cannot write 102 to register R12
[   16.498773] wm8775 10-001b: I2C: cannot write 000 to register R13
[   16.501784] wm8775 10-001b: I2C: cannot write 1d4 to register R14
[   16.505141] wm8775 10-001b: I2C: cannot write 1d4 to register R15
[   16.508270] wm8775 10-001b: I2C: cannot write 1bf to register R16
[   16.511266] wm8775 10-001b: I2C: cannot write 185 to register R17
[   16.514249] wm8775 10-001b: I2C: cannot write 0a2 to register R18
[   16.517250] wm8775 10-001b: I2C: cannot write 005 to register R19
[   16.520254] wm8775 10-001b: I2C: cannot write 07a to register R20
[   16.523256] wm8775 10-001b: I2C: cannot write 102 to register R21
[   16.531703] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[   16.531746] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[   16.531893] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[   16.531930] ivtv0: Registered device video24 for encoder PCM (320 kB)
[   16.531960] ivtv0: Registered device radio0 for encoder radio
[   16.531961] ivtv0: Initialized card: Hauppauge WinTV PVR-150
[   16.532019] ivtv: End initialization

As you can see in the log, card as a "cx23416" (same as PVR-250) but ivtv still load "cx25840". Could I get it to load "cx23416"?

Nomeji






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

* Re: [UNKNOWN IVTV CARD] Sony Vaio [4444:0016]
  2021-02-19  9:16 [UNKNOWN IVTV CARD] Sony Vaio [4444:0016] Nomeji
@ 2021-02-19 10:03 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2021-02-19 10:03 UTC (permalink / raw)
  To: Nomeji, linux-media

On 19/02/2021 10:16, Nomeji wrote:
> I've found an old PCI TV Card gathered from a Sony Vaio desktop PC. It looks really similar to a Haupauge PVR-150 or PVR-250 except it's recognized as a Sony device in lspci.
> ivtv default it to PVR-150 but it's probably more similar to a PVR-250. Is there a way to default it to PVR-250 instead of PVR-150?

If you run 'modinfo ivtv' you'll see a cardtype module option.

So you can load ivtv with 'modprobe ivtv cardtype=1' to have it select a PVR-250.

Note that there is support for a 'Sony VAIO Giga Pocket (ENX Kikyou)' (cardtype 28),
which might match as well with your hardware.

Regards,

	Hans

> 
> Here is dmesg log:
> 
> [   16.163433] ivtv: Start initialization, version 1.4.3
> [   16.163486] ivtv0: Initializing card 0
> [   16.163490] ivtv0: Unknown card: vendor/device: [4444:0016]
> [   16.163491] ivtv0:               subsystem vendor/device: [104d:816d]
> [   16.163492] ivtv0:               cx23416 based
> [   16.163493] ivtv0: Defaulting to Hauppauge WinTV PVR-150 card
> [   16.163494] ivtv0: Please mail the vendor/device and subsystem vendor/device IDs and what kind of
> [   16.163495] ivtv0: card you have to the linux-media mailinglist (<a target="_blank" rel="noreferrer nofollow noopener" href="http://www.linuxtv.org">www.linuxtv.org</a>)
> [   16.163496] ivtv0: Prefix your subject line with [UNKNOWN IVTV CARD].
> [   16.221120] tveeprom: Encountered bad packet header [aa]. Corrupt or not a Hauppauge eeprom.
> [   16.221125] ivtv0: Invalid EEPROM
> [   16.286450] iTCO_vendor_support: vendor-support=0
> [   16.287559] cx25840 10-0044: Unable to detect h/w, assuming cx23887
> [   16.288569] cx25840 10-0044: cx23887 A/V decoder found @ 0x88 (ivtv i2c driver #0)
> 
> I2C mapping looks different:
> 
> [   16.486000] wm8775 10-001b: I2C: cannot write 000 to register R23
> [   16.489015] wm8775 10-001b: I2C: cannot write 000 to register R7
> [   16.492025] wm8775 10-001b: I2C: cannot write 021 to register R11
> [   16.494767] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0003 detected
> [   16.494815] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   16.495228] wm8775 10-001b: I2C: cannot write 102 to register R12
> [   16.498773] wm8775 10-001b: I2C: cannot write 000 to register R13
> [   16.501784] wm8775 10-001b: I2C: cannot write 1d4 to register R14
> [   16.505141] wm8775 10-001b: I2C: cannot write 1d4 to register R15
> [   16.508270] wm8775 10-001b: I2C: cannot write 1bf to register R16
> [   16.511266] wm8775 10-001b: I2C: cannot write 185 to register R17
> [   16.514249] wm8775 10-001b: I2C: cannot write 0a2 to register R18
> [   16.517250] wm8775 10-001b: I2C: cannot write 005 to register R19
> [   16.520254] wm8775 10-001b: I2C: cannot write 07a to register R20
> [   16.523256] wm8775 10-001b: I2C: cannot write 102 to register R21
> [   16.531703] ivtv0: Registered device video0 for encoder MPG (4096 kB)
> [   16.531746] ivtv0: Registered device video32 for encoder YUV (2048 kB)
> [   16.531893] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> [   16.531930] ivtv0: Registered device video24 for encoder PCM (320 kB)
> [   16.531960] ivtv0: Registered device radio0 for encoder radio
> [   16.531961] ivtv0: Initialized card: Hauppauge WinTV PVR-150
> [   16.532019] ivtv: End initialization
> 
> As you can see in the log, card as a "cx23416" (same as PVR-250) but ivtv still load "cx25840". Could I get it to load "cx23416"?
> 
> Nomeji
> 
> 
> 
> 
> 


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

end of thread, other threads:[~2021-02-19 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19  9:16 [UNKNOWN IVTV CARD] Sony Vaio [4444:0016] Nomeji
2021-02-19 10:03 ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.