Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on ubuntu 15.10 #50

Open
olekhy opened this issue Nov 19, 2015 · 7 comments
Open

Installing on ubuntu 15.10 #50

olekhy opened this issue Nov 19, 2015 · 7 comments

Comments

@olekhy
Copy link

olekhy commented Nov 19, 2015

I've cloned from git master, also linux headers are installed.

I get follow exception

x@1 /x/yoga-laptop (git)-[master] % make ideapad-laptop
cd yoga_laptop && make default
make[1]: Entering directory '/x/yoga-laptop/yoga_laptop'
NOTE: You need to have the kernel-devel package installed
echo /usr/src/linux-headers-4.2.0-18-generic
/usr/src/linux-headers-4.2.0-18-generic
make -C /usr/src/linux-headers-4.2.0-18-generic SUBDIRS=/x/yoga-laptop/yoga_laptop modules
make[2]: Entering directory '/usr/src/linux-headers-4.2.0-18-generic'
  CC [M]  /x/yoga-laptop/yoga_laptop/ideapad-laptop.o
/x/yoga-laptop/yoga_laptop/ideapad-laptop.c: In function ‘ideapad_acpi_add’:
/x/yoga-laptop/yoga_laptop/ideapad-laptop.c:920:7: error: implicit declaration of function ‘acpi_video_backlight_support’ [-Werror=implicit-function-declaration]
  if (!acpi_video_backlight_support()) {
       ^
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target '/x/yoga-laptop/yoga_laptop/ideapad-laptop.o' failed
make[3]: *** [/x/yoga-laptop/yoga_laptop/ideapad-laptop.o] Error 1

Makefile:1398: recipe for target '_module_/x/yoga-laptop/yoga_laptop' failed
make[2]: *** [_module_/x/yoga-laptop/yoga_laptop] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.2.0-18-generic'
Makefile:24: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/x/yoga-laptop/yoga_laptop'
Makefile:21: recipe for target 'ideapad-laptop' failed
make: *** [ideapad-laptop] Error 2

pls I need a hint

@pfps
Copy link
Owner

pfps commented Nov 19, 2015

ideapad-laptop is quite old. No one should need it any more.

@olekhy
Copy link
Author

olekhy commented Nov 20, 2015

thx! after compiling programs and install i get them in /usr/bin.

what would you suggest for the automatic start "orientation" and "light" at boot. i've seen system/*.service in sensors/.
or is not possible for current state of development, should sudo orientation used to running program?

@pfps
Copy link
Owner

pfps commented Nov 21, 2015

You could automatically start these programs I guess. Just make sure that you can kill them if needed.

@kbirger
Copy link

kbirger commented Feb 28, 2016

I landed here with the acpi_video_backlight_support issue you describe initially. how did you get around it?

@jymbob
Copy link

jymbob commented Feb 28, 2016

The general consensus is that you shouldn't need to build that component at
all - its functions were rolled into the kernel a while ago.

On Sun, 28 Feb 2016, 17:36 kbirger [email protected] wrote:

I landed here with the acpi_video_backlight_support issue you describe
initially. how did you get around it?


Reply to this email directly or view it on GitHub
#50 (comment).

@kbirger
Copy link

kbirger commented Feb 28, 2016

I just installed the latest Ubuntu, but I'm not getting screen orientation
detection. Should I be? Do I need to configure it?
On Feb 28, 2016 1:30 PM, "jymbob" [email protected] wrote:

The general consensus is that you shouldn't need to build that component at
all - its functions were rolled into the kernel a while ago.

On Sun, 28 Feb 2016, 17:36 kbirger [email protected] wrote:

I landed here with the acpi_video_backlight_support issue you describe
initially. how did you get around it?


Reply to this email directly or view it on GitHub
#50 (comment).


Reply to this email directly or view it on GitHub
#50 (comment).

@olekhy
Copy link
Author

olekhy commented Feb 29, 2016

old kernel, use fedora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants