Problems with samsung-tools

Discussions about Linux installation and configuration on Samsung laptops
aalex
Newbie
Newbie
Posts: 3
Joined: 19 May 2010, 03:57

Re: Problems with samsung-tools

Post by aalex »

voRia wrote:It's the first time I see this error... and it should have nothing to do with "Samsung Tools".

Are you sure the hotkey you want to use for webcam is not already used by another application (which probably triggers that error)?
NOTHING was ordered to that key combination (Fn+F3). It was not the Samsung Tools' fault, but Samsung scripts'. :) Some hotkey definitions without ordered commands remained after I've upgraded from Karmic to Lucid and replaced the "Scripts" by the "Tools". I found them through gconfig-editor (eg. /apps/metacity/global_keybindings/run_command_5: <Alt>KP_Insert). After removing such empty hotkey definitions everything works fine as well as the rc.local line suggested by you.
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Problems with samsung-tools

Post by voria »

The old 'samsung-scripts' used to install a global configuration file for keybinding, which was of course removed when the package was uninstalled.
But, if an user changed the default assigned keys, a new user configuration file was created in the user's home overriding the global one, and this new configuration file is not removed when the 'samsung-scripts' is uninstalled.
Well, I'm glad you found the cause of the problem and fixed it. :)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
DJFreak
Newbie
Newbie
Posts: 2
Joined: 12 Jun 2010, 21:05

Re: Problems with samsung-tools

Post by DJFreak »

Hi,

i'm using debian 5 and have installed samsung tools but i can bring up samsung tools to work only when i change the default python from 2.5 to 2.6 this is not good !

when i will start "system-service.py" under default config with python2.5 then come the following error message


samsung-tools/backends/system/backlight.py:80: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "./system-service.py", line 31, in <module>
from backends.system.backlight import Backlight
File "/home/us/test/samsung-tools/backends/system/backlight.py", line 80
with open(ESDM_PATH_BACKLIGHT, 'r') as file:
^
SyntaxError: invalid syntax
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Problems with samsung-tools

Post by voria »

Can you please try the most recent version from the bzr branch?
The problem should be fixed now.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
DJFreak
Newbie
Newbie
Posts: 2
Joined: 12 Jun 2010, 21:05

Re: Problems with samsung-tools

Post by DJFreak »

I have fixed the Problems under Debian and solved the Init.d Problem...
In 2 releases now it works... inkl patching the kernel release FN Function...

The Deb. Packages you can Download at http://www.pleural.de/info/Kostenloses- ... puter.html

this is full working on debian 5 inkl init.d FN Key and other problems fixed...
only4reg
Newbie
Newbie
Posts: 2
Joined: 23 Jun 2010, 18:08

Re: Problems with samsung-tools

Post by only4reg »

Hello, voRIa.

I got a problem with Fn keys on my N220 netbook. I've installed samsung-tools and even updated some linux-kernel stuff from your repository, but Fn keys still don't work well. For example, Fn+Up/Down, Fn+F5 and some other combinations don't work.

Sorry if I'm too nooby, it's my first linux at all.

Here's my system info. Do you need more information to correctly define what's the problem?

Thanx

Code: Select all

***:~$ sudo dmidecode -s system-product-name
[sudo] password for ***: 
N150/N210/N220             
***:~$ uname -a
Linux netbook 2.6.32-22-generic #37~ppa1~loms~lucid-Ubuntu SMP Fri Jun 4 20:01:26 UTC 2010 i686 GNU/Linux
***:~$ 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]
only4reg
Newbie
Newbie
Posts: 2
Joined: 23 Jun 2010, 18:08

Re: Problems with samsung-tools

Post by only4reg »

UPD
well, i did "udate & upgrade" and all Fn key work fine BUT Fn+up/down still don't work! what to do?
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

Re: Problems with samsung-tools

Post by voria »

only4reg wrote:UPD
well, i did "udate & upgrade" and all Fn key work fine BUT Fn+up/down still don't work! what to do?
Make sure the package 'samsung-backlight' is installed.
If it's not, install it, reboot and the FN brightness keys should work. ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
tkoun
Newbie
Newbie
Posts: 3
Joined: 17 Oct 2010, 14:31

Re: Problems with samsung-tools

Post by tkoun »

OphiuchuS wrote:I've got the same problem on a N140 and Lucid. Without samsung-backlight the brightness wouldn't change at all, after installing the brightness package I only need to tip on the arrow key once and the brightness goes down by itself to the bottom and vice versa. So I only can put the brighness to min or max, but nothing inbetween :-|
for me, under NC10 Xubuntu (xfce4) I had the same problem but I managed to fix it as follows:

1 disabled the xfce4 power manager
2 installed the gnome power manager

and it worked. It seems that the xfce power manager in lucid has a problem. go figure why...

PS: no need to install samsung-backlight if your bios is OK
Post Reply