Phidget Interface Kit disconnect at check Appsoftware update

Supporting 10.7 and up
User avatar
Patrick
Lead Developer
Posts: 3089
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Thu Feb 11, 2016 1:27 pm

This tells me that the phidgetwebservice has the Phidget open. Are you using the phidgetwebservice? If not, you may want to try disabling in in the control panel. I need to took into why the webservice would be holding onto a Phidget like that when it shouldn't.

-Patrick

Jarimac
Phidgetsian
Posts: 7
Joined: Tue Feb 09, 2016 4:22 am
Contact:

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Jarimac » Thu Feb 11, 2016 3:55 pm

Hi Patrick

Are you using the phidgetwebservice?

Yes I have tried to use only the USB port but the application will not connect. I shutdown and restart OSX without the web service running and it start up OK but still disconnect on software update.

Below is ioreg with no web service after restart

Code: Select all

      |   | +-o PhidgetInterfaceKit@fa210000  <class AppleUSBDevice, id 0x10000$
      |   |   | {
      |   |   |   "sessionID" = 2332670606723
      |   |   |   "iManufacturer" = 1
      |   |   |   "bNumConfigurations" = 1
      |   |   |   "idProduct" = 69
      |   |   |   "bcdDevice" = 2072
      |   |   |   "Bus Power Available" = 500
      |   |   |   "USB Address" = 2
      |   |   |   "bMaxPacketSize0" = 8
      |   |   |   "iProduct" = 2
      |   |   |   "iSerialNumber" = 3
      |   |   |   "bDeviceClass" = 0
      |   |   |   "Built-In" = No
      |   |   |   "locationID" = 18446744073611051008
      |   |   |   "bDeviceSubClass" = 0
      |   |   |   "bcdUSB" = 272
      |   |   |   "USB Product Name" = "PhidgetInterfaceKit"
      |   |   |   "PortNum" = 1
      |   |   |   "non-removable" = "no"
      |   |   |   "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="$
      |   |   |   "bDeviceProtocol" = 0
      |   |   |   "IOUserClientClass" = "IOUSBDeviceUserClientV2"
      |   |   |   "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerStat$
      |   |   |   "Device Speed" = 0
      |   |   |   "USB Vendor Name" = "Phidgets Inc."
      |   |   |   "idVendor" = 1730
      |   |   |   "IOGeneralInterest" = "IOCommand is not serializable"
      |   |   |   "USB Serial Number" = "37047"
      |   |   |   "IOClassNameOverride" = "IOUSBDevice"
      |   |   | }
      |   |   |
      |   |   +-o AppleUSBInterface@0  <class AppleUSBInterface, id 0x1000005e4$
      |   |     | {
      |   |     |   "IOCFPlugInTypes" = {"2d9786c6-9ef3-11d4-ad51-000a27052861"$
      |   |     |   "bcdDevice" = 2072
      |   |     |   "IOUserClientClass" = "IOUSBInterfaceUserClientV3"
      |   |     |   "idProduct" = 69
      |   |     |   "bInterfaceSubClass" = 0
      |   |     |   "bConfigurationValue" = 1
      |   |     |   "locationID" = 18446744073611051008
      |   |     |   "IOClassNameOverride" = "IOUSBInterface"
      |   |     |   "bInterfaceProtocol" = 0
      |   |     |   "idVendor" = 1730
      |   |     |   "bAlternateSetting" = 0
      |   |     |   "iInterface" = 0
      |   |     |   "bInterfaceNumber" = 0
      |   |     |   "bInterfaceClass" = 3
      |   |     |   "bNumEndpoints" = 1
      |   |     | }
      |   |     |
      |   |     +-o com_phidgets_Phidget  <class com_phidgets_Phidget, id 0x100$
      |   |     |   {
      |   |     |     "bInterfaceNumber" = 0
      |   |     |     "CFBundleIdentifier" = "com.phidgets.driver.Phidget"
      |   |     |     "IOProviderClass" = "IOUSBInterface"
      |   |     |     "IOClass" = "com_phidgets_Phidget"
      |   |     |     "bConfigurationValue" = 1
      |   |     |     "IOProbeScore" = 90000
      |   |     |     "idProduct" = 69
      |   |     |     "IOMatchCategory" = "IODefaultMatchCategory"
      |   |     |     "idVendor" = 1730
      |   |     |   }
      |   |     |   
      |   |     +-o System Preferenc  <class IOUSBInterfaceUserClientV3, id 0x1$
      |   |         {
      |   |           "IOUserClientCreator" = "pid 639, System Preferenc"
      |   |         }


Shutdown and restart again with web service enabled and started up again OK

JR

User avatar
Patrick
Lead Developer
Posts: 3089
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Tue Feb 16, 2016 3:20 pm

When you say it disconnects on software update - do you mean when the system does an automated update install and reboots, or some other circumstance? This will be a bit hard to test unless I have some uninstalled updates to install.

-Patrick

Jarimac
Phidgetsian
Posts: 7
Joined: Tue Feb 09, 2016 4:22 am
Contact:

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Jarimac » Wed Feb 17, 2016 3:53 am

Hi Patrick
Thanks for tying to solve the issue

I disabled the automated software update and do a manual check, below is the procedure I do. Rebooting the software is not required.

From the Finder or Launchpad start application “App Store”.
From the “App Store” main window double click Updates (The icon on the right side)
You will get checking updates and getting a list of updates or no updates available.

From the terminal command line I get before a software check. (third party software )
kextstat |grep -v com.apple
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
71 0 0xffffff7f81b69000 0x8000 0x8000 com.FTDI.driver.FTDIUSBSerialDriver (2.2.18) 638ECCC3-375D-CD1A-C2EC-0DC14740FC9C <70 43 5 4 3 1>
79 0 0xffffff7f80cb2000 0x2000 0x2000 com.phidgets.driver.Phidget (1.0.0d1) 59826F11-EF6C-304F-A514-3A5BDF89786F <43 4 3>
80 0 0xffffff7f80ef4000 0x7000 0x7000 com.silabs.driver.CP210xVCPDriver64 (3.1.0d1) FA9752CB-31E3-552B-A327-9DF54CA9921E <70 43 4 3>
134 3 0xffffff7f82bf1000 0x60000 0x60000 org.virtualbox.kext.VBoxDrv (5.0.14) A272EAA2-9920-3F34-A32A-F2FD5C05D271 <7 5 4 3 1>
137 0 0xffffff7f82c51000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.0.14) 8EF141D6-6B87-39BA-9D4F-6EDDF6C68B5F <136 134 43 7 5 4 3 1>
138 0 0xffffff7f82c59000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.0.14) 8F0FC629-CCC2-371E-A682-09040D9B8AB5 <134 7 5 4 3 1>
139 0 0xffffff7f82c5e000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.0.14) A92ACCED-E21F-36CF-A7F7-921F3B76B080 <134 5 4 1>

This is what I get running software update.
kextstat |grep -v com.apple
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
71 0 0xffffff7f81b69000 0x8000 0x8000 com.FTDI.driver.FTDIUSBSerialDriver (2.2.18) 638ECCC3-375D-CD1A-C2EC-0DC14740FC9C <70 43 5 4 3 1>
80 0 0xffffff7f80ef4000 0x7000 0x7000 com.silabs.driver.CP210xVCPDriver64 (3.1.0d1) FA9752CB-31E3-552B-A327-9DF54CA9921E <70 43 4 3>
134 3 0xffffff7f82bf1000 0x60000 0x60000 org.virtualbox.kext.VBoxDrv (5.0.14) A272EAA2-9920-3F34-A32A-F2FD5C05D271 <7 5 4 3 1>
137 0 0xffffff7f82c51000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.0.14) 8EF141D6-6B87-39BA-9D4F-6EDDF6C68B5F <136 134 43 7 5 4 3 1>
138 0 0xffffff7f82c59000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.0.14) 8F0FC629-CCC2-371E-A682-09040D9B8AB5 <134 7 5 4 3 1>
139 0 0xffffff7f82c5e000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.0.14) A92ACCED-E21F-36CF-A7F7-921F3B76B080 <134 5 4 1>

The com.phidgets.driver.Phidget is missing and is disconnected from the OS.

After unplugging the phidget from the usb port and plugging it back in it will work again.
kextstat |grep -v com.apple
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
71 0 0xffffff7f81b69000 0x8000 0x8000 com.FTDI.driver.FTDIUSBSerialDriver (2.2.18) 638ECCC3-375D-CD1A-C2EC-0DC14740FC9C <70 43 5 4 3 1>
80 0 0xffffff7f80ef4000 0x7000 0x7000 com.silabs.driver.CP210xVCPDriver64 (3.1.0d1) FA9752CB-31E3-552B-A327-9DF54CA9921E <70 43 4 3>
134 3 0xffffff7f82bf1000 0x60000 0x60000 org.virtualbox.kext.VBoxDrv (5.0.14) A272EAA2-9920-3F34-A32A-F2FD5C05D271 <7 5 4 3 1>
137 0 0xffffff7f82c51000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.0.14) 8EF141D6-6B87-39BA-9D4F-6EDDF6C68B5F <136 134 43 7 5 4 3 1>
138 0 0xffffff7f82c59000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.0.14) 8F0FC629-CCC2-371E-A682-09040D9B8AB5 <134 7 5 4 3 1>
139 0 0xffffff7f82c5e000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.0.14) A92ACCED-E21F-36CF-A7F7-921F3B76B080 <134 5 4 1>
142 0 0xffffff7f82c64000 0x2000 0x2000 com.phidgets.driver.Phidget (1.0.0d1) 59826F11-EF6C-304F-A514-3A5BDF89786F <43 4 3>

To test for possible any third party influence I also tried the same procedure on the same iMac but booted from an external firewire hard disk with only the bare El Capitan Install + phidget Interface kit.

and installed the interface kit on a separate iMac both with the same results e.g disconnecting the kext.

Apparently the software updates detects any incompatible software.

Hope above explains it better what is happening.

JR

User avatar
Patrick
Lead Developer
Posts: 3089
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Wed Sep 21, 2016 4:31 pm

This bug has been fixed in the latest release.

-Patrick


Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest