01-27-2009
10 More Discussions You Might Find Interesting
1. Programming
I'm writing a journal_write() function and I want it to:
- be a possible drop in replacement for write()
- write entries to the journal ;-) Could be a regular file (journal.txt), a serial printer or a // printer.
- handle printer status if needed.
fstat() tells weather or not we're dealing with... (2 Replies)
Discussion started by: starless
2 Replies
2. Programming
When I worked with client-server (socket) programming, I encountered "the socket error# 10055" which means "No buffer space available". This might be a symptom of one or more applications that didn't return system resources (like memory) properly. Temporary solution was to reboot the machine to... (7 Replies)
Discussion started by: dipti
7 Replies
3. HP-UX
Hi Everyone,
How to check the status of the particular port and also clear it if it is locked without reboot?
Please suggest.
Thank you. (6 Replies)
Discussion started by: laxmikant
6 Replies
4. Shell Programming and Scripting
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies
5. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
6. HP-UX
Hi,
How can i clear the command. Suppose using esc k i retrieved teh command, but for some reason I want to clear and type fresh one... how can i do that.
thx (2 Replies)
Discussion started by: bang_dba
2 Replies
7. AIX
I'm running a ksh script that requires user interaction, and said users (myself among them) may get a little trigger happy and get ahead of ourselves and accidentally key in the wrong responses to future prompts in the script.
Naturally, I'd like to prevent that, so how does one clear that... (0 Replies)
Discussion started by: Michael Mullig
0 Replies
8. Solaris
:)Hi Solaris Experts,
I am wondering whether it is possible to clear a network socket port 17005 left by Apache Tomcat/6.0.20 after having to terminate it forcefully, since it has run away due to remote JDBC resource contention on another server. A normal Tomcat stop / shutdown proves... (2 Replies)
Discussion started by: gjackson123
2 Replies
9. Programming
Hello friends! i am writing a code in which i take inputs (numbers) from user and count the total number of positive, negative and zeros entered. I need to clear my standard input buffer before scanf() command. My compiler is completely ignoring the fflush(stdin) command. its not even showing any... (1 Reply)
Discussion started by: Abhishek_kumar
1 Replies
10. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
LEARN ABOUT DEBIAN
gammu-detect
GAMMU-DETECT(1) Gammu GAMMU-DETECT(1)
NAME
gammu-detect - Gammu device detection
New in version 1.28.95.
SYNOPSIS
gammu-detect [OPTIONS]
DESCRIPTION
Script to detect available devices, which might be suitable for gammu.
Note This program lists all devices, which might be suitable, it does not do any probing on devices them self.
Currently it supports following devices:
o USB devices using udev
o Serial ports using udev
o Serial ports on Windows
o Bluetooth devices using Bluez
Note Supported devices depend on platform you are using and compiled in features. You can find out what is actually compiled in by run-
ning gammu-detect -v.
This program follows the usual GNU command line syntax, with long options starting with two dashes (--). A summary of options is included
below.
-h, --help
Show summary of options.
-d, --debug
Show debugging output for detecting devices.
-v, --version
Show version information and compiled in features.
-u, --no-udev
Disables scanning of udev.
-b, --no-bluez
Disables scanning using Bluez.
-w, --no-win32-serial
Disables scanning of Windows serial ports.
OUTPUT
The output of gammu-detect is configuration file for Gammu (see gammurc) with configuration section for every device which might be used
with gammu.
Note You can choose which section to use in gammu by gammu -s.
When invoked as gammu-detect -d, also all examined devices are listed as comments in the output.
EXAMPLE
; Configuration file generated by gammu-detect.
; Please check The Gammu Manual for more information.
[gammu]
device = /dev/ttyACM0
name = Nokia E52
connection = at
[gammu1]
device = /dev/ttyACM1
name = Nokia E52
connection = at
[gammu2]
device = /dev/ttyS0
name = Phone on serial port 0
connection = at
[gammu3]
device = /dev/ttyS1
name = Phone on serial port 1
connection = at
[gammu4]
device = /dev/ttyS2
name = Phone on serial port 2
connection = at
[gammu5]
device = /dev/ttyS3
name = Phone on serial port 3
connection = at
[gammu6]
device = 5C:57:C8:BB:BB:BB
name = Nokia E52
connection = bluephonet
AUTHOR
Michal iha <michal@cihar.com>
COPYRIGHT
2009-2012, Michal iha <michal@cihar.com>
1.31.90 February 24, 2012 GAMMU-DETECT(1)