[Nut-upsuser] Mustek PowerMust 600 USB configuration
Janeks Kamerovskis
sags at apollo.lv
Sun Nov 9 15:02:35 UTC 2008
Hi, again!
Today I tried again tinkering around my UPS, but now the message is
different:
upsdrvctl start
Network UPS Tools - UPS driver controller 2.2.2
Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec_usb]
Carlos Rodrigues (c) 2003-2008
Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007
Megatec protocol UPS detected.
Startup timer elapsed, continuing...
What to do now?
brgds
Janeks
----- Original Message -----
From: "Janeks Kamerovskis" <sags at apollo.lv>
To: "Alexander I. Gordeev" <lasaine at lvk.cs.msu.su>
Cc: <nut-upsuser at lists.alioth.debian.org>
Sent: Thursday, November 06, 2008 9:08 PM
Subject: Re: [Nut-upsuser] Mustek PowerMust 600 USB configuration
> Thanks, Alexander for your help!
>
> Finaly I got to manage to compile NUT.
>
> Now I am configuring it:
> my ups.conf:
> [mustekUPS]
> driver = megatec_usb
> port = /dev/usb/hiddev0
> # port = auto
> desc = "Mustek PowerMust 600 USB"
>
> But I am getting errors:
>
> /usr/local/ups/bin/upsdrvctl start
> Network UPS Tools - UPS driver controller 2.2.2
> Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec_usb]
> Carlos Rodrigues (c) 2003-2008
>
> Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
> Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c)
> 2007
>
> ser_send_pace: Device detached? (error -1: error sending control message:
> Operation not permitted)
> Successfully reconnected
> ser_send_pace: Device detached? (error -1: error sending control message:
> Operation not permitted)
> Successfully reconnected
> ser_send_pace: Device detached? (error -1: error sending control message:
> Operation not permitted)
> Successfully reconnected
> ser_send_pace: Device detached? (error -1: error sending control message:
> Operation not permitted)
> Successfully reconnected
> ser_send_pace: Device detached? (error -1: error sending control message:
> Operation not permitted)
> Successfully reconnected
> Megatec protocol UPS not detected.
> Driver failed to start (exit status=1)
>
> Also I am not shure how to configure hotplugging scripts for permissions.
> I did like for serial ports using /dev/usb/diddev0
> Could you give me some advice/link?
>
> brgds
> Janeks
>
> ----- Original Message -----
> From: "Alexander I. Gordeev" <lasaine at lvk.cs.msu.su>
> To: "Janeks Kamerovskis" <sags at apollo.lv>
> Cc: <nut-upsuser at lists.alioth.debian.org>
> Sent: Wednesday, November 05, 2008 1:14 AM
> Subject: Re: [Nut-upsuser] Mustek PowerMust 600 USB configuration
>
>
>> I've updated the packages:
>> http://lvk.cs.msu.su/~lasaine/nut-backport/lenny/nut_2.2.2-6.2~stable1_powerpc.deb
>> http://lvk.cs.msu.su/~lasaine/nut-backport/lenny/libupsclient1_2.2.2-6.2~stable1_powerpc.deb
>>
>> There are also over packages if needed here:
>> http://lvk.cs.msu.su/~lasaine/nut-backport/lenny/
>>
>> On Wednesday 05 November 2008 00:28:23 you wrote:
>>> Thanks, Alexander!
>>>
>>> I tried both ways:
>>> Both of them are asking for additional packages/libraries.
>>>
>>> Do I need them at all? I am asking so because Bubba is device without
>>> monitor i.e. no GUI things only ssh acces or web GUIs.
>>>
>>> The console copy:
>>>
>> [snip]
>>> bubba:/home/janeks/dls# apt-get install libgd2-xpm-dev
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> You might want to run `apt-get -f install' to correct these:
>>> The following packages have unmet dependencies:
>>> libgd2-xpm-dev: Depends: libfontconfig1-dev but it is not going to be
>>> installed
>>> Depends: libfreetype6-dev but it is not going to be
>>> installed
>>> Depends: libpng12-0-dev
>>> Depends: libx11-dev but it is not going to be
>>> installed or
>>> xlibs-dev (< 4.3.0) but it is not installable
>>> Depends: libxpm-dev but it is not going to be
>>> installed or
>>> xlibs-dev (< 4.3.0) but it is not installable
>>> nut: Depends: libupsclient1 but it is not installable
>>> Depends: udev (>= 0.124-1) but 0.105-4 is to be installed
>>> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
>>> specify a solution).
>>
>> I thought you have X server. Use libgd2-noxpm-dev instead.
>>
>> --
>> Alexander
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list