Fri 17 Dec 2004 08:10:09 PM UTC, comment #1:
Here's the output of strace. Right after the 'ThinkPad button pressed', tpb stops responding. I'll break out the tpb code after work, but for now this will have to do. )
BTW, my thinkpad button is mapped to KDE's `konsole'. I'm running KDE 3.3.
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
write(1, "ThinkPad button pressed\n", 24ThinkPad button pressed
) = 24
fork() = 28032
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\207", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\207", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\207", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\207", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\207", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
nanosleep({0, 200000000}, NULL) = 0
lseek(9, 57, SEEK_SET) = 57
read(9, "\324", 1) = 1
lseek(9, 86, SEEK_SET) = 86
read(9, "\324\200\3r", 4) = 4
lseek(9, 94, SEEK_SET) = 94
read(9, "\246", 1) = 1
lseek(9, 96, SEEK_SET) = 96
read(9, "\10", 1) = 1
lseek(10, 0, SEEK_SET) = 0
read(10, "1.16ac 1.2 0x03 0x01 0x00 0x01 1"..., 38) = 38
write(1, "Volume changed: Level 57\n", 25Volume changed: Level 57
) = 25
write(5, "\0", 1) = 1
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGCHLD (Child exited) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 28032
sigreturn() = ? (mask now [RTMIN])
rt_sigsuspend([] <unfinished ...>
|