From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 06:26:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13FDF16A4CF for ; Mon, 29 Mar 2004 06:26:08 -0800 (PST) Received: from web42004.mail.yahoo.com (web42004.mail.yahoo.com [66.218.93.172]) by mx1.FreeBSD.org (Postfix) with SMTP id EF75743D46 for ; Mon, 29 Mar 2004 06:26:07 -0800 (PST) (envelope-from jpande_techinfo@yahoo.com) Message-ID: <20040329142607.89634.qmail@web42004.mail.yahoo.com> Received: from [202.144.61.162] by web42004.mail.yahoo.com via HTTP; Mon, 29 Mar 2004 06:26:07 PST Date: Mon, 29 Mar 2004 06:26:07 -0800 (PST) From: jitendra pande To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Problem with usb in FreeBSD 4.8 Help!!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 14:26:08 -0000 Hi All, 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 interacting 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 My device is the one which supports control transfers only thus i understand that for a second device i need to use /dev/ugen1 and so on. Does that mean, i need to explictly make a node /dev/ugen1 and /dev/ugen2 and so on for every newly added USB device using MAKEDEV script. Please advise me , if there exist some better way of handling the situation. Is there some sort of modification that i can make to libusb to handle the situation. Any help will be highly appreciated. Thanks and regards Jitendra --------------------------------- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.