Fn-F key combinations don't work on N148 Ubuntu 10.04

Discussions about Linux installation and configuration on Samsung laptops
Post Reply
terry
Newbie
Newbie
Posts: 14
Joined: 02 May 2010, 12:05
Location: Sydney, Australia
Contact:

Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by terry »

Hi guys,

First, than you Fortunato, and other contributors so much for building the samsung-tools and PPA/deb packages. It's really great for those who love Linux, especially Ubuntu.

I just switched from Arch Linux to Ubuntu (on N148), did a fresh install and all look good. Except the Fn-F keys, the most annoying thing is brightness. The backlight LED screen is too bright and it really hurts my eyes.

Did a Google search and redirected here. I installed samsung-tools (plus all dependencies), reboot with no luck. Then I installed samsung-backlight package again as instructed. It seemed to create a DKMS module for the running kernel. Another reboot, still no luck... Please let me know what to try next, thanks.

Code: Select all

terry@ubuntu:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation N10 Family DMI Bridge [8086:a010]
00:02.0 VGA compatible controller [0300]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a011]
00:02.1 Display controller [0380]: Intel Corporation N10 Family Integrated Graphics Controller [8086:a012]
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 3 [8086:27d4] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 4 [8086:27d6] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation N10/ICH7 Family SATA AHCI Controller [8086:27c1] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation N10/ICH 7 Family SMBus Controller [8086:27da] (rev 02)
05:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
09:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354]

Code: Select all

root@ubuntu:~# dmidecode -s system-product-name
N148/N208  
BTW: The samsung-tools scripts work like a charm! GOod job

Thanks in advance.

Terry from Sydney Australia;-)
terry
Newbie
Newbie
Posts: 14
Joined: 02 May 2010, 12:05
Location: Sydney, Australia
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by terry »

In addition:

Looks like the two kernel modules are correctly loaded.

Code: Select all

lsmod
Module                  Size  Used by
easy_slow_down_manager     4081  0 
samsung_backlight       2917  0 
binfmt_misc             6587  1 
ppdev                   5259  0 
joydev                  8708  0 
snd_hda_codec_realtek   203168  1 
fbcon                  35102  71 
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
softcursor              1189  1 bitblit
vga16fb                11385  0 
vgastate                8961  1 vga16fb
snd_hda_intel          21877  2 
snd_hda_codec          74201  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5412  1 snd_hda_codec
snd_pcm_oss            35308  0 
snd_mixer_oss          13746  1 snd_pcm_oss
snd_pcm                70662  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1338  0 
snd_seq_oss            26726  0 
arc4                    1153  2 
snd_seq_midi            4557  0 
snd_rawmidi            19056  1 snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ath9k                 306010  0 
snd_timer              19098  2 snd_pcm,snd_seq
i915                  282354  3 
mac80211              204922  1 ath9k
snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ath                     7611  1 ath9k
drm_kms_helper         29297  1 i915
intel_agp              24177  2 i915
uvcvideo               56990  0 
snd                    54148  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,
snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211              126485  3 ath9k,mac80211,ath
drm                   162471  4 i915,drm_kms_helper
i2c_algo_bit            5028  1 i915
videodev               34361  1 uvcvideo
v4l1_compat            13251  2 uvcvideo,videodev
psmouse                63245  0 
serio_raw               3978  0 
soundcore               6620  1 snd
video                  17375  1 i915
led_class               2864  1 ath9k
agpgart                31724  2 intel_agp,drm
snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
output                  1871  1 video
lp                      7028  0 
parport                32635  2 ppdev,lp
usbhid                 36110  0 
hid                    67032  1 usbhid
ahci                   32008  3 
sky2                   40775  0 

Code: Select all

root@ubuntu:/# modinfo samsung-backlight
filename:       /lib/modules/2.6.32-21-generic/updates/dkms/samsung-backlight.ko
alias:          dmi:*:svnSAMSUNGELECTRONICSCO.,LTD.:pn*:*:rn*:*
license:        GPL
description:    Samsung Backlight driver
author:         Kobelkov S. <sergeyko81@gmail.com>, Greg Kroah-Hartman <gregkh@suse.de>
srcversion:     8246F633825215B79E4B228
depends:        
vermagic:       2.6.32-21-generic SMP mod_unload modversions 586 
parm:           offset:The offset into the PCI device for the brightness control (int)
parm:           debug:Verbose output (bool)
parm:           use_sabi:Use SABI to control brightness (bool)
parm:           force:Skip model/vendor check (bool)
Last edited by voria on 02 May 2010, 17:44, edited 1 time in total.
Reason: Fix layout.
terry
Newbie
Newbie
Posts: 14
Joined: 02 May 2010, 12:05
Location: Sydney, Australia
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by terry »

I probably know why it doesn't work. I didn't run a apt-get update && apt-get dist-upgrade after adding the PPA. So I didn't install the modified kernel from the PPA. I'll do a dist-upgrade and see if it works.
terry
Newbie
Newbie
Posts: 14
Joined: 02 May 2010, 12:05
Location: Sydney, Australia
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by terry »

After installing the kernel from PPA. It worked! Thanks!
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by voria »

Sorry for the late answer, I'm glad you have solved your problem. ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
terry
Newbie
Newbie
Posts: 14
Joined: 02 May 2010, 12:05
Location: Sydney, Australia
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by terry »

Thanks mate, you did an excellent job!

I'll take a look into the scripts and the package, try to understand what you have done to enable the key combinations, out of curiosity.
justanotherguy
Newbie
Newbie
Posts: 5
Joined: 19 May 2010, 23:34
Location: Ukraine

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by justanotherguy »

Hello,

I've experienced the problem with backlight and found this board. I've tried to add repository using this command:

Code: Select all

sudo add-apt-repository ppa:voria
I've ended up getting message:
gpgkeys: HTTP fetch error 7: couldn't connect to host
Attempt to add voria repository via system administration tools has no effect either. What could be the problem?

I would very appreciate any help on this matter. Thanks in advance.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by voria »

I think there is some temporary problem with the gpg keys server.
Anyway, you can manually add the needed GPG key for the repository with this command:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 1E5F36F0
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
justanotherguy
Newbie
Newbie
Posts: 5
Joined: 19 May 2010, 23:34
Location: Ukraine

Re: Fn-F key combinations don't work on N148 Ubuntu 10.04

Post by justanotherguy »

Thanks.

I've finally managed to install packages, everything works fine. Just a couple of times the backlight automatically went dimmer after some time of idleness (netbook was on battery). No big deal though.
Post Reply