Bug#444808: usbutils: lsusb does not report any devices

2007-10-01 Thread Takeshi Hakamata
Package: usbutils
Version: 0.72-9
Severity: normal


lsusb does not report any devices when a non-root user run it. No errors
are reported either.  I ran lsusb with strace and it tries to open files
under /dev/bus/usb/nnn/nnn which are not world readable.  The lsusb man
page says it has to open files under /proc/bus/usb/nnn/nnn which is world
readable.  I guess reading files under /dev/bus/usb is a new way to
retreive USB information, but then the DIAGNSTICS section in the man page
needs to be fixed so that lsusb must open files under /dev/bus/usb.
It would also be nice for lsusb to report that it fails to open files.

Takeshi

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

Kernel: Linux 2.6.22.9 (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 usbutils depends on:
ii  libc6   2.6.1-5  GNU C Library: Shared libraries
ii  libusb-0.1-42:0.1.12-7   userspace USB programming library
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

usbutils recommends no packages.

-- no debconf information



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



Bug#444828: xkb-data: CapsLock-Alt_L combination doesn't work when ctrl(swapcaps) is set

2007-10-01 Thread Takeshi Hakamata
Package: xkb-data
Version: 1.0~cvs.20070916-1
Severity: important


If the xkb option ctrl(swapcaps) is set to make CapsLock an additional
Ctrl, CapsLock-Alt_L combination does not generate KeyPress event for
Alt_L when pressing Alt_L key.  Instead it is generated when *releasing*
the Alt_L key.  There is no problem when pressing CapsLock-Alt_R or
Ctrl_L-Alt_L.

Here is my xkb settings:

  athlon:~% setxkbmap -v
  Trying to build keymap using the following components:
  keycodes:   xfree86+aliases(qwerty)
  types:  complete
  compat: complete
  symbols:pc+us+ctrl(swapcaps)
  geometry:   pc(pc104)

To reproduce the problem, first do 'setxkbmap -v -option ctrl(swapcaps)'.
Then press CapsLock, and press Alt_L.  No event is generated when
pressing Alt_L.  If you release Alt_L, then both KeyPress and KeyRelease
events for Alt_L are generated at the *same* time.  See the following
xev output:

KeyPress event, serial 27, synthetic NO, window 0x3c1,
root 0x1a6, subw 0x0, time 198571408, (367,-23), root:(371,0),
state 0x10, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x3c1,
root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0),
state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3c1,
root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0),
state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

Note that the timestamps for KeyPress and KeyRelease events are the
same.

Takeshi

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

Kernel: Linux 2.6.22.9 (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

-- no debconf information



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



Bug#438170: Typo in xcscope.el

2007-08-15 Thread Takeshi Hakamata
Package: cscope
Version: 15.6-3
Severity: minor

At line 117 in xcscope.el, define-key is misspelled as defin-ekey.


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

Kernel: Linux 2.6.21.7 (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 cscope depends on:
ii  libc6 2.6.1-1GNU C Library: Shared libraries
ii  libncurses5   5.6+20070812-1 Shared libraries for terminal hand

cscope recommends no packages.

-- no debconf information


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



Bug#361861: blender: 3ds importer is broken

2006-12-17 Thread Takeshi Hakamata

Hi,

This bug is not reproducible with Blender 2.42a in sid.  I assume that the 
3ds import plugin has been updated to fix the problem.  Please close this 
bug report.


Thanks,
Takeshi


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



Bug#363014: libgl1-mesa-dev: Missing OpenGL manpages

2006-04-17 Thread Takeshi Hakamata
Package: libgl1-mesa-dev
Version: 6.4.1-0.4
Severity: normal

OpenGL manpages are missing in the package.  They used to be
included in xlibmesa-gl-dev.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libgl1-mesa-dev depends on:
ii  libc6-dev 2.3.6-7GNU C Library: Development Librari
ii  libgl1-mesa-dri   6.4.1-0.4  A free implementation of the OpenG
ii  libgl1-mesa-glx [libgl1-mesa- 6.4.1-0.4  A free implementation of the OpenG
ii  mesa-common-dev   6.4.1-0.4  Developer documentation for Mesa

libgl1-mesa-dev recommends no packages.

-- no debconf information


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



Bug#361861: blender: 3ds importer is broken

2006-04-10 Thread Takeshi Hakamata
Package: blender
Version: 2.41-1
Severity: normal

3ds file import script is broken.  When importing a 3ds file, you will
get an error message on the console and nothing will be loaded into blender.
I tried importing many 3ds models and always get the same error except for
the value of the object.  IIRC, I didn't have a problem importing 3ds
files in blender 2.40.  Here is the error message:

  Using Python version 2.3
  
  Importing /home/tkh/HanSolo.3ds
  Traceback (most recent call last):
File string, line 646, in my_callback
File string, line 634, in load_3ds
File string, line 603, in process_main_chunk
File string, line 260, in process_object_block
File string, line 199, in getUniqueName
  ValueError: object obj0 not found
  Saved session recovery to /home/tkh/.blender/quit.blend

I used HanSolo.3ds model which is available at the following URL:

  http://70.174.118.233:8080/programming/blender/HanSolo.3ds.

Takeshi

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages blender depends on:
ii  gettext [libgettextpo0]   0.14.5-2   GNU Internationalization utilities
ii  libc6 2.3.6-5GNU C Library: Shared libraries an
ii  libfreetype6  2.1.10-3   FreeType 2 font engine, shared lib
ii  libgcc1   1:4.1.0-1  GCC support library
ii  libglu1-xorg [libglu1]6.9.0.dfsg.1-6 Mesa OpenGL utility library [X.Org
ii  libjpeg62 6b-12  The Independent JPEG Group's JPEG 
ii  libpng12-01.2.8rel-5.1   PNG library - runtime
ii  libsdl1.2debian   1.2.9-5Simple DirectMedia Layer
ii  libstdc++64.1.0-1The GNU Standard C++ Library v3
ii  libx11-6  6.9.0.dfsg.1-6 X Window System protocol client li
pi  python2.3.5-5An interactive high-level object-o
pi  python2.3 2.3.5-9.1  An interactive high-level object-o
ii  xlibmesa-gl [libgl1]  6.9.0.dfsg.1-6 Mesa 3D graphics library [X.Org]
ii  zlib1g1:1.2.3-11 compression library - runtime

blender recommends no packages.

-- no debconf information


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



Bug#335867: libglew1: Newer upstream version is available

2005-10-26 Thread Takeshi Hakamata
Package: libglew1
Version: 1.3.1-1
Severity: normal

Newer upstream version (1.3.3) is available.  Please upload it.

Thanks,
Takeshi

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libglew1 depends on:
ii  libc62.3.5-7 GNU C Library: Shared libraries an
ii  libglu1-xorg [libglu 6.8.99.901.dfsg.1-1 Mesa OpenGL utility library [X.Org
ii  libx11-6 6.8.99.901.dfsg.1-1 X Window System protocol client li
ii  libxext6 6.8.99.901.dfsg.1-1 X Window System miscellaneous exte
ii  libxi6   6.8.99.901.dfsg.1-1 X Window System Input extension li
ii  libxmu6  6.8.99.901.dfsg.1-1 X Window System miscellaneous util
ii  xlibmesa-gl [libgl1] 6.8.99.901.dfsg.1-1 Mesa 3D graphics library [X.Org]
ii  xlibs6.8.99.901.dfsg.1-1 X Window System client libraries m

libglew1 recommends no packages.

-- no debconf information


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



Bug#331244: freeglut3-dbg: Debug library is installed in a wrong directory

2005-10-02 Thread Takeshi Hakamata
Package: freeglut3-dbg
Version: 2.2.0-8.1
Severity: normal

The debug version of libglut.so.3.8.0 is installed under
/usr/lib/debug/usr/lib.  The correct location is /usr/lib/debug.

Takeshi

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages freeglut3-dbg depends on:
ii  freeglut3 2.2.0-8.1  OpenGL Utility Toolkit

freeglut3-dbg recommends no packages.

-- no debconf information


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



Bug#328955: binutils: Simple assembly program crashes on i386.

2005-09-18 Thread Takeshi Hakamata
Package: binutils
Version: 2.16.1cvs20050902-1
Severity: normal


When you run an assembly program without any data in the .data section,
you will get a segmentation fault in execve() and the binary won't run.
Here is an output from strace:

$ strace ./a.out
execve(./a.out, [./a.out], [/* 69 vars */]) = -1 EFAULT (Bad address)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
$

When I assemble and link the program with binutils 2.16.1-2, the binary
works fine.  I've attached a very simple assembly program exposing this
problem.  It just calls the exit system call.  If you uncomment the entry
in the .data section, the assembled binary will work fine.

To assemble the program, do the following steps:
$ as exit.s -o exit.o
$ ld exit.o -o exit

Takeshi

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages binutils depends on:
ii  libc6  2.3.5-6  GNU C Library: Shared libraries an binutils recommends no 
packages.

-- debconf information:
  binutils/oformat_warning:
* binutils/kernel_link_warning:
	.section .data
#	.long 0

	.text
.globl _start

_start:
	movl	$1, %eax
	movl	$0, %ebx
	int	$0x80


Bug#220786: xmms: ALSA does not support master volume control instead of PCM

2005-06-30 Thread Takeshi Hakamata
With xmms 1.2.10+cvs20050209-2 on a sid box, I can properly configure 
the ALSA output plugin to use the master volume as the mixer device for 
xmms.  You have to restart xmms to take the change into effect, but 
that's another issue if it's not acceptable.  I think this bug can be 
closed.


Takeshi


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



Bug#310200: mlterm: Scrollbar behaves oddly

2005-05-22 Thread Takeshi Hakamata
Package: mlterm
Version: 2.9.2-2
Severity: normal
Tags: patch

When you drag the scrollbar to see the terminal log, the scrollbar
behaves oddly. Here is an example case showing the oddity:

* Launch mlterm, and make the scrollbar a little bit smaller than the
  original size.
* Drag around the bottom of the scrollbar and move it up, then release
  the mouse button. 
* Make the scrollbar smaller.
* Drag a different location on the scrollbar, and move it up and down.

When you reach this point, the mouse cursor is far off the scrollbar.
When you move it to the bottom, the mouse cursor is even off the
mlterm window.

I wrote the attached patch to fix this bug. As far as I tested, it
works well. The same patch should be applied to the corresponding file
in xwindow_tiny directory. I also reported this bug to the upstream
authors, so you don't need to forward it to them.

Takeshi

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mlterm depends on:
ii  libc62.3.5-1 GNU C Library: Shared libraries an
ii  libfontconfig1   2.3.2-1 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
ii  libfribidi0  0.10.4-6Free Implementation of the Unicode
ii  libglib2.0-0 2.6.4-1 The GLib library of C routines
ii  libgtk2.0-0  2.6.7-1 The GTK+ graphical user interface 
ii  libice6  4.3.0.dfsg.1-13 Inter-Client Exchange library
ii  libsm6   4.3.0.dfsg.1-13 X Window System Session Management
ii  libx11-6 4.3.0.dfsg.1-13 X Window System protocol client li
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxrender1  1:0.8.3-1   X Rendering Extension client libra
ii  mlterm-common2.9.2-2 MultiLingual TERMinal, common file
ii  xlibs4.3.0.dfsg.1-13 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information

*** /home/tkh/mlterm-scrollbar.patch
--- xwindow/x_scrollbar.c.orig  2005-02-10 08:15:07.0 -0700
+++ xwindow/x_scrollbar.c   2005-05-22 06:00:30.597051171 -0600
@@ -538,6 +538,11 @@

sb-is_pressing_down_button = 0 ;
}
+
+   if( sb-is_motion)
+   {
+   sb-is_motion = 0 ;
+   }
 }
 
 


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