2013-11-20 2 views
2

Я пытаюсь выбрать /dev/tty.usbmodem на моем устройстве Arduino Lenardo. ОС - Mac OSX 10.9.Mac OS 10.9 не отображает USB-модем для Arduino

Проблема в том, что она не отображается. Я даже пытался установить FTDI, но это было бесполезно.

Update:

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. Откройте папку «Программы» на Mac, запустите «Terminal». Теперь в окне терминала введите «dmesg». Это покажет вам журнал консоли.

Теперь подключите Arduino и запустите команду dmesg. Вы должны увидеть сообщение, если ОС «обнаружила Леонардо», а также созданное для него устройство OSX (например,/dev/ttyUSB0). Если нет, у вас могут возникнуть проблемы с аппаратным обеспечением или кабель ...

+0

Я добавил комментарий после ввода 'dmesg' (Результат был получен после присоединения arduino). Любой подскажите, что не так? –

+0

Я не уверен, если честно. Очевидно, OSX жалуется на проблему с USB-устройством, которое я угадываю, это Arduino. Есть ли шанс, что вы можете попробовать другой кабель или другой ардуино? Или, если это не так, подключите ардуино к машине Windows и посмотрите, есть ли у вас новый COM-порт? может быть аппаратным или программным обеспечением. Леонардо реализует профиль USB CDC в программном обеспечении ... (не использует чипсет FTDI.) Вы запрограммировали Leonardo? Есть ли вероятность, что вы вызвали большую задержку в программном цикле () метод? Эскизам нужно t o петля и ручки USB-событий .... – Greycon

Смежные вопросы