View previous topic :: View next topic |
Author |
Message |
ginetto n00b
Joined: 20 Jan 2005 Posts: 65 Location: Italia
|
Posted: Thu May 04, 2006 1:17 pm Post subject: NUT & USB UPS OnLine YUNTO Q700 [Non Risolto] |
|
|
C'è la possibilità di installare/configurare questo UPS su gentoo ?
Sul sito del produttore c'è il pacchetto binario da scaricare, ma se magari c'è gia qualcosa in portage il binario lo eviterei volentieri
E' connesso via USB:
Code: | usb 1-1: new low speed USB device using uhci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
input: ONLINE YUNTO as /class/input/input2
input: USB HID v1.00 Gamepad [ONLINE YUNTO] on usb-0000:00:07.2-1
|
Ciao e grazie
Last edited by ginetto on Thu May 18, 2006 1:19 pm; edited 2 times in total |
|
Back to top |
|
|
makoomba Bodhisattva
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Thu May 04, 2006 1:53 pm Post subject: |
|
|
con un ups seriale ONLINE ONDA, uso nut (http://www.networkupstools.org/) con il driver fentonups
nel pacchetto ci sono molti drivers, anche usb.
magari qualcuno funziona col tuo modello. _________________ When all else fails, read the instructions. |
|
Back to top |
|
|
ginetto n00b
Joined: 20 Jan 2005 Posts: 65 Location: Italia
|
Posted: Thu May 04, 2006 2:38 pm Post subject: |
|
|
makoomba wrote: | con un ups seriale ONLINE ONDA, uso nut (http://www.networkupstools.org/) con il driver fentonups
nel pacchetto ci sono molti drivers, anche usb.
magari qualcuno funziona col tuo modello. |
Code: | * www-apps/nut-2.0.0-r1 |
Grazie provo, se riesco posto il risultato
ciao |
|
Back to top |
|
|
ginetto n00b
Joined: 20 Jan 2005 Posts: 65 Location: Italia
|
Posted: Tue May 16, 2006 10:20 pm Post subject: |
|
|
Dolori....
Ho emerso nut:
Code: | sys-power/nut-2.0.1_pre4 -cgi -snmp +usb |
Ho configurato /etc/nut/ups.conf come da manuale
Code: | [yunto700]
driver = hidups
port = /dev/usb/hid/hiddev0
desc = "On-Line Yunto Q700"
|
L'ho avviato
Code: | gemulo d # /etc/init.d/upsd start
* Starting UPS drivers ...
Network UPS Tools - UPS driver controller 2.0.1-pre4
Network UPS Tools: HID UPS driver 0.13 (2.0.1-pre4)
Warning: This is an experimental driver.
Some features may not function correctly.
hiddev path open /dev/usb/hid/hiddev0: No such file or directory
Driver failed to start (exit status=1)
* Failed to start UPS drivers! [ !! ] * ERROR: Problem starting needed services.
* "upsd" was not started.
|
Ok, vado a controllare dentro /dev/, la cartella /usb/... e coda non c'è.....
Il kernel dovrebbe essere compilato giusto, ho abilitato USB HID e RAW support (provato sia come modulo che come built-in)(non so come si fa postarlo, se mi dite il comando magari vi posto la configurazione )
La periferica mi sembra venga riconosciuta correttamente
Code: | gemulo d # dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usb 1-1: new low speed USB device using uhci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: USB HID v1.10 Mouse [Logitech USB Trackball] on usb-0000:00:07.2-2
input: USB HID v1.00 Gamepad [ONLINE YUNTO] on usb-0000:00:07.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usb-storage
|
Code: | gemulo d # lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 06da:0002 Phoenixtec Power Co., Ltd
Bus 001 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 001 Device 001: ID 0000:0000
|
Code: | gemulo d # lsusb -v
Bus 001 Device 004: ID 06da:0002 Phoenixtec Power Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x06da Phoenixtec Power Co., Ltd
idProduct 0x0002
bcdDevice 0.02
iManufacturer 1 ONLINE
iProduct 2 YUNTO
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 4 Sample HID
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 31
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 32
|
Code: | gemulo d # lsmod
Module Size Used by
snd_pcm_oss 30752 0
snd_mixer_oss 13184 1 snd_pcm_oss
snd_seq_dummy 2052 0
snd_seq_oss 24064 0
snd_seq_midi_event 3840 1 snd_seq_oss
snd_seq 33104 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
floppy 46532 0
8139too 19200 0
mii 3072 1 8139too
snd_via82xx 18196 1
snd_ac97_codec 63904 1 snd_via82xx
snd_ac97_bus 1152 1 snd_ac97_codec
snd_pcm 53000 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 15620 2 snd_seq,snd_pcm
snd_page_alloc 6152 2 snd_via82xx,snd_pcm
snd_mpu401_uart 4864 1 snd_via82xx
snd_rawmidi 15776 1 snd_mpu401_uart
snd_seq_device 4620 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 32228 14 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 5216 1 snd
i2c_viapro 5780 0
savage 26496 0
drm 47636 1 savage
usb_storage 57536 0 |
ultima info
Code: | gemulo d # emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python: 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.it.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X aac acpi alsa apache2 apm applet arts asf audiofile avi bash-completion berkdb bitmap-fonts bittorrent bonobo bzip2 ccache cli crypt cups curl dbus dri eds emboss encode esd exif expat fam fat fbcon firefox foomaticdb fortran gd gdbm gif glut gmp gnome gnome-print gnutls gpm gstreamer gtk gtk2 gtkhtml gzip hal howl hpijs idn imlib insecure-drivers ipv6 java jpeg lame lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mp4 mpeg ncurses nls nptl ntfs offensive ogg opengl oss pam pcre pdf pdflib perl png ppds psyco python quicktime rar readline real reflection samba sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev ups usb userlocales vidix vorbis win32codecs wma xine xml xml2 xmms xorg xv xvid zip zlib video_cards_savagefb linguas_it userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY |
Mi date una mano per favore ?
Grazie
Ginetto
EDIT
Dato che non ci levo le gambe ho connesso l'UPS tramite la porta seriale, ho modificato /etc/nut/ups.conf
Code: | [yunto700]
driver = genericups
upstype = 14
port = /dev/ttyS0
desc = "On-Line Yunto Q700" |
Ora riesco ad attivare nutregolarmente:
Code: | gemulo d # /etc/init.d/upsd start
* Starting upsd ...
Network UPS Tools upsd 2.0.1-pre4
Connected to UPS [yunto700]: genericups-ttyS0
Synchronizing...done |
Grazie ugualmente |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|