|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
PC/SC kernel panic with Omnikey 5321Hi all,
I'm trying to get the RFID interface of an Omnikey 5321 reader working with pcscd. For reasons outside of my control, I'm stuck using a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, as well as the RFID driver available from Omnikey. When I ran pcsc-lite it gave me a message about hotplug support disabled with the Omnikey driver, so I assume it loaded the driver properly. However, as soon as I insert the reader, I get a kernel panic. It all happens too quickly to see any useful messages. Is this a possible configuration? Do current versions of pcsc-lite support a 2.4 kernel or do I need an older version? I have an email in to Omnikey, but on the first round they just told me to upgrade my kernel, which I can't. If this isn't possible, are there any suggestions for alternatives? My goal is to integrate this with a Java application, so I eventually need to get a Java API in place. One possibility may be librfid which supports the Omnikey 5321, but I guess I'd probably have to write a JNI library. Please excuse my muscle/pcsc/smart card newbie-ness. :-) Thanks, Justin -- Justin D. Osborn Software Engineer Information Operations JHU/APL _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: PC/SC kernel panic with Omnikey 5321Hi Justin,
I'm using the following configuration: * pcsc-lite 1.40 * ifdokrfid_lnx-2.3.0.tar.gz * kernel 2.4.21-47.ELsmp (RHEL3) and it has been working well for a couple of months. Major issue encountered was the previous version of the driver producing "card not transacted" errors when 60-byte APDUs were requested via the "Read Data" command, but I worked with Omnikey support to resolve this, and the current version of the driver (above) works well for me. Minor issue is that I have encountered pcscd failing to shutdown (intermittent), and I suspect that it is related to the current version of the driver. Mailed the Omnikey guys about this, but have heard nothing. Jason. Osborn, Justin D. wrote: > Hi all, > I'm trying to get the RFID interface of an Omnikey 5321 reader > working with pcscd. For reasons outside of my control, I'm stuck using > a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, as well as the RFID > driver available from Omnikey. When I ran pcsc-lite it gave me a > message about hotplug support disabled with the Omnikey driver, so I > assume it loaded the driver properly. However, as soon as I insert the > reader, I get a kernel panic. It all happens too quickly to see any > useful messages. > > Is this a possible configuration? Do current versions of pcsc-lite > support a 2.4 kernel or do I need an older version? > > I have an email in to Omnikey, but on the first round they just told me > to upgrade my kernel, which I can't. > > If this isn't possible, are there any suggestions for alternatives? My > goal is to integrate this with a Java application, so I eventually need > to get a Java API in place. One possibility may be librfid which > supports the Omnikey 5321, but I guess I'd probably have to write a JNI > library. > > Please excuse my muscle/pcsc/smart card newbie-ness. :-) > > Thanks, > Justin > > -- > Justin D. Osborn > Software Engineer > Information Operations > JHU/APL > > _______________________________________________ > Muscle mailing list > Muscle@... > http://lists.drizzle.com/mailman/listinfo/muscle > > > ----------------- Utiba Pty Ltd This message has been scanned for viruses and dangerous content by Utiba mail server and is believed to be clean. _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
RE: PC/SC kernel panic with Omnikey 5321Jason,
Thanks a bunch, that gives me hope. I had ifdokrfid_lnx-2.2.0, and Omnikey just sent me 2.3.0, so I will give that a shot. If that doesn't work, I can probably try "upgrading" to RHEL 3, if I can find a copy. Thanks, Justin -- Justin D. Osborn Software Engineer Information Operations JHU/APL > -----Original Message----- > From: Jason Grant [mailto:expires07@...] > Sent: Tuesday, May 08, 2007 7:21 PM > To: MUSCLE; Osborn, Justin D. > Subject: Re: [Muscle] PC/SC kernel panic with Omnikey 5321 > > Hi Justin, > > I'm using the following configuration: > > * pcsc-lite 1.40 > * ifdokrfid_lnx-2.3.0.tar.gz > * kernel 2.4.21-47.ELsmp (RHEL3) > > and it has been working well for a couple of months. Major > issue encountered was the previous version of the driver > producing "card not transacted" errors when 60-byte APDUs > were requested via the "Read Data" > command, but I worked with Omnikey support to resolve this, > and the current version of the driver (above) works well for > me. Minor issue is that I have encountered pcscd failing to > shutdown (intermittent), and I suspect that it is related to > the current version of the driver. Mailed the Omnikey guys > about this, but have heard nothing. > > Jason. > > Osborn, Justin D. wrote: > > Hi all, > > I'm trying to get the RFID interface of an Omnikey > 5321 reader > > working with pcscd. For reasons outside of my control, I'm stuck > > using a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, > as well as > > the RFID driver available from Omnikey. When I ran > pcsc-lite it gave > > me a message about hotplug support disabled with the > Omnikey driver, > > so I assume it loaded the driver properly. However, as soon as I > > insert the reader, I get a kernel panic. It all happens > too quickly > > to see any useful messages. > > > > Is this a possible configuration? Do current versions of pcsc-lite > > support a 2.4 kernel or do I need an older version? > > > > I have an email in to Omnikey, but on the first round they > just told > > me to upgrade my kernel, which I can't. > > > > If this isn't possible, are there any suggestions for > alternatives? > > My goal is to integrate this with a Java application, so I > eventually > > need to get a Java API in place. One possibility may be > librfid which > > supports the Omnikey 5321, but I guess I'd probably have to write a > > JNI library. > > > > Please excuse my muscle/pcsc/smart card newbie-ness. :-) > > > > Thanks, > > Justin > > > > -- > > Justin D. Osborn > > Software Engineer > > Information Operations > > JHU/APL > > > > _______________________________________________ > > Muscle mailing list > > Muscle@... > > http://lists.drizzle.com/mailman/listinfo/muscle > > > > > > > > > ----------------- > Utiba Pty Ltd > This message has been scanned for viruses and dangerous > content by Utiba mail server and is believed to be clean. > > _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
RE: PC/SC kernel panic with Omnikey 5321Jason,
Success! I updated RH 9 to 2.4.34.4 (the latest stable 2.4 kernel), installed version of 2.3.0 of the Omnikey driver, and it worked. Pcscd loaded the proper driver when the reader was inserted with no kernel panic. When I ran testpcsc and placed the card on the reader, I got data back. Before I upgraded I tried the old kernel with v. 2.3.0 of the Omnikey driver and got a slightly less verbose kernel panic, enough to figure out that the panic was occurring in the uhci_hcd module. So my guess is that the problem was a bug in the USB uhci module that the Omnikey driver happening to be invoking. Now I just have to write my application... :-) Many thanks! Justin -- Justin D. Osborn Software Engineer Information Operations JHU/APL > -----Original Message----- > From: Jason Grant [mailto:expires07@...] > Sent: Tuesday, May 08, 2007 7:21 PM > To: MUSCLE; Osborn, Justin D. > Subject: Re: [Muscle] PC/SC kernel panic with Omnikey 5321 > > Hi Justin, > > I'm using the following configuration: > > * pcsc-lite 1.40 > * ifdokrfid_lnx-2.3.0.tar.gz > * kernel 2.4.21-47.ELsmp (RHEL3) > > and it has been working well for a couple of months. Major > issue encountered was the previous version of the driver > producing "card not transacted" errors when 60-byte APDUs > were requested via the "Read Data" > command, but I worked with Omnikey support to resolve this, > and the current version of the driver (above) works well for > me. Minor issue is that I have encountered pcscd failing to > shutdown (intermittent), and I suspect that it is related to > the current version of the driver. Mailed the Omnikey guys > about this, but have heard nothing. > > Jason. > > Osborn, Justin D. wrote: > > Hi all, > > I'm trying to get the RFID interface of an Omnikey > 5321 reader > > working with pcscd. For reasons outside of my control, I'm stuck > > using a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, > as well as > > the RFID driver available from Omnikey. When I ran > pcsc-lite it gave > > me a message about hotplug support disabled with the > Omnikey driver, > > so I assume it loaded the driver properly. However, as soon as I > > insert the reader, I get a kernel panic. It all happens > too quickly > > to see any useful messages. > > > > Is this a possible configuration? Do current versions of pcsc-lite > > support a 2.4 kernel or do I need an older version? > > > > I have an email in to Omnikey, but on the first round they > just told > > me to upgrade my kernel, which I can't. > > > > If this isn't possible, are there any suggestions for > alternatives? > > My goal is to integrate this with a Java application, so I > eventually > > need to get a Java API in place. One possibility may be > librfid which > > supports the Omnikey 5321, but I guess I'd probably have to write a > > JNI library. > > > > Please excuse my muscle/pcsc/smart card newbie-ness. :-) > > > > Thanks, > > Justin > > > > -- > > Justin D. Osborn > > Software Engineer > > Information Operations > > JHU/APL > > > > _______________________________________________ > > Muscle mailing list > > Muscle@... > > http://lists.drizzle.com/mailman/listinfo/muscle > > > > > > > > > ----------------- > Utiba Pty Ltd > This message has been scanned for viruses and dangerous > content by Utiba mail server and is believed to be clean. > > _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
syncapi issues - was RE: PC/SC kernel panic with Omnikey 5321Hi all,
Does anyone out there have experience using the Omnikey syncapi? I'm using HID iClass 16K cards, so I'm stuck using their API. I tried to write a simple program to get the Card Serial Number. I based the code on testpcsc.c from pcsc-lite. Everything works up until the call to SCardCLICCTransmit (analogous to SCardTransmit), which returns an error. I based the call on the example provided in the user manual, and I tried several different commands but didn't have any luck. I attached the code (test.c), the output (ttest.out) and the output from pcscd (pcscd.out). Any ideas would be greatly appreciated. Thanks, Justin -- Justin D. Osborn Software Engineer Information Operations JHU/APL > -----Original Message----- > From: muscle-bounces@... > [mailto:muscle-bounces@...] On Behalf Of > Osborn, Justin D. > Sent: Wednesday, May 09, 2007 1:23 PM > To: Jason Grant; MUSCLE > Subject: RE: [Muscle] PC/SC kernel panic with Omnikey 5321 > > Jason, > Success! I updated RH 9 to 2.4.34.4 (the latest stable > 2.4 kernel), installed version of 2.3.0 of the Omnikey > driver, and it worked. Pcscd loaded the proper driver when > the reader was inserted with no kernel panic. When I ran > testpcsc and placed the card on the reader, I got data back. > > Before I upgraded I tried the old kernel with v. 2.3.0 of the > Omnikey driver and got a slightly less verbose kernel panic, > enough to figure out that the panic was occurring in the > uhci_hcd module. So my guess is that the problem was a bug > in the USB uhci module that the Omnikey driver happening to > be invoking. > > Now I just have to write my application... :-) > > Many thanks! > Justin > > -- > Justin D. Osborn > Software Engineer > Information Operations > JHU/APL > > > > -----Original Message----- > > From: Jason Grant [mailto:expires07@...] > > Sent: Tuesday, May 08, 2007 7:21 PM > > To: MUSCLE; Osborn, Justin D. > > Subject: Re: [Muscle] PC/SC kernel panic with Omnikey 5321 > > > > Hi Justin, > > > > I'm using the following configuration: > > > > * pcsc-lite 1.40 > > * ifdokrfid_lnx-2.3.0.tar.gz > > * kernel 2.4.21-47.ELsmp (RHEL3) > > > > and it has been working well for a couple of months. Major issue > > encountered was the previous version of the driver > producing "card not > > transacted" errors when 60-byte APDUs were requested via the "Read > > Data" > > command, but I worked with Omnikey support to resolve this, and the > > current version of the driver (above) works well for me. > Minor issue > > is that I have encountered pcscd failing to shutdown > (intermittent), > > and I suspect that it is related to the current version of > the driver. > > Mailed the Omnikey guys about this, but have heard nothing. > > > > Jason. > > > > Osborn, Justin D. wrote: > > > Hi all, > > > I'm trying to get the RFID interface of an Omnikey > > 5321 reader > > > working with pcscd. For reasons outside of my control, I'm stuck > > > using a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, > > as well as > > > the RFID driver available from Omnikey. When I ran > > pcsc-lite it gave > > > me a message about hotplug support disabled with the > > Omnikey driver, > > > so I assume it loaded the driver properly. However, as soon as I > > > insert the reader, I get a kernel panic. It all happens > > too quickly > > > to see any useful messages. > > > > > > Is this a possible configuration? Do current versions of > pcsc-lite > > > support a 2.4 kernel or do I need an older version? > > > > > > I have an email in to Omnikey, but on the first round they > > just told > > > me to upgrade my kernel, which I can't. > > > > > > If this isn't possible, are there any suggestions for > > alternatives? > > > My goal is to integrate this with a Java application, so I > > eventually > > > need to get a Java API in place. One possibility may be > > librfid which > > > supports the Omnikey 5321, but I guess I'd probably have > to write a > > > JNI library. > > > > > > Please excuse my muscle/pcsc/smart card newbie-ness. :-) > > > > > > Thanks, > > > Justin > > > > > > -- > > > Justin D. Osborn > > > Software Engineer > > > Information Operations > > > JHU/APL > > > > > > _______________________________________________ > > > Muscle mailing list > > > Muscle@... > > > http://lists.drizzle.com/mailman/listinfo/muscle > > > > > > > > > > > > > > > ----------------- > > Utiba Pty Ltd > > This message has been scanned for viruses and dangerous content by > > Utiba mail server and is believed to be clean. > > > > > > _______________________________________________ > Muscle mailing list > Muscle@... > http://lists.drizzle.com/mailman/listinfo/muscle > _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Card not transactedHi all,
This is still about my previous post which hasn't been resolved yet. When I look at the output of pcscd after running my test program, I see the line: ifdwrapper.c:674:IFDControl() Card not transacted: 606 Could this mean there is a problem with the driver, rather than a problem with my program? What does Card not transacted mean? Thanks, Justin -- Justin D. Osborn Software Engineer Information Operations JHU/APL > -----Original Message----- > From: Osborn, Justin D. > Sent: Monday, May 14, 2007 1:05 PM > To: 'MUSCLE'; Jason Grant > Subject: syncapi issues - was RE: [Muscle] PC/SC kernel panic > with Omnikey 5321 > > Hi all, > Does anyone out there have experience using the Omnikey > syncapi? I'm using HID iClass 16K cards, so I'm stuck using > their API. I tried to write a simple program to get the Card > Serial Number. I based the code on testpcsc.c from > pcsc-lite. Everything works up until the call to > SCardCLICCTransmit (analogous to SCardTransmit), which > returns an error. I based the call on the example provided > in the user manual, and I tried several different commands > but didn't have any luck. > > I attached the code (test.c), the output (ttest.out) and the > output from pcscd (pcscd.out). Any ideas would be greatly > appreciated. > > Thanks, > Justin > > -- > Justin D. Osborn > Software Engineer > Information Operations > JHU/APL > > > > -----Original Message----- > > From: muscle-bounces@... > > [mailto:muscle-bounces@...] On Behalf Of Osborn, > > Justin D. > > Sent: Wednesday, May 09, 2007 1:23 PM > > To: Jason Grant; MUSCLE > > Subject: RE: [Muscle] PC/SC kernel panic with Omnikey 5321 > > > > Jason, > > Success! I updated RH 9 to 2.4.34.4 (the latest stable > > 2.4 kernel), installed version of 2.3.0 of the Omnikey > driver, and it > > worked. Pcscd loaded the proper driver when the reader was > inserted > > with no kernel panic. When I ran testpcsc and placed the > card on the > > reader, I got data back. > > > > Before I upgraded I tried the old kernel with v. 2.3.0 of > the Omnikey > > driver and got a slightly less verbose kernel panic, enough > to figure > > out that the panic was occurring in the uhci_hcd module. > So my guess > > is that the problem was a bug in the USB uhci module that > the Omnikey > > driver happening to be invoking. > > > > Now I just have to write my application... :-) > > > > Many thanks! > > Justin > > > > -- > > Justin D. Osborn > > Software Engineer > > Information Operations > > JHU/APL > > > > > > > -----Original Message----- > > > From: Jason Grant [mailto:expires07@...] > > > Sent: Tuesday, May 08, 2007 7:21 PM > > > To: MUSCLE; Osborn, Justin D. > > > Subject: Re: [Muscle] PC/SC kernel panic with Omnikey 5321 > > > > > > Hi Justin, > > > > > > I'm using the following configuration: > > > > > > * pcsc-lite 1.40 > > > * ifdokrfid_lnx-2.3.0.tar.gz > > > * kernel 2.4.21-47.ELsmp (RHEL3) > > > > > > and it has been working well for a couple of months. Major issue > > > encountered was the previous version of the driver > > producing "card not > > > transacted" errors when 60-byte APDUs were requested via > the "Read > > > Data" > > > command, but I worked with Omnikey support to resolve > this, and the > > > current version of the driver (above) works well for me. > > Minor issue > > > is that I have encountered pcscd failing to shutdown > > (intermittent), > > > and I suspect that it is related to the current version of > > the driver. > > > Mailed the Omnikey guys about this, but have heard nothing. > > > > > > Jason. > > > > > > Osborn, Justin D. wrote: > > > > Hi all, > > > > I'm trying to get the RFID interface of an Omnikey > > > 5321 reader > > > > working with pcscd. For reasons outside of my control, > I'm stuck > > > > using a 2.4 kernel (RH 9). I downloaded pcsc-lite 1.4.0, > > > as well as > > > > the RFID driver available from Omnikey. When I ran > > > pcsc-lite it gave > > > > me a message about hotplug support disabled with the > > > Omnikey driver, > > > > so I assume it loaded the driver properly. However, as > soon as I > > > > insert the reader, I get a kernel panic. It all happens > > > too quickly > > > > to see any useful messages. > > > > > > > > Is this a possible configuration? Do current versions of > > pcsc-lite > > > > support a 2.4 kernel or do I need an older version? > > > > > > > > I have an email in to Omnikey, but on the first round they > > > just told > > > > me to upgrade my kernel, which I can't. > > > > > > > > If this isn't possible, are there any suggestions for > > > alternatives? > > > > My goal is to integrate this with a Java application, so I > > > eventually > > > > need to get a Java API in place. One possibility may be > > > librfid which > > > > supports the Omnikey 5321, but I guess I'd probably have > > to write a > > > > JNI library. > > > > > > > > Please excuse my muscle/pcsc/smart card newbie-ness. :-) > > > > > > > > Thanks, > > > > Justin > > > > > > > > -- > > > > Justin D. Osborn > > > > Software Engineer > > > > Information Operations > > > > JHU/APL > > > > > > > > _______________________________________________ > > > > Muscle mailing list > > > > Muscle@... > > > > http://lists.drizzle.com/mailman/listinfo/muscle > > > > > > > > > > > > > > > > > > > > > ----------------- > > > Utiba Pty Ltd > > > This message has been scanned for viruses and dangerous > content by > > > Utiba mail server and is believed to be clean. > > > > > > > > > > _______________________________________________ > > Muscle mailing list > > Muscle@... > > http://lists.drizzle.com/mailman/listinfo/muscle > > _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
| Free embeddable forum powered by Nabble | Forum Help |