Bug#544607: /usr/share/alsa/init/default:52: missing closing brace for format

2009-09-01 Thread Philipp Jocham
Package: alsa-utils
Version: 1.0.20-2
Severity: normal


$ alsactl init
Unknown hardware: HDA-Intel Analog Devices AD1884 
HDA:11d41884,103c3029,00100100 0x103c 0x3029
Hardware is initialized using a guess method
/usr/share/alsa/init/default:51: control element not found
/usr/share/alsa/init/default:52: missing closing brace for format
/usr/share/alsa/init/default:52: error parsing CTL attribute
/usr/share/alsa/init/default:52: invalid rule

It's just a small typo:
diff -r -U1 alsa-utils-1.0.20/alsactl/init/default 
alsa-utils-1.0.20.1/alsactl/init/default
--- alsa-utils-1.0.20/alsactl/init/default  2009-05-06 09:07:24.0 
+0200
+++ alsa-utils-1.0.20.1/alsactl/init/default2009-09-01 22:13:16.832163534 
+0200
@@ -51,3 +51,3 @@
 
ENV{has_pmaster_vol}==true,CTL{values}=0dB,RESULT==0,GOTO=headphone0_end
-ENV{has_pmaster_vol}==true,CTL{values)=100%,GOTO=headphone0_end
+ENV{has_pmaster_vol}==true,CTL{values}=100%,GOTO=headphone0_end
 CTL{values}=$env{pvolume},RESULT!=0,CTL{values}=$env{ppercent}

Sound was very quiet per default. 

Regards,
Philipp

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alsa-utils depends on:
ii  libasound21.0.20-3   shared library for ALSA applicatio
ii  libc6 2.9-23 GNU C Library: Shared libraries
ii  libncurses5   5.7+20090523-1 shared libraries for terminal hand
ii  linux-sound-base  1.0.20+dfsg-1  base package for ALSA and OSS soun
ii  lsb-base  3.2-22 Linux Standard Base 3.2 init scrip
ii  module-init-tools 3.9-2  tools for managing Linux kernel mo
ii  whiptail  0.52.10-4  Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base  1.0.20+dfsg-1 ALSA driver configuration files
ii  pciutils   1:3.1.3-1 Linux PCI Utilities

alsa-utils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#492917: python-pyao: parsing arguments 64bit issues

2008-07-29 Thread Philipp Jocham
Package: python-pyao
Version: 0.82-2
Severity: important


src/aomodule.c uses 's|0!sl' and 'i|0!sl' as format strings
for parsing the arguments passed to the constructor of ao.AudioDevice,
thus parsing the arguments as 'long int'. 

Whereas the arguments are defined as 'int'.
See /usr/include/ao/ao.h:

  typedef struct ao_sample_format {
  int bits; /* bits per sample */
  int rate; /* samples per second (in a single channel) */
  int channels; /* number of audio channels */
  int byte_format; /* Byte ordering in sample, see constants below */
  } ao_sample_format;

On 64 bit systems a 'long int' is 8 bytes and and 'int' is 4, thus overwritting
other values, when parsing.

Solution: Use format strings 's|0!si' and 'i|0!si' instead.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-jp2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pyao depends on:
ii  libao20.8.8-4Cross Platform Audio Output Librar
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  python2.5.2-1An interactive high-level object-o
ii  python-central0.6.8  register and build utility for Pyt

python-pyao recommends no packages.

-- no debconf information



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



Bug#492772: python-pyao: Error with python2.5 on amd64

2008-07-28 Thread Philipp Jocham
Package: python-pyao
Version: 0.82-2
Severity: normal


Instantiating ao.AudioDevice with options gives an error

  Python 2.5.2 (r252:60911, May 28 2008, 19:19:25) 
  [GCC 4.2.4 (Debian 4.2.4-1)] on linux2
  Type help, copyright, credits or license for more information.
   import ao
   dev = ao.AudioDevice( 'alsa', options = { 'dev' : 'default' } )
  Traceback (most recent call last):
  File stdin, line 1, in module
  SystemError: NULL result without error in PyObject_Call
   

Compiling from source gives a hint:
  src/aomodule.c: In function ‘dict_to_options’:
  src/aomodule.c:18: warning: passing argument 2 of ‘PyDict_Next’ from
incompatible pointer type

Applying the following patch cures warning and bug:

--- pyao-0.82.orig/src/aomodule.c   2003-07-24 08:52:59.0
+0200
+++ pyao-0.82/src/aomodule.c2008-07-28 20:34:42.0 +0200
@@ -5,5 +5,5 @@
 dict_to_options(PyObject *dict)
  {
  -  int pos = 0;
  +  Py_ssize_t pos = 0;
 PyObject *key, *val;
ao_option *head = NULL;

Regards, Philipp


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-jp2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pyao depends on:
ii  libao20.8.8-4Cross Platform Audio Output Librar
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  python2.5.2-1An interactive high-level object-o
ii  python-central0.6.8  register and build utility for Pyt

python-pyao recommends no packages.

-- no debconf information



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



Bug#408843: cups upgrade breaks printing

2007-03-05 Thread Philipp Jocham

Hi, I have exact the same problem (Epson Stylus RX520) and an
upgrade to the latest cups gives error message Printer not connected;
will retry in 30 seconds...


It turned out to be a premission problem with /dev/usb/lp0.

I've set up a udev rule to install the device belonging to group scanner
with permission 0664.

$ ls -al /dev/usb/lp0
crw-rw-r-- 1 root scanner 180, 0 2007-03-05 20:32 /dev/usb/lp0

After a

$ chmod 0666 /dev/usb/lp0

printing was no problem anymore.

It seems that cups drops its root priviliges earlier in new versions.

I'm not sure whats the correct way to fix this.
  1) add lp to group scanner
  2) remove group scanner, replace with lp
  3) chown lp /dev/usb/lp0

Regards, Philipp


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



Bug#290485: xserver-xfree86: blender crashes xserver running in xinerama mode on mga G550 card

2007-01-17 Thread Philipp Jocham

 Hi Philipp,
 
 About 2 years ago, you reported a bug to the Debian BTS regarding a
 crash of the X server while running blender in xinerama on a MGA G550
 board. Did you reproduce this problem recently? If not, I will close
 this bug in the next weeks.

Hello Brice,
please close the bug. I do not have the hardware available anymore and I did 
not reproduce it on other hardware or newer X versions.

Regards,
Philipp
-- 
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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



Bug#290889: icewm: new windows are always opened on screen 0 using SmartPlacement and Xinerama mode

2005-01-17 Thread Philipp Jocham
Package: icewm
Version: 1.2.18-1
Severity: normal



I'm using xinerama and the Option 
  XineramaPrimaryScreen = 1
therefore i'd like new windows to pop up on my 
primary screen.

Applying the following patch fixes this.

--- src/wmmgr.cc.orig   2005-01-17 15:07:45.0 +0100
+++ src/wmmgr.cc2005-01-17 14:51:28.0 +0100
@@ -1249,5 +1249,5 @@
  )))
 {
-int xiscreen = 0;
+int xiscreen = xineramaPrimaryScreen;
 if (frame-owner())
 xiscreen = frame-owner()-getScreen();


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-jp4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages icewm depends on:
ii  icewm-common 1.2.18-1wonderful Win95-OS/2-Motif-like wi
ii  imlib1   1.9.14-16.2 imaging library for X and X11 (usi
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libfontconfig1   2.2.3-4 generic font configuration library
ii  libfreetype6 2.1.7-2.3   FreeType 2 font engine, shared lib
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg626b-9The Independent JPEG Group's JPEG 
ii  libpng10-0   1.0.18-1PNG library, older version - runti
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtiff4 3.6.1-5 Tag Image File Format library
ii  libungif4g   4.1.3-1 shared library for GIF images (run
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2  2.1.2-6 FreeType-based font drawing librar
ii  libxrandr2   4.3.0.dfsg.1-10 X Window System Resize, Rotate and
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information


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