Mailinglist Archive: opensuse-bugs (4060 mails)

< Previous Next >
[Bug 466211] testpcsc doesn't recognize cardreader of Cherry-keyboard XX44
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 3 Jun 2009 08:49:28 -0600
  • Message-id: <20090603144928.62B39CC704@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=466211

User suse-linux@xxxxxxxxxxxxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=466211#c19





--- Comment #19 from Al Bogner <suse-linux@xxxxxxxxxxxxxxxxxxxx> 2009-06-03
08:49:26 MDT ---
Unfortunately no. When I saw the output I thought the same. But now I know why.
I started tdb for the Austrian B├╝rgerkarte as user, but did the strace as root.
When I start tdb as root, it works, but that shouldn't be done of course
normally. It looks like it is a permission problem.

This is the strace as user:

~> strace /usr/sbin/testpcsc
execve("/usr/sbin/testpcsc", ["/usr/sbin/testpcsc"], [/* 92 vars */]) = 0
brk(0) = 0x804d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127188, ...}) = 0
mmap2(NULL, 127188, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb800e000
close(3) = 0
open("/usr/lib/libpcsclite.so.1", 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\0`\34\0\0004\0\0\0"..,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=54901, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb800d000
mmap2(NULL, 52100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb8000000
fadvise64(3, 0, 52100, POSIX_FADV_WILLNEED) = 0
mmap2(0xb800b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xb800b000
close(3) = 0
open("/lib/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\0\200\n\0\0004\0\0\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14012, ...}) = 0
mmap2(NULL, 16504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7ffb000
fadvise64(3, 0, 16504, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7ffe000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7ffe000
close(3) = 0
open("/lib/libpthread.so.0", 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\0`H\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=119873, ...}) = 0
mmap2(NULL, 102880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7fe1000
fadvise64(3, 0, 102880, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7ff7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xb7ff7000
mmap2(0xb7ff9000, 4576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ff9000
close(3) = 0
open("/lib/libc.so.6", 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\0`h\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1419604, ...}) = 0
mmap2(NULL, 1422928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e85000
fadvise64(3, 0, 1422928, POSIX_FADV_WILLNEED) = 0
mprotect(0xb7fda000, 4096, PROT_NONE) = 0
mmap2(0xb7fdb000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x155) = 0xb7fdb000
mmap2(0xb7fde000, 9808, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fde000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e84000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e84b00, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\320\376\34v", 4) = 4
close(3) = 0
mprotect(0xb7fdb000, 8192, PROT_READ) = 0
mprotect(0xb7ff7000, 4096, PROT_READ) = 0
mprotect(0xb7ffe000, 4096, PROT_READ) = 0
mprotect(0xb800b000, 4096, PROT_READ) = 0
mprotect(0x804b000, 4096, PROT_READ) = 0
mprotect(0xb804c000, 4096, PROT_READ) = 0
munmap(0xb800e000, 127188) = 0
set_tid_address(0xb7e84b48) = 13162
set_robust_list(0xb7e84b50, 0xc) = 0
futex(0xbfa4aa00, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0xb7fe5310, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7fe5750, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="client5", ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb802d000
write(1, "\n", 1
) = 1
write(1, "MUSCLE PC/SC Lite unitary test P"..., 39MUSCLE PC/SC Lite unitary
test Program
) = 39
write(1, "\n", 1
) = 1
write(1, "\33[35mTHIS PROGRAM IS NOT DESIGNE"..., 67THIS PROGRAM IS NOT
DESIGNED AS A TESTING TOOL FOR END USERS!
) = 67
write(1, "Do NOT use it unless you really "..., 51Do NOT use it unless you
really know what you do.

) = 51
stat64("/var/run/pcscd/pcscd.pub", 0xbfa4a0ec) = -1 EACCES (Permission denied)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) =
0
write(1, "\33[0mTesting SCardEstablishContex"..., 64Testing
SCardEstablishContext : Service not available.
) = 64
write(1, "\33[0m", 4) = 4
exit_group(-1) = ?

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >