Debian Squeeze on N220

Discussions about Linux installation and configuration on Samsung laptops
Post Reply
jowyta
Newbie
Newbie
Posts: 15
Joined: 04 Aug 2010, 10:41
Location: Coalville, UK

Debian Squeeze on N220

Post by jowyta »

I am using Debian Squeeze on an N220. I compile my own kernel and I compile all drivers into the kernel (i.e. I do not use modules).

I have carried out the following steps:

I installed easy-slow-down-manager-dkms_0.13.1 from:
http://code.google.com/p/easy-slow-down ... loads/list

In a root terminal I ran: "modprobe easy_slow_down_manager”

# "echo 0 > /proc/easy_wifi_kill" turns WiFi off.

and

# "echo 1 > /proc/easy_wifi_kill" turns WiFi on.

I opened http://code.launchpad.net/samsung-tools ... 1.2.tar.gz with archive manager and extracted to ~/Downloads.

Cd to ~/Downloads/samsung-tools-1.1.2 in a root terminal
ran make install

Using the samsung-tools command lines in a user terminal all work.

But the function keys do not.

What do I need to do to get the function keys working?

John
jowyta
Newbie
Newbie
Posts: 15
Joined: 04 Aug 2010, 10:41
Location: Coalville, UK

Re: Debian Squeeze on N220

Post by jowyta »

voRia sent me the following information:

"So, to enable the FN keys you need to edit the files
'/lib/udev/rules.d/95-keyboard-force-release.rules' and
'/lib/udev/rules.d/95-keymap.rules' and add your model to the list of
Samsung models.
To find the exact name of your model that you need to add, use the
command:

sudo dmidecode -s system-product-name"

(It is N220, so the lines become:

Code: Select all

ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*N128*|*N130*|*N140*|*N210*|*N220*|*SR70S/SR71S*|*Q210/P210*", 
RUN+="keyboard-force-release.sh $devpath samsung-other"
and

Code: Select all

ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*NC10*|*NC20*|*N128*|*N130*|*N210*|*N220*|
*SP55S*|*SQ45S70S*|*SX60P*|*SX22S*|*SX30S*|*R59P/R60P/R61P*|*SR70S/SR71S*|*Q210*|*Q310*|*X05*|*P560*|*R560*",
 RUN+="keymap $name samsung-other"
I used "open as administrator" and gedit to alter them.)

"Once done, reboot and all the FN keys should be enabled"

And it works, thanks voRia.

John
S_Paul
Newbie
Newbie
Posts: 1
Joined: 15 Oct 2010, 11:18

Re: Debian Squeeze on N220

Post by S_Paul »

Hi, sorry for up topic,
have the same problem with squeeze on my N150p, on default kernel(2.6.32-5) acpi work great and i can use the events to rule sound/backlight e.t.c., but on my build kernel(2.6.35.7) acpi don't work, i mean acpi_listen nothing show, acpi-fakekey dont start on boot(and manually to).
I think it some wrong in my .kernel config, can you help me and look what's wrong?
Thank you and sorry for non-correct english.
Paul.
jowyta
Newbie
Newbie
Posts: 15
Joined: 04 Aug 2010, 10:41
Location: Coalville, UK

Re: Debian Squeeze on N220

Post by jowyta »

Paul

I have just done a quick check on your .config file and there are too many differences from mine to see what your problem is. What I do is to open the .config file with OpenOffice.org and save it as a .odt file in a user folder. I can then use edit > Compare Document to compare versions of .config (you should have the previous one in your /usr/src/linux-source-2.6.32 folder). I have found that kernel upgrades often sneak in a requirement for something to be set or unset.

John
jowyta
Newbie
Newbie
Posts: 15
Joined: 04 Aug 2010, 10:41
Location: Coalville, UK

Re: Debian Squeeze on N220

Post by jowyta »

I now have had success with wireless so everything is now working, see
http://www.voria.org/forum/viewtopic.ph ... 4257#p4257
fschlich
Newbie
Newbie
Posts: 1
Joined: 11 Nov 2010, 17:16

Re: Debian Squeeze on N220

Post by fschlich »

I see there's a lot of good work done here for users of Samsung netbooks.

But I'm wondering about the state of upstreaming changes to standard packages such as udev, as well as integrating special packages such as samsung-tools into upstream distributions i.e. Debian. That way, also people using other distributions can benefit from the work done here for Ubuntu, and in the long run this will even reduce the work needed to support new Ubuntu releases.

Are there any efforts in this direction? If not, what's the reason, and how could we help?
jowyta
Newbie
Newbie
Posts: 15
Joined: 04 Aug 2010, 10:41
Location: Coalville, UK

Re: Debian Squeeze on N220

Post by jowyta »

See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599783
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599788

and my comments in the samsung-wireless - driver version thread about getting the kernel drivers updated.

How could we help? Do you know of any developers who could contribute to any of the above?
Post Reply