Computers & Internet Logo

Related Topics:

Posted on Feb 28, 2011

How to enable the serial port under linux(ubundu 10.04) tell me commands for what are all the to solving the problem: i need immd answer

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 5 Answers
  • Posted on Feb 28, 2011
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

Joined: Feb 28, 2011
Answers
5
Questions
0
Helped
1344
Points
13

Linux offers various tools. Linux uses ttySx for a serial port device name. For example, COM1 (DOS/Windows name) is ttyS0, COM2 is ttyS1 and so on.
Task: Display Detected System's Serial Support

Simple run dmesg command
$ dmesg ' grep tty
Output:
[ 37.531286] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.531841] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.532138] 0000:04:00.3: ttyS1 at I/O 0x1020 (irq = 18) is a 16550A setserial command

setserial is a program designed to set and/or report the configuration information associated with a serial port. This information includes what I/O port and IRQ a particular serial port is using, and whether or not the break key should be interpreted as the Secure Attention Key, and so on. Just type the following command:
$ setserial -g /dev/ttyS[0123]
Output:
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port: 0x1020, IRQ: 18 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

setserial with -g option help to find out what physical serial ports your Linux box has.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

My flashdisk can't be formated why.? i don't know how to solve this problem what i can do.

Any disk can be formatted if you have the appropriate software.
The SanDisk Cruzer Micro comes with a security software that the owner can enable. If it is enabled, you cannot open it under Windows unless you enter the correct password . Also, if the security is enabled, you cannot even open it under Linux or Mac OS. An if you cannot open it you cannot format it. I do not know if that answers your question or if that is the real reason you cannot format it. That is one possibility.
1helpful
1answer

How to install palm software

Before you start Please make a note of this page: How To Recover
If you are unfamiliar with basic Linux command usage, you should visit this page: Basic Linux Use
Disclaimer Enacting any set of instructions from this site has the (remote, but greater than zero) potential to void your warranty. Our intention and the specific design of all instructions is such that you should be able to recover using the webOS Doctor should anything go wrong, and put your Pre back to a state which is indistinguishable from a factory-new Pre, but we give no guarantee. Use any information from this site at your own risk. At the very least, you should be prepared to lose all data on your phone at any time. We cannot tell you what you should do - we provide the information, but it's up to your own sense of personal responsibility to determine what you do with that information. We require you to use the webOS Doctor to put your Pre back to factory condition before contacting Palm or your cellular carrier for service or support.
You might also want to consider backing up any files you have in the usb drive portion of the Pre.

In general, simply installing the Palm SDK gives you everything you need for full access to the Linux operating system on the Pre or Pixi. There is no special "rooting" or "jailbreaking" process. Simply installing the SDK provides you with unlimited access to the Linux operating system logged in as the root user. Palm does not see this as a bad thing. Palm provides all these tools for download by anyone, anytime, for free.
  1. Download the Palm SDK.
  2. Install it using the installation instructions for Mac, Linux, or Windows.
  3. Enable dev mode on your Pre:
    1. In Card view or in the Launcher application, type the following: webos20090606
    2. Tap the resulting Developer Mode Enabler icon.
    3. In the application, move the Developer Mode slider to the On position.
    4. Tap Reset the Device .
      • When reset is complete, Developer mode is enabled.
  4. Plug the device into the computer via the USB cable, and select "Charge only."
  5. The next step varies:
    • On Mac or Linux, type novaterm in a command (terminal) window to directly access the Linux command line.
    • On Windows you will need to download and install a novaterm program.
      • On 32 bit Windows download novaterm1.zip and unzip it into the \program files\palm\sdk\bin directory.
      • On 64 bit Windows download novaterm64.zip and unzip it into the \program files\palm\sdk\bin directory.
      • Then, just like the Mac and Linux users you can just type novaterm.
At this point you will have a window with a prompt that says root@webos-device: or something similar.
You are now logged in as root on your webOS device and can do anything you would normally do on a Linux device.
Please be careful, you can seriously bork your phone now.
IMPORTANT NOTE: With the addition of the ability to install Optware packages to Preware, unless you have a need or desire to type commands into the native Linux shell of your Palm device, there is no need to use the novaterm terminal to log into your devices. Webos Quick Install (a java program for your desktop) and Preware (an app to run on your device) are fully capable of installing any Optware IPK (including *.patch and *.diff) to Palm devices. Linux command line access is needed by very few people. If you came here from a web page that talked about "root access" or "rooting your Pre" be aware that most of the instructions which require root access have been
0helpful
1answer

I need a diagnostic tool for RAID falure code 0. Initial boot indicates degraded condition. DISK scan does not seem to remedy the issue. Did the drive actuually fail? Is there a fix? Primary disk still...

It looks like you have two arrays here. The first one being a mirrored RAID array and has only one disk. This means that the other disk has failed in some sort. This does not mean that the drive is bad, just the RAID failed for some reason. You will need to rebuild the RAID if you want to maintain the same level of redundancy.

You can just attempt a rebuild the RAID to the same drives but if this fails you will want to replace the bad drive. In order to do this you will need to make sure you can tell which drive is which. You do not want to mirror the bad drive to the good one.

If attempting a rebuild to the existing drive does not work or is not an option (because the failed drive could really be bad), you will need to determine which physical drive needs to be replaced. You may be able to hot-swap the drive but if you can power things down, that is always safest. Once the new drive is installed, you can rebuild to it and all should be well after that.
1helpful
1answer

I need to make sure port 3074 is open for xbox live but dont know how to do it.

You can use the netstat -a command to find out which ports are open on a local Linux/Unix or Windows system (Figure 1), but netstat can't be used remotely across a network. netstat.gif

FIGURE 1: The netstat command can be used from the Linux or Windows command line to check on
open ports on the local computer.

If 3074(TCP & UDP) port is not opened on the router, refer: http://www.netopia.com/support/hardware/technotes/CQG_025.html for further step-by-step assistance.

For any further help/support, revert!

Thanks for asking..
Arvind S Iyer
1helpful
1answer

How to download and install apache on linux5

Hi Follow the below procedures.
How to install and start the Apache or httpd service under Linux

by Milind

Q. How do I install and start the Apache or httpd web server under Fedora core or Cent OS?

A. Apache HTTP Server is a free software/open source web server for Unix-like systems and other oses.

Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs) which permit easier, more intuitive configuration of the server.

Use rpm command to install Apache under Linux. You can also use up2date or yum command to install the same.
Task: Install Apache/httpd under Fedroa Core/Cent OS Linux

Type the following command if you are using Fedora or Cent OS Linux:

# yum install httpd
Now, start the Apache/httpd
# chkconfig httpd on
# /etc/init.d/httpd start
Task: Install Apache/httpd under Red Hat Enterprise Linux

Type the following command
# up2date httpd
Start the Apache/httpd
# chkconfig httpd on
# /etc/init.d/httpd start
Task: Debian Linux httpd/Apache installation

Use apt-get command:
# apt-get install apache2
# /etc/init.d/apache2 start
Task: Verify that port 80 is open

# netstat -tulpn | grep :80

You can also install httpd from CDROM with rpm command:
# rpm -ivh httpd*
Configuration

Your server is started but you need to configure and use Apache as per your requirement. /etc/httpd/conf/httpd.conf (RHEL/Cent OS/Fedora Core Linux) or /etc/apache2/httpd.conf (Debian / Ubuntu Linux) configuration file. Use text editor such as vi to edit file. This file is very well documented or read official Apache configuration documentation for more information.
0helpful
2answers

The usb ports on my Fujitsu Siemens Amilio Li1718 are not working.......

First update the drivers, you can do this under device manager under contorl panel and maintenance & performance. You can also make sure the usb device is enabled and read properly. You can also download sotware lastly if needed.
0helpful
1answer

Using tata indicom usb modem in Ubuntu

linux connectn
1st log in the root user
connect the usb modem
run terminal in linux
type following command
wvdialconf /etc/wvdial.conf

wvdialconf will detect the modem

nano /etc/wvdial,conf
jus replace dis wid defaulf setting
modem-/dev/ttyusb0
baud=115200
dial command=atdt
baud=115200
dial command=atdt
init1=atz
init 2=at+crm=1
flow control=hardware
username=internet
password=internet
phone=#777
stupid mode=1

aftr dis open terminal type wvdial &press enter

if u want to disconnect den press clt +c


0helpful
1answer

Difference between windows platform ,unix and linux

To make a long answer short, Unix, Linux, and Windows are different operating systems. Each allow command-line commands and point-and-click operations. Unix workstations are used for running engineering software, programming, networking, web browsing, and electronic mail. Linux computers come with productivity tools and CSS is adding engineering software packages as they become available. Windows computers are used for productivity tools (word processing, database, etc.)
Not finding what you are looking for?

186 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...