From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=cXiyhma/H7qx2PO+om9Mfz+hvMpgMaIcIRrDt+gtzCQ=; b=fjIq2tFGMYz0MYUlSs9tDvk6vfHrzgni28o78lcR+33LXGAjXtiaS6j1vnmJugG2RR AUi+utfaLO+IZH3UbB7jXsJw5MkhsgxwCBfgW0AAMq8C9poguhBRos33E29KH7Bk/hGv sd5d+tBGKzy4EpOFTcqNE4VyrJ7fYhU/jPNPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=B2BxP1n5pli2o8JpwLH3Te3mbcrMe4dPUUmP/wSwMPPtfkUpBHtD7L+aU+p7hxOS/i Ql502LDUr06tlCowgJTNQpt1Cf6XJMZ58kz6LGTYmlynMu8+s1w0JFDGlN1u6IeQxbCI /HBlwlaU4XcLkCyHDvLh492hzplaG3IbnSXLA= Message-ID: <497D9FBE.2030000@gmail.com> Date: Mon, 26 Jan 2009 13:34:22 +0200 From: andriy User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <497D95E7.9040509@gmail.com> <497D9A32.2000107@rambler.ru> In-Reply-To: <497D9A32.2000107@rambler.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] apcupsd_APC_BACK_UPS_CS_650 X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 11:29:29 -0000 Archived-At: List-Archive: List-Post: Денис Ягофаров написав(ла): > 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 ... и висит...