LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2010, 07:32 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
COM port under Fedora 11


I am in verse to connect my Windows Mobile 6.1 to Fedora 11 Box. I have Dell Inspiron 1525 model on top of which I have fresh fedora Installed.I installed Wine and Activesync and it got installed successfully. Now when I am trying to connect it shows all the COM1/COM2/COM3/COM4 not available.While I run:

Code:
[root@localhost ~]# setserial -g /dev/ttyS[0-4]
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
[root@localhost ~]# ^C
[root@localhost ~]#
Is this output related to COM ports (suggest me if I am going wrong)?
How can I check COM port status? How to enable it under my laptop?

THough I can see it under lsbusb:
Code:
[root@localhost ~]# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 005: ID 0a5c:4503 Broadcom Corp. 
Bus 007 Device 004: ID 0a5c:4502 Broadcom Corp. 
Bus 007 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 006: ID 0bb4:0b0c High Tech Computer Corp. Elf / Touch / P3450 / T-Mobile MDA Touch / O2 Xda Nova / Dopod S1
Bus 006 Device 002: ID 13ee:0003  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0a5c:6300 Broadcom Corp. Pirelli Remote NDIS Device
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost ~]# ^C
[root@localhost ~]#
but how to use / access it?

Last edited by linuxunix; 07-31-2010 at 08:04 AM.
 
Old 07-31-2010, 05:57 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,381

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
Are you sure you really do have a comm port?
 
Old 07-31-2010, 06:07 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
If your mobile devices is recognized as a USB-serial port it's ID would be /dev/ttyUSB0.
You can look at the output of the dmesg command to see if it is recognized too when the device is plugged in.
 
Old 07-31-2010, 06:12 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
you do know that fedora 11 is past it's END OF LIFE
it is no longer supported .
that means there will NEVER be any updates to it -- NO security fixes -- nothing. It it DEAD.

please install the current AND SUPPORTED version FIRST
fedora 13

then get back to us!!!
 
Old 07-31-2010, 11:51 PM   #5
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Jefro,

How can I know that there is COM port in my Laptop?
I am trying to connect my mobile through USB and could see it as a partition /dev/sdb1.
 
Old 08-01-2010, 03:19 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
look at the output of
Code:
lsusb
after you install a supported version of fedora -- Fedora 13
then plugin the usb phone and fedora 13 should auto detect it and mount it

most likely fedora is seeing it as a usb thumb drive , like a ipod .
 
Old 08-01-2010, 08:34 AM   #7
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Does that mean Fedora 11 Doesnt support that?
I dont think thats true.

All I can see that whenever I select Disk Drive on my Mobile, it does show mounted under fdisk.
But how come COM port shows not Available.
weird !!!
 
Old 08-01-2010, 11:59 AM   #8
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If your host actually has a serial port, it should be visible in the boot messages:
Code:
 dmesg | grep -i tty
console [tty0] enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
If you are unable to use a serial port, it may have permissions restricted to root users.
Code:
 ls -ls /dev/ttyS*
0 crw-rw----+ 1 root uucp 4, 64 2010-06-21 13:03 /dev/ttyS0
0 crw-rw----+ 1 root uucp 4, 65 2010-06-21 13:03 /dev/ttyS1
0 crw-rw----  1 root uucp 4, 66 2010-06-21 13:03 /dev/ttyS2
0 crw-rw----  1 root uucp 4, 67 2010-06-21 13:03 /dev/ttyS3
If so, you can add permissions (until reboot):
Code:
 sudo chmod o+rw /dev/ttyS*
 ls -ls /dev/ttyS*
0 crw-rw-rw-+ 1 root uucp 4, 64 2010-06-21 13:03 /dev/ttyS0
0 crw-rw-rw-+ 1 root uucp 4, 65 2010-06-21 13:03 /dev/ttyS1
0 crw-rw-rw-  1 root uucp 4, 66 2010-06-21 13:03 /dev/ttyS2
0 crw-rw-rw-  1 root uucp 4, 67 2010-06-21 13:03 /dev/ttyS3
To make the changes persist across reboots, you can add udev rules to set the desired permissions. I think this configuration is highly distro-specific, and I am not well acquainted with the system, so I'll let others flesh that out of necessary. None of this stuff has changed for a long time, and upgrading an OS for a simple issue like this seems a bit extreme, to me.

--- rod.
 
Old 08-01-2010, 02:21 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
and upgrading an OS for a simple issue like this seems a bit extreme, to me.
NOT when it comes to Fedora
fedora is a FAST development and a R&D testing distro
a new version is released EVERY 6 MONTHS
and a version ONLY HAS 13 MONTHS of support
fedora 11 hit it's END OF LIFE last month

if you ARE going to use fedora THEN YOU MUST STAY CURRENT
that means doing a fresh install every 6 months when a new version is released
-- that is a lot of work --

do it or use a different distro!
 
Old 08-01-2010, 11:40 PM   #10
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Hmm. I've been using expired versions of Fedora for years. As I write this, I am using a Fedora 9 host. So far, the sky hasn't fallen. What horrendous state of affairs do you think I should be anticipating?
--- rod.

PS. You don't have to yell.

Last edited by theNbomr; 08-01-2010 at 11:43 PM.
 
Old 08-02-2010, 02:35 AM   #11
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
for me its /dev/ttyACM0. Open your /dev/ folder and connect your phone in COM mode. Look out for any new files arriving, like i have a new "/dev/ttyACM0". Sure there are other more elegant ways to do it. Now if you are trying to connect to Internet do a "$ln /dev/ttyACM0 /dev/modem" , and use /dev/modem for connections.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to allow a port in fedora firewall mukeshk.nist Linux - Networking 3 01-29-2010 10:38 AM
Fedora 10 com1 port will not connect to router console port using minicom rgjr979 Linux - Newbie 4 12-28-2009 05:35 PM
Fedora 9 Port forwarding albertvd Linux - Networking 1 12-02-2008 09:52 AM
Fedora Port of YAST krgallagher Fedora 4 10-01-2007 09:13 PM
fedora/apache doesn't like port 80 illtbagu Linux - Software 4 04-13-2004 12:41 AM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration