Skip to content

Commit

Permalink
Add microSD driver (#1)
Browse files Browse the repository at this point in the history
* Create reader.conf

* Create Info.plist

* Add sd card driver
  • Loading branch information
jcooter authored Jan 21, 2025
1 parent 367e4b9 commit db5f305
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions files/system/etc/reader.conf.d/reader.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FRIENDLYNAME "Secure Flash Card"
# device name /dev/null let's the ifdhandler search for *mounted* sd cards
DEVICENAME /dev/null
#set the path to your libifdsfc.so
LIBPATH /usr/lib/pcsc/drivers/ifd-sfc.bundle/Contents/Linux/libifdsfc.so
CHANNELID 0
35 changes: 35 additions & 0 deletions files/system/usr/lib64/pcsc/drivers/ifd-sfc.bundle/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ifdCapabilities</key>
<string>IFD_GENERATE_HOTPLUG</string>
<!-- default is
<string>0x00000000</string>
but we want pcscd \-\-hotplug -->


<key>CFBundleExecutable</key>
<string>libifdsfc.so</string>

<key>ifdLogLevel</key>
<string>0x0003</string>


<key>ifdManufacturerString</key>
<string>Swissbit AG</string>

<key>ifdProductString</key>
<string>Driver for Secure Flash Card, version 1.0</string>

<key>ifdVendorID</key>
<string>0x058f</string>

<key>ifdProductID</key>
<string>0x6362</string>

<key>ifdFriendlyName</key>
<string>Alcor Micro Corp. Flash Card Reader/Writer</string>
</dict>
</plist>
Binary file not shown.

0 comments on commit db5f305

Please sign in to comment.