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 configured properly.
 There is a Deqna example that is quite self-explaining excluding those
 magic numbers assigned to manufacturer and product. Where I can get
 these?

I think with the devd's socket : 
By sample i insert my usb mouse :

# cat /var/run/devd.pipe
? at port=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= on uhub1
+ums0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= intclass=0x03 intsubclass=0x01 at port=0 
interface=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 
release=0x0110 sernum= intclass=0x03 intsubclass=0x01 on uhub1

There are two events here, first an unknown device is detected '?' and then 
a new device is inserted '+ums0'.
  
See man devctl

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 Deqna example that is quite self-explaining excluding those 
magic numbers assigned to manufacturer and product. Where I can get 
these?


Regards,
Muxas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]