Difference between revisions of "SL Driver on openSUSE"

From ThinkWiki
Jump to: navigation, search
m
m
 
Line 4: Line 4:
  
 
* Follow the instructions described in that thread: http://forums.opensuse.org/hardware/411402-how-do-i-build-make-custom-driver-into-kernel.html
 
* Follow the instructions described in that thread: http://forums.opensuse.org/hardware/411402-how-do-i-build-make-custom-driver-into-kernel.html
 
* If the module was loaded successfully, configure ubuntu to load the module on start-up, as follows:
 
  
 
* Edit/create a file /etc/modprobe.d/lenovo-sl-laptop.conf which just has one line: 'options lenovo-sl-laptop control_backlight=1'  (this tells modprobe to load the module with backlight control enabled)
 
* Edit/create a file /etc/modprobe.d/lenovo-sl-laptop.conf which just has one line: 'options lenovo-sl-laptop control_backlight=1'  (this tells modprobe to load the module with backlight control enabled)
Line 11: Line 9:
 
* Use YaST -> Bootloader or edit the /boot/grub/menu.lst file to add 'acpi_backlight=vendor' as a kernel option to your kernel line.
 
* Use YaST -> Bootloader or edit the /boot/grub/menu.lst file to add 'acpi_backlight=vendor' as a kernel option to your kernel line.
  
* If you use laptop-mode-tools, edit /etc/laptop-mode/conf.d/bluetooth.conf to set BLUETOOTH_INTERFACES="lenslbluetoothsw" instead of "hci0".
+
* If you are using laptop-mode-tools, edit /etc/laptop-mode/conf.d/bluetooth.conf to set BLUETOOTH_INTERFACES="lenslbluetoothsw" instead of "hci0".
  
 
* You may use Holger's [http://software.opensuse.org/search?baseproject=ALL&p=1&q=killswitch-applet killswitch-applet] to manage your killswitches.
 
* You may use Holger's [http://software.opensuse.org/search?baseproject=ALL&p=1&q=killswitch-applet killswitch-applet] to manage your killswitches.

Latest revision as of 04:21, 18 February 2010

This page describes one way to get SL500 hotkeys, brightness and bluetooth working with openSUSE, via Alexandre Rostovtsev's driver.

General notes:

  • Edit/create a file /etc/modprobe.d/lenovo-sl-laptop.conf which just has one line: 'options lenovo-sl-laptop control_backlight=1' (this tells modprobe to load the module with backlight control enabled)
  • Use YaST -> Bootloader or edit the /boot/grub/menu.lst file to add 'acpi_backlight=vendor' as a kernel option to your kernel line.
  • If you are using laptop-mode-tools, edit /etc/laptop-mode/conf.d/bluetooth.conf to set BLUETOOTH_INTERFACES="lenslbluetoothsw" instead of "hci0".