Mac OS X, heimdall (odin), ERROR: Claiming interface failed!


Heimdall : http://glassechidna.com.au/heimdall/

#1 에러상황



Nate-Jangs-iMac-5@x% heimdall flash --no-reboot --RECOVERY recovery.img
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
libusbx: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
ERROR: Claiming interface failed!

마지막 두 줄을 보면,

libusbx: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
ERROR: Claiming interface failed!

이미 다른 프로세스가 독점적으로 디바이스를 오픈하고 있다고 나와있음.

#2 상황파악


아래와 같이 apple 관련 드라이버를 빼고 보면, (kext : kernel extension)

Nate-Jangs-iMac-5@x% kextstat | grep -v apple
Index Refs Address Size Wired Name (Version) <Linked Against>
65 1 0xffffff7f80b86000 0x46000 0x46000 com.Logitech.Control Center.HID Driver (3.9.1) <64 62 36 29 5 4 3>
66 0 0xffffff7f80bdc000 0x18000 0x18000 com.Logitech.Unifying.HID Driver (1.3.1) <65 62 36 29 5 4 3>
86 1 0xffffff7f80885000 0x46000 0x46000 org.virtualbox.kext.VBoxDrv (4.0.8) <7 5 4 3 1>
87 0 0xffffff7f808d0000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (4.0.8) <86 43 36 7 5 4 3 1>
94 0 0xffffff7f80e1f000 0xe000 0xe000 com.usboverdrive.driver.hid (3.0.2) <64 62 36 29 5 4 3>
96 0 0xffffff7f80a4c000 0x5000 0x5000 com.cyberic.SmoothMouse (8.16) <29 5 4 3>
126 0 0xffffff7f81784000 0x2000 0x2000 com.nvidia.CUDA (1.1.0) <4 1>
127 0 0xffffff7f82707000 0x1b000 0x1b000 org.pqrs.driver.KeyRemap4MacBook (9.3.0) <29 5 4 3 1>
128 0 0xffffff7f82722000 0x18000 0x18000 com.magican.iokit.netmon (1) <5 4 3 1>
129 0 0xffffff7f8273a000 0x6000 0x6000 com.magican.iokit.filemon (1) <5 4 3 1>
130 0 0xffffff7f82740000 0x4000 0x4000 com.devguru.driver.SamsungComposite (1.4.14) <36 4 3>
132 0 0xffffff7f82748000 0x3000 0x3000 com.devguru.driver.SamsungACMControl (1.4.14) <36 4 3>
134 0 0xffffff7f8274f000 0xc000 0xc000 com.devguru.driver.SamsungACMData (1.4.14) <117 36 5 4 3>

확인해 보면, 아래쪽 3줄 삼성관련 드라이버가 사용되는 것을 볼 수 있음.

#3 해결


아래와 같이 kextunload를 사용해서 samsung 관련 드라이버 사용을 해제 시킴.

Nate-Jangs-iMac-5@x% sudo kextunload -b com.devguru.driver.SamsungComposite
Nate-Jangs-iMac-5@x% sudo kextunload -b com.devguru.driver.SamsungACMControl
Nate-Jangs-iMac-5@x% sudo kextunload -b com.devguru.driver.SamsungACMData

#4 결과


아래와 같이 정상적으로 flash 되는 것을 볼 수 있음.

Nate-Jangs-iMac-5@x% heimdall flash --no-reboot --RECOVERY recovery.img
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...

Initialising protocol...
Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Uploading RECOVERY
100%
RECOVERY upload successful

Ending session...
Rebooting device...
Releasing device interface...

Nate-Jangs-iMac-5@x%

※ 참고 : “–no-reboot” 옵션을 줘서 자동으로 재부팅 되는 것을 방지함. 이유는 flashing 후 바로 recovery 로 들어가야 recovery flashing 이 된다고 함.

출처 : http://blog.scott.wallace.sh/2012/03/getting-heimdall-to-work-on-your-mac.html

댓글 남기기

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.