All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger <rogerx.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: CH7007A (AKA CH7006) TV OUT Support for NV11 (NVidia GeForce2 Go Dell I8K Laptop)
Date: Mon, 31 Mar 2014 19:57:41 -0800	[thread overview]
Message-ID: <20140401035741.GA3535@localhost4.local> (raw)

I have a Dell Inspiron 8100 laptop (or I8K) with a NVidia Geforce2 Go (or NV11) 
with an embedded CH7007A chip, and am seeing the following after getting ch7006 
kernel driver/module loaded:

# dmesg |grep ch7006 -i

--- Snip ---
[   21.191147] nouveau  [     I2C][0000:01:00.0] detected TV encoder: ch7006
[   21.404731] ch7006 1-0075: ch7006_probe:
[   21.411672] ch7006 1-0075: Detected version ID: 50
[   21.421536] ch7006 1-0075: ch7006_encoder_init:
[   21.443870] ch7006 1-0075: ch7006_encoder_save:
[   21.998969] ch7006 1-0075: ch7006_encoder_restore:
[   22.778013] ch7006 1-0075: ch7006_encoder_dpms:
[   23.217163] ch7006 1-0075: ch7006_encoder_detect:
[   23.283738] ch7006 1-0075: ch7006_encoder_dpms:
[   23.283862] ch7006 1-0075: ch7006_encoder_dpms:
[   23.536950] ch7006 1-0075: ch7006_encoder_dpms:
[   24.515223] ch7006 1-0075: ch7006_encoder_detect:
--- Snip ---

However, nouveau still only sees LVDS-1.  I assume this is likely not the 
ch7006 omitting the required code for enabling TV-OUT?

For kicks, I've also tried a ton of options via kernel boot commands:
video=LVDS-1:1024x768@60 video=VGA-1:800x600@60 video=TV-1:e video=TV:e gfxpayload=1024x768x16 selinux=0 nouveau.tv_disable=0 nouveau.tv_norm=NTSC-M nouveau.debug=1 ch7006.debug=1 ch7006.tv_norm=NTSC-M ch7006.scale=2 i2c-algo-bit.bit_test=1 rd.modules-load=i2c-dev rd.modules-load=i2c-i801 rd.modules-load=i2c-smbus

Searching & reading the code of ch7006.h/.c, I find ch7006 driver should be setting the S-Video out port to full power usage when any chip ID version is >= 0x20.  Since this is 0x50 (?), and the chip specifications are extremely similar (if not identical after comparing the init section), this chip should be activated.

(I also ensured i2c-dev was loaded per some other rumors on the net, but doubt 
it's needed?)

--
Roger
http://rogerx.freeshell.org/

             reply	other threads:[~2014-04-01  3:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01  3:57 Roger [this message]
     [not found] ` <20140401035741.GA3535-bi+AKbBUZKbeRWJqFmQP6g@public.gmane.org>
2014-04-01 18:53   ` CH7007A (AKA CH7006) TV OUT Support for NV11 (NVidia GeForce2 Go Dell I8K Laptop) Ilia Mirkin
     [not found]     ` <CAKb7Uvj6EL60VY0wkvm_JGPh+VZYtU8J51gpvt8JsoQQq5qiDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-01 22:30       ` Roger
     [not found]         ` <20140401223030.GA22211-bi+AKbBUZKbeRWJqFmQP6g@public.gmane.org>
2014-04-01 22:37           ` Ilia Mirkin
2014-04-02 21:24           ` Roger
     [not found]             ` <20140402212448.GA3509-bi+AKbBUZKbeRWJqFmQP6g@public.gmane.org>
2014-04-02 22:12               ` Ilia Mirkin
     [not found]                 ` <CAKb7Uvg3ogHq3rNXDkP0eukvY0J-accaQ0YZ=x8cCEhJBYQ7rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-03 10:53                   ` Dirk Thierbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140401035741.GA3535@localhost4.local \
    --to=rogerx.oss-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.