Janeks Kamerovskis
2008-Nov-03 08:11 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
Hi! I am trying to install subj, on my Bubba miniserver, that runs Debian. I am stoped now with driver test: upsdrvctl start Network UPS Tools - UPS driver controller 2.0.4 Network UPS Tools - Megatec protocol driver 1.4 (2.0.4) Carlos Rodrigues (c) 2003-2006 Unable to open : No such file or directory Things to try: - Check 'port=' in ups.conf - Check owner/permissions of all parts of path Fatal error: unusable configuration Driver failed to start (exit status=1) I successfully installed NUT by using apt-get, configured config files. In my ups.conf I have: [mustekUPS] driver = megatec port= /dev/usb/hiddev0 Bubba miniserver has only USB ports outside. dmesg gives (I just posted part of output, that I felt significant): Linux version 2.6.26.5 (tor at sid) (gcc version 4.1.1) #1 Tue Sep 16 18:11:30 CEST 2008 Found legacy serial port 0 for /soc8313 at e0000000/serial at 4500 mem=e0004500, taddr=e0004500, irq=0, clk=133333334, speed=0 Found legacy serial port 1 for /soc8313 at e0000000/serial at 4600 mem=e0004600, taddr=e0004600, irq=0, clk=133333334, speed=0 console [udbg0] enabled Entering add_active_range(0, 0, 65536) 0 entries of 256 used Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0 PCI host bridge /soc8313 at e0000000/pci at 8500 (primary) ranges: ... usb 1-1.2: new low speed USB device using fsl-ehci and address 7 usb 1-1.2: configuration #1 chosen from 1 choice usbcore: registered new interface driver hiddev hiddev96: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-fsl-ehci.0-1.2 usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver What could be done to get them working? I read from some lists that there is megatec_usb driver and that had worked with UPS in the subj. But I haven't it in my installation. I tried also drivers: mustek and powermust, but without success. brgds and looking forward for your reply, Janeks
Alexander I. Gordeev
2008-Nov-03 12:57 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
Hi Janeks! On Monday 03 November 2008 11:11:17 Janeks Kamerovskis wrote:> Hi! > > I am trying to install subj, on my Bubba miniserver, that runs Debian. > > I am stoped now with driver test: > > upsdrvctl start > Network UPS Tools - UPS driver controller 2.0.4 > Network UPS Tools - Megatec protocol driver 1.4 (2.0.4) > Carlos Rodrigues (c) 2003-2006 > > > Unable to open : No such file or directory > > Things to try: > > - Check 'port=' in ups.conf > > - Check owner/permissions of all parts of path > > Fatal error: unusable configuration > Driver failed to start (exit status=1) > > > I successfully installed NUT by using apt-get, configured config files. > > In my ups.conf I have: > > [mustekUPS] > driver = megatec > port= /dev/usb/hiddev0 > > Bubba miniserver has only USB ports outside. >[snip]> > What could be done to get them working? > > I read from some lists that there is megatec_usb driver and that had > worked with UPS in the subj. But I haven't it in my installation. > I tried also drivers: mustek and powermust, but without success.You should try the megatec_usb driver instead. -- Alexander
Alexander I. Gordeev
2008-Nov-03 13:25 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
On Monday 03 November 2008 16:08:59 you wrote:> Spasibo za otvet! >Ne za chto :)> A kad etot driver dostatj? > > I haven't that driver! > I installed with apt-get. >You have to upgrade to at least 2.2.2. It is possible that you'll have to install the version from svn trunk. You can try to install the package from lenny (2.2.2). It's better to use backports though. Or compile from source. If you want I can easily make backported packages for etch (clean with pbuilder) and send to you. -- Alexander
Alexander I. Gordeev
2008-Nov-03 13:56 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
Janeks, On Monday 03 November 2008 16:46:13 you wrote:> I am rather begginer. I had some success with compiling but I am not > feeling free in compiling. > But if I understood right I need only driver file. It seems that it should > be quite recent version.I think, this is the worst way to upgrade. :) I can't really predict that. There were a lot of changes since then. Most likely it won't work this way. You'd better try to install this package first and report back the results: http://ftp.de.debian.org/debian/pool/main/n/nut/nut_2.2.2-6.2_i386.deb For example: wget http://ftp.de.debian.org/debian/pool/main/n/nut/nut_2.2.2-6.2_i386.deb sudo dpkg -i nut_2.2.2-6.2_i386.deb> BTW: how to find version number of NUT. >I guessed it from the output you posted previously:> upsdrvctl start > Network UPS Tools - UPS driver controller 2.0.4 > Network UPS Tools - Megatec protocol driver 1.4 (2.0.4) > Carlos Rodrigues (c) 2003-2006This means you have NUT 2.0.4. -- Alexander
Alexander I. Gordeev
2008-Nov-03 15:24 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
On Monday 03 November 2008 18:03:44 you wrote:> I need powerpc so I used: > > bubba:/home/janeks/dls# dpkg -i nut_2.2.2-6.2_powerpc.deb > Selecting previously deselected package nut. > (Reading database ... 33623 files and directories currently installed.) > Unpacking nut (from nut_2.2.2-6.2_powerpc.deb) ... > dpkg: dependency problems prevent configuration of nut: > nut depends on libc6 (>= 2.7-1); however: > Version of libc6 on system is 2.3.6.ds1-13etch7. > nut depends on libupsclient1; however: > Package libupsclient1 is not installed. > nut depends on udev (>= 0.124-1); however: > Version of udev on system is 0.105-4. > dpkg: error processing nut (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > nut > > So now the question is how to get those dependecies and will they do not > counterfere with existing aplications. >The only way to get these dependencies is to upgrade the whole system to lenny. I guess, this is not what you want to do. It means you'll have to compile NUT from source. You have to install several packages before compiling, I think, at least build-essential, libtool, libusb-dev. wget http://www.networkupstools.org/source/2.2/nut-2.2.2.tar.gz tar -xzf nut-2.2.2.tar.gz cd nut-2.2.2 ./configure --help # select needed options. I suggest you to specify --prefix=/home/user/path at # this time. If you want only megatec_usb, you can use # --with-drivers=megatec_usb ./configure <options> make make install Then check the path you specified in --prefix. -- Alexander
Alexander I. Gordeev
2008-Nov-03 16:39 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
Janeks, I didn't noticed before, please keep the list CC'ed. Thus everybody interested can read the discussion (and maybe help you too). On Monday 03 November 2008 19:26:58 Janeks Kamerovskis wrote:> > It means you'll have to compile NUT from source. You have to install > > several > > packages before compiling, I think, at least build-essential, libtool, > > libusb-dev. > > > > wget http://www.networkupstools.org/source/2.2/nut-2.2.2.tar.gz > > tar -xzf nut-2.2.2.tar.gz > > cd nut-2.2.2 > > ./configure --help > > # select needed options. I suggest you to specify > > --prefix=/home/user/path at > > Why this is better then default?Because this doesn't produce files that are not handled by the package manager in the system folders. These files tend to become garbage over time. -- Alexander
lasaine at lvk.cs.msu.su
2008-Nov-11 10:45 UTC
[Nut-upsuser] Mustek PowerMust 600 USB configuration
On Tue, Nov 11, 2008 at 12:13:38AM +0200, Janeks Kamerovskis wrote:> > > > > > I have no /dev/bus/... > Sorry, I was wrong it is! > > > > > This is strange... > > Ok, waiting for the output of megatec_usb with -DDDDD... > ??? >I asked you to provide the output of the megatec_usb driver with -DDDDD in one of previous e-mails. Or everything is ok now? -- Alexander