← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: asus switcheroo

 

Hi,

As I have tell in a new conversation, I have some troubles with nvidia
module. Now this is solved ;)

Thanks
--
Marc Rios




On Mon, Apr 18, 2011 at 8:29 PM, authesserre samuel <sauthess@xxxxxxxxx>wrote:

> Hi,
>
> I'm not concerned (I haven't an asus hybrid graphics laptop ;) ) but in
> README it's indicated that the folder is the usual one :
> /sys/kernel/debug/vgaswitcheroo/
> not
>
> /sys/kernel/debug/asus-switcheroo
>
> did you "ls" /sys/kernel/debug ?
>
> BR,
>
>
>
>
> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Authesserre Samuel
>

References