Package: openct
Version: 0.6.6-1
Severity: important

Hi!

ifdhandler (when run from the init script) fails to find my e-gate USB
connector although it is well supported. After plugging in the device, I
get:

# lsusb
[...]
Bus 1 Device 4: ID 0973:0001 Schlumberger

# /etc/init.d/openct restart
#  $ tail -3 /var/log/syslog
Nov  3 21:31:07 localhost ifdhandler[14437]: Unable to open USB device 
/proc/bus/usb/1/4: No such file or directory
Nov  3 21:31:07 localhost ifdhandler[14437]: /proc/bus/usb/1/4: initialization 
failed (driver egate)
Nov  3 21:31:07 localhost ifdhandler[14437]: unable to open reader 
egate@/proc/bus/usb/1/4

Obviously, ifdhandler doesn't format the numbers correctly:

# ifdhandler egate /proc/bus/usb/001/004

works well. I am not a C programmer, but I guess the source of the
problem is somewhere near line 328 in src/ifd/sys-linux.c. It looks like
a simple string formatting issue.

Jochen.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages openct depends on:
ii  adduser                     3.77         Add and remove users and groups
ii  dpkg                        1.13.11.0.1  package maintenance system for Deb
ii  libc6                       2.3.5-7      GNU C Library: Shared libraries an
ii  libltdl3                    1.5.20-2     A system independent dlopen wrappe
ii  libopenct1                  0.6.6-1      middleware framework for smart car
ii  libusb-0.1-4                2:0.1.10a-22 userspace USB programming library

Versions of packages openct recommends:
ii  udev [hotplug]                0.071-1    /dev/ and hotplug management daemo

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to