~system76-dev/system76-driver/2.1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
#
## System76, Inc.
## Copyright System76, Inc.
## Released under the GNU General Public License (See LICENSE)
## Install Ricoh Card Reader Driver
import os

DRIVERDIR = os.path.join(os.path.dirname(__file__), 'ricoh')

def card_reader():
    # Install Driver Package
    os.chdir(DRIVERDIR)
    os.system('sudo dpkg -i --force-architecture ricoh-r5c832-fix_1_i386.deb')