Hi, It works on Linux.
According to the log you sent, the OpenCT is freezing when it tries to open the endpoint 0x02 before sending data to the reader (see file src/ifd/sys-bsd.c, lines 111-116). The function open_ep uses the following line to build the endpoints's device name: sprintf((char *)&filename, "%s.%d", name, endpoint); I guess this function is trying to open the endpoint named "/dev/ugen0.2". Is that name correct for OpenBSD? Regards, Carlos Henrique Bauer Markus Schatzl wrote: > Hi list, > > sorry, I sent this mail some days ago, but somehow forgot to > append a subject line. > > I'm trying to get a Pertosmart-1038 to work on OpenBSD, but > there's something going very wrong at this point. I just got > this one USB reader, so any other experiments I did were with > USB tokens, which worked quite well as far as OpenCT is > concerned. > > Does anybody run this reader successfully at all? And if yes, > is this reader known to work reliable on, e.g. Linux or other > BSD's? > > Thanks in advance, > /Markus > > > -------------------------------------------------------------- > > Here is some output (reader attached, SmartCard inserted): > > > fugu:ifd {172} sudo openct-control attach /dev/ugen0 usb:072f/9000 > Debug: ifd_spawn_handler: driver=pertosmart1038, device=/dev/ugen0, index=-1 > > fugu:ifd {173} sudo openct-control status > No. Name Info > =================================================== > 0 > > fugu:ifd {175} sudo openct-tool list > 0 (0 slots) > > fugu:ifd {177} sudo openct-tool atr > Unknown reader #0 > > > > DEBUG OUTPUT > > # /usr/local/sbin/ifdhandler -H -dddddddd -F pertosmart1038 /dev/ugen0 > > Debug: ifd_open: trying to open pertosmart1038@/dev/ugen0 > Debug: ps_open: called: device name =/dev/ugen0 > Debug: ifd_sysdep_device_type: BSD: ifd_sysdep_device_type(/dev/ugen0) > Debug: ifd_sysdep_device_type: BSD: returning IFD_DEVICE_TYPE_USB > Debug: ifd_sysdep_usb_claim_interface: interface=0 (not yet implemented) > Debug: usb_set_params: called. config xffffffff ifc x00 eps x02/x82 > Debug: ifd_sysdep_usb_claim_interface: interface=0 (not yet implemented) > Debug: ps_transceive_instruction: called > Debug: ps_if_transmission_start: called > Debug: ps_send_to_ifd: called > Debug: ps_send_to_ifd: sending 0 bytes: 10 > Debug: ps_if_transmission_send: called > Debug: ps_if_transmission_send: sending 64 bytes: 01 07 00 01 > 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Debug: usb_send: usb send to=x02 b_send: send 01 07 00 01 10 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Debug: ifd_sysdep_usb_bulk: endpoint=2 direction=0 > > => No further output on any openct-control/openct-tool command > _______________________________________________ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.opensc-project.org/mailman/listinfo/opensc-devel > > > _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel