Identify USB device with devd

2013-03-14 Thread Alberto Mijares
Hi list, I have 3 USB GSM modems and I want to trigger some actions when they are plugged to the system. Each modem must trigger a different action, the problem is how to identify each modem because 1) none of the modems have a serial number iSerialNumber = 0x 2) two of three modems have s

Re: devd wlan wpa

2013-02-05 Thread CeDeROM
so I need to have devd configured anyway... :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-ques

Re: devd wlan wpa

2013-02-05 Thread CeDeROM
On Tue, Feb 5, 2013 at 1:24 PM, Alexandre wrote: > There is this entry for the network aggregation in the Handbook Thank you Alexandre! This is not exactly what I am looking for as I would like to have wpa running after interface is up, but I will use provided solution in another place, thank you

Re: devd wlan wpa

2013-02-05 Thread Alexandre
d to switch between Ethernet > and WiFi interfaces very often. I have tried to write devd rule: > > notify 0 { > match "system" "IFNET"; > match "subsystem" "wlan[0-9]+"; > match "type"

devd wlan wpa

2013-02-05 Thread CeDeROM
hernet and WiFi interfaces very often. I have tried to write devd rule: notify 0 { match "system" "IFNET"; match "subsystem" "wlan[0-9]+"; match "type""LINK_UP"; media

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
/send_nsca.cfg" > } > if bce0.link.down || bce1.link.down { > run "echo \"pf1-gs.hipay;bond;2;BONDING DEGRADED\"| > send_nsca_2.7 -H monit1.hipay.eqx -d \";\" -c /usr/local/etc/send_nsca.cfg" > run "e

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
e to try is run scripts if carp interfaces change. > Actually my real aim is to synchronize file from slave server to > master if master reboots or slave becomes master due to carp problems > on the master. > Regards, > Peter > > > On 01/02/2012, Damien Fleuriot wrote: >&g

Re: carp+devd+ifstated on master problem

2012-02-02 Thread Damien Fleuriot
ay -d \";\" -c /usr/local/etc/send_nsca.cfg" } } On 2/2/12 11:25 AM, peter knezel wrote: > Hello Damien, > > of course, the tnewpass was my copy error - newpass is OK and is in > config files everywhere. > And the carp interfaces' advskew, vh

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
is to synchronize file from slave server to master if master reboots or slave becomes master due to carp problems on the master. Regards, Peter On 01/02/2012, Damien Fleuriot wrote: > > > On 2/1/12 12:12 PM, peter knezel wrote: >> Hello all, >> >> I have configured devd

Re: carp+devd+ifstated on master problem

2012-02-01 Thread Damien Fleuriot
On 2/1/12 12:12 PM, peter knezel wrote: > Hello all, > > I have configured devd and ifstated on a master FreeBSD server (slave > not changed so far) on which carp was configured with three > carp0,carp1 and carp2 virtual addresses. > > When I as root do ifconfig c

carp+devd+ifstated on master problem

2012-02-01 Thread peter knezel
Hello all, I have configured devd and ifstated on a master FreeBSD server (slave not changed so far) on which carp was configured with three carp0,carp1 and carp2 virtual addresses. When I as root do ifconfig carp0 down and up, the corresponding testdown.sh and testup.sh scripts are run (defined

carp+devd+ifstated on master problem

2012-02-01 Thread peter knezel
Hello all, I have configured devd and ifstated on a master FreeBSD server (slave not changed so far) on which carp was configured with three carp0,carp1 and carp2 virtual addresses. When I as root do ifconfig carp0 down and up, the corresponding testdown.sh and testup.sh scripts are run (defined

Re: Adding a devd entry for a specified uhid

2011-05-27 Thread David Demelier
also have gamepad that are uhid too, I would like to get the vendor and product id of this keyboard uhid to match the good hid device with devd and do not try to run usbhidaction on the gamepad. usbconfig need ugenx.y to deal with vendor and product id so how can I know the vendor and product id of my

Re: Adding a devd entry for a specified uhid

2011-05-27 Thread Warren Block
would like to get the vendor and product id of this keyboard uhid to match the good hid device with devd and do not try to run usbhidaction on the gamepad. usbconfig need ugenx.y to deal with vendor and product id so how can I know the vendor and product id of my uhid device ? devd returns a

Re: Adding a devd entry for a specified uhid

2011-05-27 Thread Warren Block
this keyboard uhid to match the good hid device with devd and do not try to run usbhidaction on the gamepad. usbconfig need ugenx.y to deal with vendor and product id so how can I know the vendor and product id of my uhid device ? devd returns a device-name value. I thought there was an

Adding a devd entry for a specified uhid

2011-05-27 Thread David Demelier
device with devd and do not try to run usbhidaction on the gamepad. usbconfig need ugenx.y to deal with vendor and product id so how can I know the vendor and product id of my uhid device ? markand@Groseille ~ $ usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.1

Re: devd started with single-user mode?

2011-03-24 Thread Pan Tsu
David Demelier writes: > On 21/03/2011 10:51, Pan Tsu wrote: >> David Demelier writes: >> >>> The problem when you're using directly kbdmux in the kernel config, >>> the ATKBD_DFLT_KEYMAP and UKBD_DFLT_KEYMAP are ineffective, you can't >>> set these both together ... >>> >>> For me I added these

Re: devd started with single-user mode?

2011-03-21 Thread David Demelier
s ukbd0, would not automatically be activated (or switched over to by a "kbdcontrol -k" command issued by devd) and can therefore not be used, even if physically present (in opposite to the "phantom" keyboard atkbd0). The kbdmux option makes _all_ keyboards available for input (witho

Re: devd started with single-user mode?

2011-03-21 Thread Polytropon
atically be activated (or switched over to by a "kbdcontrol -k" command issued by devd) and can therefore not be used, even if physically present (in opposite to the "phantom" keyboard atkbd0). The kbdmux option makes _all_ keyboards available for input (without using "kbdcont

Re: devd started with single-user mode?

2011-03-21 Thread David Demelier
On 21/03/2011 10:51, Pan Tsu wrote: David Demelier writes: The problem when you're using directly kbdmux in the kernel config, the ATKBD_DFLT_KEYMAP and UKBD_DFLT_KEYMAP are ineffective, you can't set these both together ... For me I added these both to use uk.iso but in single user mode I st

Re: devd started with single-user mode?

2011-03-21 Thread Polytropon
On Mon, 21 Mar 2011 08:01:27 +0100, David Demelier wrote: > The problem when you're using directly kbdmux in the kernel config, the > ATKBD_DFLT_KEYMAP and UKBD_DFLT_KEYMAP are ineffective, you can't set > these both together ... Thanks for the pointer. Really! I know that it worked in the pas

Re: devd started with single-user mode?

2011-03-21 Thread Pan Tsu
David Demelier writes: > The problem when you're using directly kbdmux in the kernel config, > the ATKBD_DFLT_KEYMAP and UKBD_DFLT_KEYMAP are ineffective, you can't > set these both together ... > > For me I added these both to use uk.iso but in single user mode I > still have the standard us lay

Re: devd started with single-user mode?

2011-03-21 Thread David Demelier
e. I don't know if it's related to devd and if it's running. I also have USB legacy enabled in the BIOS settings. Do you have kbdmux in your kernel? If you don't have it, switching to "the other" keyboard is needed to be issued from the AT keyboard (if present

devd started with single-user mode?

2011-03-20 Thread Robert Huff
David Demelier writes: > I just realized that I can't use my USB keyboard if I start > FreeBSD in single user mode. The keyboard is still detected but I > can't use it. My memory says I had this problem several years ago. Back in 5.*, or maybe 6.*? It could fixed in the s

Re: devd started with single-user mode?

2011-03-20 Thread David Demelier
e. I don't know if it's related to devd and if it's running. I also have USB legacy enabled in the BIOS settings. Do you have kbdmux in your kernel? If you don't have it, switching to "the other" keyboard is needed to be issued from the AT keyboard (if present

Re: devd started with single-user mode?

2011-03-20 Thread Polytropon
On Sun, 20 Mar 2011 09:55:35 +0100, David Demelier wrote: > Hello, > > I just realized that I can't use my USB keyboard if I start FreeBSD in > single user mode. The keyboard is still detected but I can't use it. > > It works with the loader of course. I don&#x

devd started with single-user mode?

2011-03-20 Thread David Demelier
Hello, I just realized that I can't use my USB keyboard if I start FreeBSD in single user mode. The keyboard is still detected but I can't use it. It works with the loader of course. I don't know if it's related to devd and if it's running. I also have USB l

devd & enabling the "fn-f7" switch monitor functionality

2010-08-19 Thread Eitan Adler
Any further input on this issue? On Mon, Aug 16, 2010 at 11:12 AM, Eitan Adler wrote: > # kldstat|grep acpi_ibm > 12    1 0xc121d000 5244     acpi_ibm.ko > # tail -6 /etc/devd.conf > notify 0 { >      match "system"          "ACPI"; >      match "subsystem"       "IBM"; >      match "notify"    

Re: Automatic shutdown with devd.

2010-06-02 Thread Ian Smith
On Tue, 1 Jun 2010, David DEMELIER wrote: > 2010/6/1 Ian Smith : > > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER > > wrote: [..] > >  > Is there a way to make this conditional to do only if the laptop is > >  > not charging

Re: Automatic shutdown with devd.

2010-06-01 Thread David DEMELIER
2010/6/1 Ian Smith : > In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 > On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER > wrote: > >  > I recently asked to make an automatic shutdown when I excess a >  > specific percent. I ran devd with -Dd flags to run in

Re: Automatic shutdown with devd.

2010-06-01 Thread Ian Smith
In freebsd-questions Digest, Vol 313, Issue 4, Message: 26 On Tue, 1 Jun 2010 10:55:08 +0200 David DEMELIER wrote: > I recently asked to make an automatic shutdown when I excess a > specific percent. I ran devd with -Dd flags to run in background and > when the battery was at a

Automatic shutdown with devd.

2010-06-01 Thread David DEMELIER
Hi, I recently asked to make an automatic shutdown when I excess a specific percent. I ran devd with -Dd flags to run in background and when the battery was at a critical state it said : Processing event '!system=ACPI subsystem=CMBAT type=\_SB_.BAT0 notify=0x80' Pushing table setting s

nanobsd devd install without installation of compilers

2010-05-24 Thread Dimitar Vassilev
Hello, has anyone succeeded in installing devd on Nanobsd without infecting the image with g++? Mucking currently with CONF_INSTALL=' WITHOUT_CXX=YES #devd needs cxx WITHOUT_CPP=YES WITHOUT_INSTALLLIB=YES WITHOUT_TOOLCHAIN=YES WITHOUT_EXAMPLES=YES ' CONF_WORLD=' TARGET=i386 T

Re: Fn key events in Devd

2010-02-16 Thread Anselm Strauss
Thank you, that did it. Anselm On Feb 16, 2010, at 03:18 , David Horn wrote: > On Mon, Feb 15, 2010 at 3:42 PM, Anselm Strauss wrote: >> Hi, >> >> is there a way to see all events going through devd? > > cat /var/run/devd.pipe > > should work for what you

Re: Fn key events in Devd

2010-02-15 Thread David Horn
On Mon, Feb 15, 2010 at 3:42 PM, Anselm Strauss wrote: > Hi, > > is there a way to see all events going through devd? cat /var/run/devd.pipe should work for what you need too see from devd. See the documentation for more details: man 8 devd > I have loaded the acpi_asus mod

Fn key events in Devd

2010-02-15 Thread Anselm Strauss
Hi, is there a way to see all events going through devd? I have loaded the acpi_asus module, but the default devd rules in /etc/devd/asus.conf don't seem to match for my Fn keys. How can I find out what Fn key produces which event in devd? Cheers, A

Re: digital camera and devd

2009-08-20 Thread Michal
b. f. wrote: How can I check exactly which /dev/usb* entry corresponds to my camera? If you are using the old USB stack, use usbdevs(8). If you are using the new USB stack from less than 5 months ago, then use usbconfig(8): usbdevs -v Yes, I should have mentioned beforehand that it's 7.2

Re: digital camera and devd

2009-08-20 Thread Michal
RW wrote: I'm not very familiar with devfs+devd, but can you not use glabel to give the camera a persistent name. I should have mentioned that this camera works only in PTP mode so I cannot access it as a disk device. At first I thought that it's PITA but now I think it

Re: digital camera and devd

2009-08-20 Thread Michal
Roland Smith wrote: I'm not exactly sure what you are trying to achieve here. But here is my €0,02: Create a group called 'usb'. Make every user that you want to be able to use usb devices a member of this group. Next, add the following rules to your active ruleset in /etc/devfs.rules: add pat

Re: digital camera and devd

2009-08-20 Thread Roland Smith
On Thu, Aug 20, 2009 at 07:54:37PM +, Michal wrote: > Hello, > > I've got a Canon digital camera set up and working with gphoto2 via > devfs+devd but it's not elegant/clean enough: > > attach 0 { > device-name "ugen[0-9]+"; > match &q

Re: digital camera and devd

2009-08-20 Thread RW
On Thu, 20 Aug 2009 19:54:37 + Michal wrote: > Hello, > > I've got a Canon digital camera set up and working with gphoto2 via > devfs+devd but it's not elegant/clean enough: > ... > Problem with this solution is that it changes owner for all /dev/usb > files

Re: digital camera and devd

2009-08-20 Thread b. f.
>How can I check exactly which /dev/usb* entry corresponds to my camera? If you are using the old USB stack, use usbdevs(8). If you are using the new USB stack from less than 5 months ago, then use usbconfig(8): usbdevs -v or usbconfig dump_device_desc (or other options visible with usbconfig

digital camera and devd

2009-08-20 Thread Michal
Hello, I've got a Canon digital camera set up and working with gphoto2 via devfs+devd but it's not elegant/clean enough: attach 0 { device-name "ugen[0-9]+"; match "vendor" "0x0123"; match "product" "0x3210"; match "sernum&q

Re: Why this flash drive not detected in devd?

2009-07-19 Thread Boris Samorodov
On Sat, 11 Jul 2009 03:36:09 -0500 Sagara Wijetunga wrote: > > Again, maybe you should check out sysutils/hal. > I prefer to handle mounting through an automounter even without KDE > running. It's not a KDE only instance. BTW, this port is maintained by a FreeBSD gnome@ team. Hal is widely use

Re: Why this flash drive not detected in devd?

2009-07-13 Thread Sagara Wijetunga
our users it is not supported on FreeBSD, therefore, you are crippled now. Knowing that a device has been created with the device name da0 or da0s1 is insufficient for us to determine whether that device is a thumb drive, camera, audio player, etc. We need another event to devd once the devic

Re: Why this flash drive not detected in devd?

2009-07-12 Thread Mel Flynn
On Saturday 11 July 2009 00:36:09 Sagara Wijetunga wrote: > I prefer to handle mounting through an automounter even without KDE > running. I think most users want to handle the disk based on the content not on the device that has the disk. Ideally I would want my desktop to: 1) automount below a

Re: Why this flash drive not detected in devd?

2009-07-11 Thread Roland Smith
On Sat, Jul 11, 2009 at 03:36:09AM -0500, Sagara Wijetunga wrote: > Could I know which program print following lines to the /dev/devctl: > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4

Re: Why this flash drive not detected in devd?

2009-07-11 Thread Sagara Wijetunga
erial" "14925B00"; action "touch /tmp/Imation-Flash-Drive-detected"; }; Could I know why the flash drive is not detected on attach? The USB subsystem isn't currently equipped to notify devd (technically, the devctl_notify function isn

Re: Why this flash drive not detected in devd?

2009-07-10 Thread Roland Smith
match "product" "0x0081"; > match "serial" "14925B00"; > action "touch /tmp/Imation-Flash-Drive-detected"; > }; > > Could I know why the flash drive is not detected on attach? > >The USB

Re: Why this flash drive not detected in devd?

2009-07-09 Thread Sagara Wijetunga
attach 200 { match "vendor" "0x0718"; match "product" "0x0081"; match "serial" "14925B00"; action "touch /tmp/Imation-Flash-Drive-detected"; }; Could I know why the flash drive is not detected on attac

Re: Why this flash drive not detected in devd?

2009-07-09 Thread Roland Smith
sh Drive, class 0/0, rev 2.00/1.03, addr 3 > attach 200 { > match "vendor" "0x0718"; > match "product" "0x0081"; > match "serial" "14925B00"; > action "touch /tmp/Imation-Flash-Drive-detected"; >

Re: devd configuration questions

2009-07-09 Thread Roland Smith
On Thu, Jul 09, 2009 at 03:02:00AM -0500, Sagara Wijetunga wrote: > Hi FreeBSD community > > I have few questions regarding devd configuration: > > 1. What is the difference between "attach" or "notify" and when to use them? > 2. What are the possi

Why this flash drive not detected in devd?

2009-07-09 Thread Sagara Wijetunga
Hi FreeBSD community This is FreeBSD 7.2 on i386. sysctl -a | grep dev.umass dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 dev.umass.1.%driver: umass dev.umass.1.%location: port=6 interface=0 dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 devsubclass

Re: devd configuration questions

2009-07-09 Thread Sagara Wijetunga
Sagara Wijetunga wrote: Hi FreeBSD community I have few questions regarding devd configuration: 1. What is the difference between "attach" or "notify" and when to use them? 2. What are the possible values for "class" in "attach" and "detach"

devd configuration questions

2009-07-09 Thread Sagara Wijetunga
Hi FreeBSD community I have few questions regarding devd configuration: 1. What is the difference between "attach" or "notify" and when to use them? 2. What are the possible values for "class" in "attach" and "detach" statements? 3. What

Re: ugen device no permissions for libusb [was: Re: devd or devfs for ucom?]

2009-06-10 Thread Steve Franks
>> While I wouldn't mind an answer to that question, it's actually >> working; however, my program that uses libftdi & libusb to talk to my >> ugen still needs to run as sudo to see the device - but if I run chmod >> 666 /dev/* (which I'm sure is a bad idea), I don't need sudo; what >> device is re

Re: devd or devfs for ucom?

2009-06-10 Thread Roland Smith
On Wed, Jun 10, 2009 at 11:47:14AM -0700, Steve Franks wrote: > On Wed, Jun 10, 2009 at 11:37 AM, Steve Franks wrote: > > I'm having trouble making my ucom devices public, following the > > handbook (had it working on 7.0, but had a disk crash). > > > > So, should I be using devd.conf or devfs.rule

Re: devd or devfs for ucom?

2009-06-10 Thread Steve Franks
On Wed, Jun 10, 2009 at 11:37 AM, Steve Franks wrote: > I'm having trouble making my ucom devices public, following the > handbook (had it working on 7.0, but had a disk crash). > > So, should I be using devd.conf or devfs.rules?  They sure seem built > to do the same thing to me... > > Thanks, > S

Re: devd or devfs for ucom?

2009-06-10 Thread Roland Smith
thing to me... For setting device permissions, you should use devfs.rules in this case, since USB devices can come and go at any time. devfs.conf is for devices present at boot time. See devfs.rules(5) and devfs.conf(5). The purpose of devd is more to perform other actions (e.g. run a script or p

devd or devfs for ucom?

2009-06-10 Thread Steve Franks
I'm having trouble making my ucom devices public, following the handbook (had it working on 7.0, but had a disk crash). So, should I be using devd.conf or devfs.rules? They sure seem built to do the same thing to me... Thanks, Steve ___ freebsd-questio

Why does devd not capture stdout?

2009-03-19 Thread Peter Steele
I've created an autorun facility for USB drives using devd. I have the following addition in devd.conf: attach 10 { match "device-name" "umass0"; action "/usr/local/bin/autorun >/var/log/autorun.log 2>&1 &"; }; This works perfectly exce

Re: Spawning Xdialogs from devd...

2008-04-30 Thread Gary Newcombe
On Wed, 30 Apr 2008 11:18:22 +0200 (CEST), Wojciech Puchar <[EMAIL PROTECTED]> wrote: > > Even if running X under root, it's the same behaviour. Unless devd is > > restarted, there is no sound or xdialogs. If I restart devd from > > another console, then the sound

Re: Spawning Xdialogs from devd...

2008-04-30 Thread Wojciech Puchar
Even if running X under root, it's the same behaviour. Unless devd is restarted, there is no sound or xdialogs. If I restart devd from another console, then the sound device becomes available and sound can do you restart devd from xterm? if so - DISPLAY gets set be heard, but no Xdialog

Re: Spawning Xdialogs from devd...

2008-04-30 Thread Gary Newcombe
On Wed, 30 Apr 2008 08:25:04 +0200 (CEST), Wojciech Puchar <[EMAIL PROTECTED]> wrote: > > I'm curious to know what is actually going on here. I wouldn't have thought > > the context from which devd is restarted would make any difference, but > > clearly it d

Re: Spawning Xdialogs from devd...

2008-04-29 Thread Wojciech Puchar
match "subsystem" "IBM"; action "/root/bin/acpi_oem_exec.sh $notify ibm"; }; I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly

Spawning Xdialogs from devd...

2008-04-28 Thread Gary Newcombe
tdown -r now fi exit 0 >From a fresh boot and startx, pressing Fn+F4 from the window manager (Window >Maker) calls the script and executes, but no Xdialog or sound. If I startx and >run devd in the foreground with: sh /etc/rc.d/devd stop && devd -dD\ all is fine, Xdialogs dis

Re: devd

2008-03-07 Thread Paul A. Procacci
E. J. Cerejo wrote: How do I find out if this daemon got loaded at boot time? I do have it on my rc.conf but I don't see anything in dmesg that tells me that it got loaded nat# ps -auxww | fgrep devd root 876 0.0 0.2 1888 420 ?? Is Sun07PM 0:00.02 /sbin

devd

2008-03-07 Thread E. J. Cerejo
How do I find out if this daemon got loaded at boot time? I do have it on my rc.conf but I don't see anything in dmesg that tells me that it got loaded -- E. J. Cerejo <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.fre

Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 13:16:23 +0200 (CEST) Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote: > From: Bartłomiej Rutkowski <[EMAIL PROTECTED]> > To: Norberto Meijome <[EMAIL PROTECTED]> > Subject: Re: Possible devd bug > Date: Fri, 20 Jul 2007 13:16:23 +0200 (CEST) &

Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 12:53:23 +0200 (CEST) Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote: > On Fri, 20 Jul 2007 20:41:46 +1000 > Norberto Meijome <[EMAIL PROTECTED]> wrote: > > > do you get the LINK_UP event at all? > > Otherwise, you should be able to figure out what the issue is with your >

Re: Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
On Fri, 20 Jul 2007 20:41:46 +1000 Norberto Meijome <[EMAIL PROTECTED]> wrote: Well, I can confirm right now, that devd does not trigger, when you put eth interface into DOWN state by "#ifconfig ifnameX down". Now, is that intentional behaviour or a bug? This makes those LINK_

Re: Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
On Fri, 20 Jul 2007 20:41:46 +1000 Norberto Meijome <[EMAIL PROTECTED]> wrote: > do you get the LINK_UP event at all? > Otherwise, you should be able to figure out what the issue is with your > config file ... > > Good luck, With rules as such: http://rafb.net/p/TJvMJy48.html I am getting ou

Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
its link (physically, for example the switch becames turned > off). I have tried to hire the devd daemon to do the job with such small > definitions: > > notify 100 { > match "system" "IFNET"; > match "type""

Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
Hi all, I have been playing with OpenOspf lately, and I came to a place, when I needed to ensure that an ethernet interface should always go into DOWN state when it loses its link (physically, for example the switch becames turned off). I have tried to hire the devd daemon to do the job with

Re: devd usage

2006-12-17 Thread Patrick Lamaizière
Maxim Vetrov : > Hi, Hello, > I'm running 6.1 on Toshiba notebook SAtellite L100. Get stuck with > auto config of wireless cardbus adapter (D-Link DWL-G650). I want to > load kernel module (if_ath.ko) automatically when I insert it into the > slot. I found that I need /etc/devd.conf to be confi

devd usage

2006-12-16 Thread Maxim Vetrov
Hi, I'm running 6.1 on Toshiba notebook SAtellite L100. Get stuck with auto config of wireless cardbus adapter (D-Link DWL-G650). I want to load kernel module (if_ath.ko) automatically when I insert it into the slot. I found that I need /etc/devd.conf to be configured properly. There is a De

devd problem?

2006-08-02 Thread Johnny Choque
Hi all, I has been testing the execution of some commands after inserting and removing a wireless pc card, using the rules of devd.conf and I've noticed quite a strange behavior with devd. I have used it in debug mode, thus running 'devd -dD', in order to see the rules that wi

Devd not processing a Notify statement when started at boot

2005-06-28 Thread Daniel Rucci
Hi, Devd doesn't seem to be reading my whole devd.conf file when it first starts (via system startup scripts): In my /etc/devd.conf I have added the following entry: notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; act

umass devices and devd [ was Re: mounting usb camera - no /dev/da* !!! ]

2004-05-17 Thread Senandung Mendonan
't need additional software to work. My digital camera for example (a nifty Sony Cyber-shot DSC-F77A), you can connect and disconnect and they get mounted/dismounted automatically as an external drive. Tried to do the same in FreeBSD via devd, in /etc/dev.conf:- attach 0 { device-name &q

5.2-CURRENT and devd

2004-05-12 Thread Frank Altpeter
device are enabled in the kernel configuration. The devd is enabled and /etc/devd.conf has not (yet) been modified. After boot, the following hardware has been detected: May 12 16:12:15 pegasus kernel: cbb0: mem 0x4110-0x41100fff irq 11 at device 4.0 on pci0 May 12 16:12:15 pegasus kernel