Fedora Linux Support Community & Resources Center
  #1  
Old 7th June 2011, 07:41 PM
mattyclarkson Offline
Registered User
 
Join Date: Jun 2011
Posts: 25
linuxchrome
Cannot screen Serial Port

Hello,

I have a new HP Compaq 8200 elite. I have a dual boot system. Windows 7 and Fedora 15.

In Fedora I cannot seem to connect to the serial port. Could anyone help me with resolving this. I've never had issues with hardware before in Linux so this is a little new to me.

Code:
[matt@matt ~]$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    1.445161] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.471193] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.491613] 0000:00:16.3: ttyS1 at I/O 0xf0a0 (irq = 17) is a 16550A
[matt@matt ~]$ screen /dev/ttyS0 115200
[screen is terminating]
In windows to get the Serial port to be recognised I had to install Intel Active Management Technology. Do you think I must install the same in Linux?

Thanks,

Matt
Reply With Quote
  #2  
Old 7th June 2011, 07:55 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,141
linuxfirefox
Re: Cannot screen Serial Port

Hello Matt,

In Linux, you can use the setserial command, as root, to view/change the serial port parameters. In your case, this would appear to be /dev/ttyS0 and /dev/ttyS1.

In a terminal, use man setserial to read the manual for setserial.

Of course, you don't actually connect to the serial port itself, you communicate with whatever device is attached to the serial port. If you look at the ownership of /dev/ttyS0, you will see that it is owned by root and the associated group is dialout.
Code:
BASH:~/-> ls -l /dev/ttyS*
crw-rw----. 1 root dialout 4, 64 2011-06-07 09:16 /dev/ttyS0
crw-rw----. 1 root dialout 4, 65 2011-06-07 09:16 /dev/ttyS1
crw-rw----. 1 root dialout 4, 66 2011-06-07 09:16 /dev/ttyS2
crw-rw----. 1 root dialout 4, 67 2011-06-07 09:16 /dev/ttyS3
You can always use the serial port(s) as root, but if you should want to use it/them as a regular user, the easiest way is to add your regular user to the "dialout" group.
Also, maybe a brief explanation of what you're trying to use the serial port for would help us help you.

Last edited by PabloTwo; 7th June 2011 at 07:58 PM.
Reply With Quote
  #3  
Old 7th June 2011, 08:06 PM
lambcutlet Offline
Registered User
 
Join Date: Nov 2006
Posts: 89
linuxfedorafirefox
Re: Cannot screen Serial Port

goto

system > administration > users and groups

double click your username to bring up User Properties.
select the Groups tab

then check the box beside 'Dialout'

this will give you access to the serial port.

if this does not work also check 'Lock'
i use the serial port and i have both of these checked can't remember why, but my serial port works
Reply With Quote
  #4  
Old 7th June 2011, 10:26 PM
mattyclarkson Offline
Registered User
 
Join Date: Jun 2011
Posts: 25
linuxchrome
Re: Cannot screen Serial Port

Thank you, that was very helpful for me. I can now screen to the serial port.

I still don't receive anything through it but I think that is a deeper issue as I can't seem to get anything through on Windows 7 Putty either.
Reply With Quote
Reply

Tags
serial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port on Fed 12 stewartrose Servers & Networking 7 27th March 2010 09:11 AM
Serial Port not available on FC7, ok FC5 tcfordjakarta Hardware & Laptops 2 31st July 2007 07:38 PM
Need serial port on a PS3 thriftyrocker Mac Chat 4 14th March 2007 04:24 PM


Current GMT-time: 21:44 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat