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

and let me know of the result? I installed debian openct 0.6.6-1
packages a minute ago, did that and the result is:
execve("/etc/init.d/openct", ["/etc/init.d/openct", "restart"], [/* 32 vars 
*/]) = 0
[pid 23576] execve("/usr/sbin/openct-control", ["/usr/sbin/openct-control", 
"shutdown"], [/* 31 vars */]) = 0
[pid 23577] execve("/bin/sleep", ["sleep", "1"], [/* 31 vars */]) = 0
[pid 23578] execve("/usr/sbin/openct-control", ["/usr/sbin/openct-control", 
"init"], [/* 31 vars */]) = 0
[pid 23579] execve("/usr/sbin/ifdhandler", ["/usr/sbin/ifdhandler", "-H", 
"egate", "/proc/bus/usb/001/002"], [/* 31 vars */]) = 0

i.e. everything is fine.

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

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.

Regards, Andreas


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

Reply via email to