【问题标题】:Mac OS 10.9 doesn't display USB modem for ArduinoMac OS 10.9 不显示 Arduino 的 USB 调制解调器
【发布时间】:2013-11-20 18:52:48
【问题描述】:

我正在尝试在我的Arduino Lenardo 设备上选择/dev/tty.usbmodem。操作系统为 Mac OSX 10.9。

问题是它没有显示。我什至尝试安装FTDI,但没有用。

更新:

sh-3.2# dmesg
luetoothUSBDFU::probe
IOBluetoothUSBDFU::probe ProductID - 0x821A FirmwareVersion - 0x0042
**** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0xdc00 ****
**** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed -- 0xdc00 ****
[IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0xdc00 
[IOBluetoothHCIController::setConfigState] calling registerService
**** [IOBluetoothHCIController][protectedBluetoothHCIControllerTransportShowsUp] -- Connected to the transport successfully -- 0xe780 -- 0x3000 -- 0xdc00 ****

DSMOS has arrived
 mTail has not been written to hardware: mTail = 0x00000000, hardare tail register = 0x00000040
flow_divert_kctl_disconnect (0): disconnecting group 1
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
createVirtIf(): ifRole = 1
in func createVirtualInterface ifRole = 1
AirPort_Brcm4331_P2PInterface::init name <p2p0> role 1
AirPort_Brcm4331_P2PInterface::init() <p2p> role 1
Created virtif 0xffffff80174ed400 p2p0
en1: 802.11d country code set to 'TW'.
en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
hfs: mounted Recovery HD on device disk0s3
hfs: unmount initiated on Recovery HD on device disk0s3
MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: Link Up on en1
en1: BSSID changed to c8:3a:35:54:c7:b9
AirPort: RSN handshake complete on en1
flow_divert_kctl_disconnect (0): disconnecting group 1
AppleKeyStore:Sending lock change 0
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 343] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=343[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
SMC::smcReadKeyAction ERROR: smcReadData8 failed for key B0PS (kSMCKeyNotFound)
SMC::smcReadKeyAction ERROR: smcReadData8 failed for key B0OS (kSMCKeyNotFound)
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: RSN handshake complete on en1
wl0: Roamed or switched channel, reason #8, bssid c8:3a:35:54:c7:b9
en1: BSSID changed to c8:3a:35:54:c7:b9
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 3345639bd98273913ff25086fe0151f45fea0fa3] [com.apple.message.signature3 38872323d4adae2cb310de88ceeeae695630ffd7] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 866] [com.apple.message.signature3 ksadmin] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=866[ksadmin] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 868] [com.apple.message.signature3 ksadmin] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=868[ksadmin] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 973] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=973[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 1215] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=1215[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 1549] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=1549[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 1781] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=1781[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 1988] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=1988[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 2209] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=2209[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
USBF:    23925.735    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23928.637    The IOUSBFamily was not able to enumerate a device.
USBF:    23929.798    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23930.235    The IOUSBFamily was not able to enumerate a device.
USBF:    23931.688    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23934.686    The IOUSBFamily was not able to enumerate a device.
USBF:    23935.528    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23938.926    The IOUSBFamily was not able to enumerate a device.
USBF:    23939.752    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23940.583    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0xfd100000)
USBF:    23940.583    The IOUSBFamily was not able to enumerate a device.
USBF:    23943.529    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    23943.529    The IOUSBFamily was not able to enumerate a device.
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.mismatch] [com.apple.message.signature 1000] [com.apple.message.signature2 53a18aae61685cc356b171ce37cc504048ed45a1] [com.apple.message.signature3 b928c695e1e1a867d5fc392eb8f09e460f3139af] [com.apple.message.summarize YES] 
         0 [Level 5] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.cs.invalidate] [com.apple.message.signature invalidate] [com.apple.message.signature4 2478] [com.apple.message.signature3 GoogleSoftwareUp] [com.apple.message.summarize YES] 
CODE SIGNING: cs_invalid_page(0x1000): p=2478[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
wl0: Roamed or switched channel, reason #8, bssid c8:3a:35:54:c7:b9
en1: BSSID changed to c8:3a:35:54:c7:b9
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
wl0: Roamed or switched channel, reason #8, bssid c8:3a:35:54:c7:b9
en1: BSSID changed to c8:3a:35:54:c7:b9
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

wlEvent: en1 en1 Link DOWN virtIf = 0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

flow_divert_kctl_disconnect (0): disconnecting group 1
flow_divert_kctl_disconnect (0): disconnecting group 1
MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: Link Up on en1
en1: BSSID changed to c8:3a:35:54:c7:b9
wlEvent: en1 en1 Link DOWN virtIf = 0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: Link Up on en1
en1: BSSID changed to c8:3a:35:54:c7:b9
wlEvent: en1 en1 Link DOWN virtIf = 0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: Link Up on en1
en1: BSSID changed to c8:3a:35:54:c7:b9
wlEvent: en1 en1 Link DOWN virtIf = 0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
en1: 802.11d country code set to 'X2'.
en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
en1: 802.11d country code set to 'TW'.
en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

MacAuthEvent en1   Auth result for: c8:3a:35:54:c7:b9  MAC AUTH succeeded
wlEvent: en1 en1 Link UP virtIf = 0
AirPort: Link Up on en1
en1: BSSID changed to c8:3a:35:54:c7:b9
AirPort: RSN handshake complete on en1
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

flow_divert_kctl_disconnect (0): disconnecting group 1
**** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xdc00 ****

ttyioss12000000: enqueueData rtn (e00002d8)
ttyioss12000000: enqueueData rtn (e00002d8)
USBF:    25854.340    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    25857.339    The IOUSBFamily was not able to enumerate a device.
USBF:    25858.179    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    25861.579    The IOUSBFamily was not able to enumerate a device.
ttyioss12000000: enqueueData rtn (e00002d8)
ttyioss12000000: enqueueData rtn (e00002d8)
USBF:    25862.402    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    25863.237    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0xfd100000)
USBF:    25863.237    The IOUSBFamily was not able to enumerate a device.
ttyioss12000000: enqueueData rtn (e00002d8)
ttyioss12000000: enqueueData rtn (e00002d8)
USBF:    26089.162    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26089.593    The IOUSBFamily was not able to enumerate a device.
USBF:    26090.343    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26090.344    The IOUSBFamily was not able to enumerate a device.
USBF:    26092.428    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26100.388    The IOUSBFamily was not able to enumerate a device.
USBF:    26101.231    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26101.965    The IOUSBFamily was not able to enumerate a device.
USBF:    26124.500    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26127.496    The IOUSBFamily was not able to enumerate a device.
USBF:    26128.340    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26131.738    The IOUSBFamily was not able to enumerate a device.
USBF:    26132.565    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0xfd100000)
USBF:    26133.396    The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 2 of Hub at 0xfd100000)
USBF:    26133.396    The IOUSBFamily was not able to enumerate a device.
sh-3.2# 

【问题讨论】:

    标签: macos arduino arduino-ide


    【解决方案1】:

    断开 Arduino 与 Mac 的连接。在 Mac 上打开 Applications 文件夹,启动“终端”。现在,在终端窗口中,输入“dmesg”。这将显示控制台日志。

    现在,插入您的 Arduino,然后重新运行 dmesg 命令。如果 OS" 检测到 Leonardo 以及为其创建的 OSX 设备,您应该会看到一条消息。(例如 /dev/ttyUSB0)如果没有,您可能是设备或电缆存在硬件问题...

    【讨论】:

    • 我更新了我的帖子。我在输入dmesg 后添加了输出(输出是在附加arduino 后获得的)。有什么线索吗?
    • 老实说,我不确定。显然 OSX 抱怨 USB 设备有问题,我猜是 Arduino。您是否有机会尝试另一条电缆或另一个 arduino?或者失败了,将 arduino 连接到 Windows 机器,看看你是否有一个新的 COM 端口?它可以是硬件或软件。 Leonardo 在软件中实现了 USB CDC 配置文件……(不使用 FTDI 芯片组。)您是否对 Leonardo 进行了编程?您是否有可能在软件 loop() 方法中造成很大的延迟?草图需要循环和处理 USB 事件....
    • 此故障的最常见原因是 USB 仅供电。无法计算我不得不重新学习这一课的次数。但在过去的三天里,我发现了一些新的东西,以前工作的 Mega 2560 不再可见。我在电源引脚上运行了 50 个左右的 LED。当我拔掉这些时,端口出现了。因此,请检查您的外围设备是否从电路板上消耗了过多的电量。
    猜你喜欢
    • 2018-07-18
    • 1970-01-01
    • 1970-01-01
    • 2011-11-13
    • 2014-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-31
    相关资源
    最近更新 更多