Page 1 of 1

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

Posted: 21 Nov 2011, 09:59
by Blokkolnam0
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,

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

Posted: 23 Nov 2011, 10:55
by Blokkolnam0
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...

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

Posted: 23 Nov 2011, 13:30
by voria
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. ;)

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

Posted: 23 Nov 2011, 16:42
by Blokkolnam0
Thanks very much! :) I give it a try with a full install.
Best Wishes for your work,

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

Posted: 23 Nov 2011, 21:57
by Blokkolnam0
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!

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

Posted: 13 Dec 2011, 07:53
by sv99
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/20 ... compiling/

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

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

Posted: 03 Jan 2012, 01:29
by Givrix
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