Re: Need usb troubleshoting tool
Gene Heskett wrote: Attached. well, it was really for you to see. anyway, a file of name '*.cgi' is for use in a web browser, and not a true command line executable. even tho it was found by 'locate stat|grep bin/'. my bad for not explaining it mo' betta than, you do not run a '.cgi' from a shell. run man 8 upsstats.cgi to see what it is for. 'man' should have explained it for you. i do not have this man page so i can not run it to see what it says. :( All from tarballs since the rpms are too old to deal with this 2+ year old ups, with paths corrected well enough it now runs, except for a fail report from upsdrvctl when starting the init.d/ups script, which works, but reports a FAIL. And it was configured with all optional pieces, built and installed. even with ups being 2+ years old, you should be able to pull what you need and use it in a current version. or is this what you did? not sure from above. primarily what you would need is the communications that are used to receive and send to ups, so they should work. also, please excuse my delay in replying. i have been cleaning up and rebuild my archive drive so i can get things restored. what is taken so long is that i made changes to how i do archiving, and i am trying to clean up duped files and directories that have been moved around and even renamed. i need a good dupe file finder. later. -- peace out. tc,hago. g . in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today. ** to mess up a linux box, you need to work at it. to mess up an ms windows box, you just need to *look* at it. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ signature.asc Description: OpenPGP digital signature -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need usb troubleshoting tool
On Saturday 02 January 2010, g wrote: Gene Heskett wrote: Do we have a usb monitoring tool that can detect and name the processes that are apparently fighting over a device plugged into a semi remote usb hub, a 7 port Alps gizmo plugged into one of the mobo ports? see reply to 'subject: nut 0 vs f10 winner'. i believe that you will find that most i/o monitoring is done with a prog that ends with 'stat'. locate stat|grep bin/ should find them for you, then you can run 'man' against name to see what they do. Thanks, I hadn't tried that exact strategy yet, duh... However, nothing that looks applicable seems to appear. Or is it possible that because it is not plugged directly into the motherboard, that some other process is claiming the attention of that hub, and making usbhid-ups _think_ another process has locked the ups for its own use? yes, ups should be on it's own controller and nothing else *at main board*. Little gotcha's like that need to be pointed out in the README's that go with these programs. It would have saved me a week. not 'locked the ups for its own use', but has more like *locked out* ups. In fairness, the error message did say that occasionally. This program contains some python scripts, NUT-Monitor for instance, and while it only reports the online/offline, charge, load and remaining time, it also needs a considerable amount of typing into its gui to get access to the data. I now have that setup as a Desktop button. AI just now found that executing upsstats..cgi from a shell is very noisy, but the data from the ups does seem to be in this noise. But I've no clue how to get firefox to run it instead of downloading it. hth. Yes it does. Thanks. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) Garbage In, Gospel Out -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need usb troubleshoting tool
Gene Heskett wrote: Thanks, I hadn't tried that exact strategy yet, duh... However, nothing that looks applicable seems to appear. in meantime of my reply post and getting back into f-12, i opened yumex and ran a filter of 'monitor' to see what was there. none of which stated specifically 'usb', but several stated 'i/o' and 'protocol'. [would be nice if yumex had a boolean search feature] Little gotcha's like that need to be pointed out in the README's that go with these programs. It would have saved me a week. consider this when it comes to usb, if it is critical, it should be on it's own controller. then hopefully it will get priority it needs. you could also try 'nice', but i do not know how that would work. not 'locked the ups for its own use', but has more like *locked out* ups. In fairness, the error message did say that occasionally. ok. AI just now found that executing upsstats..cgi from a shell is very noisy, but the data from the ups does seem to be in this noise. But I've no clue how to get firefox to run it instead of downloading it. what do you mean by upsstats.cgi is very noisy? just for fun of it run /var/www/apcupsd/upsstats.cgi|less to see just exactly what is going on. you do not run a '.cgi' from a shell. run man 8 upsstats.cgi to see what it is for. you should have a /usr/share/man/man8/upsstats.cgi.8.gz, which is in 'nut-cgi package'. no, i did not install 'nut', just looking at file list i pulled when i had 'yumex' open. also, see; http://en.wikipedia.org/wiki/Common_Gateway_Interface iirc, with 'nut', you need to install both server and client to have it work correctly. therefore, you need to install all 'nut' packages, with exception of development package; nut, nut-cgi, nut-client, nut-hal, nut-xml. [timbw] later. -- peace out. tc,hago. g . in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today. ** to mess up a linux box, you need to work at it. to mess up an ms windows box, you just need to *look* at it. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ signature.asc Description: OpenPGP digital signature -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need usb troubleshoting tool
On Saturday 02 January 2010, g wrote: Gene Heskett wrote: Thanks, I hadn't tried that exact strategy yet, duh... However, nothing that looks applicable seems to appear. in meantime of my reply post and getting back into f-12, i opened yumex and ran a filter of 'monitor' to see what was there. none of which stated specifically 'usb', but several stated 'i/o' and 'protocol'. [would be nice if yumex had a boolean search feature] Little gotcha's like that need to be pointed out in the README's that go with these programs. It would have saved me a week. consider this when it comes to usb, if it is critical, it should be on it's own controller. then hopefully it will get priority it needs. you could also try 'nice', but i do not know how that would work. not 'locked the ups for its own use', but has more like *locked out* ups. In fairness, the error message did say that occasionally. ok. AI just now found that executing upsstats..cgi from a shell is very noisy, but the data from the ups does seem to be in this noise. But I've no clue how to get firefox to run it instead of downloading it. what do you mean by upsstats.cgi is very noisy? just for fun of it run /var/www/apcupsd/upsstats.cgi|less to see just exactly what is going on. Attached. you do not run a '.cgi' from a shell. run man 8 upsstats.cgi to see what it is for. you should have a /usr/share/man/man8/upsstats.cgi.8.gz, which is in 'nut-cgi package'. no, i did not install 'nut', just looking at file list i pulled when i had 'yumex' open. also, see; http://en.wikipedia.org/wiki/Common_Gateway_Interface iirc, with 'nut', you need to install both server and client to have it work correctly. therefore, you need to install all 'nut' packages, with exception of development package; nut, nut-cgi, nut-client, nut-hal, nut-xml. [timbw] later. All from tarballs since the rpms are too old to deal with this 2+ year old ups, with paths corrected well enough it now runs, except for a fail report from upsdrvctl when starting the init.d/ups script, which works, but reports a FAIL. And it was configured with all optional pieces, built and installed. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) I Know A Joke!! Content-type: text/html Pragma: no-cache !-- upsstats template file -- !-- This (upsstats.html) is the default template file which is used when upsstats.cgi is loaded with no arguments. It usually contains a FOREACHUPS block to iterate through every UPS in the hosts.conf. See upsstats.html(5) for more information on template files. -- !-- change this to TEMPF if you don't like Celsius. -- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=utf-8 title Network UPS Tools upsstats 2.4.1 : UPS Status /title !-- link rel=stylesheet type=text/css href=nut.css / -- /head body BGCOLOR=#FF TEXT=#00 LINK=#EE VLINK=#551A8B table BGCOLOR=#50A0A0 ALIGN=CENTER trtd table CELLPADDING=5 tr th COLSPAN=10 BGCOLOR=#60B0B0 font SIZE=+2Network UPS Tools upsstats 2.4.1 /font br Sat Jan 02 16:47:16 EST 2010 /th /tr tr BGCOLOR=#60B0B0 th COLSPAN=1System/th th COLSPAN=1Model/th th COLSPAN=1Status/th th COLSPAN=1Battery/th th COLSPAN=1Input (VAC)/th th COLSPAN=1Output (VAC)/th th COLSPAN=1Load (%)/th th COLSPAN=1UPSbrTemp/th th COLSPAN=1BatterybrRuntime/th th COLSPAN=1DatabrTree/th /tr tr ALIGN=CENTER td BGCOLOR=#00 a href=upsstats.cgi?host=my...@localhostBelkin Local UPS/a /td td BGCOLOR=#00 Belkin UPS /td td BGCOLOR= #00FF00 ONLINEbr /td td BGCOLOR=#00FF00 100 % /td td BGCOLOR= #00FF00 126.0 /td td BGCOLOR=#00FF00 125.6 /td td BGCOLOR=#00FF00 32 % /td td BGCOLOR=#00FF00 /td td BGCOLOR=#00FF00 00:02:00 /td td BGCOLOR=#00FF00 a href=upsstats.cgi?host=my...@localhostamp;treemodeAll data/a /td /tr /table /td/tr /table hr /divsmall a href=http://jigsaw.w3.org/css-validator/check/referer;img style=float:right src=http://jigsaw.w3.org/css-validator/images/vcss; alt=Valid CSS! height=31 width=88//a a href=http://validator.w3.org/check?uri=referer;img style=float:right src=http://www.w3.org/Icons/valid-html40; alt=Valid HTML 4.0 Transitional height=31 width=88/a /small/div /body/html -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Need usb troubleshoting tool
Greetings all; Do we have a usb monitoring tool that can detect and name the processes that are apparently fighting over a device plugged into a semi remote usb hub, a 7 port Alps gizmo plugged into one of the mobo ports? Or is it possible that because it is not plugged directly into the motherboard, that some other process is claiming the attention of that hub, and making usbhid-ups _think_ another process has locked the ups for its own use? Thanks. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) nolo contendere: A legal term meaning: I didn't do it, judge, and I'll never do it again. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need usb troubleshoting tool
Gene Heskett wrote: Do we have a usb monitoring tool that can detect and name the processes that are apparently fighting over a device plugged into a semi remote usb hub, a 7 port Alps gizmo plugged into one of the mobo ports? see reply to 'subject: nut 0 vs f10 winner'. i believe that you will find that most i/o monitoring is done with a prog that ends with 'stat'. locate stat|grep bin/ should find them for you, then you can run 'man' against name to see what they do. Or is it possible that because it is not plugged directly into the motherboard, that some other process is claiming the attention of that hub, and making usbhid-ups _think_ another process has locked the ups for its own use? yes, ups should be on it's own controller and nothing else *at main board*. not 'locked the ups for its own use', but has more like *locked out* ups. hth. -- peace out. tc,hago. g . in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today. ** to mess up a linux box, you need to work at it. to mess up an ms windows box, you just need to *look* at it. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ signature.asc Description: OpenPGP digital signature -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines