Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits desk)

Discussions about Linux installation and configuration on Samsung laptops
Blokkolnam0
Newbie
Newbie
Posts: 4
Joined: 21/11/2011, 9:48

Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits desk)

Postby Blokkolnam0 » 21/11/2011, 9:59

Dear People,

I have the following problem on a Samsung N145 plus netbook:
Before hard installing Ubuntu, I wanted to see if everything work 100% on this netbook. So I just made a bootable usb stick with the Ubuntu 11.10 desktop image. I boot into ubuntu from the pendrive, and very nice, the wifi works out-of-the-box. Of course the FN keys are not working, and so strange, because there is also some problem with the keyboard layout (":" character is not reachable, instead of this I get the ">" character).

Okey, first I tried to install the voria package following the instructions from here:
https://launchpad.net/~voria/+archive/ppa
Everything was okey, I added the ppa to the system (and I did sudo apt-get update).

After the ppa is here, I went to the software manager, and I can see the samsung tools, backlight, and so on. But when I try to install them, I get this error:

"...The samsung-tools package will not install. It has a dependency on xbindkeys which is not installable..."

Can anyone give me some help? Windows 7 is a real pain on this netbook :(

Best Wishes,

Blokkolnam0
Newbie
Newbie
Posts: 4
Joined: 21/11/2011, 9:48

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby Blokkolnam0 » 23/11/2011, 10:55

okey, I think I can say the conclusion: first choose the required operation system (Ubuntu), and buy the hardware FOR that operation system. And there is a list about the fully supported laptops...

User avatar
voRia
Administrator
Administrator
Posts: 1378
Joined: 12/02/2009, 18:08
Location: Italy
Contact:

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby voRia » 23/11/2011, 13:30

When running ubuntu in a live enviroment (ie, from a bootable USB), not all software repositories are enabled by default.
In your specific case, you need 'xbindkeys' which is available in the 'universe' repository. You can enable this repository through the 'Software Sources' configuration dialog, then try to install 'samsung-tools' again.

Note that these additional repositories are usually enabled by default once you install ubuntu on your HD.

Anyway, as far as I can tell, your netbook model should work just fine with Ubuntu. ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!

Blokkolnam0
Newbie
Newbie
Posts: 4
Joined: 21/11/2011, 9:48

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby Blokkolnam0 » 23/11/2011, 16:42

Thanks very much! :) I give it a try with a full install.
Best Wishes for your work,

Blokkolnam0
Newbie
Newbie
Posts: 4
Joined: 21/11/2011, 9:48

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby Blokkolnam0 » 23/11/2011, 21:57

okey, now I have installed the 11.10 desktop version. I added the PPA to my system. But I cannot see in the software manager the Voria samsung packages. Anyway, I have installed from terminal:
sudo apt-get install samsung-tools
This time it went through the install without problem.

What else do I have to do? Only the MUTE FN key works still...


Edit: Okey, I had to run the "samsung-tools --show-notify" command,
Everything is working' :)

Thanks!

sv99
Newbie
Newbie
Posts: 1
Joined: 13/12/2011, 7:32

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby sv99 » 13/12/2011, 7:53

I have problem with backlight kontrol trough SABI intreface.

Override DSDT - using standart backlight control - perfect working.

Override DSDT without compiling kernel - using grub2 http://blog.michael.kuron-germany.de/2011/03/patching-dsdt-in-recent-linux-kernels-without-recompiling/

Patched DSDT for n145

Modifications:

Code: Select all

      Field (IGDP, AnyAcc, NoLock, Preserve)
                {
                            Offset (0x12),
                        ,   1,
                    GIVD,   1,
                        ,   2,
                    GUMA,   3,
                            Offset (0x14),
                        ,   4,
                    GMFN,   1,
                            Offset (0x18),
                    SSRW,   32,
                            Offset (0xA4),
                    ASLE,   8,
                            Offset (0xA8),
                    GSSE,   1,
                    GSSB,   14,
                    GSES,   1,
                            Offset (0xB0),
                            Offset (0xB1),
                    CDVL,   5,
                            Offset (0xB2),
                    // access to offset 0xF4 - set brigtness setpci -s 00:02.0 F4.B !!
                            Offset (0xB4),
                    BRT4,   8,
                            Offset (0xBC),
                    ASLS,   32
                }

                    Method (_BCL, 0, NotSerialized)
                    {
                        Store ("_BCL", Debug)
                        Or (VDRV, 0x01, VDRV)
                        // correct brightness value
                        Return (Package (0x08)
                        {
                            0xff,
                            0x80,
                            0x20,
                            0x40,
                            0x60,
                            0xa0,
                            0xc0,
                            0xe0
                        })
                    }

                    Method (_BCM, 1, NotSerialized)
                    {
                    // Return value from offset 0xf4 - from pci
                    /*    Divide (Arg0, 0x0A, Local0, Local1)
                        If (LEqual (Local0, 0x00))
                        {
                            BRTW (Arg0)
                        }*/
                        Store ("_BCM", Debug)
                        Store (Arg0, Debug)
                        Store (Arg0, BRT4)
                    }

                    Method (_BQC, 0, NotSerialized)
                    {
                    // Set value from offset 0xf4 - from pci
                    /*   Divide (BRTL, 0x0A, Local0, Local1)
                        If (LEqual (Local0, 0x00))
                        {
                            Return (BRTL)
                        }*/
                        Store ("_BQC", Debug)
                        Store (BRT4, Debug)
                        Return (BRT4)
                    }


And some modification for good compiling.

Compiling .dsl

Code: Select all

iasl -tc DSDT_N145.dsl


For overriding with grub2 needed .asl file.
For compiling in kernel needed .hex file.

This method worked for models where braghtnes corrected with

Code: Select all

sudo /usr/sbin/setpci -s 00:02.0 F4.B=xx

Givrix
Newbie
Newbie
Posts: 2
Joined: 08/12/2011, 20:21

Re: Samsung tools on Samsung N145 plus (Ubuntu11.10,32bits d

Postby Givrix » 03/01/2012, 1:29

Thanks a lot for the "samsung-tools --show-notify" !
It saved my life :lol:

Something in the installation script must be missing, it was done automagically in previous versions


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: No registered users and 0 guests