Comparing version 0.2.1 to 0.2.2
@@ -0,1 +1,5 @@ | ||
Version: 0.2.2 | ||
------------ | ||
- [BUGFIX] Try to detach kernel driver before open and retach after close on linux, avoids LIBUSB_ERROR_BUSY | ||
Version: 0.2.1 | ||
@@ -11,2 +15,2 @@ ------------ | ||
All other version are not recorded. | ||
All other version are not recorded. |
{ | ||
"name": "pendaq", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "An interface library to Smart-Tech's PenDAq(r)", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -127,4 +127,4 @@ /* | ||
/* | ||
if(this._iface_ctl.isKernelDriverActive()){ | ||
//* | ||
if(process.platform == 'linux' && this._iface_ctl.isKernelDriverActive()){ | ||
this._iface_ctl.detachKernelDriver(); | ||
@@ -202,4 +202,4 @@ } | ||
/* | ||
if(!self._iface_ctl.isKernelDriverActive()){ | ||
//* | ||
if(process.platform == 'linux' && !self._iface_ctl.isKernelDriverActive()){ | ||
self._iface_ctl.attachKernelDriver(); | ||
@@ -206,0 +206,0 @@ } |
32135