Package Details: nvidiabl 0.88-3

Git Clone URL: https://aur.archlinux.org/nvidiabl.git (read-only)
Package Base: nvidiabl
Description: Backlight driver for NVidia graphics adapters
Upstream URL: https://github.com/guillaumezin/nvidiabl
Licenses: GPL
Conflicts: nvidia-bl, nvidiablctl
Submitter: uwinkelvos
Maintainer: padfoot
Last Packager: padfoot
Votes: 38
Popularity: 0.339666
First Submitted: 2011-07-15 21:39
Last Updated: 2015-06-10 08:51

Latest Comments

padfoot commented on 2015-06-10 08:34

This package now includes the nvidiablctl control script by default.

padfoot commented on 2015-05-22 08:22

Updated to 0.88 and patched.

MrMen commented on 2015-05-17 10:05

Disowned

kahlil88 commented on 2015-05-17 10:01

@padfoot: I can't get this to build with your modifications. Keeps giving me patch errors.

patch: **** malformed patch at line 7: for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {

padfoot commented on 2015-05-08 07:43

Got this building and working again for me with the following:

Change the PKGBUILD as follows:
source=(https://github.com/guillaumezin/nvidiabl/raw/master/install/tarball/$pkgname-$pkgver-source-only.dkms.tar.gz nvidiabl.patch)
md5sums=('3024170a5e9f678899cd10eb5eb6aab6'
'55b1db746b207d0b5616697955ccdd7b')

Add a prepare function to the PKGBUILD:
prepare() {
cd "$srcdir/dkms_source_tree/"
patch -p1 -i $srcdir/nvidiabl.patch
}

And add the following file called nvidiabl.patch
diff -aur dkms_source_tree.src/nvidiabl-module.c dkms_source_tree.patch/nvidiabl-module.c
--- dkms_source_tree.src/nvidiabl-module.c 2014-04-06 01:43:49.000000000 +1100
+++ dkms_source_tree.patch/nvidiabl-module.c 2015-05-08 17:19:17.546837448 +1000
@@ -214,7 +215,7 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)

for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {
- if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
+ if (strncasecmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
props.type = backlight_type_ids[iii].type;
printk(KERN_INFO "nvidiabl: backlight type is %s\n", backlight_type_ids[iii].id);
}

Working for me now on kernel >= 4

MrMen commented on 2015-02-15 12:53

I can't see the reason why the package has been flagged out of date…
As I haven't a macbook, I will disown this package.

MrMen commented on 2014-05-18 12:39

Update done.
Sorry for multiple mistakes and delay.

padfoot commented on 2014-05-16 20:57

Packaging always fails for me unless I change the package function in PKGBUILD to the following:

package() {
cd "$srcdir/dkms_source_tree/"
_extramodules="extramodules-$(uname -r | cut -f-2 -d'.')-$(uname -r|sed -e 's/.*-//g')"
_MODPATH="${pkgdir}/usr/lib/modules/${_extramodules}/"
install -d $_MODPATH
install -m 644 -c nvidiabl.ko $_MODPATH
}

sonic414 commented on 2014-05-16 02:25

It works well if you comment those lines out.

sonic414 commented on 2014-05-16 02:23

Current PKGBUILD contains errors and comments in package()
>

echo "rien"
...
extramodules-$(uname -r | cut -f-2 -d'.')-$(uname -r|sed -e 's/.*-//g')

<

All comments