On Thu, Jul 7, 2011 at 10:07 PM, Dwi Sasongko Supriyadi
<[email protected]> wrote:
> On Tue, Jul 5, 2011 at 4:29 PM, Dwi Sasongko Supriyadi
> <[email protected]> wrote:
>> On Tue, Jul 5, 2011 at 4:18 PM, Ludovic Rousseau
>> <[email protected]> wrote:
>>> 2011/7/5 Dwi Sasongko Supriyadi <[email protected]>:
>>>> I confirmed that the url for the pcsc-lite download is not correct.
>>>
>>> Can you give me this page URL with a wrong link so I can fix it?
>>>
>>
>> I mean, it is not correct on *my side*. It should be:
>>
>> PCSC_LITE_SITE =
>> https://alioth.debian.org/frs/download.php/3598/pcsc-lite-1.7.4.tar.bz2
>>
>> instead of
>>
>> PCSC_LITE_SITE =
>> https://alioth.debian.org/frs/download.php/3533/pcsc-lite-1.7.4.tar.bz2
>>
>> Best regards,
>> DWI
>>
>
> Hello again,
>
> I found that the root cause of my problem seems to be libusb
> initialization failed. Please correct me if I am wrong, I tried to add
> a return value check in src/libusb_hotplug.c
>
>  rv = libusb_init(ctx);
>        if (rv < 0) {
>                fprintf(stderr, "failed to initialise libusb\n");
>                exit(1);
>        }
>
> and there is, it failed to initialise libusb on the system.
>
> Thanks for forthcoming response and advise.
>

I want to say sorry for wasting your time in this issue, but then I
found out the root cause is that the usbfs is not mounted. Too bad,
this information is not available when executing pcscd. The issue is
solved by simply:

mount -t usbfs usbfs /proc/bus/usb

I would to propose a patch to check the return value of libusb_init()
call inside src/libusb/hotplug_libusb.c so the user will be notified
early if there is something wrong with libusb.

Thanks for your time and response. Keep the good work!

Best regards,
DWI

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to