[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2010-02-08 Thread yleetiny
It seems that devicekit-power won't support the backlight, so I revert to HAL 
use even if it's depreciated. 
For those who wants backlight support in Karmic, here are the 3 modified files 
(work in xubuntu 9.10).

Reference :
http://www.mail-archive.com/devkit-de...@lists.freedesktop.org/msg00219.html


** Attachment added: "tarball of concerned files"
   http://launchpadlibrarian.net/38902808/sony-smartdimmer_karmic.tar

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-11-08 Thread yleetiny
** Bug watch added: GNOME Bug Tracker #593933
   https://bugzilla.gnome.org/show_bug.cgi?id=593933

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-11-08 Thread yleetiny
Hi,
firstly, sorry for not debbugging the issue in Karmic (sony laptop used for
work), so this post is purely informative, but may help the debbuging
process.

To better understand we the bug should be here is some technical infos :
1- sony_laptop (module): handle the Hardware-software FN keys dectection on
sony vaios (ex: 0x09 )

2- HAL (old, soon depreciated) : bind FN keys to the classic FN keys (ex:
0x09==brightnessdown)
 2bis- udev-extras (new) : should do the same thing as 2 [BUG HERE ???]

3- GNOME/KDE : link the classic FN keys to a general action. Do this via HAL
(soon depreciated) or udev+Device Kit (new)

4- HAL (old, depreciated?) : link a general action to a specific
command/program (our fix/package just do that : we use smartdimmer or
nvclocks)


That's why, as the issue of the FN keys recognition is different on KDE and
GNOME, I would tend to think that it's linked to HAL depreciation. Indeed, I
strongly think that KDE still use HAL for "FN bindings keys" from the
"sony_laptop" module, whereas GNOME use "udev" (udev-extras, see the
Halsectomy link below).

So maybe, we should install "udev-extras", test it, if it doesn't work : get
the source and modify it to match the HAL file
(30-keymap-module-sony-laptop.fdi)

Hoping that this talk will help,

Yohan Lee-tin-yien 

For References see :
https://wiki.ubuntu.com/Halsectomy
https://bugzilla.gnome.org/show_bug.cgi?id=593933
https://lists.ubuntu.com/archives/karmic-changes/2009-June/002621.html
https://wiki.ubuntu.com/Hotkeys/Troubleshooting

[ HAL file FN keys - intrepid version ]
/usr/share/hal/fdi/information/10freedesktop/30-keymap-module-sony-laptop.fdi

PS : That means that nowadays workaround "nvclocks/smartdimmer + HAL" will
probably not work for the next Ubuntu versions.


2009/11/6 benste 

> Hi again, I just took a look at the sources and can't locate this file
> either in "hal" and "hal-info" which should include the fdi to fix.
>
> Looks like I can't patch it :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-08-03 Thread yleetiny
@ Steve,

It should a good thing to leave the "sysfs path", but the thing is that nearly 
everything vaio specific rely on the "sony-laptop" module. The issue here is 
that the backlight device is created with a sysfs path for every viao (see 
"http://www.linux.it/~malattia/wiki/index.php/Sony-laptop";), even when it 
doesn't work. For our models, we know that the backlight interface is broken, 
so we try to correct it within HAL (deleting sysfs path, giving a new 
access_method which works).
So maybe, deleting the "sysfs path" is something that should naturally be done 
when a device is wrongly created/configured...
The other reason why I deleted it was because I do not know If other 
scripts/fdi files will wrongly interact with it.
The best solution should be to modify "sony-laptop" module to correctly detect 
the card and do what smartdimmer does, but I don't have the necessary skills to 
do that.

Hum, I also modified the num levels since there is in fact only 18 ( 15
- 100 by step of 5 ) and the corresponding scripts.

Here are the files from which I build the package, containing all the 
modifications ( with the "prepobing & deleting sysfs path" solution). I hope it 
will help...
 


** Attachment added: "sony-smartdimmer.tar"
   http://launchpadlibrarian.net/29834497/sony-smartdimmer.tar

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-08-02 Thread yleetiny
Maybe solution 1 : Could somebody try to move
 "/usr/share/hal/fdi/policy/10osvendor/10-sony-laptop-brightness.fdi"
into "/usr/share/hal/fdi/preprobe/20thirdparty" or if it is not working
"/usr/share/hal/fdi/preprobe/10osvendor/" ?
(obviously after moving it restart HAL or the computer)

2009/8/3 yohan Lee-tin-yien 

> I was hoping that I've done the trick. The issue is that the
> "10-laptop-panel-mgmt-policy.fdi" is loaded before
> "10-sony-laptop-brightness.fdi" (which delete the wrong sysfspath").
> Thus There is two solutions :
> 1- force the evaluation of "10-sony-laptop-brightness.fdi" before the other
> by changing its order. But it may become non-standard.
> 2- Second approach is to copy&paste the appropriate part of
> "10-laptop-panel-mgmt-policy.fdi" into "10-sony-laptop-brightness.fdi".
> I will search throught the specifications if solution 1 can be done without
> becoming non-standard. The thing to understand here is that the module
> "sony-laptop" (which give you keys, etc. on VAIOs) also create a backlight
> device with "linux.sys_fspath". This "sys_fspath" only work on old graphic
> cards. "10-sony-laptop-brightness.fdi" remove this "linux.sys_fspath" since
> it is the wrong one for our models.
> 2009/8/2 Alex 
>
>> @Steve,
>> You are absolutely right on all your points.
>> I have 2 related to the bug udi:
>>
>> 1) Nvidia card pci
>> udi = '/org/freedesktop/Hal/devices/pci_10de_1d8'
>>  info.linux.driver = 'nvidia'  (string)
>>  info.parent = '/org/freedesktop/Hal/devices/pci_8086_27a1'  (string)
>>  info.product = 'G72M [GeForce Go 7400]'  (string)
>>  info.subsystem = 'pci'  (string)
>>  info.udi = '/org/freedesktop/Hal/devices/pci_10de_1d8'  (string)
>>  info.vendor = 'nVidia Corporation'  (string)
>>  linux.hotplug_type = 2  (0x2)  (int)
>>  linux.subsystem = 'pci'  (string)
>>  linux.sysfs_path = '/sys/devices/pci:00/:00:01.0/:01:00.0'
>>  (string)
>>  pci.device_class = 3  (0x3)  (int)
>>  pci.device_protocol = 0  (0x0)  (int)
>>  pci.device_subclass = 0  (0x0)  (int)
>>  pci.linux.sysfs_path =
>> '/sys/devices/pci:00/:00:01.0/:01:00.0'  (string)
>>  pci.product = 'G72M [GeForce Go 7400]'  (string)
>>  pci.product_id = 472  (0x1d8)  (int)
>>  pci.subsys_product_id = 33263  (0x81ef)  (int)
>>  pci.subsys_vendor = 'Sony Corporation'  (string)
>>  pci.subsys_vendor_id = 4173  (0x104d)  (int)
>>  pci.vendor = 'nVidia Corporation'  (string)
>>  pci.vendor_id = 4318  (0x10de)  (int)
>>
>> 2) the backlight
>> udi = '/org/freedesktop/Hal/devices/computer_backlight'
>>   info.capabilities = {'laptop_panel'} (string list)
>>  info.category = 'laptop_panel'  (string)
>>   info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string
>> list)
>>   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
>>  info.product = 'Generic Backlight Device'  (string)
>>  info.subsystem = 'backlight'  (string)
>>  info.udi = '/org/freedesktop/Hal/devices/computer_backlight'  (string)
>>  laptop_panel.access_method = 'sony-nvidia'  (string)
>>  laptop_panel.num_levels = 18  (0x12)  (int)
>>  linux.hotplug_type = 2  (0x2)  (int)
>>  linux.subsystem = 'backlight'  (string)
>>   org.freedesktop.Hal.Device.LaptopPanel.method_argnames =
>> {'brightness_value', ''} (string list)
>>  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths =
>> {'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string
>> list)
>>  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness',
>> 'GetBrightness'} (string list)
>>  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''}
>> (string list)
>>
>> The first one (nvidia pci) is used in 10-sony-laptop-brightness.fdi to
>> match the video card by its primary_video.product.
>> The second one (the backlight) is used in 10-laptop-panel-mgmt-policy.fdi
>> to add necessary config.
>> In the latter fdi the following matching rules are used:
>>
>> 
>> 
>> 
>>
>> According to the rules it should match the second udi (the
>> backlight),and as the udi does not contain "linux.sysfs_path" then
>> necessary attributes should be added. But on my (and most likely
>> benste's) config it does not. May be there is a bug in the process of
>> rules being applied? But if I change the last matching rule to
>>
>> 
>>
>> it works!
>>
>> Why do we need to check if "linux.sysfs_path" exists to apply the
>> config? Can we check for "laptop_panel.access_method"=sony-nvidia, as we
>> make this assingment in 10-sony-laptop-brightness.fdi?
>>
>> I guess the rule should look like this (I am not an expert, but the
>> complete beginner):
>>
>> 
>>
>> Your thoughts?
>>
>> P.S.
>> I've just checked the above rule. It does not work. But the following
>> 
>> works!
>>
>> --
>> sony brighness on a geforce series older than 8 (nvclock works fine)
>> https://bugs.launchpad.net/bugs/277589
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
>

-- 
sony brighness on a geforce series older than 8 (nvc

Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-08-02 Thread yleetiny
I was hoping that I've done the trick. The issue is that the
"10-laptop-panel-mgmt-policy.fdi" is loaded before
"10-sony-laptop-brightness.fdi" (which delete the wrong sysfspath").
Thus There is two solutions :
1- force the evaluation of "10-sony-laptop-brightness.fdi" before the other
by changing its order. But it may become non-standard.
2- Second approach is to copy&paste the appropriate part of
"10-laptop-panel-mgmt-policy.fdi" into "10-sony-laptop-brightness.fdi".
I will search throught the specifications if solution 1 can be done without
becoming non-standard. The thing to understand here is that the module
"sony-laptop" (which give you keys, etc. on VAIOs) also create a backlight
device with "linux.sys_fspath". This "sys_fspath" only work on old graphic
cards. "10-sony-laptop-brightness.fdi" remove this "linux.sys_fspath" since
it is the wrong one for our models.
2009/8/2 Alex 

> @Steve,
> You are absolutely right on all your points.
> I have 2 related to the bug udi:
>
> 1) Nvidia card pci
> udi = '/org/freedesktop/Hal/devices/pci_10de_1d8'
>  info.linux.driver = 'nvidia'  (string)
>  info.parent = '/org/freedesktop/Hal/devices/pci_8086_27a1'  (string)
>  info.product = 'G72M [GeForce Go 7400]'  (string)
>  info.subsystem = 'pci'  (string)
>  info.udi = '/org/freedesktop/Hal/devices/pci_10de_1d8'  (string)
>  info.vendor = 'nVidia Corporation'  (string)
>  linux.hotplug_type = 2  (0x2)  (int)
>  linux.subsystem = 'pci'  (string)
>  linux.sysfs_path = '/sys/devices/pci:00/:00:01.0/:01:00.0'
>  (string)
>  pci.device_class = 3  (0x3)  (int)
>  pci.device_protocol = 0  (0x0)  (int)
>  pci.device_subclass = 0  (0x0)  (int)
>  pci.linux.sysfs_path = '/sys/devices/pci:00/:00:01.0/:01:00.0'
>  (string)
>  pci.product = 'G72M [GeForce Go 7400]'  (string)
>  pci.product_id = 472  (0x1d8)  (int)
>  pci.subsys_product_id = 33263  (0x81ef)  (int)
>  pci.subsys_vendor = 'Sony Corporation'  (string)
>  pci.subsys_vendor_id = 4173  (0x104d)  (int)
>  pci.vendor = 'nVidia Corporation'  (string)
>  pci.vendor_id = 4318  (0x10de)  (int)
>
> 2) the backlight
> udi = '/org/freedesktop/Hal/devices/computer_backlight'
>   info.capabilities = {'laptop_panel'} (string list)
>  info.category = 'laptop_panel'  (string)
>   info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string
> list)
>   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
>  info.product = 'Generic Backlight Device'  (string)
>  info.subsystem = 'backlight'  (string)
>  info.udi = '/org/freedesktop/Hal/devices/computer_backlight'  (string)
>  laptop_panel.access_method = 'sony-nvidia'  (string)
>  laptop_panel.num_levels = 18  (0x12)  (int)
>  linux.hotplug_type = 2  (0x2)  (int)
>  linux.subsystem = 'backlight'  (string)
>   org.freedesktop.Hal.Device.LaptopPanel.method_argnames =
> {'brightness_value', ''} (string list)
>  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths =
> {'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string
> list)
>  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness',
> 'GetBrightness'} (string list)
>  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''}
> (string list)
>
> The first one (nvidia pci) is used in 10-sony-laptop-brightness.fdi to
> match the video card by its primary_video.product.
> The second one (the backlight) is used in 10-laptop-panel-mgmt-policy.fdi
> to add necessary config.
> In the latter fdi the following matching rules are used:
>
> 
> 
> 
>
> According to the rules it should match the second udi (the
> backlight),and as the udi does not contain "linux.sysfs_path" then
> necessary attributes should be added. But on my (and most likely
> benste's) config it does not. May be there is a bug in the process of
> rules being applied? But if I change the last matching rule to
>
> 
>
> it works!
>
> Why do we need to check if "linux.sysfs_path" exists to apply the
> config? Can we check for "laptop_panel.access_method"=sony-nvidia, as we
> make this assingment in 10-sony-laptop-brightness.fdi?
>
> I guess the rule should look like this (I am not an expert, but the
> complete beginner):
>
> 
>
> Your thoughts?
>
> P.S.
> I've just checked the above rule. It does not work. But the following
> 
> works!
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-08-02 Thread yleetiny
Here is a new version of 
"/usr/share/hal/fdi/policy/10osvendor/10-sony-laptop-brightness.fdi" which 
should work.
I just removed the "linux.sysfs_path" for all model to do the trick.
Can somebody test it ?

@Alex : Thanks a lot for your highlights

@benste :
I did not try on Karmic. Since I do not wish to mess up my laptop install 
(work), I don't expect to do it. If somebody just try it, it should be great.

** Attachment added: "modified version - which needs testing"
   http://launchpadlibrarian.net/29792257/10-sony-laptop-brightness.fdi

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-08-01 Thread yleetiny
* Thanks a lot Alex for your help, I think that I now understand what is wrong.
* On my computer "HAL" workaround is working, here is the infos on my device.
yleet...@vaio-vgnc2zb-yohan:~$ hal-find-by-property --key info.category 
--string laptop_panel | xargs lshal -u
udi = '/org/freedesktop/Hal/devices/computer_backlight'
  info.addons = {'hald-addon-generic-backlight'} (string list)
  info.capabilities = {'laptop_panel'} (string list)
  info.category = 'laptop_panel'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Generic Backlight Device'  (string)
  info.subsystem = 'backlight'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_backlight'  (string)
  laptop_panel.access_method = 'sony-nvidia'  (string)
  laptop_panel.num_levels = 18  (0x12)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'backlight'  (string)
  org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', 
''} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = 
{'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 
'GetBrightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string 
list)

* As you can see, I somehow got the method/functions to set/get brightness. The 
differences are :
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', 
''} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = 
{'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 
'GetBrightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string 
list)

* I searched down what fdi file do it, it's
"/usr/share/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi".
I'm attaching mine with this post. By comparing it with its source
version from package "hal-info", I see that all those informations where
completly deleted somehow. I tend to think that my workarounds became
obsolete. Neithertheless, a simple solution should be add previous "10
-laptop-panel-mgmt-policy.fdi" under another name like "10-my-obsolete-
laptop-panel-mgmt-policy.fdi" in "/usr/share/hal/fdi/policy/10osvendor/"
( and then just restart HAL or your computer).

* Could somebody try that workaround ?

** Attachment added: "10-laptop-panel-mgmt-policy.fdi"
   http://launchpadlibrarian.net/29769025/10-laptop-panel-mgmt-policy.fdi

** Changed in: hal (Ubuntu)
   Status: Triaged => In Progress

** Changed in: hal (Ubuntu Jaunty)
   Status: Triaged => In Progress

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-05-05 Thread yleetiny
Yes, you're right .diff files are better.
It's just that I forgot to backup the previous files, so I cannot generate
them asap.
You'll here find there the 3 files that I modified.
their paths are "/usr/lib/hal/scripts/linux" and
"/usr/share/hal/fdi/policy/10osvendor"
Just diff them for me.

2009/5/5 jcialdea 

> I guess I could be a lot more specific. My system is:
> Sony VGN-S480
> Centrino 2.0Ghz
> nVidia GeForece Go 6200
>
> The deb "sony-smartdimmer_0.3.deb" worked, except the limitations I
> noted earlier. I have not tried 0.4 yet.
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>


** Attachment added: "10-sony-laptop-brightness.fdi"
   http://launchpadlibrarian.net/26367904/10-sony-laptop-brightness.fdi

** Attachment added: "hal-system-lcd-get-brightness-linux"
   http://launchpadlibrarian.net/26367905/hal-system-lcd-get-brightness-linux

** Attachment added: "hal-system-lcd-set-brightness-linux"
   http://launchpadlibrarian.net/26367906/hal-system-lcd-set-brightness-linux

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-05-04 Thread yleetiny
Sorry guys,
I don't really understand why it is not working, but you have to uninstall
the previous version of the package first, or maybe the paths I use are only
for 64bits.
I'm sorry, but I don't have a lot of time to help you for now.
So, could you extract the package, and try to install manually the files ?
each file have suffixes ".smart" (to prevent conflicts with HAL files).
I joined here the small script I use to debug. It will use HAL through DBUS.
2009/5/4 benste 

> smartdimmer -s 15 is the minimum :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>


** Attachment added: "Brightness_test.sh"
   http://launchpadlibrarian.net/26339628/Brightness_test.sh

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-05-03 Thread yleetiny
Sorry, I didn't test my package, there was wrong path and name for the fdi
file.
Here is a new one.

2009/5/3 jcialdea 

> That package fixes the main issue for me - the hotkeys now control the
> brightness.  Thanks yleetiny.
>
> However - I do not have 18 brightness levels when using the hotkeys - I
> have 5 - but the 5 levels seem to cover the full brightness range.
>
> Also, the brightness notification pop-up does not show the correct
> brightness - though it is relatively correct.  The bar only goes about
> 1/4 of the way up when the screen is at its maximum brightness.  If the
> "brighter" hotkey is pressed when the bar is at its maximum point, the
> bar becomes slightly shorter, though the screen brightness does not
> change.  Another tap on the "brighter" hotkey increases the bar length
> back to the "maximum" (1/4 filled) position.  Repeated presses cycle
> between these two states - but the screen brightness stays at its
> maximum value.
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>


** Attachment added: "sony-smartdimmer_0.4.deb"
   http://launchpadlibrarian.net/26274690/sony-smartdimmer_0.4.deb

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2009-05-02 Thread yleetiny
Sorry guys, I thought the bug was already solved.
I made a quick fix. What differs from original distribution version is :
1- I only make 18 levels since for me smartdimmer goes from 15 to 100 with a 
step of 5.
2- I removed the "sysfspath" of the backlight card (that "sony-laptop" wrongly 
creates). When HAL find a sysfspath, it will prefer to use the "sysfspath" 
instead of the "sony-nvidia" method.

I made a quick package to make it easier to test/install/uninstall, for
details just unzip it.

** Attachment added: "the package"
   http://launchpadlibrarian.net/26260654/sony-smartdimmer_0.3.deb

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306614] Re: Pulseaudio and gnome-power-manager crash when unplugging ac power while playing on a bluetooth headset

2009-01-22 Thread yleetiny
I reproduced this symptom with debug symbols installed but there is no
files generated in "/var/crash" so I don't think that a report from
apport was made.

-- 
Pulseaudio and gnome-power-manager crash when unplugging ac power while playing 
on a bluetooth headset
https://bugs.launchpad.net/bugs/306614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-12-13 Thread yleetiny
I agree that submitting patches are the best way to solve a bug, and I was my 
goal when I try to dig into the issue.
But in our case, I don't really think that is a bug of nvclock nor HAL, but 
more likely an experimental support.

I made the idea of packages since the issue is long well known but do
not have an easy solution. Indeed, the solutions proposed cannot be made
into patches of the main packages. The long term solution is in fact a
patch of sony-laptop module, but it is unlikely that this module will be
updated soon since there is a lack of data and it is now shipped within
the default kernel.

== Nvclock ==
It is a developpement version, so it cannot go into the proposed packages. But 
we can make an experimental package of nvclock cvs since it introduce an 
experimental support of geforce 8

== hal-info, nvclock==
I cannot propose a patch since it will add a depedency on hal-info to nvclock. 
When I analysed the traditionnal way to dim backlight, I saw that they are just 
echo to a device (linked to a proper module). That is why I propose an extra 
package.
There should not need to make different packages for geforce6,7 or 8 users, if 
nvclock-cvs-experimental is correctly packaged.

@Shawe Ewahs
To detect the card, I use pci-ids, but I also need to check that the 
manufacturer is sony. Why?
If geforce6 and 7 for laptop are called Geforce Go series and I can found their 
pci-ids, for Geforce8, I do not know what exact model are laptop graphics card 
with dimming functionabilities. So I listed all the Geforce8 cards + sony = 
sony laptop that have a geforce8 series card. I attached the fdi file which is 
in : "/usr/share/hal/fdi/information/10freedesktop".
I think that I can remove the "sony" manufacturer match if I know all the 
geforce8 models for laptop.
NB : I am also a begginer in packaging files. My package is just a package 
which will copy some files and execute some scripts. I read some documents to 
make them but they are in French, but you should be able to find some documents 
over the internet.

== acpi ==
This one, can be considered as a real bug which can be solved by a patch, but I 
don't know if today is a correct configuration file for all sony-vaio users.

** Attachment added: "fdi file to match sony + geforce Go + geforce8"
   http://launchpadlibrarian.net/20407010/10-sony-laptop-panel-mgmt-policy.fdi

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-12-11 Thread yleetiny
To Shawe Ewahs :
Hum, how can I say it?
Your script is a great workaround, it compiles cvs, etc.. etc.. and it is 
really great.
But I tend to think that we need to go on the next step : DEB packages.

Why? 
Simply because it is easier for people to install, it is somehow cleaner. The 
other reason is that the small tweaks for HAL will never be taken in the main 
stream since it depends on a program ( "nvclock" or "smartdimmer") whereas it 
should be simple "echo"s .
So I think in the current situation, the best thing would be a ppa where you 
can find the differents packages :
 1- nvclock, cvs version for geforce8 users ( with the correct paths, because 
it is needed for "2**" )
 2**- hal-sony-nvclock, to get brightness support through HAL, it will give you 
the small OSD when you change brightness, the applet compatibility too, in 
short it will give GNOME or KDE or whatsoever the capability to dimm your 
brightness. Which will work for Geforce 6,7 and 8
 3- acpi-sony-nvclock, to give acpi the possibility to dimm the brightness. 
Those things should go to the main stream.

Why did I say mine is better for the HAL part?
The only issue that there is in your hal configuration is that is not "out of 
the box" since you need to give your model. I actually made the script you use 
for HAL(I can recognise my comments) for geforce6 and 7 users using 
smartdimmer, and the first reaction was : it does'nt work, since their model 
wasn't listed. So I developped another approach which is to identify that the 
manufacturer is "Sony" and that your main card is a listed nvidia geforce 6,7 
or 8. This approach will avoid two cases : the unlisted vaio model and the fact 
that if you use 2 graphic cards, it won't try to dimm something not active as 
your main card.
The thing now, is that I do not have 2 graphics card on my laptop and my 
package haven't been tested enough to be sure that everything works flawless. 
That's why I asked people to try my package.

In short, Workarounds are great but being able to find a durable
solution is even better.

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-12-09 Thread yleetiny
@Everybody
Hum why nobody is trying my package for the FN-keys?
You can find it in the description.
It should work after a reboot.
I admit that the "install-FnKeys-sony-nvidia" also install FN-keys through 
acpi. Mine only use, HAL.
Maybe i will try to make a package for the whole thing.
But since my package does not rely on the vaio model but instead on the video 
card itself + manufacturer = sony, it should be great if people try it, and 
give us feedbacks.

@Shawe Ewahs
Could you recompile the .deb file to install nvclock in "/usr/bin" instead of 
"/usr/local/bin" for amd64 and 32bits, please?
This thing should make "nvclock" cvs compatible with the actual ubuntu install.
So there will be a common "hal-sony-nvclock.deb" to correct FN-keys for all 
nvclock users.

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306614] Re: Pulseaudio and gnome-power-manager crash when unplugging ac power while playing on a bluetooth headset

2008-12-09 Thread yleetiny

** Attachment added: "pulseaudio.strace"
   http://launchpadlibrarian.net/20326207/pulseaudio.strace

-- 
Pulseaudio and gnome-power-manager crash when unplugging ac power while playing 
on a bluetooth headset
https://bugs.launchpad.net/bugs/306614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306614] Re: Pulseaudio and gnome-power-manager crash when unplugging ac power while playing on a bluetooth headset

2008-12-09 Thread yleetiny
here is both strace file of : gnome-power-manager and pulseaudio
NB : I manually killed gnome-power-manager

** Attachment added: "gnome-power-manager.strace"
   http://launchpadlibrarian.net/20326182/gnome-power-manager.strace

-- 
Pulseaudio and gnome-power-manager crash when unplugging ac power while playing 
on a bluetooth headset
https://bugs.launchpad.net/bugs/306614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 306614] [NEW] Pulseaudio and gnome-power-manager crash when unplugging ac power while playing on a bluetooth headset

2008-12-09 Thread yleetiny
Public bug reported:

This bug appears in Ubuntu 8.10, previous version didn't have this bug.
# my linux version
uname -r
2.6.27-10-generic

# How to produce the bug ? :
1- configure your bluetooth heaset for alsa in ~/.asoundrc :
mine is: 
pcm.bluetooth {
type bluetooth
device "00:13:A9:C5:27:81" #optional, connects to specific device 
instead the default one
profile "hifi" #optional, supported profiles are: auto, 
hifi and voice 
}
2- load it in pulseaudio :
pactl load-module module-alsa-sink device=bluetooth

3- play some music with mplayer for example
4- unplug your ac-power.

# what are the consequences :
pulseaudio : segmentation fault
gnome-power-manager : locks in some kind of a bug => need to kill it manually

# my investigations :
bluetooth headset + pulseaudio + gnome-power-manager : bug
bluetooth headset + alsa+ gnome-power-manager : no bug 
No BT headset   + pulseaudio + gnome-power-manager : no bug
BT headset + pulseaudio
: no bug

** Affects: gnome-power
 Importance: Undecided
 Status: New

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Status: New

** Also affects: gnome-power
   Importance: Undecided
   Status: New

-- 
Pulseaudio and gnome-power-manager crash when unplugging ac power while playing 
on a bluetooth headset
https://bugs.launchpad.net/bugs/306614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-12-01 Thread yleetiny
There is no need to a file to increase backlight since you only need to know 
how to get and set the correct value.
Since you made a script on for sony vaio geforce 8, it seems to me that your 
last post is solved.
The problem in the script above is the "sudo" use, it seems you need to use the 
"HOME=/root" environnement path and full path to nvclock since you 
compile/install it in /usr/local/bin which is not part of the PATH 
environnement by default.

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-12-01 Thread yleetiny
I will make my comments on each models : 
*** VGN-BZ12XN ***
1- you have 2 backlights interfaces : one from sony-laptop, the other from 
acpi, you may have backlight control for it through acpi, or an applet. 

2- you have the "sony-laptop" module, correctly associated in hal : "sony vaio 
jogdial" & "sony vaio keys".
So, that means either "hal" informations to associate FN-keys are wrong, or 
sony-laptop module does not support your model.
Your keymaps are (extract from your file) :
 input.keymap.data = {'0x06:mute', '0x07:volumedown', '0x08:volumeup', 
'0x09:brightnessdown', '0x0a:brightnessup', '0x0b:switchvideomode', 
'0x0e:zoom', '0x10:suspend'} (string list)

Please, verify that the informations are correct, with this link :
http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-modules-data.html#sony

*** VGN-Z21WN_B ***
1- You have a Geforce "GeForce 9300M GS", so you won't have backlight control 
on it (the backlight control on geforce 8 is still experimental)

2- same second point as "VGN-BZ12XN"

*** CR-220E ***
1- you have 3 backlight interfaces : 1 sony, 2 throught acpi 
2- same second point as "VGN-BZ12XN"

Unfortunately, if nothing is wrong with the 2nd point, that probably
means that new vaios FN keys are different from the existings ones, in
that case, I don't have the necessary knowledge to deal with it, you
should contact Mattia Dongili, writter of the sony-laptop module. Here
is his wiki link : http://www.linux.it/~malattia/wiki/index.php/Sony-
laptop

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-11-30 Thread yleetiny
** Description changed:

  I have a Sony VAIO VGN-NR230AE. It's a Brazilian VAIO model, not sure
  whether it's available in America but in Brazil it's very popular. Right
  from the start after installing Ubuntu 8.04 I noticed that only the
  volume up, volume down, mute, Pause, Break and Scroll Lock Fn-keys work.
  None of the others (Brightness Up, Brightness Down, switch video output,
  zoom, sleep, S1 and AV Mode) does anything.
  
  After going through
  https://wiki.ubuntu.com/LaptopTestingTeam/HotkeyResearch I discovered
  that my Fn keys aren't producing any ACPI events or magic numbers, using
  any of the methods described there.
+ 
+ acpi event are discovered for vgn-nr230e, but a few other models don't. 
+ MODELS CONCERNED : VGN-BZ12XN ; CR-220E

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-11-30 Thread yleetiny
Could you please, attach the result of lshal?
I'm going to verify what goes wrong...

For others helpfull informations are available at :
http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-modules.html

Eventually if somebody can try the latest sony-laptop module.

PS : I can confirm that the module sonypi is no longer necessary for my
vaio-model VGN-C2ZB

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-11-23 Thread yleetiny
the use of fn-keys on vaio models depends on the module "sony-laptop" 
previously named "sonypi".
so first, verify that the module is correctly loaded.
"lsmod | grep -i sony"
then, the link beetween the fn-keys module and traditionnal keycodes are made 
through HAL (Hardware Abstraction Layer ). If something goes wrong there, xev 
and the traditionnal programs for keybiddings debug won't work.
I think your bug lies there.

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-11-21 Thread yleetiny
** Description changed:

  Using Ubuntu on Sony Vaio laptop with Nvidia 8 vga card:
  
  There is no way to control backlight brightness on Sony Vaios with 8-series 
adapters, e.g.
  nVidia Corporation GeForce 8400M GS
  nVidia Corporation GeForce 8600M GT (rev a1)
  
  The registers have been found (kudos to mikes!) and incorporated into
  nvclock, which you can check out by anonymous cvs and install:
  
  ]$ sudo apt-get install cvs
  ]$ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/nvclock login
  ]$ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/nvclock co -P nvclock
  ]$ cd nvclock
  ]$ ./autogen.sh
  ]$ ./configure
  ]$ make
  ]$ sudo make install
  
  To test, make sure you are using nVidia's proprietary driver, then:
  ]$ sudo nvclock -S 100
  ]$ sudo nvclock -S 15
  ]$ sudo nvclock -S +10
  
  So far mikes' registers have been found to work on:
  
  8400M GS:
  VGN SZ650N, SZ61MN/B, SZ730E, SZ750N, SZ71MN/B, SZ71E
  
  8400M GT:
  VGN FZ38M, FZ31M, FZ11Z, NR31, AR41E, FZ11S, FZ290, FZ250AE, FZ21E, FZ21M, 
FZ470E, FZ340E, FZ190N, FZ18M, FZ31E
  
  8600M GS:
  VGN FZ31Z, FZ21Z
  
  8600M GT:
  VGN AR51SU, AR71S
  
  Add your model to the list by clicking on the "Update description /
  tags" link, NOT by asking in a bug comment for someone else to do it.
  
  To get hotkeys to work, follow the instructions in this comment:
  https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/95444/comments/75
+ or install the package at :
+ https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/95444/comments/111
  
  Dual-adapter models (SZ6 among others) can get backlight control with
  the Intel adapter using xbacklight, and can get hotkey functionality as
  per bug #173652.

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-11-17 Thread yleetiny
I have modified my small package to use the full pathbut it will break the 
compatibility with the other models.
( /usr/bin/nvclock ) . I also remove the nvclock package dependency your 
nvclock version is not linked to the package.
NB: I also use the "HOME=/root" environement before it... since i read that it 
is a way to make nvclock work in a script.

In my package i don't use the vaio model... but the pci id of the main
graphic card. I tend to think it is a better way since some model have 2
graphics cards. Even if the "match" file it is quite long...

You can just extract the package to see the different files...


** Attachment added: "deb package to hal/geforce8 backlight configuration"
   http://launchpadlibrarian.net/19739370/sony-nvclock_0.3.beta2.deb

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-11-14 Thread yleetiny
To renato neves and axx
Sony Vaio VGN FZ31M have a Geforce 8400 series, this bug report only treats the 
geforce 6/7 series.
You should report on the bug 95444
Some workaround exists there using the cvs version of nvclock

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 295028] Re: error inserting iwl3945

2008-11-07 Thread yleetiny
this is a duplicate of bug 294667

-- 
error inserting iwl3945 
https://bugs.launchpad.net/bugs/295028
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 295028] Re: error inserting iwl3945

2008-11-07 Thread yleetiny
I have the same bug, same hardware. So I confirm that it is
reproductible

-- 
error inserting iwl3945 
https://bugs.launchpad.net/bugs/295028
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 95444] Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

2008-10-28 Thread yleetiny
Does somebody have tried to patch smartdimmer too?

I was originally working on HAL configuration to make the FN-keys & the
gnome brightness applet & the on-screen display work with smartdimmer. I
made a .deb for it like somebody said.

I am actually trying to use "nvclock" instead with the workaround ( sudo
cp -r ~/.nvclock /root ) . It works but there is a significant cpu
consumption that i didn't found in smartdimmer.

So if somebody can make something like smartdimmer or patch it for the
nvidia 8 cards. It will be great.

Here is a testing package to use nvclock.

PS: you need to have the nvclock cvs version working, install the package and 
do : 
sudo cp -r ~/.nvclock /root 
sudo /etc/init.d/hal restart


** Attachment added: "deb file"
   http://launchpadlibrarian.net/18963808/sony-nvclock_0.3.beta.deb

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-10-19 Thread yleetiny
I made some modification to base the recognition not on the vaio model but
on the graphic card

See Bug 277589 to get it
2008/10/19 enton <[EMAIL PROTECTED]>

> Hello,
>
> my FN Keys are working too. But I got a Sony Vaio VGN-FE11H. First it only
> display that the brightness would change, but nothing happend. After I
> installed hal-sony-lcd-wa_0.5-1_i386.deb it still doesnt work. But then I
> change the
>
> /usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi
> file and insert my Vaio model like yleetiny above tells and now its works.
>
> Thank you very much for the package and the informations.
>
> Ps
> sorry for my english...
>
> --
> LCD brightness setting doesn't work with Sony Vaio VGN-S5M
> https://bugs.launchpad.net/bugs/77739
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-10-19 Thread yleetiny
Sorry I said a small mistake in my previous post : if the sony-laptop
module work correctly and your HAL is well configured , you should be
able to see acpi events, since HAL will add the neccessary FN-keys to
your keyboard.

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-19 Thread yleetiny
Here is a new deb file.
I change the matching method so that it should work for every vaio using a 
Geforce 6/7 Go .


** Attachment added: "sony-smartdimmer_0.2.deb"
   http://launchpadlibrarian.net/18694638/sony-smartdimmer_0.2.deb

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-19 Thread yleetiny
My debian file only work for a listed vaio models,
could you please give me the result of 
lshal | grep -i vgn
please?
I will add your model asap

PS: I'm searching for a way to better match all geforce 6/7 series, but
i don't know how i can make it. Until this math isn't done only a few
models will be supported

On sam, 2008-10-18 at 23:38 +, getaceres wrote:
> I've installed the .deb file on Intrepid on a Vaio FE31Z but still I
> can't change the brightness with the Fn keys.
>

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 251665] Re: Fn keys on VAIO don't produce keystrokes nor ACPI events

2008-10-18 Thread yleetiny
The FN-keys for sony vaios are not linked to acpi, but linked to the
module sony-laptop. As its developper wrote on his wiki, the Fn-keys are
now mapped through HAL (Hardware Abstraction Layer). So it is normal
that there is no acpi event at all. Concerning the brigthness support
see bug 277589, there is a solution there, for those who can use
smartdimmer.

-- 
Fn keys on VAIO don't produce keystrokes nor ACPI events
https://bugs.launchpad.net/bugs/251665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-18 Thread yleetiny
Could someone assign this bug to hal and hal-info, please?

I made a .deb to make the different modifications necessary to have both FN 
hotkeys and brightness control possible.
It will relies on "smartdimmer" instead of nvclock, since i cannot nvclock 
though "hal"

The use of hal is better than the use of acpi, for the main reason that
acpi : use only up & down, instead hal : use set, and get which allow
all the gnome features to work (brightness control applet, gnome-power-
manager... )


** Attachment added: "sony-smartdimmer.deb"
   http://launchpadlibrarian.net/18657588/sony-smartdimmer.deb

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-10-18 Thread yleetiny
Here is a package to install the new method "sony-smartdimmer" in hal and 
hal-info.
It will allows the sony vaio user who can use smartdimmer to change their 
brightness, to change their brightness though the gnome-applet, and also have a 
functionnal FN-keys.

NB: only a few model will have the FN-keys working, there are 5 models at the 
moment :
 VGN-S5M_S, VGN-FE31M, VGN-FE21M, VGN-C2Z_B, VGN-FE48E

** Attachment added: "sony-smartdimmer.deb"
   http://launchpadlibrarian.net/18656687/sony-smartdimmer.deb

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-15 Thread yleetiny
I make some diff files for the scripts, you should just reinstall hal
and hal-info ( "sudo aptitude reinstall hal hal-info" )

then patch them with the commands :
sudo
patch /usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux
hal-system-lcd-get-brightness-linux.diff 

sudo
patch /usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux
hal-system-lcd-set-brightness-linux.diff

They are for the Intrepid version, so they should work


On mer, 2008-10-15 at 11:24 +, benste wrote:
> lol that's it:
> 
> but are you using an Ubuntu distribution, because it doesn't seem so,
> [...]
> If you are using a different distribution than Ubuntu or another version than 
> hardy please inform me to check what is different.
> 
> Yes I am using another distrobution like you'll maybe do in approx 15 days 
> too :-)
> it's Ubuntu 8.10 Interpid Ibex :-)
> 
> Should I test your advises there too?
> 
> PS: I modified the sony-laptop-brightness down|up skripts in
> ~/etc/acpi/events or something like that - where can I get the originall
> ones?
> 


** Attachment added: "hal-system-lcd-get-brightness-linux.diff"
   
http://launchpadlibrarian.net/18598995/hal-system-lcd-get-brightness-linux.diff

** Attachment added: "hal-system-lcd-set-brightness-linux.diff"
   
http://launchpadlibrarian.net/18598996/hal-system-lcd-set-brightness-linux.diff

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-14 Thread yleetiny
As I said it is very likely that the files on your computer and mine aren't at 
the same place,
but are you using an Ubuntu distribution, because it doesn't seem so, i just 
check the differents files in the x86 packages, and they should work. 

1- So firstly we need to fix your hal, then reinstall the differents files :
sudo apt-get reinstall hal-info hal smartdimmer

2- we need to verify if  different files exists
   # for the FN-Keys
ls -l 
/usr/share/hal/fdi/information/10freedesktop/30-keymap-module-sony-laptop.fdi
   # my modification on the method which should be used to change backlight 
(sony-nvidia)
ls -l 
/usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi
   # for the scripts to change backlight (set and get them) 
ls -l /usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux
ls -l /usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux

3- backup the scripts files and replace them with the ones that i gave you 
(attached with this post ):
#backup
cd /usr/lib/hal/scripts/linux/
sudo mv hal-system-lcd-get-brightness-linux 
hal-system-lcd-get-brightness-linux.back
sudo mv hal-system-lcd-set-brightness-linux 
hal-system-lcd-set-brightness-linux.back
#replace with the new ones
tar xvf a.tar
sudo cp hal-system-lcd-get-brightness-linux 
/usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux
sudo cp hal-system-lcd-set-brightness-linux 
/usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux
#make sure that they can be executed
sudo chmod +x /usr/lib/hal/scripts/linux/hal-system-lcd-set-brightness-linux 
/usr/lib/hal/scripts/linux/hal-system-lcd-get-brightness-linux
4- reboot your computer

I hope it works after this...If you are using a different distribution than 
Ubuntu or another version than hardy please inform me to check what is 
different. 
PS : I tested nvclock instead of smartdimmer but it doesn't work because cannot 
use nvclock within an hal script ( it returns errors ).

** Attachment added: "scripts hal for backlight (set and get)"
   http://launchpadlibrarian.net/18542705/a.tar

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-13 Thread yleetiny
Sorry,

1rstly, For the backup, and the cp I think the paths are all mixed up,
since i'm using a 64bits version.

to find the files : find /usr -iname
"hal-system-lcd-*et-brightness-linux", backup, and replace them with my
files.

2ndly, I also mess up with the name of your sony-laptop model, you need
to 
change the name "VGN-FE31Z" into "VGN-FE31M" in 
/usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi

Then reboot,
PS : 
If it still doesn't work, to verify if the things are ok, 
sudo smartdimmer -s 5 
# to change brightness, verify that smartdimmer works
lshal | grep -i "sony-nvidia" 
# hal have now the write method
if both of those things are ok, then that means that the 2 others files
(*set* and *get* ) are wrongly installed


On lun, 2008-10-13 at 18:15 +, benste wrote:
> I'm sorry, but it doesn't work for me:
> 1st
> 
> sudo mv /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux 
> /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux.back 
> sudo mv /usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux 
> /usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux.back 
> 
> resulted both in "file not found"
> but it  isn't necesarry because it's just a backup or?
> 
> 
> 2nd: smartdimmer and lshal:
> [EMAIL PROTECTED]:~$ sudo apt-get install smartdimmer
> [sudo] password for benste: 
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut   
> Lese Status-Informationen ein... Fertig
> smartdimmer ist schon die neueste Version.
> smartdimmer wurde als manuell installiert festgelegt.
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger 
> benötigt:
>   libgtkhtml3.16-cil
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> [EMAIL PROTECTED]:~$ apt-get autoremove 
> E: Konnte Lockdatei /var/lib/dpkg/lock nicht öffnen - open (13 Permission 
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
> [EMAIL PROTECTED]:~$ sudo apt-get autoremove 
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut   
> Lese Status-Informationen ein... Fertig
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger 
> benötigt:
>   libgtkhtml3.16-cil
> Die folgenden Pakete werden ENTFERNT:
>   libgtkhtml3.16-cil
> 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 238kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? j
> (Lese Datenbank ... 347411 Dateien und Verzeichnisse sind derzeit 
> installiert.)
> Entferne libgtkhtml3.16-cil ...
> [EMAIL PROTECTED]:~$ sudo apt-get remove smartdimmer 
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut   
> Lese Status-Informationen ein... Fertig
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger 
> benötigt:
>   toshset laptop-mode-tools
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> Die folgenden Pakete werden ENTFERNT:
>   acpi-support powermanagement-interface smartdimmer ubuntu-desktop
> 0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 1180kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? n
> Abbruch.
> [EMAIL PROTECTED]:~$ lshal | grep -i vgn -B 20 -A 20
>   info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
>   org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = 
> {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 
> 'enable_power_save'} (string list)
>   org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = 
> {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 
> 'hal-system-power-hibernate', 'hal-system-power-shutdown', 
> 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
>   org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 
> 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string 
> list)
>   org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 
> 'i', '', '', '', 'b'} (string list)
>   power_management.acpi.linux.version = '20080609'  (string)
>   power_management.can_hibernate = true  (bool)
>   power_management.can_suspend = true  (bool)
>   power_management.can_suspend_hybrid = false  (bool)
>   power_management.is_powersave_set = false  (bool)
>   power_management.quirk.none = true  (bool)
>   power_management.type = 'acpi'  (string)
>   system.chassis.manufacturer = 'Sony Corporation'  (string)
>   system.chassis.type = 'Notebook'  (string)
>   system.firmware.release_date = '08/17/2006'  (string)
>   system.firmware.vendor = 'Phoenix Technologies LTD'  (string)
>   system.firmware.version = 'R0170J3'  (string)
>   system.formfactor = 'laptop'  (string)
>   system.hardware.primary_video.product = 920  (0x398)  (int)
>   system.har

Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-13 Thread yleetiny
Sorry,

1rstly, For the backup, and the cp I think the paths are all mixed up,
since i'm using a 64bits version.

to find the files : find /usr -iname
"hal-system-lcd-*et-brightness-linux", backup, and replace them with my
files.

2ndly, I also mess up with the name of your sony-laptop model, you need
to
change the name "VGN-FE31Z" into "VGN-FE31M" in
/usr/share/hal/fdi/information/10freedesktop/10-sony-laptop-panel-mgmt-policy.fdi

Then reboot,
PS :
If it still doesn't work, to verify if the things are ok,
sudo smartdimmer -s 5
# to change brightness, verify that smartdimmer works
lshal | grep -i "sony-nvidia"
# hal have now the write method
if both of those things are ok, then that means that the 2 others files
(*set* and *get* ) are wrongly installed

2008/10/13 benste <[EMAIL PROTECTED]>

> I'm sorry, but it doesn't work for me:
> 1st
>
> sudo mv /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux
> /usr/lib/hal/scripts/hal-system-lcd-get-brightness-linux.back
> sudo mv /usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux
> /usr/lib/hal/scripts/hal-system-lcd-set-brightness-linux.back
>
> resulted both in "file not found"
> but it  isn't necesarry because it's just a backup or?
>
>
> 2nd: smartdimmer and lshal:
> [EMAIL PROTECTED]:~$ sudo apt-get install smartdimmer
> [sudo] password for benste:
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-Informationen ein... Fertig
> smartdimmer ist schon die neueste Version.
> smartdimmer wurde als manuell installiert festgelegt.
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
>  libgtkhtml3.16-cil
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
> [EMAIL PROTECTED]:~$ apt-get autoremove
> E: Konnte Lockdatei /var/lib/dpkg/lock nicht öffnen - open (13 Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> [EMAIL PROTECTED]:~$ sudo apt-get autoremove
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-Informationen ein... Fertig
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
>  libgtkhtml3.16-cil
> Die folgenden Pakete werden ENTFERNT:
>  libgtkhtml3.16-cil
> 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 238kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? j
> (Lese Datenbank ... 347411 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Entferne libgtkhtml3.16-cil ...
> [EMAIL PROTECTED]:~$ sudo apt-get remove smartdimmer
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Lese Status-Informationen ein... Fertig
> Die folgenden Pakete wurden automatisch installiert und werden nicht länger
> benötigt:
>  toshset laptop-mode-tools
> Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
> Die folgenden Pakete werden ENTFERNT:
>  acpi-support powermanagement-interface smartdimmer ubuntu-desktop
> 0 aktualisiert, 0 neu installiert, 4 zu entfernen und 0 nicht aktualisiert.
> Nach dieser Operation werden 1180kB Plattenplatz freigegeben.
> Möchten Sie fortfahren [J/n]? n
> Abbruch.
> [EMAIL PROTECTED]:~$ lshal | grep -i vgn -B 20 -A 20
>  info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
>  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames =
> {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '',
> 'enable_power_save'} (string list)
>  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths =
> {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid',
> 'hal-system-power-hibernate', 'hal-system-power-shutdown',
> 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
>  org.freedesktop.Hal.Device.SystemPowerManagement.method_names =
> {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot',
> 'SetPowerSave'} (string list)
>  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i',
> 'i', '', '', '', 'b'} (string list)
>  power_management.acpi.linux.version = '20080609'  (string)
>  power_management.can_hibernate = true  (bool)
>  power_management.can_suspend = true  (bool)
>  power_management.can_suspend_hybrid = false  (bool)
>  power_management.is_powersave_set = false  (bool)
>  power_management.quirk.none = true  (bool)
>  power_management.type = 'acpi'  (string)
>  system.chassis.manufacturer = 'Sony Corporation'  (string)
>  system.chassis.type = 'Notebook'  (string)
>  system.firmware.release_date = '08/17/2006'  (string)
>  system.firmware.vendor = 'Phoenix Technologies LTD'  (string)
>  system.firmware.version = 'R0170J3'  (string)
>  system.formfactor = 'laptop'  (string)
>  system.hardware.primary_video.product = 920  (0x398)  (int)
>  system.hardware.primary_video.vendor = 4318  (0x10de)  (int)
>  system.hardware.product = 'VGN-FE31M'  (string)

Re: [Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-13 Thread yleetiny
You should do  what i wrote in a.sh, then reboot your computer.

you also have to install smartdimmer : " sudo apt-get install
smartdimmer "

if there is any problem, could you post the result of :

lshal | grep -i vgn -B 20 -A 20

please,

Thanks

2008/10/13 benste <[EMAIL PROTECTED]>

> sounds nice, but as you may been able to read before, I'm an absolutly
> beginner, (who normally don't speak English too :-)),
> and, I've got no knowledge of shellscripts, and many other things, so where
> should I put these files?
>
> PS: I understood the if then else, but not the indicators and all you
> wrote :-)
>
> --
> sony brighness on a geforce series older than 8 (nvclock works fine)
> https://bugs.launchpad.net/bugs/277589
> You received this bug notification because you are a direct subscriber
> of the bug.
>


** Attachment added: "a.sh"
   http://launchpadlibrarian.net/18504843/a.sh

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-13 Thread yleetiny
The problem lies in "hal", since the backlight method is wrongly done.
In fact, for every sony laptop, it say to use "echo {1..8}  > 
/proc/acpi/sony/brightness" instead of using smartdimmer or xbacklight.
Laurent Almeras and I modified some "hal" configuration files to make it work 
with smartdimmer, but we should nvclock instead.

I attached the differents "hal" modified files to make you see how it
works.

PS: sorry for my english and for not making a proper deb, i'm a beginner
on launchpad

** Attachment added: "hal configuration files"
   http://launchpadlibrarian.net/18498896/sony_backlight.tar.gz

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 277589] Re: sony brighness on a geforce series older than 8 (nvclock works fine)

2008-10-13 Thread yleetiny
The problem lies in "hal", since the backlight method is wrongly done.
In fact, for every sony laptop, it say to use "echo {1..8}  > 
/proc/acpi/sony/brightness" instead of using smartdimmer or xbacklight.
Laurent Almeras and I modified some "hal" configuration files to make it work 
with smartdimmer, but we should nvclock instead.

I attached the differents "hal" modified files to make you see how it
works.

PS: sorry for my english and for not making a proper deb, i'm a beginner
on launchpad

** Attachment added: "hal configuration files"
   http://launchpadlibrarian.net/18498895/sony_backlight.tar.gz

-- 
sony brighness on a geforce series older than 8 (nvclock works fine)
https://bugs.launchpad.net/bugs/277589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-30 Thread yleetiny
I can't reproduce this problem too...

Could you please give me the results of this command ?:
 grep -i hald /var/log/* > ~/hald_errors.log
which will create a file hald_errors.log in your HOME directory...
Please send us it...

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-30 Thread yleetiny
@Sebastian
is your issue reproductible after a complete reboot of your PC?
(maybe, there is an issue about hal, if you restart/start it manually when you 
are in an X session, i don't know)
If it is reproductible that will means that is a real issue
take us inform!
(sorry for my english i'm sure i've made a lot of mistakes)

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-28 Thread yleetiny
Laurent Almeras :
There is a really small bug in your file when I checked them its in your fdi 
file :
If you say  "laptop_panel.num_levels = 20 (0x15)  (int)"
that means the levels will begin from "0" to "19" ( 19-0+1= 20 =num_levels, 
that is the difference between the number of levels, and the maximum level) 
It implies that in fact there is "21" num_levels, so you have to update your 
fdi file! 

Sebastian Gaul :
I made some tests and it seems that the applet read its informations during the 
starting of gdm...

1- Firstly you will have to update your fdi file :
sudo gedit 
"/usr/share/hal/fdi/policy/10osvendor/10-sony-laptop-panel-mgmt-policy.fdi"  
change all the "20" into "21", then save :

2- restart hal :
sudo /etc/init.d/hal restart

3- restart your gdm (Ctrl + Alt + backspace), and enjoy

(NB: you can just reboot you computer to automatically restart hal and
gdm)

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-27 Thread yleetiny
Sebastian Gaul:
My script is not perfect : it overides the applet (in fact it does exactly what 
the applet does in a different language).
But i think it still a good thing because :
1- it better respect the security
2- with it Gnome brightness preferences works (when you swith form 
sector/battery the light changes)

Laurent Almeras:
Firstly thanks for all your work...
Secondly, setting the brightness for VAIO seems to be a common problem (on 
ubuntu's french forum), what we have done so far should works out of the box 
for smartdimmer users !
But unfortunately many users still have to use xbacklight or even software 
solution. I think we can easily provide a solution for them too.
Thinking a bit about it, it seems to me that the best way is just to use a 
common platform for all VAIO users in hal which will call acpi.
This way it will allows every users to set his brightness correctly (or if not  
with a software implementation).
Advantages :
1- more flexible (people will just have to change a variable to switch between 
different solution ("echo", xbacklight, smartdimmer,  nvclock)
2- it will reduce the complexity of the problem because there will have only 
one file or two for everyone
3- you can make it for every vaio users 
Disvantages :
1- it makes hal dépendant of acpi
2- others ideas that i haven't been thinking of...

Thirdly and Finally, i'm asking you if you're interrested in it so that
i can count on you to "package" it and helping me if i got a problem.

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-25 Thread yleetiny
Hello, i just make a topic on the developpement on the french ubuntu forum :
here is the link (you'll find other people that uses smartdimmer too, and
maybe test your solution on KDE)
http://forum.ubuntu-fr.org/viewtopic.php?id=185566

2008/1/25, LaurentAlmeras <[EMAIL PROTECTED]>:
>
> My packages updated :
>
> http://data.likide.homelinux.org/hal-sony-lcd-wa_0.4-1_amd64.deb
> http://data.likide.homelinux.org/hal-sony-lcd-wa_0.4-1_i386.deb
>
> (for the persons who use hardy, it seems there's at the moment a problem
> with policykit which breaks gnome-power-management lcd brightness
> setting).
>
> --
> LCD brightness setting doesn't work with Sony Vaio VGN-S5M
> https://bugs.launchpad.net/bugs/77739
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-25 Thread yleetiny
I know where the bug come from :
it's a range issue :
smartdimmer level goes from 1 to 21
hal laptop_panel level goes from 0 to 20 ( the one we want ).
but there is a small bug when you get / set the brightness :
so the lines :
"`smartdimmer -g| awk '{print $3;}`" should become "$(( `smartdimmer -g | awk 
'{print $3;}'` -1 ))"
and 
smartdimmer -s "$value" should become smartdimmer -s "$(( $value + 1 ))"

Laurent Almeras, will probably fix this problem as soon as he sees those
comments...

Neithertheless, the program i gave you have a small bug (in the "your new 
brightness level is: " ) but nothing harmful...
You don't have to run it in sudo... 
Meanwhile, Laurent Almeras corrects the small bug, you should be able to set it 
more or less properly by doing the command (my small script)
"Brightness_test.sh 5" for example, and then the up/down options should work... 
If they don't, please inform us...

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-24 Thread yleetiny
Yes it should work on Gusty...
It works for me (VAIO VGN-C2Z_B)

Have you tried the new package of LaurentAlmeras?

I made a small script to set/test your brightness...
Could you try it? (to see what is wrong, the getbrightness/the set Brightness)


** Attachment added: "Little script to set/test the brightness"
   http://launchpadlibrarian.net/11557208/Brightness_test.sh

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-24 Thread yleetiny
I don't really understand where the things are going wrong...
Have you reboot your hal by doing "/etc/init.d/hal restart" as root?
Then you should have in response to "lshal | grep sony-nvidia" this :

  laptop_panel.access_method = 'sony-nvidia'  (string)

If you have this, it means that you have the right informations about your
hardware...

To test if the patch works, you install the brightness applet and then try
to change the brightness...
If you expected the FN+F5 or FN+F6 to work, you will have to wait a little
since only recent kernels seems to detect correctly de keys...

I hope this will solve your problem

2008/1/24, Sebastian Gaul <[EMAIL PROTECTED]>:
>
> Thank you yleetiny, but nothing changed...
> What I did was installing the package
> http://data.likide.homelinux.org/hal-sony-lcd-wa_0.2-2_amd64.deb, then
> moved the file modified by yleetiny to
> /usr/share/hal/fdi/policy/10osvendor/10-sony-laptop-panel-mgmt-policy.fdi,
> as he said.
> Is there perhaps something I forgot?
>
>
> --
> LCD brightness setting doesn't work with Sony Vaio VGN-S5M
> https://bugs.launchpad.net/bugs/77739
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-24 Thread yleetiny
Sebastian Gaul:
Thanks, i have edited the fdi file to make it work, but i don't know how to 
create packages...
but if you want to make it work you can :
1- install the package
2- move the file attached here to :
"/usr/share/hal/fdi/policy/10osvendor/10-sony-laptop-panel-mgmt-policy.fdi "


** Attachment added: "the fdi file updated for VGN-FE48E"
   http://launchpadlibrarian.net/11529842/10-sony-laptop-panel-mgmt-policy.fdi

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-24 Thread yleetiny
Sebastian : could you post here the result of the command "lshal".

Laurent : I think that commenting out the exit line, will be necessary for some 
VAIO model, because the laptop_panel is partially detected as a sony's panel 
("linux.sysfs_path"). And thus, it uses it's behaviour ( the "echo" way and 
then exit)
For example, my lshal laptop_panel part is :

udi = '/org/freedesktop/Hal/devices/computer_backlight'
  info.capabilities = {'laptop_panel'} (string list)
  info.category = 'laptop_panel'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Generic Backlight Device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_backlight'  (string)
  laptop_panel.access_method = 'general'  (string)
  laptop_panel.num_levels = 8  (0x8)  (int)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'backlight'  (string)
  linux.sysfs_path = '/sys/class/backlight/sony'  (string)
  org.freedesktop.Hal.Device.LaptopPanel.method_argnames = {'brightness_value', 
''} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_execpaths = 
{'hal-system-lcd-set-brightness', 'hal-system-lcd-get-brightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_names = {'SetBrightness', 
'GetBrightness'} (string list)
  org.freedesktop.Hal.Device.LaptopPanel.method_signatures = {'i', ''} (string 
list)

If we comment or delete the "exits", no harm will be done since you have the 
same command in the end of the files...(I admit, it's not a clean).
So deleting the "exits" seems to me the best way to just make more things works 
(because i absolutely don't how to change the detection of the "sysfs" path ).

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 175826] Re: Gnome brightness-applet/ energy unable to support smartdimmer

2008-01-23 Thread yleetiny
Hello, there is a partial solution that you can find here...
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/77739/

Neithertheless, you may need to add your notebook model in the fdi file
to make it works...


PS: Sorry for my poor English, i'm new on launchpad and don't speak very well 
english (French)
If you cannot add your notebook model yourself, i can add it if you post the 
result of the command "lshal"

-- 
Gnome brightness-applet/ energy unable to support smartdimmer
https://bugs.launchpad.net/bugs/175826
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 77739] Re: LCD brightness setting doesn't work with Sony Vaio VGN-S5M

2008-01-21 Thread yleetiny
Hello LaurentAlmeras!
I just would like to say thanks for your solution...I used it on my Sony Laptop 
VGN-C2Z_B...

Indeed I had to modify your file just a little bit...that is to say 
1- Add my sony laptop model in the .fdi file by 
2- Comment two exits in the other files... 
I attach the "diff" files to this message

PS: Sorry for my bad english, i'm french and it's my first post on launchpad...
and maybe for my diff files (my first time too)

** Attachment added: "the diffs files"
   http://launchpadlibrarian.net/11461065/hal-sony-lcd-wa-0.2.tar.bz2

-- 
LCD brightness setting doesn't work with Sony Vaio VGN-S5M
https://bugs.launchpad.net/bugs/77739
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs