Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366503 - New ebuild x11-drivers/asus-switcheroo for Asus laptops with nvidia cards
Summary: New ebuild x11-drivers/asus-switcheroo for Asus laptops with nvidia cards
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2011-05-08 20:27 UTC by nickrobbins
Modified: 2016-06-08 16:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (asus-switcheroo-0.1.ebuild,2.27 KB, text/plain)
2011-05-08 20:30 UTC, nickrobbins
Details
modprobe.d file for prop. nvidia driver (asus-switcheroo.conf-nvidia,283 bytes, text/plain)
2011-05-08 20:32 UTC, nickrobbins
Details
init.d script (switcheroo.rc,492 bytes, text/plain)
2011-05-08 20:33 UTC, nickrobbins
Details
switching script (switcheroo-to-nvidia.sh,118 bytes, application/plain)
2011-05-08 20:34 UTC, nickrobbins
Details
almost empty xorg.conf for use with nvidia drivers. (xorg.conf-nvidia,71 bytes, text/plain)
2011-05-08 20:34 UTC, nickrobbins
Details
ebuild for asus-switcheroo (asus-switcheroo-0.1.ebuild,2.54 KB, text/plain)
2011-05-08 20:45 UTC, nickrobbins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nickrobbins 2011-05-08 20:27:36 UTC
Bundled the modules from https://github.com/awilliam/asus-switcheroo for gentoo. I provided use flags for both nvidia and nouveau drivers.

Reproducible: Always

Steps to Reproduce:
1. Install ebuild
2. Gain control of your graphics cards.
3. ?
4. Profit
Actual Results:  
My graphics cards could be turned on or off.

Expected Results:  
What happened.
Comment 1 nickrobbins 2011-05-08 20:30:13 UTC
Created attachment 272523 [details]
ebuild
Comment 2 nickrobbins 2011-05-08 20:32:40 UTC
Created attachment 272525 [details]
modprobe.d file for prop. nvidia driver

This seemed easier than a complicated patch that would be just as large.
Comment 3 nickrobbins 2011-05-08 20:33:28 UTC
Created attachment 272527 [details]
init.d script

This is to manage xorg.conf files and opengl settings when switching cards.
Comment 4 nickrobbins 2011-05-08 20:34:14 UTC
Created attachment 272529 [details]
switching script

Shell script to switch to nvidia and reload X.
Comment 5 nickrobbins 2011-05-08 20:34:48 UTC
Created attachment 272531 [details]
almost empty xorg.conf for use with nvidia drivers.

Just says to use nvidia drivers.
Comment 6 nickrobbins 2011-05-08 20:45:44 UTC
Created attachment 272533 [details]
ebuild for asus-switcheroo

slightly more elogs.
Comment 7 nickrobbins 2011-05-19 19:19:01 UTC
Now in sunrise under x11-drivers/asus-switcheroo
Comment 8 Jeremy West 2011-05-26 00:04:00 UTC
Has this moved out of sunrise now?  I just checked that repo and can't find it.
Comment 9 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-05-26 00:25:31 UTC
(In reply to comment #8)
> Has this moved out of sunrise now?  I just checked that repo and can't find it.

It is in sunrise, but is waiting to be moved to the reviewed branch of sunrise. Thus it shows up only at http://overlays.gentoo.org/proj/sunrise/browser/sunrise/x11-drivers/asus-switcheroo/. It'll hopefully be available through `layman -a sunrise' within a week.
Comment 10 Kelly Price 2011-08-14 16:07:23 UTC
I'm testing this out myself on an Asus UL30JT, but there needs to be some tweaking for kernel 2.6.28 and beyond.  The ebuild needs to update to the latest Github commit, and some tweaking for:

* Using byo-switcheroo instead of asus-switcheroo
(see https://github.com/awilliam/asus-switcheroo/issues/3)

* Accomidating /etc/X11/xorg.conf.d instead of /etc/X11/xorg.conf (I use a Wacom tablet, and any tweaks can be broken out this way)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:02 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/