LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2015, 09:15 PM   #16
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225

Quote:
Originally Posted by gor0 View Post
momentarily

this did the job:

http://www.linuxquestions.org/questi...4/#post5247239

Code:
echo 100 > /sys/class/backlight/intel_backlight/brightness
If that works, run the following as root...

Code:
echo "echo 100 > /sys/class/backlight/intel_backlight/brightness" >> /etc/rc.d/rc.local
chmod a+x /etc/rc.d/rc.local
...which simply adds the command that you state fixes the problem to /etc/rc.d/rc.local and then ensures that /etc/rc.d/rc.local is executable. /etc/rc.d/rc.local is run after every boot by /etc/rc.d/rc.M if it is executable.

EDIT: Of course, your screen will be bright until near the end of the booting process.
 
Old 02-26-2015, 01:37 AM   #17
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by gor0 View Post
How to update /etc/default/grub ?
I have no idea why that's not working -- you could just edit /etc/grub/grub/cfg directly if you find a kernel parameter that works better.

I misread your OP and I thought you were saying there was no content under /sys/class/backlight -- sorry (I was very tired).

If the `echo` command works then you probably already have all the functionality intact -- does this command work:
Code:
xbacklight -set 10
See man xbacklight

You can set up some manual keybinds based on this or the `echo` command.

However, the next time you update your kernel image dpkg will fail because it cannot run `update-grub` and you will no longer be able to update your Debian system -- you should start a new thread to troubleshoot this specific issue.
 
Old 02-26-2015, 03:04 AM   #18
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by Head_on_a_Stick View Post
Debian system
Runnin Slack 'pal'(thus b/w qm)
 
Old 02-26-2015, 06:46 AM   #19
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Head_on_a_Stick View Post
However, the next time you update your kernel image dpkg will fail because it cannot run `update-grub` and you will no longer be able to update your Debian system -- you should start a new thread to troubleshoot this specific issue.
This thread is in the Slackware forum.
 
Old 02-26-2015, 09:32 AM   #20
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by gor0 View Post
How to update /etc/default/grub ?
hi there...


it is possible to update /etc/default/grub without GRUB installed on Slackware [skipped on install] ? need this info for solve my issue !


tia!
 
Old 02-26-2015, 02:22 PM   #21
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by Richard Cranium View Post
This thread is in the Slackware forum.
My apologies -- the OP stated that his Debian system was "in charge" of GRUB and I was working on the assumption that this was all from that system (silly me).
http://www.linuxquestions.org/questi...2/#post5323343

@OP: If this is all in Slackware then that's why there is no `update-grub` command...

FWIW you don't "update /etc/default/grub", that file is used as a template for the GRUB configuration file at /boot/grub/grub.cfg

Sorry for all this confusion -- I will try to pay more attention next time.
 
Old 02-26-2015, 03:34 PM   #22
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by Head_on_a_Stick View Post
/boot/grub/grub.cfg
I don't have it !!!

if no one helps ...then... i'm goin to need to talk with PAT... or QUIT the distro ...

Attached Thumbnails
Click image for larger version

Name:	Screenshot - 02262015 - 03:31:09 PM.png
Views:	18
Size:	38.8 KB
ID:	17680  
 
Old 02-26-2015, 04:16 PM   #23
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by gor0 View Post
I don't have it !!!

if no one helps ...then... i'm goin to need to talk with PAT... or QUIT the distro ...

Slackware boots using LILO rather than GRUB -- please don't blame your confusion on Saint Volkerding: it's all my fault!

I don't use LILO (even in my Slackware system I boot using GRUB from Arch) so I can't help you with that sorry.

Last edited by Head_on_a_Stick; 02-26-2015 at 04:20 PM. Reason: Got Pat's name wrong -- sorry Slackers!
 
Old 02-26-2015, 04:17 PM   #24
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
I had to create /etc/X11/xorg.conf.d/20-intel.conf
Code:
Section "Device"
    Identifier  "card0"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
    BusID       "PCI:0:2:0"
EndSection
to make brightness control Fn+Up/Down and xbacklight work in X.



Cheers
 
Old 02-26-2015, 04:22 PM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by gor0 View Post
I don't have it !!!

if no one helps ...then... i'm goin to need to talk with PAT... or QUIT the distro ...

Why not just do what you were advised by Richard Cranium in post n° 16???

I suggest you don't bother Pat with this kind of non-issue.

Feel free to move (again) to another distribution, then encounter another small issue then move (again) to another distribution then... Some people call that perpetual motion, others just distro-hopping. Nevertheless, as long as you have fun all is good

PS I saw ivandi's answer just after posting. Worth trying, I think.

Last edited by Didier Spaier; 02-26-2015 at 04:25 PM.
 
Old 02-26-2015, 04:28 PM   #26
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 65
Code:
mount --bind /dev /mnt/sda6/dev
mount: mount point /mnt/sda6/dev does not exist
http://www.linuxquestions.org/questi...chroot-770865/
 
Old 02-26-2015, 04:35 PM   #27
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by gor0 View Post
Code:
mount --bind /dev /mnt/sda6/dev
mount: mount point /mnt/sda6/dev does not exist
http://www.linuxquestions.org/questi...chroot-770865/
Typing blindly commands you find at random, not even trying to understand what they are supposed to do, won't lead you anywhere. The error message is right: there is no directory /mnt/sda6/dev as you didn't create one.
 
Old 02-26-2015, 04:38 PM   #28
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by ivandi View Post
I had to create /etc/X11/xorg.conf.d/20-intel.conf
Code:
Section "Device"
    Identifier  "card0"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
    BusID       "PCI:0:2:0"
EndSection
to make brightness control Fn+Up/Down and xbacklight work in X.

hi !

can you expand? (how to create and what commands to create it)

tia!
 
Old 02-26-2015, 04:51 PM   #29
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by gor0 View Post
hi !

can you expand? (how to create and what commands to create it)

tia!
Just copy and paste this in your terminal, without thinking:
Code:
cat <<oaf|rev|rot13>/etc/X11/xorg.conf.d/20-intel.conf
"rpvirQ" abvgprF
"0qenp"  ervsvgarqV    
"yrgav"      eriveQ    
"gutvyxpno_yrgav"  "gutvyxpnO"      abvgcB    
"0:2:0:VPC"       QVfhO    
abvgprFqaR
oaf
 
4 members found this post helpful.
Old 02-26-2015, 05:09 PM   #30
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Alternatively, you could use this variant:
Code:
cat <<oaf|rev|tr 'A-Za-z' 'N-ZA-Mn-za-m'>/etc/X11/xorg.conf.d/20-intel.conf
"rpvirQ" abvgprF
"0qenp"  ervsvgarqV    
"yrgav"      eriveQ    
"gutvyxpno_yrgav"  "gutvyxpnO"      abvgcB    
"0:2:0:VPC"       QVfhO    
abvgprFqaR
oaf
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make system use intel_backlight instad of acpi_video0? Abscissa256 Linux - Hardware 4 10-28-2014 03:26 PM
[SOLVED] How to make intel_backlight settings permanent amaro Slackware 8 10-03-2014 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration