New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

How to find the COM port number on macbook


Post Reply New Thread Subscribe

 
Thread Tools
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Hi,

I am using a usb to serial(rs232) converter so to connect to a small controller.

Due to programming reasons I need to find the com port number so to be able to connect to the device. Once I connect the converter on windows I just go to devices and printers and find the com number there.

But I cannot find it on my macbookpro runnning mountain lion 10.8.4.

Can someone please help?
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,643
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Apple Menu (top-left_ - About this Mac etc. Not in front of my Mac at the moment but all the hardware info, com ports, interrupts etc are all there

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Hi mrplow

thanks for your reply.

Yes I found the usb to serial converter but not recognizing the COM port number.

On windows I find Prolific USB-to-Serial Comm Port (COM4) for example. but on the mac cannot find it. I found a location ID but there is not written the Comm port number as in windows. Do I need to include this location ID number instead of the Comm Port in the Matlab code to be able to connect?
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,643
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Did the device come with any drivers/software?

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Yes it has a driver software for both mac and windows.
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Hi,

Are there any suggestions for my problem pls.

Thanks in advance for your help
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,643
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
I've looked all over but it really depends on the adapter. What make and model is it?

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Hi mrplow sorry for the delayed reply but I was not at home.

It is similar to this model in fact from the same website
USB to Serial Converter (CDLSB-901) product ranges from NEWLink

Thanks again for your help
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,643
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.9, iPhone5s, iPad Air, AppleTV2

mrplow is offline
Have a look here. Some useful info. But, I'm afraid, no comm port numbers. OSX and Unix just don't enumerate serial ports like that from what I can understand.

There is info on that page that gives you the device name. You may be able to use that in your code

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Ill try it. Will contact you back later this week becuase I think that this link if helpful.

Thanks again.
QUOTE Thanks
Mac9346

 
Member Since: Nov 20, 2012
Posts: 77
Mac9346 is on a distinguished road

Mac9346 is offline
Hi mrplow,

Sorry for replying this late but I was a bit busy with other stuff.

The link you posted helped me a lot in fact OS X does not have COM port numbers I used "/dev/tty.usbserial" in my code in MATLAB and worked fine.

Thanks for your help :-)
QUOTE Thanks

Post Reply New Thread Subscribe


« Omnipage alternative for Mac | Mountain Lion - Icons for each "Desktop"? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Any ideas? Macbook Pro freaks out after removing display port. AaronInKtown Apple Notebooks 0 04-21-2012 11:10 AM
MacBook & MacBook Pro updates soon - release dates analyzed kali4nia58 Apple Rumors and Reports 25 12-21-2007 02:01 AM
MacBook impressions - trip to store kaidomac Schweb's Lounge 24 10-14-2007 01:45 PM
The "Mod your MacBook" thread kaidomac Apple Notebooks 50 07-11-2006 08:49 PM

All times are GMT -4. The time now is 12:00 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?