LinuxQuestions.org
Visit Jeremy's Blog.
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 10-16-2013, 04:00 AM   #1
cgorac
Member
 
Registered: Oct 2009
Posts: 146

Rep: Reputation: 87
problems on boot (brightness going to 0, wireless disabled) with Lenovo IdeaPad Y410p


Just got this machine, and am trying to setup Slackware on it. I've first completely disabled UEFI (and secure boot) in machine BIOS, then repartitioned the whole disk, and then installed slackware64-current using ISO from here: ftp://ftp.slackware.no/slackware/slackware-current-iso/. However, now I'm facing some problems on machine boot:

1. At some point during the boot, the screen goes blank. I can use Fn key, plus Brightness-Plus button to increase brightness, and then everything is back to normal; however, I'd like to avoid this. I think the problems appears at the moment when video drivers is switching to higher resolution during the boot (first message visible on screen after this happens is "fbcon: inteldrmfb (fb0) is primary device"); I'd like to avoid this too, and I can by adding "nomodeset" to the LILO command line (the screen doesn't go blank in this case), but is this the only way to do it? This machine has combo of Intel HD Graphics 4600 and NVIDIA GeForce GT 750M display adapters, arranged in NVIDIA Optimus setup. I will have to play later with Bumblebee in order to enable NVIDIA card, and for now I think only Intel card is seen by Linux. So my question here is: is there another way to disable switching to frame buffer on boot? And on the other side: would it be possible, when switch to frame buffer occurs, to keep brightness from going down to 0?

2. Wireless card is disabled on boot. Wireless on this laptop is Intel Centrino Wireless-N 2230. I have proper /etc/rc.d/rc.inet1.conf and /etc/wpa_supplicant.conf setup for wireless network to go up during the boot. However, when boot comes to activating wireless, first "SIOCSIFFLAGS: Operation not possible due to RF-kill" message appears, and then "rfkill: WLAN soft blocked". When boot sequence completed, and I log in into console as root, and then run "rfkill list", I have "ideaplad_wlan" and "phy0" devices listed as "Wireless LAN", and for both of them it shows "Soft blocked: Yes". If I then do "rfkill unblock all", and then "/etc/rc.d/rc.inet1 restart", WLAN is up and properly set up. However, on next boot, wireless card is again disabled by rfkill. So my question here is: how to unblock wireless card before /etc/rc.d/rc.inet1 executed during boot? Obviously, I can do this by putting "rfkill unblock all" line before /etc/rc.d/rc.inet1 called in /etc/rc.d/rc.M, but is there more "proper" way to do this?

Thanks.
 
Old 10-16-2013, 07:05 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
1. Maybe you could try to blacklist the intel driver (lsmod will tell you its name), set "vga = normal". Then no handover should occur during startup, but when you start X the intel driver *should* be loaded though. Not sure that works with intel, but it does with the nouveau driver for nVidia cards.
 
Old 10-16-2013, 07:27 AM   #3
cgorac
Member
 
Registered: Oct 2009
Posts: 146

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by Didier Spaier View Post
1. Maybe you could try to blacklist the intel driver (lsmod will tell you its name), set "vga = normal". Then no handover should occur during startup, but when you start X the intel driver *should* be loaded though. Not sure that works with intel, but it does with the nouveau driver for nVidia cards.
Thanks, that works exactly as you described: startx would load i915 driver, and both X and then the desktop environment would start fine.

However, in the meantime I read more about KMS, and I came to like the idea :-) So if there are any further suggestions on how to keep i915 driver loaded during boot, but manage to avoid screen going blank, that would be great.
 
Old 10-16-2013, 07:45 AM   #4
cgorac
Member
 
Registered: Oct 2009
Posts: 146

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by cgorac View Post
So if there are any further suggestions on how to keep i915 driver loaded during boot, but manage to avoid screen going blank, that would be great.
I've just encountered a suggestion on another forum: to append "acpi_backlight=vendor" to the lilo command line, and that fully works - KMS done during boot, and brightness level is kept during the switch.

Now onto the rfkill issue...
 
Old 10-16-2013, 07:52 AM   #5
cgorac
Member
 
Registered: Oct 2009
Posts: 146

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by cgorac View Post
I've just encountered a suggestion on another forum: to append "acpi_backlight=vendor" to the lilo command line, and that fully works - KMS done during boot, and brightness level is kept during the switch.
Oops, one more thing to add here: after adding "acpi_backlight=vendor", brightness controls on laptop (Fn key + corresponding buttons on keyboard) don't work any more under Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lenovo G470 aka LENOVO 20078 (laptop) ; Essential IdeaPad www.rzr.free.fr Linux - Laptop and Netbook 4 06-16-2013 07:52 AM
[SOLVED] Lenovo IdeaPad s205 Touchpad toredo Linux - Laptop and Netbook 1 01-25-2012 06:58 AM
Brightness control on Ideapad u350 skipjackrc4 Linux - Laptop and Netbook 2 01-17-2010 01:16 PM
Lenovo IdeaPad Y510 mrzack General 3 03-21-2008 08:32 AM

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

All times are GMT -5. The time now is 03:40 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