Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Doesn't work with my Samsung Galaxy S II #5

Closed
baugp opened this Issue Dec 18, 2012 · 10 comments

Comments

Projects
None yet
3 participants

baugp commented Dec 18, 2012

I have S2 with Android 2.3.6 Gingerbread. USB tethering works fine with Windows.

Machine : MacBook Air 2011 13"
OS X version : 10.7.5
HoRNDIS pkg : HoRNDIS-rel2.pkg

The driver doesn't load startup, so I load it with kextload.
When I plug it in, it appears as a Modem in Network Preferences (as before).

I attached the log files from kernel.log and USB Prober below.
Thanks a lot.

kernel.log

After connecting the phone to USB port
kernel[0]: USBMSC Identifier (non-unique): 304D19BA84548C7E 0x4e8 0x685e 0x400
kernel[0]: AppleUSBCDCACMData: Version number - 4.1.22, Input buffers 8, Output buffers 16
kernel[0]: AppleUSBCDC: Version number - 4.1.22
After enabling USB tethering
kernel[0]: 0xffffff801ce5da00/(5) Device not responding
kernel[0]: 0 ff AppleUSBCDCACMControl: configureACM - ACM Control interface has vendor specific protocol
kernel[0]: 0 0 AppleUSBCDCACMControl: start - configureACM failed
kernel[0]: AppleUSBCDCACMData: Version number - 4.1.22, Input buffers 8, Output buffers 16
kernel[0]: AppleUSBCDC: Version number - 4.1.22

USB Bus Probe

High Speed device @ 4 (0xFD120000): ............................................. Communication device: "SAMSUNG_Android"
Port Information: 0x1018
Not Captive
External Device
Connected
Enabled
Number Of Endpoints (includes EP0):
Total Endpoints for Configuration 1 (current): 4
Device Descriptor
Descriptor Version Number: 0x0200
Device Class: 2 (Communication)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 64
Device VendorID/ProductID: 0x04E8/0x6863 (Samsung Electronics Co., Ltd.)
Device Version Number: 0x0400
Number of Configurations: 1
Manufacturer String: 1 "SAMSUNG"
Product String: 2 "SAMSUNG_Android"
Serial Number String: 3 "304D19BA84548C7E"
Configuration Descriptor (current config)
Length (and contents): 75
Raw Descriptor (hex) 0000: 09 02 4B 00 02 01 00 C0 30 08 0B 00 02 02 06 00
Raw Descriptor (hex) 0010: 0A 09 04 00 00 01 02 02 FF 08 05 24 00 10 01 05
Raw Descriptor (hex) 0020: 24 01 00 01 04 24 02 00 05 24 06 00 01 07 05 86
Raw Descriptor (hex) 0030: 03 08 00 09 09 04 01 00 02 0A 00 00 09 07 05 8B
Raw Descriptor (hex) 0040: 02 00 02 00 07 05 0A 02 00 02 00
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 96 ma
Interface Association Communications-Control
First Interface 0
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 6
Interface Protocol 0
Function String 10 "RNDIS"
Interface #0 - Communications-Control .............................................. "RNDIS Communications Control"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 255
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 01
Comm Class Abstract Control Management Functional Descriptor
Raw Descriptor (hex) 0000: 04 24 02 00
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 00 01
Endpoint 0x86 - Interrupt Input
Address: 0x86 (IN)
Attributes: 0x03 (Interrupt no synchronization data endpoint)
Max Packet Size: 8 (8 x 1 transactions opportunities per microframe)
Polling Interval: 9 (256 microframes (32 msecs) )
Interface #1 - Communications-Data/Unknown Comm Class Model .............................................. "RNDIS Ethernet Data"
Alternate Setting 0
Number of Endpoints 2
Interface Class: 10 (Communications-Data)
Interface Subclass; 0 (Unknown Comm Class Model)
Interface Protocol: 0
Endpoint 0x8B - Bulk Input
Address: 0x8B (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 512
Polling Interval: 0 ( Endpoint never NAKs)
Endpoint 0x0A - Bulk Output
Address: 0x0A (OUT)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 512
Polling Interval: 0 ( Endpoint never NAKs)
Device Qualifier Descriptor
Descriptor Version Number: 0x0200
Device Class 2 (Communication)
Device Subclass 0
Device Protocol 0
Device MaxPacketSize: 64
Number of Configurations: 1
bReserved: 0
Other Speed Configuration Descriptor
Length (and contents): 75
Raw Descriptor (hex) 0000: 09 07 4B 00 02 01 00 C0 30 08 0B 00 02 02 06 00
Raw Descriptor (hex) 0010: 0A 09 04 04 00 01 02 02 FF 08 05 24 00 10 01 05
Raw Descriptor (hex) 0020: 24 01 00 01 04 24 02 00 05 24 06 04 05 07 05 86
Raw Descriptor (hex) 0030: 03 08 00 20 09 04 05 00 02 0A 00 00 09 07 05 8B
Raw Descriptor (hex) 0040: 02 40 00 00 07 05 0A 02 40 00 00
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 96 ma
Interface Association Communications-Control
First Interface 0
Interface Count 2
Function Class 2 (Communications-Control)
Function Subclass 6
Interface Protocol 0
Function String 10 "RNDIS"
Interface #4 - Communications-Control .............................................. "RNDIS Communications Control"
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 255
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 01
Comm Class Abstract Control Management Functional Descriptor
Raw Descriptor (hex) 0000: 04 24 02 00
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 04 05
Endpoint 0x86 - Interrupt Input
Address: 0x86 (IN)
Attributes: 0x03 (Interrupt no synchronization data endpoint)
Max Packet Size: 8
Polling Interval: 32 ms
Interface #5 - Communications-Data/Unknown Comm Class Model .............................................. "RNDIS Ethernet Data"
Alternate Setting 0
Number of Endpoints 2
Interface Class: 10 (Communications-Data)
Interface Subclass; 0 (Unknown Comm Class Model)
Interface Protocol: 0
Endpoint 0x8B - Bulk Input
Address: 0x8B (IN)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x0A - Bulk Output
Address: 0x0A (OUT)
Attributes: 0x02 (Bulk no synchronization data endpoint)
Max Packet Size: 64
Polling Interval: 0 ms

USB Log

After connecting the phone to USB port

34.747 [2] AppleUSBEHCI[0xffffff800a888000]::PollInterrupts - deferring checking for RHStatus until we are running again
34.771 [3] AppleUSBHub[0xffffff800a8d5000]::DecrementOutstandingIO(2118), outstandingIO(0), _interruptReadPending(false) - rearming read
34.771 [3] AppleUSBHub[0xffffff800a8d5000]::DecrementOutstandingIO(2118), outstandingIO(0), _interruptReadPending(false) - rearming read
34.771 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8c4e00) from dmaCommand (0xffffff800a8b9980)
34.771 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8c4e00) from dmaCommand (0xffffff800a8b9980)
34.771 [3] AppleUSBEHCI[0xffffff800a888000]::UIMRootHubStatusChange got bitmap (0x2)
34.771 [3] AppleUSBEHCI[0xffffff800a888000]::UIMRootHubStatusChange got bitmap (0x2)
34.771 [3] AppleUSBHub[0xffffff800a8d5000]::ChangeRaisedPowerState(+) now (1)
34.771 [3] AppleUSBHub[0xffffff800a8d5000]::ChangeRaisedPowerState(+) now (1)
34.783 [3] AppleUSBHubPort[0xffffff800a8afc00]::WakeSuspendCommand calling commandWakeUp
34.783 [3] AppleUSBHubPort[0xffffff800a8afc00]::WakeSuspendCommand calling commandWakeUp
34.783 [3] AppleUSBHub[0xffffff800a8d5000]::ChangeRaisedPowerState(-) now (0)
34.783 [3] AppleUSBHub[0xffffff800a8d5000]::ChangeRaisedPowerState(-) now (0)
34.783 [3] AppleUSBHub[0xffffff800a8d5000]::DecrementOutstandingIO(2124), outstandingIO(0), _interruptReadPending(false) - rearming read
34.783 [3] AppleUSBHub[0xffffff800a8d5000]::DecrementOutstandingIO(2124), outstandingIO(0), _interruptReadPending(false) - rearming read
34.783 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8c4e00) from dmaCommand (0xffffff800a8b9980)
34.783 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8c4e00) from dmaCommand (0xffffff800a8b9980)
34.784 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2125), outstandingIO(0), _interruptReadPending(false) - rearming read
34.784 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2125), outstandingIO(0), _interruptReadPending(false) - rearming read
34.799 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
34.799 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
34.837 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
34.837 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (2)
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (2)
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (1)
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (1)
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2130), outstandingIO(0), _interruptReadPending(false) - rearming read
34.901 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2130), outstandingIO(0), _interruptReadPending(false) - rearming read
34.903 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
34.903 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
34.927 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
34.927 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
35.039 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
35.039 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
35.042 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
35.042 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
35.045 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
35.045 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
35.045 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2135), outstandingIO(0), _interruptReadPending(false) - rearming read
35.045 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2135), outstandingIO(0), _interruptReadPending(false) - rearming read

After enabling USB tethering

37.272 [2] IOUSBPipe[0xffffff801db70800]::Read(sync) returned 0xe00002ed (device is not responding) - stalling pipe
37.272 [2] IOUSBPipe[0xffffff801db70800]::Read(sync) returned 0xe00002ed (device is not responding) - stalling pipe
37.272 [3] IOUSBInterfaceUserClientV2[0xffffff8020680800]::ReadPipe - returning err e00002ed, size read: 0
37.272 [3] IOUSBInterfaceUserClientV2[0xffffff8020680800]::ReadPipe - returning err e00002ed, size read: 0
37.272 [2] IOUSBPipeV2[0xffffff801db70800]::Abort setting status to 0
37.272 [2] IOUSBPipeV2[0xffffff801db70800]::Abort setting status to 0
37.295 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
37.295 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
37.333 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.333 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.390 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.390 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.397 [2] IOUSBDevice(SAMSUNG_Android)[0xffffff800c43e700]::terminate - making sure all endpoints are enabled
37.397 [2] IOUSBDevice(SAMSUNG_Android)[0xffffff800c43e700]::terminate - making sure all endpoints are enabled
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - Mass Storage[0xffffff80240e1800] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - Mass Storage[0xffffff80240e1800] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff80200cb000] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff80200cb000] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC ACM Data[0xffffff8010688200] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC ACM Data[0xffffff8010688200] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - IOUSBInterface[0xffffff800d7a6400] is not in _OPEN_CLIENTS
37.401 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - IOUSBInterface[0xffffff800d7a6400] is not in _OPEN_CLIENTS
37.405 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - Mass Storage[0xffffff80240e1800] is not in _OPEN_CLIENTS
37.405 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - Mass Storage[0xffffff80240e1800] is not in _OPEN_CLIENTS
37.408 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff80200cb000] is not in _OPEN_CLIENTS
37.408 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff80200cb000] is not in _OPEN_CLIENTS
37.413 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC ACM Data[0xffffff8010688200] is not in _OPEN_CLIENTS
37.413 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - CDC ACM Data[0xffffff8010688200] is not in _OPEN_CLIENTS
37.418 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - IOUSBInterface[0xffffff800d7a6400] is not in _OPEN_CLIENTS
37.418 [2] SAMSUNG_Android[0xffffff800c43e700]::handleIsOpen - IOUSBInterface[0xffffff800d7a6400] is not in _OPEN_CLIENTS
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (2)
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (2)
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (1)
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (1)
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2140), outstandingIO(0), _interruptReadPending(false) - rearming read
37.421 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2140), outstandingIO(0), _interruptReadPending(false) - rearming read
37.422 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
37.422 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
37.455 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
37.455 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(+) now (1)
37.492 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.492 [3] AppleUSBHub[0xffffff800a9c7000]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
37.568 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
37.568 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
37.571 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
37.571 [3] AppleUSBEHCI[0xffffff800a888000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
37.573 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
37.573 [3] AppleUSBHub[0xffffff800a9c7000]::ChangeRaisedPowerState(-) now (0)
37.573 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2145), outstandingIO(0), _interruptReadPending(false) - rearming read
37.573 [3] AppleUSBHub[0xffffff800a9c7000]::DecrementOutstandingIO(2145), outstandingIO(0), _interruptReadPending(false) - rearming read

@baugp baugp closed this Dec 18, 2012

Owner

jwise commented Dec 18, 2012

Looks like you closed the issue ... did you get it working? If not, feel free to reopen and I'll be happy to take a look.

@baugp baugp reopened this Dec 18, 2012

baugp commented Dec 18, 2012

sorry, it was an accident
I reopened it
thanks for your help :D

Owner

jwise commented Dec 18, 2012

No problem! I think I know what is going on, but I will need to take a look in more detail later today. Thanks for the bug report.

Owner

jwise commented Dec 22, 2012

Oops, sorry I did not get around to this earlier this week. I will try to take a closer look this weekend.

Hey @jwise, any updates on this one?

Owner

jwise commented Dec 25, 2012

Hi gang, sorry for the delay. @mariusbutuc and @baugp, can you test:

http://nyus.joshuawise.com/HoRNDIS-sgs2-test.pkg

Thanks,
joshua

jwise added a commit that referenced this issue Dec 25, 2012

baugp commented Jan 5, 2013

Sorry for my delay as well.

However, this doesn't work with my SGS2. I still see it as a modem in Network Preferences.

I got this message after installing your HoRNDIS-sgs2-test.pkg
Screen Shot 2013-01-05 at 12 16 33

I also have some problem when trying to kextload it, but managed to load it after deleting the .#Info.plist symlink.

$ sudo kextload /System/Library/Extensions/HoRNDIS.kext/
/System/Library/Extensions/HoRNDIS.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).

$ sudo kextutil /System/Library/Extensions/HoRNDIS.kext/
Diagnostics for /System/Library/Extensions/HoRNDIS.kext:
Authentication Failures: 
    File not found: 
        /System/Library/Extensions/HoRNDIS.kext/Contents/.#Info.plist

$ ls -la /System/Library/Extensions/HoRNDIS.kext/Contents/
total 16
drwxr-xr-x  6 root      wheel   204  5 Jan 12:15 .
lrwxr-xr-x  1 Piyamate  staff    17  5 Jan 12:15 .#Info.plist -> joshua@here.22043
drwxr-xr-x  3 root      wheel   102 24 Dec 23:54 ..
-rw-r--r--  1 root      wheel  3786 24 Dec 23:54 Info.plist
drwxr-xr-x  3 root      wheel   102 24 Dec 23:54 MacOS
drwxr-xr-x  3 root      wheel   102 19 Nov 07:30 Resources

$ sudo rm /System/Library/Extensions/HoRNDIS.kext/Contents/.#Info.plist 
$ sudo kextload /System/Library/Extensions/HoRNDIS.kext/
$ sudo kextstat | grep -i horndis
  242    0 0xffffff7f808a6000 0x6000     0x6000     com.joshuawise.kexts.HoRNDIS (1.0.0d1) <37 30 5 4 3 1>

kernel.log

After connecting the phone to USB port

kernel[0]: USBMSC Identifier (non-unique): 304D19BA84548C7E 0x4e8 0x685e 0x400
kernel[0]: AppleUSBCDCACMData: Version number - 4.1.22, Input buffers 8, Output buffers 16
kernel[0]: AppleUSBCDC: Version number - 4.1.22
kernel[0]: utun_ctl_connect: creating interface utun0
kernel[0]: utun0: attached with 0 suspended link-layer multicast membership(s)

After enabling USB tethering

kernel[0]: 0       ff AppleUSBCDCACMControl: configureACM - ACM Control interface has vendor specific protocol
kernel[0]: 0        0 AppleUSBCDCACMControl: start - configureACM failed
kernel[0]: AppleUSBCDCACMData: Version number - 4.1.22, Input buffers 8, Output buffers 16
kernel[0]: AppleUSBCDC: Version number - 4.1.22

USB Log

After connecting the phone to USB port

Timestamp Lvl   Message
    2.003 [2]   AppleUSBEHCI[0xffffff800a887000]::PollInterrupts - deferring checking for RHStatus until we are running again
    2.027 [3]   AppleUSBHub[0xffffff800a8cd800]::DecrementOutstandingIO(50428), outstandingIO(0), _interruptReadPending(false) - rearming read
    2.027 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be100) from dmaCommand (0xffffff800a8b0500)
    2.027 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMRootHubStatusChange got bitmap (0x2)
    2.027 [3]   AppleUSBHub[0xffffff800a8cd800]::ChangeRaisedPowerState(+) now (1)
    2.038 [3]   AppleUSBHubPort[0xffffff800e08fe00]::WakeSuspendCommand  calling commandWakeUp
    2.039 [3]   AppleUSBHub[0xffffff800a8cd800]::ChangeRaisedPowerState(-) now (0)
    2.039 [3]   AppleUSBHub[0xffffff800a8cd800]::DecrementOutstandingIO(50434), outstandingIO(0), _interruptReadPending(false) - rearming read
    2.039 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be100) from dmaCommand (0xffffff800a8b0300)
    2.039 [3]   AppleUSBHub[0xffffff8012c93400]::DecrementOutstandingIO(50435), outstandingIO(0), _interruptReadPending(false) - rearming read
    2.054 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (1)
    2.155 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (2)
    2.155 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (1)
    2.155 [3]   AppleUSBHub[0xffffff8012c93400]::DecrementOutstandingIO(50440), outstandingIO(0), _interruptReadPending(false) - rearming read
    2.157 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (0)
    2.182 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (1)
    2.294 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
    2.297 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
    2.299 [3]   IOUSBControllerV3(AppleUSBEHCI)[0xffffff800a887000]::ChangeExternalDeviceCount - got first external device, changing assertion to ON
    2.299 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (0)
    2.299 [3]   AppleUSBHub[0xffffff8012c93400]::DecrementOutstandingIO(50445), outstandingIO(0), _interruptReadPending(false) - rearming read
    3.978 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::InterruptReadHandler error kIOReturnAborted. Try again.
    3.983 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(+) now (1)
    3.994 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(-) now (0)
    3.994 [3]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]: received kIOUSBMessagePortHasBeenSuspended
    3.994 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]: received kIOUSBMessagePortHasBeenSuspended
    3.994 [3]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]: received kIOUSBMessagePortHasBeenSuspended
    4.022 [3]   AppleUSBHub[0xffffff8012cc7c00]::InterruptReadHandler error kIOReturnAborted (expected)
    4.022 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(+) now (1)
    4.035 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(-) now (0)
    4.059 [3]   AppleUSBHub[0xffffff800a8cdc00]::InterruptReadHandler error kIOReturnAborted (expected)
    4.507 [2]   AppleUSBEHCI[0xffffff800a878000]::PollInterrupts - deferring checking for RHStatus until we are running again
    4.531 [3]   AppleUSBHub[0xffffff800a8cdc00]::DecrementOutstandingIO(50453), outstandingIO(0), _interruptReadPending(false) - rearming read
    4.531 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be900) from dmaCommand (0xffffff800a71d180)
    4.531 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMRootHubStatusChange got bitmap (0x2)
    4.531 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(+) now (1)
    4.541 [3]   AppleUSBHubPort[0xffffff800eadbc00]::WakeSuspendCommand  calling commandWakeUp
    4.542 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(-) now (0)
    4.542 [3]   AppleUSBHub[0xffffff800a8cdc00]::DecrementOutstandingIO(50459), outstandingIO(0), _interruptReadPending(false) - rearming read
    4.542 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be900) from dmaCommand (0xffffff800a71d180)
    4.543 [3]   AppleUSBHub[0xffffff8012cc7c00]::DecrementOutstandingIO(50460), outstandingIO(0), _interruptReadPending(false) - rearming read
    4.559 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(+) now (1)
    4.571 [3]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
    4.571 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
    4.571 [3]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
    4.571 [3]   AppleUSBHubPort[0xffffff800e042e00]::WakeSuspendCommand  calling commandWakeUp
    4.571 [2]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::RearmInterruptRead - already had outstanding read pending - just ignoring
    4.571 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(-) now (0)
    4.571 [3]   AppleUSBHub[0xffffff8012cc7c00]::DecrementOutstandingIO(50465), outstandingIO(0), _interruptReadPending(false) - rearming read
    4.571 [2]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::RearmInterruptRead - already had outstanding read pending - just ignoring
    4.571 [2]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]::RearmInterruptRead - already had outstanding read pending - just ignoring
    4.571 [2]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]::RearmInterruptRead - already had outstanding read pending - just ignoring

After enabling USB tethering

Timestamp Lvl   Message
    8.966 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (1)
    8.967 [3]   IOUSBControllerV3(AppleUSBEHCI)[0xffffff800a887000]::ChangeExternalDeviceCount - removed final external device, changing assertion to OFF
    8.967 [2]   IOUSBDevice(SAMSUNG_Android)[0xffffff800a9d3700]::terminate - making sure all endpoints are enabled
    8.984 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - Mass Storage[0xffffff800df4fc00] is not in _OPEN_CLIENTS
    8.984 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff800b036c00] is not in _OPEN_CLIENTS
    8.984 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - CDC ACM Data[0xffffff800e025000] is not in _OPEN_CLIENTS
    8.984 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - IOUSBInterface[0xffffff800d764400] is not in _OPEN_CLIENTS
    8.988 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - Mass Storage[0xffffff800df4fc00] is not in _OPEN_CLIENTS
    8.991 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - CDC Abstract Control Model (ACM)[0xffffff800b036c00] is not in _OPEN_CLIENTS
    8.995 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - CDC ACM Data[0xffffff800e025000] is not in _OPEN_CLIENTS
    8.995 [2]   SAMSUNG_Android[0xffffff800a9d3700]::handleIsOpen - IOUSBInterface[0xffffff800d764400] is not in _OPEN_CLIENTS
    9.003 [3]   AppleUSBHub[0xffffff8012c93400]::HubAreAllPortsDisconnectedOrSuspended - port 2 still initing, status changing, or adding a device (0/1/0)
    9.099 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (2)
    9.099 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (1)
    9.099 [3]   AppleUSBHub[0xffffff8012c93400]::DecrementOutstandingIO(50470), outstandingIO(0), _interruptReadPending(false) - rearming read
    9.102 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (0)
    9.126 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(+) now (1)
    9.238 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateControlEndpoint(0, 0, 64, 2 @(0, 0))
    9.241 [3]   AppleUSBEHCI[0xffffff800a887000]::UIMCreateControlEndpoint(4, 0, 64, 2 @(0, 0))
    9.243 [3]   IOUSBControllerV3(AppleUSBEHCI)[0xffffff800a887000]::ChangeExternalDeviceCount - got first external device, changing assertion to ON
    9.243 [3]   AppleUSBHub[0xffffff8012c93400]::ChangeRaisedPowerState(-) now (0)
    9.243 [3]   AppleUSBHub[0xffffff8012c93400]::DecrementOutstandingIO(50475), outstandingIO(0), _interruptReadPending(false) - rearming read
   11.001 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::InterruptReadHandler error kIOReturnAborted. Try again.
   11.005 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(+) now (1)
   11.016 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(-) now (0)
   11.016 [3]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]: received kIOUSBMessagePortHasBeenSuspended
   11.016 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]: received kIOUSBMessagePortHasBeenSuspended
   11.016 [3]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]: received kIOUSBMessagePortHasBeenSuspended
   11.045 [3]   AppleUSBHub[0xffffff8012cc7c00]::InterruptReadHandler error kIOReturnAborted (expected)
   11.045 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(+) now (1)
   11.057 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(-) now (0)
   11.082 [3]   AppleUSBHub[0xffffff800a8cdc00]::InterruptReadHandler error kIOReturnAborted (expected)
   13.786 [2]   AppleUSBEHCI[0xffffff800a878000]::PollInterrupts - deferring checking for RHStatus until we are running again
   13.810 [3]   AppleUSBHub[0xffffff800a8cdc00]::DecrementOutstandingIO(50483), outstandingIO(0), _interruptReadPending(false) - rearming read
   13.810 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be900) from dmaCommand (0xffffff800a71d180)
   13.810 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMRootHubStatusChange got bitmap (0x2)
   13.810 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(+) now (1)
   13.821 [3]   AppleUSBHubPort[0xffffff800eadbc00]::WakeSuspendCommand  calling commandWakeUp
   13.821 [3]   AppleUSBHub[0xffffff800a8cdc00]::ChangeRaisedPowerState(-) now (0)
   13.821 [3]   AppleUSBHub[0xffffff800a8cdc00]::DecrementOutstandingIO(50489), outstandingIO(0), _interruptReadPending(false) - rearming read
   13.821 [3]   AppleUSBEHCI[0xffffff800a878000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0xffffff800a8be900) from dmaCommand (0xffffff800a71d180)
   13.822 [3]   AppleUSBHub[0xffffff8012cc7c00]::DecrementOutstandingIO(50490), outstandingIO(0), _interruptReadPending(false) - rearming read
   13.853 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(+) now (1)
   13.864 [3]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
   13.864 [3]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
   13.864 [3]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
   13.864 [3]   AppleUSBHubPort[0xffffff800e042e00]::WakeSuspendCommand  calling commandWakeUp
   13.864 [2]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::RearmInterruptRead - already had outstanding read pending - just ignoring
   13.864 [3]   AppleUSBHub[0xffffff8012cc7c00]::ChangeRaisedPowerState(-) now (0)
   13.864 [3]   AppleUSBHub[0xffffff8012cc7c00]::DecrementOutstandingIO(50495), outstandingIO(0), _interruptReadPending(false) - rearming read
   13.864 [2]   IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xffffff8010047800]::RearmInterruptRead - already had outstanding read pending - just ignoring
   13.865 [2]   IOUSBHIDDriver(AppleUSBTCKeyboard)[0xffffff800ce95a00]::RearmInterruptRead - already had outstanding read pending - just ignoring
   13.865 [2]   IOUSBHIDDriver(AppleUSBTCButtons)[0xffffff800f3a6e00]::RearmInterruptRead - already had outstanding read pending - just ignoring
Owner

jwise commented Jan 5, 2013

Can you try rm'ing the kext, rebooting, and then installing the most recent version from my site? This really should have fixed it ... maybe the IORegistry got into a weird state with the original broken installer?

If that doesn't do it, I'll take a look at it later this weekend again and double-check my work... maybe I typoed one of the device IDs or something...

baugp commented Jan 5, 2013

Tried the new one. It installed and loaded automatically.
Unfortunately it didn't work :(

Owner

jwise commented Jan 29, 2013

Should have been fixed from #10 , I'll roll a build when I get home.

@jwise jwise closed this Jan 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment