hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #00783
Re: asus switcheroo
I have get som info from dmesg:
[ 224.163390] ACPI Error: Needed [Buffer/String/Package], found [Integer]
ffff88010d8e0048 (20110112/exresop-590)
[ 224.163396] ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands
for [OpcodeName unavailable] (20110112/dswexec-460)
[ 224.163402] ACPI Error: Method parse/execution failed
[\_SB_.PCI0.GFX0._DSM] (Node ffff88014b652dc0), AE_AML_OPERAND_TYPE
(20110112/psparse-536)
[ 224.163413] failed to evaluate _DSM: 12291
[ 224.163456] ACPI Error: Needed [Buffer/String/Package], found [Integer]
ffff88010d8e0168 (20110112/exresop-590)
[ 224.163461] ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands
for [OpcodeName unavailable] (20110112/dswexec-460)
[ 224.163467] ACPI Error: Method parse/execution failed
[\_SB_.PCI0.GFX0._DSM] (Node ffff88014b652dc0), AE_AML_OPERAND_TYPE
(20110112/psparse-536)
[ 224.163474] ACPI Error: Method parse/execution failed
[\_SB_.PCI0.PEG0.GFX0._DSM] (Node ffff88014b66c370), AE_AML_OPERAND_TYPE
(20110112/psparse-536)
[ 224.163482] failed to evaluate _DSM: 12291
[ 224.163485] VGA switcheroo: detected DSM switching method
\_SB_.PCI0.PEG0.GFX0 handle
Regards
--
Marc Rios
On Mon, Apr 18, 2011 at 7:42 PM, Marc Rios <marcrios84@xxxxxxxxx> wrote:
> Hi,
>
> I'm trying this module in my asus n53s but i'm not getting the folder in
> debugfs.
>
> I amb on a debian system, which is not ubuntu, but it's very close to it,
> so I think the install script has been correct. But, what I get is that the
> module is not loeaded on start-up neither nouveau module.
>
> If a modprobe them I get them loaded without an error:
>
> root@marcus-asus-laptop:/# modprobe asus-switcheroo
> root@marcus-asus-laptop:/# modprobe nouveau
>
> But if I try to access the folder of debug:
>
> root@marcus-asus-laptop:/# ls /sys/kernel/debug/asus-switcheroo
> ls: cannot access /sys/kernel/debug/asus-switcheroo: No such file or
> directory
>
> In this folder I had other folders, so is not a mount problem:
> root@marcus-asus-laptop# ls /sys/kernel/debug/
> acpi bdi bluetooth dri extfrag gpio hid ieee80211 kprobes mce
> regulator sched_features tracing usb wakeup_sources x86
>
> Am I doning something wrong? I'm a developer, so if I can help in
> anybody...
>
> Regards ;)
>
> --
> Marc Rios
>
>
>
>
>
> On Mon, Apr 18, 2011 at 5:55 PM, Alex Williamson <
> alex.l.williamson@xxxxxxxxx> wrote:
>
>> On Sun, Apr 17, 2011 at 11:37 PM, Joaquín Ignacio Aramendía
>> <samsagax@xxxxxxxxx> wrote:
>> > Alex: Noob question
>> >
>> > Could you please give some instructions on how can I test this? I have 2
>> > partitions available for testing on fresh installations. I'll be using
>> > Ubuntu (10.10 or 11.04) on a Vostro 3500 laptop, similar hardware as
>> > asus kj50 series (Intel i5 integrated graphics + nVidia 310M).
>> > And please can you instruct me on how i can report useful data on the
>> > results of these test? If not just the first part. I've tried acpi_call
>> > with a working method but with very unstable results to turn off Nvidia
>> > card.
>>
>> I updated the tree, renaming install to install-fedora and adding an
>> ubuntu install target and uninstall targets for both. Not much
>> testing on ubuntu, but the module loads and seems to do what it's
>> supposed to. If you just want to see if it works without doing an
>> install, just 'make; modprobe -r nouveau; insmod ./asus-switcheroo.ko;
>> modprobe nouveau'. It might be best to do this from a recovery shell
>> boot so X isn't running. If you end up with a
>> /sys/kernel/debug/vgaswitcheroo/switch after that, it worked. The
>> Dell may have similar hardware to the Asus, but the ACPI
>> implementation is really the key, so I'll be surprised if
>> asus-switcheroo loads, and more surprised if it works. Thanks,
>>
>> Alex
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~hybrid-graphics-linux
>> Post to : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
References