User CP2102 serial converter is necessary to do this task. Follow the link below for the short tutorial.
shows us how to connect your Raspberry Pi USB to Mac and FreeBSD. AI play with my Raspberry Pi so rarely that I forget how to use my CP2102 serial converter to connect from my iMac or FreeBSD laptop to the Raspberry Pi, so I thought I’d write a blog post and then I’d have an easy place to go back to remember how…
Full tutorial: http://hashbang0.com/2015/12/29/raspberry-pi-usb-gpio-os-x-and-freebsd/