ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: andriy <l.andriy@gmail.com>
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:34:22 +0200
Message-ID: <497D9FBE.2030000@gmail.com> (raw)
In-Reply-To: <497D9A32.2000107@rambler.ru>

Денис Ягофаров написав(ла):
> 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
пусто у меня в /cat /proc/bus/usb
но USB-устройства есть и работают.
> ***
> 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.
/dev/ttyUSB*  - тоже нету
>
> В общем случае, попробовать
> # apctest -d 99

2009-01-26 13:23:13 apctest 3.14.4 (18 May 2008) altlinux
Checking configuration ...
0.000 apcupsd: drivers.c:183 Looking for driver: usb
0.000 apcupsd: drivers.c:187 Driver dumb is configured.
0.000 apcupsd: drivers.c:187 Driver apcsmart is configured.
0.000 apcupsd: drivers.c:187 Driver net is configured.
0.000 apcupsd: drivers.c:187 Driver usb is configured.
0.000 apcupsd: drivers.c:190 Driver usb found and attached.
0.000 apcupsd: drivers.c:209 Driver ptr=0x807ade4
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...

и висит...



  reply	other threads:[~2009-01-26 11:34 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 ` Денис Ягофаров
2009-01-26 11:34   ` andriy [this message]
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=497D9FBE.2030000@gmail.com \
    --to=l.andriy@gmail.com \
    --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