From owner-freebsd-stable@FreeBSD.ORG Thu Jul 8 21:46:19 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8364B1065670 for ; Thu, 8 Jul 2010 21:46:19 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 48DDD8FC18 for ; Thu, 8 Jul 2010 21:46:18 +0000 (UTC) Received: by iwn35 with SMTP id 35so1674828iwn.13 for ; Thu, 08 Jul 2010 14:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LZUPb3q+IaxTHfHEgDvdEcrHBinqGx4ydmPR+oCrlRI=; b=GZPcM29zhojTLKRQ1meXNmoNXnu+CkaN+bwNY114DGJujdm6lObTARucvq8t0NhgB9 q3Xs0ostN1joupXwfrsgya+5Erw5J77AW9dG3aBmTxbReFSZQIbsCK4iTvIgiKXHANb8 JgUjlqdz79Hl/+5892CCogl6nzB4/bVoNKyWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EmTJds+cc43MlQyxf2Gn8wyOwhP33mTryeHIzfYaLaRhDSnHbJZxowCFctuqO3D4Go dgiAuJz0q1sCFN3TiKYf2tsskcdLirN6tjD2XFMIV06lGbtyBq+oWID04xN8HxxOZl4K plzDgUVNju0LQWWR4o4e3UaZTdQo4DNsYnelY= MIME-Version: 1.0 Received: by 10.231.167.80 with SMTP id p16mr8715828iby.94.1278625576355; Thu, 08 Jul 2010 14:46:16 -0700 (PDT) Received: by 10.231.37.11 with HTTP; Thu, 8 Jul 2010 14:46:16 -0700 (PDT) In-Reply-To: <4C3644D1.6000407@foolishgames.com> References: <4C34C5DE.7040007@aldan.algebra.com> <20100708210611.GA34250@server.vk2pj.dyndns.org> <4C3644D1.6000407@foolishgames.com> Date: Thu, 8 Jul 2010 14:46:16 -0700 Message-ID: From: Freddie Cash To: FreeBSD Stable Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: 8.x grudges X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 21:46:19 -0000 On Thu, Jul 8, 2010 at 2:36 PM, Lucas Holt wrote: > On 07/08/10 17:06, Peter Jeremy wrote: >> >> On 2010-Jul-07 14:22:22 -0400, "Mikhail T." >> =C2=A0wrote: >> >>> >>> In no particular order: >>> >>> =C2=A0 1. >>> =C2=A0 =C2=A0 =C2=A0A picture, that one of the systems was displaying a= t boot (and >>> =C2=A0 =C2=A0 =C2=A0then used as a screen-saver), =C2=A0stopped showing= properly. The >>> =C2=A0 =C2=A0 =C2=A0colors are right, but the picture is distorted beyo= nd recognition. >>> =C2=A0 =C2=A0 =C2=A0The relevant part of loader.conf is: >>> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0splash_pcx_load=3D"YES" >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0vesa_load=3D"YES" >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bitmap_load=3D"YES" >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bitmap_name=3D"/boot/187426-9-quokka-= dreaming.pcx" >>> >> >> It's a bit difficult to provide any useful input without some idea >> of what the picture should and does look like. =C2=A0Can you please post >> the actual bitmap as well as a picture of your screen showing the >> problem. >> >> >>> >>> =C2=A0 3. >>> =C2=A0 =C2=A0 =C2=A0Likewise, having "device ugen" breaks config(8) -- = another >>> =C2=A0 =C2=A0 =C2=A0undocumented incompatibility. >>> >> >> Can you please advise where it is documented that "device ugen" >> is valid in a FreeBSD-8 config file? >> > NAME > =C2=A0 =C2=A0 ugen -- USB generic device support > > SYNOPSIS > =C2=A0 =C2=A0 To compile this driver into the kernel, place the following= line in your > =C2=A0 =C2=A0 kernel configuration file: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 device ugen > > =C2=A0 =C2=A0 Alternatively, to load the driver as a module at boot time,= place the > =C2=A0 =C2=A0 following line in loader.conf(5): > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ugen_load=3D"YES" > > DESCRIPTION > =C2=A0 =C2=A0 The ugen driver provides support for all USB devices that d= o not have a > =C2=A0 =C2=A0 special driver. =C2=A0It supports access to all parts of th= e device, but not > =C2=A0 =C2=A0 in a way that is as convenient as a special purpose driver. > > =C2=A0 =C2=A0 There can be up to 127 USB devices connected to a USB bus. = =C2=A0Each USB > =C2=A0 =C2=A0 device can have up to 16 endpoints. =C2=A0Each of these end= points will commu- > > > uname -a > FreeBSD lholt-desktop.primemediaanalysis.com 8.0-RELEASE-p3 FreeBSD > 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC =C2=A0amd= 64 > > I'm not going to argue in favor of any points in this rant, but it is in = the > man page. Looks like you found a bug. :) ugen is not listed in any of the NOTES files, and is not a valid device entry for a 8.x kernel config file. Maybe that man page got skipped in the USB stack upgrade? Should definitely add a PR for this man page to be updated for the new USB stack. Maybe even do an audit of the rest of the USB devices to make sure the man pages for those are correct as well. --=20 Freddie Cash fjwcash@gmail.com