From: "Tommy Ch." <tommy-c-hi6Y0CQ0nG0@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: New insights about video module! Need help,please.
Date: Mon, 28 Feb 2005 19:17:27 +0100 [thread overview]
Message-ID: <42236037.1010102@gmx.net> (raw)
Hi,
I'm still trying to get tv-out and crt working on my Toshiba M30 not
using TwinView. It's a long time ago when John Belmonte told me to
experiment with the toshiba_acpi driver (?) like this:
------snip---------
Other than that, you can experiment with the driver as follows. This
was given to me by one Jonny Robertson.
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.LCD_._DSS", 0x1);
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.CRT_._DSS", 0x0);
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.TV__._DSS", 0x80000001L);
The path to the _DSS methods might be different on your machine. In
this example, we enable the LCD and TV. The 0x80000000 bit causes
pending changes to be executed, so that all outputs can be set
simultaneously.
------snipend-----------
I tried to modify toshiba_acpi.c at line 377 and made these changes:
-------snip------
if (new_video_out != video_out)
// original line
// write_acpi_int(METHOD_VIDEO_OUT, new_video_out);
// new:
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.LCD_._DSS", 0x1);
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.CRT_._DSS", 0x0);
write_acpi_int("\\_SB_.PCI0.PCI1.VGA_.TV__._DSS", 0x80000001L);
------snipend-----------
Is this correct? If yes, a
echo "tv_out:1" > /proc/acpi/toshiba/video
had no effect.
Of course I also tried the new video module in kernel 2.6.10. I tried to
set TVout like this
echo 0x80000000 > /proc/acpi/video/VGA/TV/state
and also like this:
echo "state:0x0f" > /proc/acpi/video/VGA/TV/state
with no effect. But I just made discovery that might be important!
When running the modified toshiba_acpi and using
echo "tv_out:1" > /proc/acpi/toshiba/video
suddenly I get
cat /proc/acpi/video/VGA/TV/state
state: 0x0d
query: 0x01
"query" is 0x01 instead of 0x00. I don't know if this is important or
helps you to help me to get the stuff working.
If it helps you, my dsdt is located at
http://www.uni-koblenz.de/~tenshi/toshm30dsdt.tar.gz
Any help is greatly appreciated!
Bye,
Tommy
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next reply other threads:[~2005-02-28 18:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-28 18:17 Tommy Ch. [this message]
[not found] ` <42236037.1010102-hi6Y0CQ0nG0@public.gmane.org>
2005-03-01 18:37 ` New insights about video module! Need help,please Bruno Ducrot
[not found] ` <20050301183733.GF17731-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-03-04 13:42 ` Tommy Ch.
[not found] ` <422865BF.6090509-hi6Y0CQ0nG0@public.gmane.org>
2005-03-07 17:50 ` Bruno Ducrot
2005-03-01 20:37 ` Sergio Monteiro Basto
2005-03-01 22:10 ` Tommy Ch.
[not found] ` <4224E85B.1040802-hi6Y0CQ0nG0@public.gmane.org>
2005-03-03 0:30 ` Sergio Monteiro Basto
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=42236037.1010102@gmx.net \
--to=tommy-c-hi6y0cq0ng0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox