Bug#348338: lineak-kdeplugins: KMIX_VOLUP KMIX_VOLDOWN Macros change volume too drastically

2006-01-16 Thread Rick Friedman
Package: lineak-kdeplugins
Version: 2:0.8.4-1
Severity: normal


Since updating to version 2:0.8.4-1, I am finding that the KMIX_VOLUP 
KMIX_VOLDOWN macros are incrementing and decrementing the volume of the
mixer by 10. The increment  decrement used to be 3.

In my lineak.conf file, I have tried the changing the macro command to:

   VolumeDown = KMIX_VOLDOWN(3)
   VolumeUp = KMIX_VOLUP(3)

After restarting the lineak daemon, I find that the above changes make
no difference. The volume change is still 10 when pressing the volume
down  volume up keys.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages lineak-kdeplugins depends on:
ii  kdelibs4c2a   4:3.5.0-3  core libraries for all KDE applica
ii  libc6 2.3.5-12   GNU C Library: Shared libraries an
ii  libgcc1   1:4.0.2-7  GCC support library
ii  libice6   6.9.0.dfsg.1-3 Inter-Client Exchange library
ii  liblineak01:0.8.4-2  LinEAK development files
ii  libpng12-01.2.8rel-5 PNG library - runtime
ii  libqt3-mt 3:3.3.5-3  Qt GUI Library (Threaded runtime v
ii  libsm66.9.0.dfsg.1-3 X Window System Session Management
ii  libstdc++64.0.2-7The GNU Standard C++ Library v3
ii  libx11-6  6.9.0.dfsg.1-3 X Window System protocol client li
ii  libxext6  6.9.0.dfsg.1-3 X Window System miscellaneous exte
ii  lineakd   1:0.8.4-2  Linux support for Easy Access and 
ii  zlib1g1:1.2.3-9  compression library - runtime

lineak-kdeplugins recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348338: lineak-kdeplugins: KMIX_VOLUP KMIX_VOLDOWN Macros change volume too drastically

2006-01-16 Thread Aurelien Jarno

Hi,

Rick Friedman a écrit :

Package: lineak-kdeplugins
Version: 2:0.8.4-1
Severity: normal


Since updating to version 2:0.8.4-1, I am finding that the KMIX_VOLUP 
KMIX_VOLDOWN macros are incrementing and decrementing the volume of the
mixer by 10. The increment  decrement used to be 3.


The code of this part hasn't change and the default is still 3.


In my lineak.conf file, I have tried the changing the macro command to:

   VolumeDown = KMIX_VOLDOWN(3)
   VolumeUp = KMIX_VOLUP(3)

After restarting the lineak daemon, I find that the above changes make
no difference. The volume change is still 10 when pressing the volume
down  volume up keys.

I have tried on my system, setting a step in the configuration file 
works correctly.


Could you please try to run lineakd with the -v option and have a look 
at the output messages. It should tell you the old and the new value of 
the mixer.


Bye,
Aurelien

--
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348338: lineak-kdeplugins: KMIX_VOLUP KMIX_VOLDOWN Macros change volume too drastically

2006-01-16 Thread Rick Friedman
On Mon January 16 2006 08:35, Aurelien Jarno wrote:
 Hi,

 Rick Friedman a écrit :
  Package: lineak-kdeplugins
  Version: 2:0.8.4-1
  Severity: normal
 
 
  Since updating to version 2:0.8.4-1, I am finding that the KMIX_VOLUP 
  KMIX_VOLDOWN macros are incrementing and decrementing the volume of the
  mixer by 10. The increment  decrement used to be 3.

 The code of this part hasn't change and the default is still 3.

  In my lineak.conf file, I have tried the changing the macro command to:
 
 VolumeDown = KMIX_VOLDOWN(3)
 VolumeUp = KMIX_VOLUP(3)
 
  After restarting the lineak daemon, I find that the above changes make
  no difference. The volume change is still 10 when pressing the volume
  down  volume up keys.

 I have tried on my system, setting a step in the configuration file
 works correctly.

 Could you please try to run lineakd with the -v option and have a look
 at the output messages. It should tell you the old and the new value of
 the mixer.

I ran lineakd with the -v option as you suggested. When I press the volume up 
key the following messages are displayed:

Got an object!
Looking for CODE and PRESS
176 = 176
true
getting to the right place!
Plugin: kmixplugin to execute macro KMIX_VOLUP

 Key:
Object: VolumeUp
   event_type = PRESS
   type = CODE
   keycode = 176
   keysym = 269028186
   toggle = false
   modifier =  and command = KMIX_VOLUP(3)
   and display name =


XOSD Display: VolumeUp
Command: KMIX_VOLUP(3)


Start Volume is: 22
Start Setting volume to: 25
Mixer Name Mixer0
Size 4
increase volume from 22 to 25+++
 waitloops = 0
New Mastervalue 32
Setting the display for kmix volup!
Setting volume on stdout display to: 32
Checking the enable status of stdout display!
Checking the enable status of stdout display!
Checking the enable status of stdout display!

Pressing the volume down key gives:

Got an object!
Looking for CODE and PRESS
174 = 174
true
getting to the right place!
Plugin: kmixplugin to execute macro KMIX_VOLDOWN

 Key:
Object: VolumeDown
   event_type = PRESS
   type = CODE
   keycode = 174
   keysym = 269028185
   toggle = false
   modifier =  and command = KMIX_VOLDOWN(3)
   and display name =


XOSD Display: VolumeDown
Command: KMIX_VOLDOWN(3)


Start Volume is: 32
Start Setting volume to: 29
Mixer Name Mixer0
Size 4
decrease volume from 32 to 29---
 waitloops = 0
New Mastervalue 22
Setting volume on stdout display to: 22
Checking the enable status of stdout display!
Checking the enable status of stdout display!
Checking the enable status of stdout display!



Bug#348338: lineak-kdeplugins: KMIX_VOLUP KMIX_VOLDOWN Macros change volume too drastically

2006-01-16 Thread Aurelien Jarno
On Mon, Jan 16, 2006 at 08:59:13AM -0500, Rick Friedman wrote:
 Start Volume is: 22
 Start Setting volume to: 25
 Mixer Name Mixer0
 Size 4
 increase volume from 22 to 25+++
  waitloops = 0
 New Mastervalue 32
 Setting the display for kmix volup!
 Setting volume on stdout display to: 32

Looks like lineakd is sending the correct volume to kmix, but it rounds
it up to 32.

 Start Volume is: 32
 Start Setting volume to: 29
 Mixer Name Mixer0
 Size 4
 decrease volume from 32 to 29---
  waitloops = 0
 New Mastervalue 22
 Setting volume on stdout display to: 22
 Looks like lineakd is sending the correct volume to kmix, but it rounds
it down to 22.

I suppose that you also upgraded KDE at the same time as lineak, so 
maybe the bug is on the kmix side. Could you please try to send the
following commands from an X terminal:

dcop kmix Mixer0 setMasterVolume 25
dcop kmix Mixer0 masterVolume 

dcop kmix Mixer0 setMasterVolume 29
dcop kmix Mixer0 masterVolume 

That way we can see if the problem comes from kmix or not.

Bye,
Aurelien

--
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348338: lineak-kdeplugins: KMIX_VOLUP KMIX_VOLDOWN Macros change volume too drastically

2006-01-16 Thread Rick Friedman
On Mon January 16 2006 09:25, Aurelien Jarno wrote:
 On Mon, Jan 16, 2006 at 08:59:13AM -0500, Rick Friedman wrote:
  Start Volume is: 22
  Start Setting volume to: 25
  Mixer Name Mixer0
  Size 4
  increase volume from 22 to 25+++
   waitloops = 0
  New Mastervalue 32
  Setting the display for kmix volup!
  Setting volume on stdout display to: 32

 Looks like lineakd is sending the correct volume to kmix, but it rounds
 it up to 32.

  Start Volume is: 32
  Start Setting volume to: 29
  Mixer Name Mixer0
  Size 4
  decrease volume from 32 to 29---
   waitloops = 0
  New Mastervalue 22
  Setting volume on stdout display to: 22

  Looks like lineakd is sending the correct volume to kmix, but it rounds
 it down to 22.

 I suppose that you also upgraded KDE at the same time as lineak, so
 maybe the bug is on the kmix side. Could you please try to send the
 following commands from an X terminal:

 dcop kmix Mixer0 setMasterVolume 25
 dcop kmix Mixer0 masterVolume

 dcop kmix Mixer0 setMasterVolume 29
 dcop kmix Mixer0 masterVolume

 That way we can see if the problem comes from kmix or not.

Following your instructions here is what I get (starting with volume at 22%):

[EMAIL PROTECTED]:~$ dcop kmix Mixer0 setMasterVolume 25
[EMAIL PROTECTED]:~$ dcop kmix Mixer0 masterVolume
22
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ dcop kmix Mixer0 setMasterVolume 29
[EMAIL PROTECTED]:~$ dcop kmix Mixer0 masterVolume
25

I hope this helps.

Rick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]