From owner-freebsd-questions Wed Mar 6 4:53:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 38C8837B400 for ; Wed, 6 Mar 2002 04:53:51 -0800 (PST) Received: (qmail 72229 invoked by uid 100); 6 Mar 2002 12:53:50 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15494.4446.36621.815156@guru.mired.org> Date: Wed, 6 Mar 2002 06:53:50 -0600 To: Cc: "Mike Meyer" , questions@freebsd.org Subject: Re: Re: USB CD-Writer under FreeBSD In-Reply-To: <200203061206.g26C69v20726@mailgate5.cinetic.de> References: <200203061206.g26C69v20726@mailgate5.cinetic.de> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.48 (Python 2.2 on freebsd4) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG k.andiel@web.de types: > many thank`s for your answer. You're welcome. In the future, please leave the reply on -questions as well. Not only does this mean the answers are archived for future reference, but if I don't know the answer, or give you the wrong answer, that gives other people a chance to catch it. > "Mike Meyer" schrieb am 06.03= .02: > > k.andiel@web.de types: > > > how can i manage to add umass support to my burner (HP CD 4 vendo= r 0x03f0,=3D > > > device 0x0307))=3D3F > > Figure out why it isn't being recognized as a umass device, and fix= > > /usr/src/sys/dev/usb/umass.c to recognize it. Then use "diff -u" to= > > generate a patch file, and submit it as a PR so that after it's > > commited, you can upgrade and still have it work. > exactly that=B4s teh problem: i don=B4t kow why! i have checked umass= .c, but did not find out where to patch it.=20 > can you give me a hint ? The two routines to look through are USB_ATTACH, which decides if your device supports a usable subset of the protocols that umass needs, and then umass_match_proto, which uses the vendor ID to figure out which protocols to use. > in addition i tried to change the definition files of known devices b= y adding mine but this had no effect.=20 Second hint: the device files don't do much useful. Their primary purpose is to provide names for devices that don't follow the spec so the failure can be dealt with. > > > Another Problem with not that priority is that my notebook does n= ot power =3D > > > off when i halt the system. but that=3DB4s the next problem > > You need to enable apm in the kernel > it is enabled :-( Are yo sure? The default line in GENERIC has it disabled. Assuming that's right, you also have to set apm_enable in /etc/rc.conf, or run apm -e enable as root. You don't have to start apmd, though. -- Mike Meyer =09=09=09http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more inform= ation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message