Proxmark developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2017-07-21 04:22:59

Navster
Contributor
Registered: 2017-07-09
Posts: 43

(Partial Solved)cdc driver and resetting USB ports on mac

so I have updated my proxmark3 easy on windows and it shows as :
Prox/RFID mark3 RFID instrument
bootrom: master/v2.2.0-536-g138927d-suspect 2017-07-02 09:16:48
os: master/v2.2.0-536-g138927d-suspect 2017-07-02 09:16:53
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2017/05/17 at 17:48:26

uC: AT91SAM7S256 Rev A
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 256K bytes. Used: 192561 bytes (73%). Free: 69583 bytes (27%).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 256K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory
proxmark3>

I'm assuming I have updated from HID to CDC.
When I connect to my mac it does not detect the PM3. When I go to about this mac and under system info it shows up as a HID device.....thoughts and Thank you in advance.

Last edited by Navster (2017-08-02 21:26:14)

Offline

#2 2017-07-21 21:13:41

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

I tired using the newest build from icemans fork. It seem like the newer bootrom's revert the cdc back to hid, product id 0x4b8f vendor id 0x9ac4

Offline

#3 2017-07-22 13:13:28

iceman
Administrator
Registered: 2013-04-25
Posts: 3,963
Website

Re: (Partial Solved)cdc driver and resetting USB ports on mac

No it does not revert back.  The only change is the vendor & product id thats changed.   I've mention on other threads that this change will confuse all "detection" of HID vs CDC.    However rest assure that icemanfork is cdc.   You need to go back ut subversion r750 or even older  to have a HID device.

However when the vendor/product id changes, ususally the com port changes on windows,   and for linux ppl,  you may need to update your blacklist file.  There is an updated one on github  www.proxmark.org/forum/viewtopic.php?pid=28774#p28774


modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#4 2017-07-22 21:06:10

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

Fixed problem on window but on mac still showing up as hid even though it is cdc

Offline

#5 2017-07-31 01:20:14

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

iceman wrote:

No it does not revert back.  The only change is the vendor & product id thats changed.   I've mention on other threads that this change will confuse all "detection" of HID vs CDC.    However rest assure that icemanfork is cdc.   You need to go back ut subversion r750 or even older  to have a HID device.

However when the vendor/product id changes, ususally the com port changes on windows,   and for linux ppl,  you may need to update your blacklist file.  There is an updated one on github  www.proxmark.org/forum/viewtopic.php?pid=28774#p28774


updated blacklist file mac still gives me invalid port when i run: proxmark3 /dev/tty.usbmodem1421

when i check under about this mac- system report-usb i see:PM3:

  Product ID:    0x4b8f
  Vendor ID:    0x9ac4
  Version:    0.01
  Speed:    Up to 12 Mb/sec
  Manufacturer:    proxmark.org
  Location ID:    0x14200000 / 11
  Current Available (mA):    500
  Current Required (mA):    500
  Extra Operating Current (mA):    0

when i ran :  ls /dev/cu* on terminal does not show the usb port just bluetooth.

i ran system_profiler on mac an i get:

Proxmark3:

      Version: 1.0.0d2
      Last Modified: 2017-07-30, 1:18 AM
      Bundle ID: com.proxmark.driver.dummy
      Loaded: No
      Obtained from: Not Signed
      Location: /System/Library/Extensions/Proxmark3.kext
      Kext Version: 1.0.0d2
      Loadable: No
      Signature Validation Errors: Not Signed
      Dependencies: Satisfied
      Signed by: Not Signed.

when i check under about this mac- system report-usb i see:PM3:

  Product ID:    0x4b8f
  Vendor ID:    0x9ac4
  Version:    0.01
  Speed:    Up to 12 Mb/sec
  Manufacturer:    proxmark.org
  Location ID:    0x14200000 / 11
  Current Available (mA):    500
  Current Required (mA):    500
  Extra Operating Current (mA):    0

Thoughts?

Offline

#6 2017-07-31 10:51:54

iceman
Administrator
Registered: 2013-04-25
Posts: 3,963
Website

Re: (Partial Solved)cdc driver and resetting USB ports on mac

Sorry, I have no OSX enviroment.  No idea how it works on OSX.


modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#7 2017-07-31 22:37:02

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

i did some googling and reset the usb's on the mac:

Reset SMC of a MacBook Air, MacBook Pro Retina, or MacBook Pro’s with an internal non-removable battery

This is how to reset SMC on most modern Mac laptops, none of which have a removable battery:

Shutdown your MacBook Air / MacBook Pro
Connect the power adapter to the Mac
On the MacBook / Pro’s keyboard, hold down the Shift+Control+Option keys and the Power button at the same time
Release all keys and the power button at the same time – the little light on the MagSafe adapter may change colors briefly to indicate the SMC has reset
Boot your Mac as usual

PM3 works but if i disconnect usb and plug back in its a invalid port. However a usb reset seems to make it work.

the mac now recognizes the pm3,  yay!!! but still shows up as :
Product ID:    0x4b8f
  Vendor ID:    0x9ac4
  Version:    0.01
  Speed:    Up to 12 Mb/sec
  Manufacturer:    proxmark.org
  Location ID:    0x14200000 / 2
  Current Available (mA):    500
  Current Required (mA):    500
  Extra Operating Current (mA):    0

im running version:
bootrom: master/v2.2.0-566-g8614a5a-suspect 2017-07-18 08:43:28
os: master/v2.2.0-566-g8614a5a-suspect 2017-07-18 08:43:32
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2017/05/17 at 17:48:26

Last edited by Navster (2017-08-01 17:53:28)

Offline

#8 2017-08-01 08:18:44

iceman
Administrator
Registered: 2013-04-25
Posts: 3,963
Website

Re: (Partial Solved)cdc driver and resetting USB ports on mac

Not sure if its working or not. 
but if its working,  you might re-cap the "reseting of usb-ports" on OSX short for future OSX users.
and edit your first post and add the suffix "[solved]" to your title


modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#9 2017-08-01 08:27:20

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

iceman wrote:

Not sure if its working or not. 
but if its working,  you might re-cap the "reseting of usb-ports" on OSX short for future OSX users.
and edit your first post and add the suffix "[solved]" to your title


So far if the pm3 client is plugged in, the pm3 client is recognized. It’s still recognized until unplugged. If I try to replugg the pm3 client I get invalid port. I have to restart Mac with the pm3 plugged in for the mac to recognize it. For some reason the apple hid seems to grab the  pm3 client once unplugged. I did read  something on codeless kext. I have updated the file but still no luck.

Last edited by Navster (2017-08-01 17:44:30)

Offline

#10 2017-08-04 07:30:17

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

iceman wrote:

No it does not revert back.  The only change is the vendor & product id thats changed.   I've mention on other threads that this change will confuse all "detection" of HID vs CDC.    However rest assure that icemanfork is cdc.   You need to go back ut subversion r750 or even older  to have a HID device.

However when the vendor/product id changes, ususally the com port changes on windows,   and for linux ppl,  you may need to update your blacklist file.  There is an updated one on github  www.proxmark.org/forum/viewtopic.php?pid=28774#p28774



Tried changing VID/PID no difference. Only time it shows up as CDC on Mac is if i flash  lua version boot room and flash. When I install the newest versions of boot room or flash. Shows up as hid on Mac.???

Offline

#11 2017-08-04 13:31:44

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: (Partial Solved)cdc driver and resetting USB ports on mac

have you tried main repo V3.0?


modhex(ichbifhkhghuhehghkiehbihhkidifighgebecedfchihthbhkhrduhehvht)

Offline

#12 2017-08-04 23:22:09

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

no i haven't,  i wil try that. i only see 2.5.0, maybe I'm looking in the wrong spot.

Last edited by Navster (2017-08-04 23:29:12)

Offline

#13 2017-08-06 09:37:44

iceman
Administrator
Registered: 2013-04-25
Posts: 3,963
Website

Re: (Partial Solved)cdc driver and resetting USB ports on mac

Got to github and use the latest source from there,  or read the instructions how to use the homebrew alternative.


modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#14 2017-08-06 22:26:01

Navster
Contributor
Registered: 2017-07-09
Posts: 43

Re: (Partial Solved)cdc driver and resetting USB ports on mac

ntk wrote:

have you tried main repo V3.0?

so i update to: v3
Prox/RFID mark3 RFID instrument         
bootrom: master/v3.0.1-63-g8cf533f-suspect 2017-08-06 20:39:26
os: master/v3.0.1-63-g8cf533f-suspect 2017-08-06 20:50:17
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2017/05/17 at 17:48:26

i ran  system_profiler SPUSBDataType
PM3:

  Product ID:    0x4b8f
  Vendor ID:    0x9ac4
  Version:    0.01
  Speed:    Up to 12 Mb/sec
  Manufacturer:    proxmark.org
  Location ID:    0x14200000 / 3
  Current Available (mA):    500
  Current Required (mA):    500
  Extra Operating Current (mA):    0

still shows up as HID.

Offline

#15 2017-09-22 12:46:41

Tom5ive
Contributor
Registered: 2017-09-18
Posts: 4

Re: (Partial Solved)cdc driver and resetting USB ports on mac

So I am one of those that have had issues with the PM3 and upgrading to CDC - then the PM3 not being recognised half way through the process.

I think there is something going on with newer versions of OS X and the step that involves loading the kernel extension. After thinking I had bricked my pm3 when I could no longer see it under /dev/cu.**** or under a system_profiler SPUSBDataType dump (yes after reboots etc). I backtracked and noticed that I was only unable to connect after issuing the command "sudo make install_kext" to load the kernel extension, after deleting the kext using:

rm -rf /System/Library/Extensions/Proxmark3.kext

I was then able to see the it again under /dev/cu.*** and also connect with the proxmark3 application. I've since compiled and flashed the latest bootloader and firmware WITHOUT doing the kext step. My PM3 shows up as:

  PM3:

          Product ID: 0x4b8f
          Vendor ID: 0x9ac4
          Version: 0.01
          Speed: Up to 12 Mb/sec
          Manufacturer: proxmark.org
          Location ID: 0x14100000 / 25
          Current Available (mA): 500
          Current Required (mA): 500
          Extra Operating Current (mA): 0

What I think happened when Navster reset the SMC was, that the kernel extension was unloaded allowing the device to connect.

This was my exact experience. I have since tried to update to CDC again and can have the same issue.

Last edited by Tom5ive (2017-09-22 12:49:21)

Offline

#16 2017-09-30 21:07:55

iceman
Administrator
Registered: 2013-04-25
Posts: 3,963
Website

Re: (Partial Solved)cdc driver and resetting USB ports on mac

So if OSX users could verify this suggested fix from previous post...


OSX:

sudo rm -rf /System/Library/Extensions/Proxmark3.kext
sudo make install_kext
ls /dev/cu*

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

Board footer

Powered by FluxBB