Skip to content

Commit

Permalink
imported 5b772d31973646f7cc311928d00f9fb470823fc4 EZUSB_Linux_x86_64_…
Browse files Browse the repository at this point in the history
…v1.5.3.zip

Signed-off-by: Rex Tsai <[email protected]>
  • Loading branch information
chihchun committed May 17, 2013
0 parents commit e90d680
Show file tree
Hide file tree
Showing 13 changed files with 1,580 additions and 0 deletions.
86 changes: 86 additions & 0 deletions driver_ezusb_v1.5.3_for_64_bit/check_env
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

24 changes: 24 additions & 0 deletions driver_ezusb_v1.5.3_for_64_bit/creadme.txt
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 added driver_ezusb_v1.5.3_for_64_bit/driver_install
Binary file not shown.
34 changes: 34 additions & 0 deletions driver_ezusb_v1.5.3_for_64_bit/drivers/Info.plist
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 added driver_ezusb_v1.5.3_for_64_bit/drivers/ezusb.so
Binary file not shown.
Loading

0 comments on commit e90d680

Please sign in to comment.