LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-20-2005, 01:24 AM   #1
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
How do I know if a serial device is plugged in?


I am struggling to get my UPS software up. It does not see the UPS on /dev/ttyS1. How do I check if teh serial connection is OK? dmesg does not give me any info if I insert or remove the serial connection.

Regards
p.n
 
Old 10-20-2005, 06:38 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The UPS HOWTO says
Quote:
Back in the days of dumb serial-line UPses, there used to be about half a dozen different open-source UPS monitor daemons: apcd, dumbupsd, genpowerd. powerd, smupsd, usvd and more. These were fairly stupid programs for a simple job. Many required you to hand-wire a custom RS232C cable to get around various evil things that UPS manufacturers did to their ports in order to lock in customers.
but if you know how it is supposed to work you could try a serial port monitor like

http://serlook.sunsite.dk/
 
Old 10-20-2005, 06:46 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
A serial device isn't plug and play.
Can you provide some details. What is the make / model of UPS and the application you are running?
 
Old 10-20-2005, 08:54 AM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
It is a QP1000 600VA UPS. I do not think this will help much though as I am sure this one of those generic branded UPS's that sellunder a wide variety of names. The software that ships with it is called Winpower and contrary to the name is availblr for most versions of Unix and Linux. (www.ups-software-download.com).

Regards
p.n
 
  


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 know a usb device is plugged in/out lordofring Linux - Software 2 04-25-2005 01:15 PM
USB->Serial Device hugoveiga Linux - Hardware 0 01-06-2005 07:04 AM
Using serial port with external device skguha Linux - Newbie 2 03-18-2004 09:26 PM
Why does PC hang when USB device is plugged in? DeepSPiN Fedora 1 12-03-2003 10:59 AM
System freezes during boot with USB device plugged in. dhrivnak Slackware 3 10-31-2003 08:55 PM


All times are GMT -5. The time now is 02:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration