[Fwd: Re: 5.2 USB + Bluetooth]

Panagiotis Astithas past at noc.ntua.gr
Fri Jan 9 14:56:36 PST 2004


On Friday 09 January 2004 07:49, Maksim Yevmenkin wrote:
> once you started the stack (with rc.bluetooth) you just just the
> tools. 

For USB adapters, wouldn't it be nice to have the following in usbd.conf?

--- /usr/src/etc/usbd.conf      Sat May  3 21:19:19 2003
+++ usbd.conf   Sat Jan 10 00:33:18 2004
@@ -48,6 +48,12 @@
        devname "ums[0-9]+"
        attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.
${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on"

+# This entry initializes the bluetooth stack
+device "USB Bluetooth adapter"
+       devname "ubt[0-9]+"
+       attach  "/etc/rc.bluetooth start ${DEVNAME}"
+       detach  "/etc/rc.bluetooth stop ${DEVNAME}"
+
 # The fallthrough entry: Nothing is specified, nothing is done.  And it isn't
 # necessary at all :-).  Just for pretty printing in debugging mode.
 #

-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



More information about the freebsd-current mailing list