PCSC-Lite packages for OE 1.6 Images (Duo and Solo)

Status
Not open for further replies.

angelofsky1980

BlackHole Driver Specialist
I will attach on this post the ipk files and a package for BlackHole image to implement PCSC smartcard readers if you need another reader.

Install is very simple.

Prerequisites:
- copy all mipsel.ipk files into your box (usually /tmp folder)
- if you have Duo box, copy bm750.ipk files into your box (usually /tmp folder)
- if you have Solo box, copy vusolo.ipk files into your box (usually /tmp folder)
- connect your PCSC device before installation

Install from Image:
- using the image package manager, install ipk files in the filename order (1 to 8)
- install the bh.tgz file only after the ipk installation
- reboot your box

Install from telnet:
- go to into folder you are uploaded the files (usually /tmp)
- do the following command:
Code:
ipkg install *.ipk
- using your image package manager, install bh.tgz package
- reboot your box

Post-install verification steps:
- login into your box via telnet or ssh
- do the following commands:
Code:
ps aux | grep hald
ps aux | grep pcscd

If the report (at least in the output text):
Code:
/usr/sbin/hald
/usr/sbin/pcscd

the installtion is done and you can use your new reader.
Report what reader you use if works correctly.
Please respect rules of this board :)
 

Attachments

  • 1_hal-info_20090414-r0_all.ipk
    21.4 KB · Views: 114
  • 2_libdbus-glib-1-2_0.82-r0.0_mipsel.ipk
    47 KB · Views: 92
  • 3_libusb-1.0-0_1.0.4-r0_mipsel.ipk
    22.7 KB · Views: 89
  • 4_libusb-0.1-4_0.1.2-r0_mipsel.ipk
    7 KB · Views: 87
  • 5_hal_0.5.11-r6_bm750.ipk
    344 KB · Views: 90
  • 6_pcsc-lite_1.5.2-r0_mipsel.ipk
    44.2 KB · Views: 90
  • 7_libpcsclite1_1.5.2-r0_mipsel.ipk
    21 KB · Views: 89
  • 8_ccid_1.3.8-r0_mipsel.ipk
    48.8 KB · Views: 90
  • pcscd_init_bh.tgz
    479 bytes · Views: 106
  • hal_0.5.11-r6_vusolo.ipk
    344.9 KB · Views: 58

pappaalfio

BH Lover
Perfetto Angelo, va benissimo, avevo anch'io quelle lib ma non sapevo come compilare... il problema ora è... vabbè te lo dirò in un altro memento, grazie ancora.
Ciao
 

cydonia84

Vu+ Newbie
Volevo segnalare che, se si riavvia il box con il lettore pcsc inserito ci sono problemi, ecco il log del demone pcscd:

Code:
00837962 ifdhandler.c:99:IFDHCreateChannelByName() failed
00000300 readerfactory.c:1025:RFInitializeReader() Open Port 200000 Failed (usb:076b/3021:libhal:/org/freedesktop/Hal/devices/usb_device_76b_3021_noserial_if0)
00000151 readerfactory.c:910:RFUnloadReader() Unloading reader driver.
00001585 readerfactory.c:232:RFAddReader() OmniKey CardMan 3121 init failed.
00000145 hotplug_libhal.c:397:HPAddDevice() Failed adding USB device: usb_device_76b_3021_noserial_if0
Se invece il lettore si collega al box quando ha finito di fare il reboot, tutto ok.
 

Safak Sonmez

Vu+ Newbie
Hi there ;

Is there a way to install the pcsc drivers on BG image 1.45 on Vu SOLO/DUO....I tried your guide but it gives an architecture error for 5_hal_0.5.11-r6_bm750.ipk ... As far as i have searched there is a backup from Pappaalfio for BH 1.44 which shows it is possible...

but how ?

Please please suggest on how to proceed..
Thanks in advance
 

angelofsky1980

BlackHole Driver Specialist
Hi there ;

Is there a way to install the pcsc drivers on BG image 1.45 on Vu SOLO/DUO....I tried your guide but it gives an architecture error for 5_hal_0.5.11-r6_bm750.ipk ... As far as i have searched there is a backup from Pappaalfio for BH 1.44 which shows it is possible...

but how ?

Please please suggest on how to proceed..
Thanks in advance

I will reb-build the packages and I upload here the new ones.
Thanks for your input, I don't use PCSC readers :)
 

angelofsky1980

BlackHole Driver Specialist
i need to check for the file(s) under this topic , right ?

Yes.
You need these files:

For Duo and Solo boxes: *mipsel.ipk and *bh.tgz files

Also you need a ipk file depending of your box:
- for Duo you must install *bm750.ipk file
- for Solo you must install *vusolo.ipk file

I hope this little schema is more clear :)
 

Safak Sonmez

Vu+ Newbie
The schema is real clear ; but regarding the new driver files for solo (*vusolo.ipk) and for duo (*bm750.ipk) , will you re-build and publish or do i need to lookf or some place else ?
thanks a zillion :)
 

Safak Sonmez

Vu+ Newbie
Hi again ;

My pcsc card reader is an ACR38 ... i have it running on win and linux boxes...using the package you have re-built on my solo,unfortunately could not
manage to have it run...

the output of pcsc -f is

pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00005638 pcscdaemon.c:505:main() pcsc-lite 1.5.2 daemon ready.
02362369 hotplug_libhal.c:490:HPRegisterForHotplugEvents() Could not initialise connection to hald.
00000344 hotplug_libhal.c:491:HPRegisterForHotplugEvents() Normally this means the HAL daemon (hald) is not running or not ready.
00000142 pcscdaemon.c:524:main() SVCServiceRunLoop returned
00000167 pcscdaemon.c:530:at_exit() cleaning /var/run/pcscd

the output of pcscd -H is
pcscdaemon.c:371:main() Hotplug failed: pcscd is not running

Is it because of the specific drivers for ACR38 is missing or am i still doing sth wrong ?

Please advise...
 

angelofsky1980

BlackHole Driver Specialist
Hi again ;

My pcsc card reader is an ACR38 ... i have it running on win and linux boxes...using the package you have re-built on my solo,unfortunately could not
manage to have it run...

the output of pcsc -f is

pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00005638 pcscdaemon.c:505:main() pcsc-lite 1.5.2 daemon ready.
02362369 hotplug_libhal.c:490:HPRegisterForHotplugEvents() Could not initialise connection to hald.
00000344 hotplug_libhal.c:491:HPRegisterForHotplugEvents() Normally this means the HAL daemon (hald) is not running or not ready.
00000142 pcscdaemon.c:524:main() SVCServiceRunLoop returned
00000167 pcscdaemon.c:530:at_exit() cleaning /var/run/pcscd

the output of pcscd -H is
pcscdaemon.c:371:main() Hotplug failed: pcscd is not running

Is it because of the specific drivers for ACR38 is missing or am i still doing sth wrong ?

Please advise...

Have you installed at the end of all ipk files, the bh.tgz package?
 

Safak Sonmez

Vu+ Newbie
I installed all 8 ipk packages (*vusolo.ipk for solo and *bm750.ipk for duo) and then the bh.tgz ; rebooted the box ...and the output is as above....
 

angelofsky1980

BlackHole Driver Specialist
I installed all 8 ipk packages (*vusolo.ipk for solo and *bm750.ipk for duo) and then the bh.tgz ; rebooted the box ...and the output is as above....

On Vu+duo you must install these IPK files:
Code:
1_hal-info_20090414-r0_all.ipk
2_libdbus-glib-1-2_0.82-r0.0_mipsel.ipk
3_libusb-1.0-0_1.0.4-r0_mipsel.ipk
4_libusb-0.1-4_0.1.2-r0_mipsel.ipk
5_hal_0.5.11-r6_bm750.ipk
6_pcsc-lite_1.5.2-r0_mipsel.ipk
7_libpcsclite1_1.5.2-r0_mipsel.ipk
8_ccid_1.3.8-r0_mipsel.ipk

On Vu+Solo you must install these IPK files:
Code:
1_hal-info_20090414-r0_all.ipk
2_libdbus-glib-1-2_0.82-r0.0_mipsel.ipk
3_libusb-1.0-0_1.0.4-r0_mipsel.ipk
4_libusb-0.1-4_0.1.2-r0_mipsel.ipk
hal_0.5.11-r6_vusolo.ipk
6_pcsc-lite_1.5.2-r0_mipsel.ipk
7_libpcsclite1_1.5.2-r0_mipsel.ipk
8_ccid_1.3.8-r0_mipsel.ipk

After you have installed the IPK files, you must install the file

Code:
pcscd_init_bh.tgz

I've tried the install procedure on my Duo and works correctly with my Gemplus PCSC device.
 

Safak Sonmez

Vu+ Newbie
that is what i have done exactly...but on my solo...will try from the scratch and report about the compatibility of acr38...

In the meanwhile i m trying this on VuSolo on BH1.45...
 

tobler

Vu+ User
@safak, the acr38 is NOT ccid :( the acr38u is ccid (standard)
i have one here, unlucky i cannot get it working (is not pcsc so need its driver)

happy to read if someone get it working

acr38=
idVendor 0x072f Advanced Card Systems, Ltd
idProduct 0x9000 ACR38 AC1038-based Smart Card Reader

linux drivers for the acr38 (in the non-ccid folder): http://www.acs.com.hk/drivers/eng/ACR38_Driver_Lnx_1000_P.zip

if someone get it working.....
 

Safak Sonmez

Vu+ Newbie
The label says ;
PN : ACR38U-SPC-R but the box says ACR38...i ll go crazy with these model numbers/digits...i ll try and let u know...
 

tobler

Vu+ User
verify it with a linux pc:
lsusb -vv
if idvendor and idproduct looks as mine, we need a mipsel compiled driver (i'm not an expert but i think so)
instead the 8_ccid one

the working one is reported as 0x90cc (taken from the 8_ccid driver)
you can verify as well from windows, in the hardware window maybe in the driver tab
 
Status
Not open for further replies.
Top