ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] apcupsd_APC_BACK_UPS_CS_650
Date: Mon, 26 Jan 2009 13:10:42 +0200
Message-ID: <497D9A32.2000107@rambler.ru> (raw)
In-Reply-To: <497D95E7.9040509@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

andriy пишет:
> dmesg
> usb 3-4: new low speed USB device using ohci_hcd and address 2
> usb 3-4: configuration #1 chosen from 1 choice
> usb 3-4: New USB device found, idVendor=051d, idProduct=0002
> usb 3-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-4: Product: Back-UPS CS 650 FW:817.v4.I USB FW:v4
> usb 3-4: Manufacturer: American Power Conversion
> usb 3-4: SerialNumber: 3B0815X22307
>
У меня (APC SC 1500)...

cat /proc/bus/usb/devices
***
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=067b ProdID=2303 Rev= 3.00
S:  Manufacturer=Prolific Technology Inc.
S:  Product=USB-Serial Controller
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=pl2303
E:  Ad=81(I) Atr=03(Int.) MxPS=  10 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
***

так вот он создаёт _последовательное_ устройство /dev/ttyUSB0, и в 
конфигах, нужно оставить всё как было раньше с COM портом, но /dev/ttySX 
заменить на /dev/ttyUSB0.

В общем случае, попробовать
# apctest -d 99


[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 269 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
x-mozilla-html:FALSE
version:2.1
end:vcard


  reply	other threads:[~2009-01-26 11:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 10:52 andriy
2009-01-26 11:10 ` Денис Ягофаров [this message]
2009-01-26 11:34   ` andriy
2009-01-26 13:25     ` Денис Ягофаров
2009-01-28 16:51       ` andriy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=497D9A32.2000107@rambler.ru \
    --to=denyago@rambler.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git