Phidget Interface Kit disconnect at check Appsoftware update

Supporting 10.7 and up
Jarimac
Phidgetsian
Posts: 7
Joined: Tue Feb 09, 2016 4:22 am
Contact:

Phidget Interface Kit disconnect at check Appsoftware update

Postby Jarimac » Tue Feb 09, 2016 4:25 am

I am having some problems with phidget interface kit 8/8/8.
It started to disconnect at unknown intervals at night time . I discovered that it was caused by Apple software update at regular intervals. Disabling the auto update the disconnection dissapeared.
Removing the Interface Kit from the usb port en reinserting it again it will become on-line.

After disconnection the PhidgetInterface Kit dissapear
in About this Mac —>
also in System preferences no phidget interface Kit

I also noticed at reboot the interface kit would not load.

Examining the console log I found the following message

02/08/16 10:54:26,355 com.apple.kextcache[509]: Phidget.kext has invalid signature; omitting.

I am using El capitan 10.11.3
Phidget21 version 2.1.8 built jan 4 2016

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

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Tue Feb 09, 2016 10:49 am

This may be an older Phidget.kext causing the invalid signature issue. El Capitan changed the location where 3rd party Kext files are expected to be installed, so you may ave multiple Phidget.kext files. Open up terminal and see if /System/Library/Extensions/Phidget.kext exists - and if so delete it.

I don't think this should cause issues with loading - the system should just use the .kext in /Library/Extensions instead, so your problem may be something else.

-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 10, 2016 8:24 am

Thanks Patrick for your feedback.
There were indeed 2 kext but unfortunate it did n't resolve the problem.

I did a complete new install of El capitan on an external hard drive and restart from the external hard drive and I have the same problem there,

No startup of the phidget.
Disconnecting and reconnecting the phidget it will come on line.
Software update and it disconnect again.

I also connected the phidget to a dedicated USB port on the iMac without result.

Any suggestions ???

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

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Wed Feb 10, 2016 10:09 am

Does the log message about the .kext go away when you delete that extra kext?

-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 10, 2016 10:47 am

Yes

I also did a install on another iMac it also disconnect at software update

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

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Wed Feb 10, 2016 2:37 pm

I'm able to reproduce the behaviour here. I'm looking into the cause now.

-Patrick

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

Re: Phidget Interface Kit disconnect at check Appsoftware up

Postby Patrick » Wed Feb 10, 2016 4:04 pm

I'm having trouble recreating this issue consistently - for me it works sometimes after a reboot, and sometimes not. Would you be able to send me some info from you system? Either post here or PM me.

In terminal, run:

Code: Select all

ioreg -l > ~/Desktop/ioreg.txt

This will dump a file to your desktop. I'm looking for the part of the tree that starts like:

Code: Select all

+-o PhidgetInterfaceKit@14100000  <class AppleUSBDevice, id 0x1000002e0, registered, matched, active, busy 0 (21 ms), retain 14>

This will show whether the kext is properly matched and loaded.

-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 10, 2016 4:51 pm

Code: Select all

    | |   |   |   | | +-o PhidgetInterfaceKit@fa210000  <class IOUSBHostDevice, id 0x10000052b, !registered, !matched, active, busy 0, retain 21>
    | |   |   |   | |   | {
    | |   |   |   | |   |   "sessionID" = 446043392379
    | |   |   |   | |   |   "USBSpeed" = 2
    | |   |   |   | |   |   "idProduct" = 69
    | |   |   |   | |   |   "bDeviceClass" = 0
    | |   |   |   | |   |   "IOPowerManagement" = {"PowerOverrideOn"=Yes,"CapabilityFlags"=32768,"MaxPowerState"=2,"DevicePowerState"=2,"ChildrenPowerState"=2,"DriverPowerState"=0,"CurrentPowerState"=2}
    | |   |   |   | |   |   "bcdDevice" = 2072
    | |   |   |   | |   |   "USB Product Name" = "PhidgetInterfaceKit"
    | |   |   |   | |   |   "AppleUSBAlternateServiceRegistryID" = 4294968621
    | |   |   |   | |   |   "locationID" = 18446744073611051008
    | |   |   |   | |   |   "kUSBSerialNumberString" = "37047"
    | |   |   |   | |   |   "bDeviceSubClass" = 0
    | |   |   |   | |   |   "kUSBCurrentConfiguration" = 1
    | |   |   |   | |   |   "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
    | |   |   |   | |   |   "bDeviceProtocol" = 0
    | |   |   |   | |   |   "USBPortType" = 0
    | |   |   |   | |   |   "USB Vendor Name" = "Phidgets Inc."
    | |   |   |   | |   |   "idVendor" = 1730
    | |   |   |   | |   |   "USB Serial Number" = "37047"
    | |   |   |   | |   |   "IOGeneralInterest" = "IOCommand is not serializable"
    | |   |   |   | |   |   "kUSBVendorString" = "Phidgets Inc."
    | |   |   |   | |   |   "IOClassNameOverride" = "IOUSBDevice"
    | |   |   |   | |   | }
    | |   |   |   | |   |
    | |   |   |   | |   +-o AppleUSBHostLegacyClient  <class AppleUSBHostLegacyClient, id 0x10000052e, !registered, !matched, active, busy 0, retain 9>
    | |   |   |   | |   |   {
    | |   |   |   | |   |     "kUSBHostDeviceForceSuspend" = No
    | |   |   |   | |   |     "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=2,"CapabilityFlags"=32768,"MaxPowerState"=2,"DriverPowerState"=2}
    | |   |   |   | |   |   }
    | |   |   |   | |   |   


Code: Select all

+-o PhidgetInterfaceKit@fa210000  <class AppleUSBDevice, id 0x10000052d, registered, matched, active, busy 0 (68 ms), retain 17>
      |   |   | {
      |   |   |   "sessionID" = 446043392379
      |   |   |   "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"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
      |   |   |   "bDeviceProtocol" = 0
      |   |   |   "IOUserClientClass" = "IOUSBDeviceUserClientV2"
      |   |   |   "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
      |   |   |   "Device Speed" = 0
      |   |   |   "USB Vendor Name" = "Phidgets Inc."
      |   |   |   "idVendor" = 1730
      |   |   |   "IOGeneralInterest" = "IOCommand is not serializable"
      |   |   |   "USB Serial Number" = "37047"
      |   |   |   "IOClassNameOverride" = "IOUSBDevice"
      |   |   | }
      |   |   |


I found it twice

edit
I did have a few times it loaded at start up too.

JR

User avatar
Patrick
Lead Developer
Posts: 3064
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 9:29 am

Hi,

Thanks for the log. I also need to see everything in the tree below the device - this shows everything on the system that is using the device, and will show whether our driver is loaded or not. Once I started using ioreg, I haven't been able to reproduce the behaviour again - very frustrating. I'm wondering if another driver is claiming the device, or perhaps another program, which would also be shown.

For example, mine is:

Code: Select all

      |     +-o PhidgetInterfaceKit@14100000  <class AppleUSBDevice, id 0x1000002e0, registered, matched, active, busy 0 (21 ms), retain 14>
      |       | {
      |       |   "sessionID" = 2100022338
      |       |   "iManufacturer" = 1
      |       |   "bNumConfigurations" = 1
      |       |   "idProduct" = 69
      |       |   "bcdDevice" = 2308
      |       |   "Bus Power Available" = 500
      |       |   "USB Address" = 2
      |       |   "bMaxPacketSize0" = 8
      |       |   "iProduct" = 2
      |       |   "iSerialNumber" = 3
      |       |   "bDeviceClass" = 0
      |       |   "Built-In" = No
      |       |   "locationID" = 336592896
      |       |   "bDeviceSubClass" = 0
      |       |   "bcdUSB" = 272
      |       |   "USB Product Name" = "PhidgetInterfaceKit"
      |       |   "PortNum" = 1
      |       |   "non-removable" = "no"
      |       |   "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
      |       |   "bDeviceProtocol" = 0
      |       |   "IOUserClientClass" = "IOUSBDeviceUserClientV2"
      |       |   "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3}
      |       |   "Device Speed" = 1
      |       |   "USB Vendor Name" = "Phidgets Inc."
      |       |   "idVendor" = 1730
      |       |   "IOGeneralInterest" = "IOCommand is not serializable"
      |       |   "USB Serial Number" = "174698"
      |       |   "IOClassNameOverride" = "IOUSBDevice"
      |       | }
      |       |
      |       +-o AppleUSBInterface@0  <class AppleUSBInterface, id 0x1000002f0, registered, matched, active, busy 0 (4 ms), retain 6>
      |         | {
      |         |   "IOCFPlugInTypes" = {"2d9786c6-9ef3-11d4-ad51-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
      |         |   "bcdDevice" = 2308
      |         |   "IOUserClientClass" = "IOUSBInterfaceUserClientV3"
      |         |   "idProduct" = 69
      |         |   "bInterfaceSubClass" = 0
      |         |   "bConfigurationValue" = 1
      |         |   "locationID" = 336592896
      |         |   "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 0x1000002f1, !registered, !matched, active, busy 0, retain 4>
      |             {
      |               "bInterfaceNumber" = 0
      |               "CFBundleIdentifier" = "com.phidgets.driver.Phidget"
      |               "IOProviderClass" = "IOUSBInterface"
      |               "IOClass" = "com_phidgets_Phidget"
      |               "bConfigurationValue" = 1
      |               "IOProbeScore" = 90000
      |               "idProduct" = 69
      |               "IOMatchCategory" = "IODefaultMatchCategory"
      |               "idVendor" = 1730
      |             }

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 10:08 am

Code: Select all

      |   | +-o PhidgetInterfaceKit@fa210000  <class AppleUSBDevice, id 0x10000052d, registered, matched, active, busy 0 (68 ms), retain 17>
      |   |   | {
      |   |   |   "sessionID" = 446043392379
      |   |   |   "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"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
      |   |   |   "bDeviceProtocol" = 0
      |   |   |   "IOUserClientClass" = "IOUSBDeviceUserClientV2"
      |   |   |   "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4}
      |   |   |   "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 0x100000534, registered, matched, active, busy 0 (61 ms), retain 16>
      |   |     | {
      |   |     |   "IOCFPlugInTypes" = {"2d9786c6-9ef3-11d4-ad51-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"}
      |   |     |   "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 0x100000536, !registered, !matched, active, busy 0, retain 4>
      |   |     |   {
      |   |     |     "bInterfaceNumber" = 0
      |   |     |     "CFBundleIdentifier" = "com.phidgets.driver.Phidget"
      |   |     |     "IOProviderClass" = "IOUSBInterface"
      |   |     |     "IOClass" = "com_phidgets_Phidget"
      |   |     |     "bConfigurationValue" = 1
      |   |     |     "IOProbeScore" = 90000
      |   |     |     "idProduct" = 69
      |   |     |     "IOMatchCategory" = "IODefaultMatchCategory"
      |   |     |     "idVendor" = 1730
      |   |     |   }
      |   |     |   
      |   |     +-o phidgetwebservic  <class IOUSBInterfaceUserClientV3, id 0x10000053d, !registered, !matched, active, busy 0, retain 6>
      |   |     |   {
      |   |     |     "IOUserClientCreator" = "pid 58, phidgetwebservic"
      |   |     |   }
      |   |     |   
      |   |     +-o phidgetwebservic  <class IOUSBInterfaceUserClientV3, id 0x10000053f, !registered, !matched, active, busy 0, retain 7>
      |   |         {
      |   |           "IOUserClientCreator" = "pid 58, phidgetwebservic"
      |   |         }
      |   |         



Hope this is what your after

BTW can you also produce that the phidgets disconnect when using
App Store select update the phidget disconnect at that stage too.

JR


Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest