{"id":153,"date":"2006-07-12T22:27:14","date_gmt":"2006-07-12T21:27:14","guid":{"rendered":"http:\/\/www.nax.cz\/2006\/07\/12\/sleepy-biometrics-scanner\/"},"modified":"2006-07-12T22:27:14","modified_gmt":"2006-07-12T21:27:14","slug":"sleepy-biometrics-scanner","status":"publish","type":"post","link":"https:\/\/nax.cz\/?p=153","title":{"rendered":"BioAPI error 0x194d"},"content":{"rendered":"<p>Some aplications (xscreensave, gnome-screensaver) begin to have problems. I only geting in \/var\/log\/auth.log this:<br \/>\n<em>Jul  7 23:06:09 localhost pam_bioapi[11863]: Unable to load BioAPI BSP with UUID of {5550454b-2054-464d-2f45-535320425350}, BioAPI error 0x194d.<\/em><\/p>\n<p>Interesting is error 0x194d. It&#8217;s only a few days since Elias Holman send to linux-biometrics conference this:<\/p>\n<blockquote><p>\nHi,<br \/>\nI&#8217;m not sure if this is the place for this, but I don&#8217;t know where else<br \/>\nto ask.  I have a new Toshiba M400 laptop running Fedora Core 5 that has<br \/>\nthe same fingerprint scanner as the ThinkPad (I believe&#8230;).  It shows<br \/>\nup with the same description and device ID.  However, after I get<br \/>\neverything installed and configured with bioapi, when I run the sample<br \/>\napplication, I get:<\/p>\n<p>BioAPI_ModuleLoad failed, BioAPI Error Code: 6477 (0x194d)<\/p>\n<p>even as root, so I don&#8217;t believe it is a permissions problem.<br \/>\nSupporting that position is that nothing appears in \/var\/log\/secure to<br \/>\nindicate access failure.  Also, when I run with strace, I see the<br \/>\nfollowing (the device is at 003:002)<br \/>\n                            = 0<br \/>\nopen(&#8222;\/dev\/bus\/usb\/003\/002&#8220;, O_RDWR)    = 12<br \/>\nioctl(12, USBDEVFS_SETCONFIGURATION, 0xbfab21c4) = 0<br \/>\nioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbfab21c4) = 0<br \/>\nnanosleep({0, 10000000}, NULL)          = 0<br \/>\nioctl(12, USBDEVFS_CONTROL, 0xbfab218c) = 1<br \/>\ngettimeofday({1152120959, 632108}, NULL) = 0<br \/>\nioctl(12, USBDEVFS_SUBMITURB, 0xbfab1914) = 0<br \/>\nioctl(12, USBDEVFS_REAPURBNDELAY, 0xbfab1958) = -1 EAGAIN (Resource<br \/>\ntemporarily unavailable)<br \/>\nselect(13, NULL, [12], NULL, {0, 1000}) = 1 (out [12], left {0, 1000})<br \/>\ngettimeofday({1152120959, 633112}, NULL) = 0<br \/>\nioctl(12, USBDEVFS_REAPURBNDELAY, 0xbfab1958) = 0<br \/>\nnanosleep({0, 10000000}, NULL)          = 0<br \/>\ngettimeofday({1152120959, 647226}, NULL) = 0<br \/>\nioctl(12, USBDEVFS_SUBMITURB, 0xbfab1924) = 0<br \/>\nioctl(12, USBDEVFS_REAPURBNDELAY, 0xbfab1968) = -1 EAGAIN (Resource<br \/>\ntemporarily unavailable)<\/p>\n<p>It appears to be having trouble reading from the USB file system or<br \/>\ndevice?  I am little confused at this point because of the way Fedora<br \/>\nhandles USBFS.  It appears to be mounting \/dev\/bus\/usb at \/proc\/bus\/usb,<br \/>\nbut that doesn&#8217;t show up from mount.  lsusb gives me back what you would<br \/>\nexpect, so I assume it is working.  I am also 99% sure that the scanner<br \/>\nis functional because I tried it via Windows when I first got the laptop<br \/>\nbefore I wiped it and I was able to operate it with no trouble.<br \/>\nFollowing is the relevant lsusb output, in case anything jumps out at<br \/>\npeople.  I am using a custom 2.6.15 kernel (with a few small, hopefully<br \/>\nirrelevant tweaks) based on 2.6.15-1.2054_FC5smp.  I updated to<br \/>\nlibusb-0.12 just in case that was the issue.  Any insight would be<br \/>\ngreatly appreciated.\n<\/p><\/blockquote>\n<p>I thing it is not coincidence. Really insightfull discussion is at <a href=\"http:\/\/www.thinkwiki.org\/wiki\/Talk:How_to_enable_the_fingerprint_reader#Permission_errors_exclusive_to_xscreensaver\">thinkwiki<\/a>.<\/p>\n<p>Finaly it is definetly permission error. After removing suid bit xscreensaver run for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some aplications (xscreensave, gnome-screensaver) begin to have problems. I only geting in \/var\/log\/auth.log this: Jul 7 23:06:09 localhost pam_bioapi[11863]: Unable to load BioAPI BSP with UUID of {5550454b-2054-464d-2f45-535320425350}, BioAPI error 0x194d. Interesting is error 0x194d. It&#8217;s only a few days since Elias Holman send to linux-biometrics conference this: Hi, I&#8217;m not sure if this is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,35,1],"tags":[],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-biometrics","category-linux","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":0,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}