From owner-freebsd-questions Sun May 28 13:46: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f260.law8.hotmail.com [216.33.240.135]) by hub.freebsd.org (Postfix) with SMTP id 5830937B966 for ; Sun, 28 May 2000 13:45:51 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: (qmail 35255 invoked by uid 0); 28 May 2000 20:45:47 -0000 Message-ID: <20000528204547.35254.qmail@hotmail.com> Received: from 209.220.228.2 by www.hotmail.com with HTTP; Sun, 28 May 2000 13:45:47 PDT X-Originating-IP: [209.220.228.2] From: "John Daniels" To: jhb@FreeBSD.org, jmd526@hotmail.com Cc: freebsd-questions@FreeBSD.ORG, n_hibma@FreeBSD.ORG Subject: RE: USB difficulties Date: Sun, 28 May 2000 16:45:47 EDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi: The FreeBSD Faq (Chapter 2. Hardware compatibility, Q: I have a USB keyboard. Does FreeBSD support it?) may have some typos. It states: >1.Use FreeBSD 3.2 or later. > > 2.Add the following lines to your kernel configuration file, and > >rebuild the kernel. > > controller uhci0 > controller ohci0 > controller usb0 > controller ukbd0 > options KBD_INSTALL_CDEV > has "controller" been changed to "device"? is KBD_INSTALL_CDEV needed on a 4.0 system? I didn't see it in GENERIC (which contains a bunch of usb devices and options commented out) > > > 3.Go to the /dev directory and create device nodes as follows: > > # cd /dev > # ./MAKEDEV kbd0 kbd1 > > 4.Edit /etc/rc.conf and add the following lines: > > usbd_enable="YES" > usbd_flags="" > >After the system is rebooted, the AT keyboard becomes /dev/kbd0 and >the USB keyboard becomes /dev/kbd1, if both are connected to the >system. If there is the USB keyboard only, it will be /dev/ukbd0. !---------^--! "ukbd" is not consistent with the rest of this FAQ entry. This is a typo? > >If you want to use the USB keyboard in the console, you have to >explicitly tell the console driver to use the existence of the USB >keyboard. This can be done by running the following command as a part >of system initialization. > > # kbdcontrol -k /dev/kbd1 < /dev/ttyv0 > /dev/null > >Note that if the USB keyboard is the only keyboard, it is accessed as >/dev/kbd0, thus, the command should look like: FYI: For USB mouse support, the FAQ asks that the following be added to the above steps: >2.Add the following lines to your kernel configuration file > > device ums0 > > 3.Go to the /dev directory and create a device node as follows: > > # cd /dev > # ./MAKEDEV ums0 > > 4.Edit /etc/rc.conf and add the following lines: > > moused_enable="YES" > moused_type="auto" > moused_port="/dev/ums0" > moused_flags="" > > See the previous section for more detailed discussion on moused. > > 5.In order to use the USB mouse in the X session, edit XF86Config. >If you are using XFree86 3.3.2 or later, be sure to have the >following lines in the > Pointer section: > > Device "/dev/sysmouse" > Protocol "Auto" Is this the right place to look for instructions? Are these instructions correct (up to date)? I looked in the handbook and did a search but the FAQ was the best that I found (there are no instructions in the handbook, as far as I can see) Thanks for your help. John ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message