Re: [RFC] USB keyboard and devd.conf

2013-02-13 Thread Hans Petter Selasky
On Tuesday 12 February 2013 15:51:01 Marius Strobl wrote:
 On Mon, Feb 11, 2013 at 01:43:29PM +0100, Hans Petter Selasky wrote:
  Hi,
  
  Does anyone need these lines in /etc/devd.conf ?
  
  === etc/devd.conf
  ==
  --- etc/devd.conf   (revision 246620)
  +++ etc/devd.conf   (local)
  @@ -105,16 +105,6 @@
  
   #  action sleep 2  /usr/sbin/ath3kfw -d $device-name -f
   /usr/local/etc/ath3k-1.fw; #};
  
  -# When a USB keyboard arrives, attach it as the console keyboard.
  -attach 100 {
  -   device-name ukbd0;
  -   action /etc/rc.d/syscons setkeyboard /dev/ukbd0;
  -};
  -detach 100 {
  -   device-name ukbd0;
  -   action /etc/rc.d/syscons setkeyboard /dev/kbd0;
  -};
  -
  
   notify 100 {
   
  match system DEVFS;
  match subsystem CDEV;
  
  I plan to remove the lines marked with minus, because we now have kbdmux.
 
 Do these entries have negative impact on systems using kbdmux(4)?
 Will their lack have impact on systems not using kbdmux(4)? I typically
 remove or at least disable the latter on machines without atkbd(4) etc.
 hardware and thus ukbd(4) is the only keyboard driver ever used there.
 

Hi,

I suspect a system without kbdmux will still need these. However, these lines 
are not correct with regard to multiple USB keyboards.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [RFC] USB keyboard and devd.conf

2013-02-13 Thread Marius Strobl
On Wed, Feb 13, 2013 at 09:23:25AM +0100, Hans Petter Selasky wrote:
 On Tuesday 12 February 2013 15:51:01 Marius Strobl wrote:
  On Mon, Feb 11, 2013 at 01:43:29PM +0100, Hans Petter Selasky wrote:
   Hi,
   
   Does anyone need these lines in /etc/devd.conf ?
   
   === etc/devd.conf
   ==
   --- etc/devd.conf (revision 246620)
   +++ etc/devd.conf (local)
   @@ -105,16 +105,6 @@
   
#action sleep 2  /usr/sbin/ath3kfw -d $device-name -f
/usr/local/etc/ath3k-1.fw; #};
   
   -# When a USB keyboard arrives, attach it as the console keyboard.
   -attach 100 {
   - device-name ukbd0;
   - action /etc/rc.d/syscons setkeyboard /dev/ukbd0;
   -};
   -detach 100 {
   - device-name ukbd0;
   - action /etc/rc.d/syscons setkeyboard /dev/kbd0;
   -};
   -
   
notify 100 {

 match system DEVFS;
 match subsystem CDEV;
   
   I plan to remove the lines marked with minus, because we now have kbdmux.
  
  Do these entries have negative impact on systems using kbdmux(4)?
  Will their lack have impact on systems not using kbdmux(4)? I typically
  remove or at least disable the latter on machines without atkbd(4) etc.
  hardware and thus ukbd(4) is the only keyboard driver ever used there.
  
 
 Hi,
 
 I suspect a system without kbdmux will still need these. However, these lines 
 are not correct with regard to multiple USB keyboards.
 

Yes, but do these lines have ill effects for configurations with kbdmux(4)
and multiple keyboards? If not then I'd strongly suggest to keep them for
the sake of making configurations without kbdmux(4) work out of the box.
If yes, I'd at least keep them in a commented out form and add a mark
saying that these are required without kbdmux(4).

Marius

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [RFC] USB keyboard and devd.conf

2013-02-12 Thread Marius Strobl
On Mon, Feb 11, 2013 at 01:43:29PM +0100, Hans Petter Selasky wrote:
 Hi,
 
 Does anyone need these lines in /etc/devd.conf ?
 
 === etc/devd.conf
 ==
 --- etc/devd.conf (revision 246620)
 +++ etc/devd.conf (local)
 @@ -105,16 +105,6 @@
  #action sleep 2  /usr/sbin/ath3kfw -d $device-name -f 
 /usr/local/etc/ath3k-1.fw;
  #};
  
 -# When a USB keyboard arrives, attach it as the console keyboard.
 -attach 100 {
 - device-name ukbd0;
 - action /etc/rc.d/syscons setkeyboard /dev/ukbd0;
 -};
 -detach 100 {
 - device-name ukbd0;
 - action /etc/rc.d/syscons setkeyboard /dev/kbd0;
 -};
 -
  notify 100 {
   match system DEVFS;
   match subsystem CDEV;
 
 
 I plan to remove the lines marked with minus, because we now have kbdmux.
 

Do these entries have negative impact on systems using kbdmux(4)?
Will their lack have impact on systems not using kbdmux(4)? I typically
remove or at least disable the latter on machines without atkbd(4) etc.
hardware and thus ukbd(4) is the only keyboard driver ever used there.

Marius

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[RFC] USB keyboard and devd.conf

2013-02-11 Thread Hans Petter Selasky
Hi,

Does anyone need these lines in /etc/devd.conf ?

=== etc/devd.conf
==
--- etc/devd.conf   (revision 246620)
+++ etc/devd.conf   (local)
@@ -105,16 +105,6 @@
 #  action sleep 2  /usr/sbin/ath3kfw -d $device-name -f 
/usr/local/etc/ath3k-1.fw;
 #};
 
-# When a USB keyboard arrives, attach it as the console keyboard.
-attach 100 {
-   device-name ukbd0;
-   action /etc/rc.d/syscons setkeyboard /dev/ukbd0;
-};
-detach 100 {
-   device-name ukbd0;
-   action /etc/rc.d/syscons setkeyboard /dev/kbd0;
-};
-
 notify 100 {
match system DEVFS;
match subsystem CDEV;


I plan to remove the lines marked with minus, because we now have kbdmux.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [RFC] USB keyboard and devd.conf

2013-02-11 Thread Adrian Chadd
.. as long as we can attach/detach keyboards without there actually
_being_ a physical console keyboard at boot, sure.




adrian


On 11 February 2013 04:43, Hans Petter Selasky hsela...@c2i.net wrote:
 Hi,

 Does anyone need these lines in /etc/devd.conf ?

 === etc/devd.conf
 ==
 --- etc/devd.conf   (revision 246620)
 +++ etc/devd.conf   (local)
 @@ -105,16 +105,6 @@
  #  action sleep 2  /usr/sbin/ath3kfw -d $device-name -f 
 /usr/local/etc/ath3k-1.fw;
  #};

 -# When a USB keyboard arrives, attach it as the console keyboard.
 -attach 100 {
 -   device-name ukbd0;
 -   action /etc/rc.d/syscons setkeyboard /dev/ukbd0;
 -};
 -detach 100 {
 -   device-name ukbd0;
 -   action /etc/rc.d/syscons setkeyboard /dev/kbd0;
 -};
 -
  notify 100 {
 match system DEVFS;
 match subsystem CDEV;


 I plan to remove the lines marked with minus, because we now have kbdmux.

 --HPS
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org