2013-11-20 38 views
2

我試圖在我的Arduino Lenardo設備上選擇/dev/tty.usbmodem。操作系統是Mac OSX 10.9。Mac OS 10.9不顯示用於Arduino的USB調制解調器

問題是它沒有顯示。我甚至嘗試安裝FTDI,但它沒用。

更新:從您的Mac

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# 

回答

1

斷開你的Arduino。在Mac上打開應用程序文件夾,啓動「終端」。現在,在終端窗口中,輸入「dmesg」。這會向您顯示控制檯日誌。

現在,插入你的Arduino,然後重新運行dmesg命令。如果操作系統「檢測到萊昂納多,並且還爲它創建了OSX設備(例如/ dev/ttyUSB0),您應該會看到一條消息。如果沒有,您可能會遇到設備或電纜的硬件問題...

+0

我已經更新了我的帖子,在輸入'dmesg'後添加了輸出(輸出是在附加了arduino後獲得的)任何線索有什麼不對? –

+0

我不太確定,說實話,顯然OSX抱怨有問題與USB設備,我猜是Arduino。有沒有機會嘗試另一個電纜,或另一個arduino?或者失敗,將arduino連接到Windows機器,並看看你是否有一個新的COM端口?可以是硬件或軟件,萊昂納多在軟件中實現USB CDC Profile ...(不使用FTDI芯片組)。您是否對Leonardo進行了編程?是否有任何機會導致軟件環路出現嚴重延遲)方法?草圖需要t o循環並處理USB事件.... – Greycon