Re: [Nut-upsuser] NUT + devd + FreeBSD

2014-08-17 Thread Charles Lepple
On Aug 13, 2014, at 11:46 PM, O'Connor, Daniel dar...@dons.net.au wrote: I did some fiddling and came up with.. notify 100 { match system USB; match subsystem “DEVICE; match typeATTACH; match vendor 0x0463; match product

Re: [Nut-upsuser] NUT + devd + FreeBSD

2014-08-17 Thread O'Connor, Daniel
On 18 Aug 2014, at 5:28, Charles Lepple clep...@gmail.com wrote: On Aug 13, 2014, at 11:46 PM, O'Connor, Daniel dar...@dons.net.au wrote: I did some fiddling and came up with.. notify 100 { match system USB; match subsystem “DEVICE; match type

Re: [Nut-upsuser] NUT + devd + FreeBSD

2014-08-12 Thread Daniel O'Connor
On 18 Jul 2014, at 22:41, Charles Lepple clep...@gmail.com wrote: On Mon, Oct 29, 2007 at 9:45 PM, Daniel O'Connor docon...@gsoft.com.au wrote: I made the following devd script.. Dusting off this thread, since the FreeBSD ports tree picked up NUT 2.7.2 and now includes an auto-generated

Re: [Nut-upsuser] NUT + devd + FreeBSD

2014-07-18 Thread Charles Lepple
On Mon, Oct 29, 2007 at 9:45 PM, Daniel O'Connor docon...@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]+;\

Re: [Nut-upsuser] NUT + devd + FreeBSD

2007-10-29 Thread Charles Lepple
On 10/29/07, Daniel O'Connor [EMAIL PROTECTED] wrote: I made the following devd script.. That's pretty intense, but it's a nice reuse of the udev data. If you want, we can create a packaging/FreeBSD directory (or just packaging/BSD, if devd is not specific to FreeBSD) to hold the script and

Re: [Nut-upsuser] NUT + devd + FreeBSD

2007-10-29 Thread Daniel O'Connor
On Tue, 30 Oct 2007, Charles Lepple wrote: On 10/29/07, Daniel O'Connor [EMAIL PROTECTED] wrote: I made the following devd script.. That's pretty intense, but it's a nice reuse of the udev data. Hey, machines exist to do work for us, not the other way around ;) Although IMO a source file