Andreas Jellinghaus:
>
> could you please run
> strace -f  /etc/init.d/openct restart 2>&1 |grep execve

execve("/etc/init.d/openct", ["/etc/init.d/openct", "restart"], [/* 39 vars 
*/]) = 0
[pid 14599] execve("/usr/sbin/openct-control", ["/usr/sbin/openct-control", 
"shutdown"], [/* 37 vars */]) = 0
[pid 14600] execve("/bin/sleep", ["sleep", "1"], [/* 37 vars */]) = 0
[pid 14603] execve("/usr/sbin/openct-control", ["/usr/sbin/openct-control", 
"init"], [/* 37 vars */]) = 0
[pid 14604] execve("/usr/sbin/ifdhandler", ["/usr/sbin/ifdhandler", "-H", 
"egate", "/proc/bus/usb/1/5"], [/* 37 vars */]) = 0

> please also show me "ldd /usr/sbin/openct-control",
> and "dpkg -l |grep libusb" (maybe you have a strange libusb
> version).


# ldd /usr/sbin/openct-control
        linux-gate.so.1 =>  (0xffffe000)
        libopenct.so.1 => /usr/lib/libopenct.so.1 (0xb7fba000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb7fb3000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7faf000)
        libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xb7fa7000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f94000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e5c000)
        /lib/ld-linux.so.2 (0xb7fd5000)

~# dpkg -l | grep libusb
ii  libusb-0.1-4   0.1.10a-22   userspace USB programming library


> the linux code in openct uses:
>                         snprintf(device, sizeof(device),
>                                  "/proc/bus/usb/%s/%s",
>                                  bus->dirname, dev->filename);
> to set the file name. so most likely your libusb is broken.
> if you can confirm that, please report it to libusb, but 
> keep me cc:'ed.

Hm, don't know. Please prod me in the right direction. :)

J.
-- 
My medicine shelf is my altar.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature

Reply via email to