Hi Daniel?

1.) which kernel are you running? 2.6.22 before 2.6.22.6 is buggy for example.
2.) do you have usbfs at /proc/bus/usbfs or not?
3.) if you run "/etc/init.d/openct restart" while the token is plugged in, 
will openct find it ("openct-tool list")? if so, it is a hotplug problem.

if your kernel is fine and we agree it is a hotplug problem, them
"udevmonitor --kernel --environment" might help as well as editing
/lib/udev/openct_usb, adding
        ( date; echo $0: $*; export; set -x
...
        ) >> /root/openct_debug.log 2>&1

and then plugging in a token, so we see what events the kernel emits
and if udev calls openct and what happends in the openct script.

also it is important to specify if your kernel is compiled with usb device 
class support or not. 0.6.14 should now work in both cases, but knowing
what kernel we have is still good. also 0.6.14 should work 
without /proc/bus/usbfs, but testing with and without could help track down
a possible bug.

> I do not have /proc/bus/usb mounted, because i'm under the impression
> that it is deprecated in favor of sysfs.  Dunno if that matters in
> this case.

the situation is much more complex than that. 0.6.14 is the first openct 
version I can support without /proc/bus/usb but maybe we didn't catch
all bugs.

Regards, Andreas



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

Reply via email to