Install Note
Install Note
= =
= Alcormicro Smart card reader =
= Linux TARBALL Package Release Note =
=
=
=====================================================
=========================================
#Step1. Install libusb
#=========================================
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig;export PKG_CONFIG_PATH
cd ../pcsc-lite-1.7.4
./configure --disable-libudev
make
make install #(Login as a root to install driver)
http://lesswatts.org/projects/devices-power-management/usb.php
Device and Bus Power Management
* printers
* hubs
* some USB Ethernet devices
* USB LCDs
Although kernel drivers may support autosuspend, some USB devices may not properly
implement autosuspend. These devices may behave in unexpected ways, or simply not
work after the kernel attempts to suspend them. Often a physical disconnection from
the bus will fix the problem, but only until the kernel attempts to suspend the
device again.
To enable autosuspend, you must recompile your kernel with CONFIG_USB_SUSPEND. (As
of 2.6.23-rc6, this feature is marked "experimental".) You may also want to enable
CONFIG_USB_DEBUG so you can see suspend and resume messages via dmesg.
Autosuspending USB devices
To attempt to autosuspend your USB device, first use lsusb as root to find out the
bus number and device number of your usb device:
$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 009: ID 058f:9540 Alcor Micro Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
We know the USB to ethernet device's directory is 1-2 because the device and bus
numbers match the lsusb output. Now we can tell the kernel that it should suspend
this device automatically if it is not being used. First we set the idle timeout to
2 seconds:
For a more complete description of USB power management, see the file
Documentation/usb/power-management.txt, which is in kernel sources 2.6.24-rc2 and
later.