Bug#832594: libinput10: Thinkpad middle mouse not functioning properly, appears to be libinput10 issue

2016-07-27 Thread Karsten M. Self
Package: libinput10
Version: 1.3.3-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

See also Bug #823147

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823147

As of a couple of months ago (system's been infrequently used), middle
mouse behavior on a Thinkpad T520i changed.  When using the TrackPoint
mouse and buttons, the middle button behavior changed.  It's not
possible to move the pointer while the middle button is depressed,
several programs and tools don't respond (though Xorg clipboard paste
appears to work).  I believe this affects *both* console and Xorg
sessions.

xev _doesn't_ report either BottonPress or ButtonRelease events for the
2nd (middle) mouse button.  Contrast (button 2 was pressed and released
several times in this capture):


ButtonPress event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x562, time 9625078, (36,51), root:(37,452),
state 0x0, button 1, same_screen YES

EnterNotify event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x0, time 9625078, (36,51), root:(37,452),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 256

KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys:  4294967236 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
  
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonRelease event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x562, time 9625217, (36,51), root:(37,452),
state 0x100, button 1, same_screen YES

LeaveNotify event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x0, time 9625217, (36,51), root:(37,452),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

ButtonPress event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x562, time 9626514, (36,51), root:(37,452),
state 0x0, button 2, same_screen YES

EnterNotify event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x0, time 9626514, (36,51), root:(37,452),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512

KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys:  4294967236 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
  
   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonRelease event, serial 36, synthetic NO, window 0x561,
root 0xc4, subw 0x562, time 9626514, (36,51), root:(37,452),
state 0x200, button 2, same_screen YES



xinput shows:

$ xinput list
⎡ Virtual core pointer  id=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointerid=4[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard id=3[master keyboard (2)]
↳ Virtual core XTEST keyboard   id=5[slave  keyboard (3)]
↳ Power Button  id=6[slave  keyboard (3)]
↳ Video Bus id=7[slave  keyboard (3)]
↳ Sleep Button  id=8[slave  keyboard (3)]
↳ Integrated Camera id=9[slave  keyboard (3)]
↳ AT Translated Set 2 keyboard  id=10   [slave  keyboard (3)]
↳ ThinkPad Extra Buttonsid=12   [slave  keyboard (3)]

$ xinput get-button-map 11
1 2 3 4 5 6 7 

$ xinput list-props 11
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (139):   1
Coordinate Transformation Matrix (141): 1.00, 0.00, 0.00, 
0.00, 1.00, 0.00, 0.00, 0.00, 1.00
libinput Accel Speed (275): 0.00
libinput Accel Speed Default (276): 0.00
libinput Accel Profiles Available (277):1, 1
libinput Accel Profile Enabled (278):   1, 0
libinput Accel Profile Enabled Default (279):   1, 0
libinput Natural Scrolling Enabled (280):   0
libinput Natural Scrolling Enabled Default (281):   0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260):0, 0
libinput Send Events Mode Enabled Default (261):0, 0
libinput Left Handed Enabled (282): 0
libinput Left Handed Enabled Default (283): 0
libinput Scroll Methods Available (284): 

Bug#426970: xbase-clients: xrandr segfaults reading /lib/i686/cmov/libdl.so.2

2007-06-01 Thread Karsten M. Self
on Fri, Jun 01, 2007 at 07:55:27AM +0200, Brice Goglin ([EMAIL PROTECTED]) 
wrote:
 retitle 426970 xrandr segfaults
 thank you
 
 
 
 
 Karsten M. Self wrote:
  Package: xbase-clients
  Version: 1:7.1.ds1-2
  Severity: normal
 
 
  xrandr segfaults when invoked.

 
 Does it happen with xbase-clients 1:7.2.ds2-2

Nope.

$ xrandr
Xlib:  extension RANDR missing on display :0.0.
RandR extension missing

... which is progress.
 
  If I'm reading strace correctly, it's failing in a read of
  /lib/i686/cmov/libdl.so.2:
 
 
  access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or 
  directory)
  open(/lib/i686/cmov/libdl.so.2, O_RDONLY) = 3
  read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\000..., 
  512) = 51
  2
  fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
  mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
  0) = 0xb7d
  3a000
  mmap2(0xb7d3c000, 8192, PROT_READ|PROT_WRITE, 
  MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT
  E, 3, 0x1) = 0xb7d3c000
  close(3)= 0

 
 The descriptor of /lib/i686/cmov/libdl.so.2 is closed here. And
 descriptor 3 is reopened below.
 
Good catch.  I was only looking at open() calls...

  socket(PF_FILE, SOCK_STREAM, 0) = 3
  uname({sys=Linux, node=lnx-kself, ...}) = 0

...

  writev(3, [{b\0\4\0\5\0\0\0, 8}, {RANDR, 5}, {\0\0\0, 3}], 3) = 16
  read(3, \1\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0(\0\0\0\20\0\0..., 
  32) = 32
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  +++ killed by SIGSEGV +++
  Process 19634 detached

 
 Descriptor 3 is a socket a this point, probably the socket to the
 server.
 
 I have seen xrandr segfault a couple times, without ever being able to
 reproduce. Is it easy to reproduce on your side? Can you get a
 backtrace with gdb? What command line argument did you pass to it?

Yes, it was fully reproducible.

I was generally passing _no_ arguments, though results were consistent
with any of the following (from history):

xrandr
xrandr -s 1024x768
sudo xrandr -s 1024x768
sudo xrandr -d :0 -s 1024x768
xrandr -d :0 -s 1024x768
strace xrandr -d :0 -s 1024x768

Fix at present appears to be to upgrade.  I'm a bit more interested in
making this work than finding out wat was wrong with the old version,
I'll be playing with my display settings some more.

Trying to get my Thinkpad T30 to be able to migrate from office
(dual-head) to the road, with functional power management
(sleep/hibernate) and being able to respecify the display.

I think we can close this as fixed in unstable for now, I'll leave that
call to you.

Thanks for your time.


Cheers.

-- 
Karsten M. Self [EMAIL PROTECTED]
SFI / Cadence Design Systems 


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



Bug#427121: xserver-xephyr: Missing manpage, Xephyr

2007-06-01 Thread Karsten M. Self
Package: xserver-xephyr
Version: 2:1.1.1-21
Severity: normal


This package is missing a man page for the Xephyr command
(/usr/bin/Xephyr).

Per Debian Policy 12.1:

Each program, utility, and function should have an associated manual
page included in the same package.  It is suggested that all
configuration files also have a manual page included as well.
Manual pages for protocols and other auxiliary things are optional.

If no manual page is available, this is considered as a bug and
should be reported to the Debian Bug Tracking System (the maintainer
of the package is allowed to write this bug report themselves, if
they so desire).  Do not close the bug report until a proper man
page is available.[1]


Testing:

$ man Xephyr
No manual entry for Xephyr
See 'man 7 undocumented' for help when manual pages are not available.


Cheers.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (950, 'testing'), (750, 'stable'), (500, 'oldstable'), (400, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xephyr depends on:
ii  libc6 2.5-8  GNU C Library: Shared libraries
ii  libfontenc1   1:1.0.4-2  X11 font encoding library
ii  libx11-6  2:1.0.3-7  X11 client-side library
ii  libxau6   1:1.0.1-2  X11 authorisation library
ii  libxdmcp6 1:1.0.2-2  X11 Display Manager Control Protoc
ii  libxext6  1:1.0.1-2  X11 miscellaneous extension librar
ii  libxfont1 1:1.2.2-2  X11 font rasterisation library
ii  zlib1g1:1.2.3-13 compression library - runtime

Versions of packages xserver-xephyr recommends:
ii  xbase-clients1:7.2.ds2-2 miscellaneous X clients

-- no debconf information


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



Bug#426970: xbase-clients: xrandr segfaults reading /lib/i686/cmov/libdl.so.2

2007-05-31 Thread Karsten M. Self
Package: xbase-clients
Version: 1:7.1.ds1-2
Severity: normal


xrandr segfaults when invoked.

If I'm reading strace correctly, it's failing in a read of
/lib/i686/cmov/libdl.so.2:


access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or 
directory)
open(/lib/i686/cmov/libdl.so.2, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\000..., 512) 
= 51
2
fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7d
3a000
mmap2(0xb7d3c000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT
E, 3, 0x1) = 0xb7d3c000
close(3)= 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7
d39000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7
d38000
set_thread_area({entry_number:-1 - 6, base_addr:0xb7d386c0, limit:1048575, 
seg_
32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
usea
ble:1}) = 0
mprotect(0xb7e91000, 4096, PROT_READ)   = 0
munmap(0xb7f92000, 95251)   = 0
brk(0)  = 0x804c000
brk(0x806d000)  = 0x806d000
uname({sys=Linux, node=lnx-kself, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
uname({sys=Linux, node=lnx-kself, ...}) = 0
uname({sys=Linux, node=lnx-kself, ...}) = 0
connect(3, {sa_family=AF_FILE, path=/tmp/.X11-unix/X0}, 19) = 0
uname({sys=Linux, node=lnx-kself, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
access(/home/kself/.Xauthority, R_OK) = 0
open(/home/kself/.Xauthority, O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=103, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7
fa9000
read(4, \0\0\0\4\236\214/F\0\0010\0\22MIT-MAGIC-COOKIE-1\0..., 4096) = 103
read(4, , 4096)   = 0
close(4)= 0
munmap(0xb7fa9000, 4096)= 0
writev(3, [{l\0\v\0\0\0\22\0\20\0\0\0, 12}, {MIT-MAGIC-COOKIE-1, 18}, 
{\0\0
, 2}, {\23s\+ `6/ip,dO\2N:, 16}], 4) = 48
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, \1\0\v\0\0\0c\0, 8)   = 8
read(3, \10\250-\4\0\0`\5\377\377\37\0\0\1\0\0\24\0\377\377\1\7..., 396) 
= 396
write(3, 7\0\5\0\0\0`\5f\0\0\0\10\0\0\0\377\377\0\0b\0\5\0\f\0\0..., 64) 
= 64
read(3, \1\0\2\0\0\0\0\0\1\205\0\0\0\0\0\0\24\0\0\0\0\0\0\0\24..., 32) = 
32
read(3, \1\10\3\0#\7\0\0\37\0\0\0\0\0\0\0\213\34\0\0\30\0\0\0\0..., 32) = 
32
readv(3, [{*VT100.Translations:\t#override ~..., 7307}, {\0, 1}], 2) = 
7308
write(3, \205\0\1\0, 4)   = 4
read(3, \1\0\4\0\0\0\0\0\377\377?\0\0\0\0\0\4\0\0\0(\0\0\0\4\0..., 32) = 
32
writev(3, [{b\0\5\0\t\0`\5, 8}, {XKEYBOARD, 9}, {\0\0\0, 3}], 3) = 20
read(3, \1\0\5\0\0\0\0\0\1\223n\255\0\0\0\0\24\0\0\0(\0\0\0\24..., 32) = 
32
write(3, \223\0\2\0\1\0\0\0, 8)   = 8
read(3, \1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\240\333A\n\23\0\0\0\10..., 32) = 
32
writev(3, [{b\0\4\0\5\0\0\0, 8}, {RANDR, 5}, {\0\0\0, 3}], 3) = 16
read(3, \1\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0(\0\0\0\20\0\0..., 32) = 
32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 19634 detached

Additional info:

[EMAIL PROTECTED]:~]$ ll /lib/i686/cmov/libdl.so.2
lrwxrwxrwx 1 root root 12 May 24 02:14 /lib/i686/cmov/libdl.so.2 - 
libdl-2.5.so
[EMAIL PROTECTED]:~]$ dpkg -S /lib/i686/cmov/libdl-2.5.so
libc6-i686: /lib/i686/cmov/libdl-2.5.so
[EMAIL PROTECTED]:~]$ COLUMNS=100 dpkg -l libc6-i686
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ NameVersion Description

+++-===-===-==
ii  libc6-i686  2.5-8   GNU C Library: Shared libraries 
[i686 optimized]


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (950, 'testing'), (750, 'stable'), (500, 'oldstable'), (400, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xbase-clients depends on:
ii  libc6 2.5-8  GNU C Library: Shared libraries
ii  libfontconfig12.4.2-1.2  generic font configuration library
ii  libfreetype6  2.2.1-5FreeType 2 font engine, shared lib
ii  libfs62:1.0.0-4  X11 Font Services library
ii  

[kmself@ix.netcom.com: Ye old 'fixed' font bug -- solved?]

2001-10-16 Thread Karsten M. Self

Not sure if this has been properly addressed or not, but if so, this
would seem to represent an addressable bug.

Please CC on reply.

-- 
Karsten M. Self [EMAIL PROTECTED]   http://kmself.home.netcom.com/
 What part of Gestalt don't you understand? Home of the brave
  http://gestalt-system.sourceforge.net/   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html

---BeginMessage---

I just ran across the cannot find font 'fixed' on a Woody box running
XF86v4.  I found the following made a difference.

In /usr/lib/X11/fonts/misc/fonts.alias wsa the line:

fixed-misc-fixed-medium-r-semicondensed--13-100-75-75-c-60-iso8859-1

Checking with xfontsel, this font wasn't available.  However:

fixed-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1

...works, and provides a 'fixed' font.

Is this the buglet?  Or am I just encountering a new flavor of it?

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]   http://kmself.home.netcom.com/
 What part of Gestalt don't you understand? Home of the brave
  http://gestalt-system.sourceforge.net/   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html



msg03176/pgp0.pgp
Description: PGP signature
---End Message---


msg03176/pgp1.pgp
Description: PGP signature


[kmself@ix.netcom.com: Ye old 'fixed' font bug -- solved?]

2001-10-16 Thread Karsten M. Self
Not sure if this has been properly addressed or not, but if so, this
would seem to represent an addressable bug.

Please CC on reply.

-- 
Karsten M. Self kmself@ix.netcom.com   http://kmself.home.netcom.com/
 What part of Gestalt don't you understand? Home of the brave
  http://gestalt-system.sourceforge.net/   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html
---BeginMessage---
I just ran across the cannot find font 'fixed' on a Woody box running
XF86v4.  I found the following made a difference.

In /usr/lib/X11/fonts/misc/fonts.alias wsa the line:

fixed-misc-fixed-medium-r-semicondensed--13-100-75-75-c-60-iso8859-1

Checking with xfontsel, this font wasn't available.  However:

fixed-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1

...works, and provides a 'fixed' font.

Is this the buglet?  Or am I just encountering a new flavor of it?

Peace.

-- 
Karsten M. Self kmself@ix.netcom.com   http://kmself.home.netcom.com/
 What part of Gestalt don't you understand? Home of the brave
  http://gestalt-system.sourceforge.net/   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html


pgpeIhJaoXea8.pgp
Description: PGP signature
---End Message---


pgp7JFw0LGPXb.pgp
Description: PGP signature