search for: devd

Displaying 20 results from an estimated 68 matches for "devd".

Did you mean: dev
2009 Feb 28
2
devd question
I'm trying to make devd run an stty command whenever a USB serial device is attached. Unfortunately, $device-name is ucom[0-9] and the device names are /dev/cuaU[0-9] - how do I get the correct name in the device action? I haven't found a way to extract the number by itself, so I'm stuck with specifying a separa...
2014 Jul 18
0
NUT + devd + FreeBSD
On Mon, Oct 29, 2007 at 9:45 PM, Daniel O'Connor <doconnor at gsoft.com.au> wrote: > I made the following devd script.. > > sh > cd /tmp > fetch > mkdir /usr/local/etc/devd > sed -Ene 's/SYSFS\{idVendor\}==\"(.*)\", SYSFS\{idProduct\}==\"(.*)\", MODE=.*/attach 100 {\ > device-name "ugen[0-9]+";\ > match "vendor" "0x\1&...
2007 Oct 30
5
NUT + devd + FreeBSD
I made the following devd script.. sh cd /tmp fetch mkdir /usr/local/etc/devd sed -Ene 's/SYSFS\{idVendor\}==\"(.*)\", SYSFS\{idProduct\}==\"(.*)\", MODE=.*/attach 100 {\ device-name "ugen[0-9]+";\ match "vendor" "0x\1";\ match "product&qu...
2016 Oct 12
2
Unable to find driver for a supported device
...t = 0x0001 bcdDevice = 0x0001 iManufacturer = 0x0001 <TRIPP LITE> iProduct = 0x0002 <TRIPP LITE SMART1500RMXL2Ua > iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 I swapped over to the tripplite_usb and it's still doing the same thing. # /etc/rc.d/devd restart Stopping devd. Starting devd. # upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.29 (2.7.4) Warning: This is an experimental driver. Some features may not function correctly. No matching USB/HID UPS found Driver fail...
2016 Oct 11
2
Unable to find driver for a supported device
Hello everyone, I have a Tripp-Lite UPS (smart1500rmxl2ua) I'm trying to get working with nut. This is a FreeBSD 10.3 box. I've tried using the usbhid-ups<http://networkupstools.org/docs/man/usbhid-ups.html> driver but everytime I try to start up nut, I get this: # upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4)
2016 Oct 12
0
Unable to find driver for a supported device
...t = 0x0001 bcdDevice = 0x0001 iManufacturer = 0x0001 <TRIPP LITE> iProduct = 0x0002 <TRIPP LITE SMART1500RMXL2Ua > iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 I swapped over to the tripplite_usb and it's still doing the same thing. # /etc/rc.d/devd restart Stopping devd. Starting devd. # upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Tripp Lite OMNIVS / SMARTPRO driver 0.29 (2.7.4) Warning: This is an experimental driver. Some features may not function correctly. No matching USB/HID UPS found Driver fail...
2014 Aug 17
0
NUT + devd + FreeBSD
...my MGE Ellipse and I don?t see why it wouldn?t work more generally if your script was modified. Daniel, Thanks for the info. (Sorry for the delay; couldn't test on a FreeBSD box last week.) I think I have it generating things in that format now: https://github.com/clepple/nut/compare/freebsd_devd_take2 For reference, which version of FreeBSD are you using? I got this to work on 9.2 and 10.0. -- Charles Lepple clepple at gmail
2013 Jul 03
0
UPS has no built-in monitor. [GishPuppy]
...sts or documentation, yet. > > Thank you for any assistance you may provide. Nice idea ! Maybe you don't even need to use NUT, (Or could feed into back end of NUT daemon (to inform hosts & do the countdown etc) from an alternate device input detector.) In the case of FreeBSD, /etc/devd/*.conf allows programs to be automatically run on connection & disconnection of a USB device, (maybe your Linux offers similar ?). Examples of FreeBSD USB `attach` & `detach` manual & command /usr/src/sbin/devd/devd.conf.5 http://svnweb.freebsd.org/base/head/sbin/devd/devd.conf.5?...
2019 Jul 16
4
Trouble getting Roline/Powercom UPS recognized
Hi all, > Am 16.07.2019 um 15:33 schrieb Charles Lepple <clepple at gmail.com>: > There may be an issue with the uhid driver binding to the device. I can't remember which versions of FreeBSD this affects, though. Unloaded the kmod - did not change anything. But I will configure devd not to load uhid.ko ever, just to be sure. You are implying Ithe uhid driver should not be present, correct? > We have another branch that uses the libusb-1.0 API: https://github.com/networkupstools/nut/issues/300 I will compile and try this one and report back. > This is the case where th...
2011 Jan 13
1
Problem with FreeBSD graceful shutdown
Hello, I have FreeBSD guest running with KVM+libvirt, when I send shutdown through virsh for ex. $ virsh shutdown freebsd There is not any reaction from FreeBSD. Linux guests works together with acpid daemon well. devd in freebsd is running, and should work correct. Is there any way to fix this dumpxml config http://pastebin.com/UGGgG894 devd config is out of box -- Nikita A Menkovich JID: menkovich at gmail.com
2013 Jul 03
2
UPS has no built-in monitor. [GishPuppy]
OS: Debian Wheezy Nut: 2.6.4-2.3 Installation method: Synaptic Device: CDP B-UPR505 Traces, debugs, etc.: Not available or irrelevant Description: Where I currently live (Honduras), buying a UPS with monitoring capability means spending at least twice as much as a "plain-Jane" model - usually even more than that. Thus, since I can't afford the ones with monitoring, all I have are
2014 Jun 02
0
feature request -- talk to the router, not the UPS
.../find-root.php?message_id=20130703045347.55D4172182%40mail.gishpuppy.com I'm not a huge fan of polling when edge-triggered events are available. (That said, dummy-ups polls its state file once a second, and that could be improved upon with something like inotify.) In most cases, you can add a devd (FreeBSD) or udev (Linux) rule that triggers when a device disappears, without affecting normal operation of that device while it is connected. Both devd and udev will simply run all of the matching rules when the specified action occurs. -- Charles Lepple clepple at gmail
2014 Jun 04
1
feature request -- talk to the router, not the UPS
...UPS driver still attempt to poll it????? Sloppy coding? The hardware design is so that the driver can go to open the com port then just block until DSR is asserted. Then you can start the polling, looking for the CD line to go high (indicating a low battery) > In most cases, you can add a devd (FreeBSD) or udev (Linux) rule that triggers when a device disappears, without affecting normal operation of that device while it is connected. Both devd and udev will simply run all of the matching rules when the specified action occurs. > the hack posted (inserting a relay in a spare mouse, r...
2013 Jul 22
2
stopping amd causes a freeze
...t's also a real freeze, so there's no way to get into the debugger or grab a core dump. I only can perform the 4 seconds hard shutdown to revive the system. I run amd through sysutils/automounter, which is a scripting solution that generates an amd.map file based on encountered devices and devd events. The SIGHUP it sends to amd to tell it the map file was updated does not cause problems, only a SIGKILL may cause the freeze. Nothing was mounted (by amd) during the last freeze. I don't see any angle to tackle this, but I'm throwing it out here any way, in the hopes that someone a...
2014 Jun 02
3
feature request -- talk to the router, not the UPS
Hi Ted, Thanks for the reply. I didn't realize that tapping into the serial port could be that simple. I might do that - for my application all I would need would be the first relay. I can simply set the timer in the FreeNAS GUI to wait a few minutes to see if the UPS comes back up before it does a system shut down, so I can be okay without the low battery signal. I respectfully disagree
2016 Oct 12
0
Unable to find driver for a supported device
...y these days), you need tripplite_usb, otherwise usbhid-ups is the correct driver. The other prerequisite is configuring the permissions. I'm not sure if we ever got this integrated into the FreeBSD ports installation procedure, but do you have a "nut-usb.conf" file in /usr/local/etc/devd? If so, it should configure the appropriate /dev/usb device node to be owned (or at least group-writable) by the NUT user. A devd restart and/or pulling the USB cable might be necessary. The exact details for the above will depend on the procedure you followed to install NUT (ports vs building fro...
2020 Oct 11
0
Multi UPS Monitoring
...D etc. > Relevant is: What OS ? > > If you connect a USB device (mem stick, triplite ups or disc whatevere) > to a FreeBSD computer (PC, rasp. i386 amd64 whatever) the > computer will show serial numbers with all of; > dmesg > vi /var/log/messages > kill -9 `cat /var/run/devd.pid` ; /sbin/devd -d PS a few rare old devs don't announce a sernum, so you may be partly out of luck esp. in light of post from David Zomaya, Tripp Lite. However newest releases of FreeBSD offer more hub & port no. info than older releases, & presumably smilar on other OS's, so yo...
2019 Jul 16
2
Trouble getting Roline/Powercom UPS recognized
Hi all, I’m new to NUT and have some trouble getting my new UPS to work. Since the HCL listed Powercom UHID models as „green“ I thought buying a Roline (German rebranded Powercom) model would be a good idea. The OS is FreeBSD: FreeBSD freenas-pmh.local 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+6aad246318c(HEAD): Mon Jun 24 17:25:47 UTC 2019 root at
2009 Oct 06
1
NUT UPS monitor & APC Back UPS CS-350 (nut-2.2.2p1) on OpenBSD
Hallo, Following the tips found at https://calomel.org/nut_ups.html I was trying to make NUT operate "APC Back UPS CS-350". The device introduces itself as: #v+ ugen0 at uhub0 port 1 "American Power Conversion Back-UPS CS 350 FW:807.q7.I USB FW:q7" rev 1.10/0.06 addr 2 #v- My config: #v+ [apc] driver = usbhid-ups port = /dev/ugen0.00 pollfreq =
2009 Oct 06
1
NUT UPS monitor & APC Back UPS CS-350 (nut-2.2.2p1) on OpenBSD
Hallo, Following the tips found at https://calomel.org/nut_ups.html I was trying to make NUT operate "APC Back UPS CS-350". The device introduces itself as: #v+ ugen0 at uhub0 port 1 "American Power Conversion Back-UPS CS 350 FW:807.q7.I USB FW:q7" rev 1.10/0.06 addr 2 #v- My config: #v+ [apc] driver = usbhid-ups port = /dev/ugen0.00 pollfreq =