From owner-freebsd-smp@FreeBSD.ORG Sun Mar 28 05:37:14 2004 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 321B716A4CE for ; Sun, 28 Mar 2004 05:37:14 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C9043D31 for ; Sun, 28 Mar 2004 05:37:13 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.8] (rdu57-94-039.nc.rr.com [66.57.94.39]) i2SDbASm023721; Sun, 28 Mar 2004 08:37:10 -0500 (EST) From: "Michael E. Mercer" To: jitendra pande In-Reply-To: <20040328105039.64843.qmail@web42005.mail.yahoo.com> References: <20040328105039.64843.qmail@web42005.mail.yahoo.com> Content-Type: text/plain Message-Id: <1080481032.802.15.camel@fast.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 28 Mar 2004 08:37:12 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-smp@freebsd.org Subject: Re: Problem with usb in FreeBSD 4.8....help!!! X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-smp@freebsd.org List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 13:37:14 -0000 Dynamically created device nodes are new in 5.x stream. You must use MAKEDEV located in /dev to create whatever nodes you need in 4.x and earlier. HTH Michael On Sun, 2004-03-28 at 05:50, jitendra pande wrote: > Hi, > > I have stuck with a problem with usb devices. > > In case of FreeBSD 4.8, whenever a new USB device is attached to the system, no device node is dynamically being created within the dev file system. > > This is in contrast to the behavior there with FreeBSD 5.0 where a new device node is being created on attaching a new USB device, Fox example when first USB device is attached then /dev/ugen0 node is created dynamically in dev file system. when 2nd device is added then /dev/ugen1 and so on .....ugen2, ugen3....... > > On the other hand with freeBSD 4.8 there exist some static device node /dev/ugen0, /dev/ugen0.x where x =1-16 within the /dev file system. > > My application uses libusb for iinteracting with the usb devices...libusb on freeBSD 4.8 tries to find /debv/ugen0, /dev/ugen1 and so on....hence couldn't able to detect more then one device. > > It would really be great if someone can help me in resolving the issue Any idea why this changes in the behavior with FreeBSD 4.8 and FreeBSD 5.0 > > Any help will be highly appreciated. > > > Thanks > Jitendra > > > > > > > > > > > > > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org"