forked from chihchun/ez100pu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imported 5b772d31973646f7cc311928d00f9fb470823fc4 EZUSB_Linux_x86_64_…
…v1.5.3.zip Signed-off-by: Rex Tsai <[email protected]>
- Loading branch information
0 parents
commit e90d680
Showing
13 changed files
with
1,580 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
#! /bin/sh | ||
# | ||
#[ -f "somefile" ] : Test if somefile is a file. | ||
#[ -x "/bin/ls" ] : Test if /bin/ls exists and is executable. | ||
#[ -n "$var" ] : Test if the variable $var contains something | ||
#[ "$a" = "$b" ] : Test if the variables "$a" and "$b" are equal | ||
# | ||
|
||
check_result='Y' | ||
pcsc_driver_path_found='N' | ||
pcscd_exist='N' | ||
usbfs_exist='N' | ||
|
||
if [ -x "/usr/local/sbin/pcscd" ]; then | ||
pcscd_exist='Y' | ||
fi | ||
|
||
if [ -x "/usr/sbin/pcscd" ]; then | ||
pcscd_exist='Y' | ||
fi | ||
|
||
if [ -x "/sbin/pcscd" ]; then | ||
pcscd_exist='Y' | ||
fi | ||
|
||
if pcscd -v; then | ||
pcscd_exist='Y' | ||
fi | ||
|
||
if [ $pcscd_exist = 'N' ]; then | ||
echo "Warning! Cannot Find PC/SC Daemon!" | ||
echo "Please install PC/SC Lite from Website http://www.linuxnet.com" | ||
check_result='N' | ||
else | ||
echo "PC/SC Daemon Ready!" | ||
fi | ||
|
||
if [ -f "/proc/bus/usb/devices" ]; then | ||
echo "/proc/bus/usb Detected" | ||
usbfs_exist='Y' | ||
fi | ||
|
||
if [ -d "/dev/bus/usb/001" ]; then | ||
echo "/dev/bus/usb Detected" | ||
usbfs_exist='Y' | ||
fi | ||
|
||
if [ $usbfs_exist = 'N' ]; then | ||
echo "Error! USB Device File System Not Mounted" | ||
echo "Please mount usbfs first by \"mount -t usbfs none /proc/bus/usb\"" | ||
check_result='N' | ||
else | ||
echo "USB Device File System Ready!" | ||
fi | ||
|
||
if [ -d "/usr/local/pcsc" ]; then | ||
echo "Found PC/SC Driver Location - /usr/local/pcsc" | ||
pcsc_driver_path_found='Y' | ||
fi | ||
|
||
if [ -d "/usr/pcsc" ]; then | ||
echo "Found PC/SC Driver Location - /usr/pcsc" | ||
pcsc_driver_path_found='Y' | ||
fi | ||
|
||
if [ -d "/usr/lib/pcsc" ]; then | ||
echo "Found PC/SC Driver Location - /usr/lib/pcsc" | ||
pcsc_driver_path_found='Y' | ||
fi | ||
|
||
if [ -d "/usr/lib/readers" ]; then | ||
echo "Found PC/SC Driver Location - /usr/lib/readers" | ||
pcsc_driver_path_found='Y' | ||
fi | ||
|
||
if [ -d "/usr/lib64/readers" ]; then | ||
echo "Found PC/SC Driver Location - /usr/lib64/readers" | ||
pcsc_driver_path_found='Y' | ||
fi | ||
|
||
if [ $check_result = 'Y' ]; then | ||
echo "Environment Check OK!" | ||
else | ||
echo "Environment Not OK!" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
EZUSB(EZ100PU/EZMINI)����1.5.3(for 64-bit) PC/SC���z�dŪ�d���X�ʵ{���w�˨B�J: | ||
|
||
1. ���������˴�: ./check_env | ||
�Y���"PC/SC Daemon Not Ready", ��http://www.linuxnet.com/middle.html | ||
�U���w�� pcsc-lite �M�� | ||
�Y���"Error! USB Device File System Not Mounted",�Ш̫��ܸ��JUSB�ɮרt�� | ||
|
||
�`�N: �Y�L�k����,�Х�"chmod 777 check_env"�N��script�令������ | ||
|
||
2. ����w�˵{�� : ./install | ||
|
||
�`�N: 1. �Y�L�k����,�Х�"chmod 777 install"�N��script�令������ | ||
2. ����root�v���~�ॿ�T�w�� | ||
|
||
3. ���s�}�� | ||
|
||
4. ���s�Ұʫᴡ�J�d��, �YŪ�d���O����ܬ�����, ���ܦw�˦��\ | ||
|
||
�`�N�ƶ�: 1. Linux Kernel ������ij2.4�H�W | ||
2. �p�G�w�w��1.3.4�H�e�������X�ʵ{��, �Х������A�i��w�� | ||
�n�������e������: | ||
�в����b/etc/reader.conf������EZ100PU�X�ʵ{�����]�w | ||
3. ���O�X�ʵ{���n�DPCSCLITE�����ϥ�LIBUSB, �YLIBHAL����PCSCLIE,�h�X | ||
�ʵ{���L�k���T�B�@ |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> | ||
<plist version="0.9"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>Taiwan</string> | ||
<key>CFBundleExecutable</key> | ||
<string>ezusb.so</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>0.0.1d1</string> | ||
<key>ifdCapabilities</key> | ||
<string>0x00000000</string> | ||
<key>ifdFriendlyName</key> | ||
<string>CASTLES EZ100PU</string> | ||
<key>ifdManufacturerString</key> | ||
<string>CASTLES</string> | ||
<key>ifdProductID</key> | ||
<string>0x0010</string> | ||
<key>ifdProductString</key> | ||
<string>EZ100PU</string> | ||
<key>ifdProtocolSupport</key> | ||
<string>0x00000001</string> | ||
<key>ifdVendorID</key> | ||
<string>0x0CA6</string> | ||
<key>ifdVersionNumber</key> | ||
<string>0x00000001</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
Oops, something went wrong.