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
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
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
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"
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
>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
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
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
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
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
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
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
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
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
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";
>
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
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
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"
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
>> 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
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
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
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
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
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
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
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
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
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
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
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
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
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)
&
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
>
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_
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
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""
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
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
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
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
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
'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
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
80 matches
Mail list logo