From owner-freebsd-current Mon Apr 19 15:13:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id E7960155EE for ; Mon, 19 Apr 1999 15:13:31 -0700 (PDT) (envelope-from hibma@skylink.it) Received: from heidi.plazza.it ([194.185.55.40]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id AAA21762; Tue, 20 Apr 1999 00:12:24 +0200 Received: from localhost (localhost.plazza.it [127.0.0.1]) by heidi.plazza.it (8.8.8/8.8.5) with SMTP id AAA05502; Tue, 20 Apr 1999 00:08:31 +0200 (CEST) Date: Tue, 20 Apr 1999 00:08:31 +0200 (CEST) From: Nick Hibma X-Sender: n_hibma@heidi.plazza.it Reply-To: Nick Hibma To: Amancio Hasty Cc: current@FreeBSD.ORG Subject: Re: USB Development In-Reply-To: <199904192122.OAA03026@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 19 Apr 1999, Amancio Hasty wrote: > Insert your e-mail message in your web page under a section titled such as > Project Status. Good idea. > What specifically is needed in the driver to unplug and plug a device? attach is straightforward. detach requires: - disconnect function to handle the fact that the device does no longer respond (intr context) - detach function to delete the device and all its resources (normal context) - driver unload (detach all drivers) Currently the problem lies in the fact that free()/malloc() is called from intr context, resources are completely freed, ongoing transfers are cleaned away, etc. Nick > > > > > > Currently we have the following: > > > > - working drivers for keyboards, mice, hubs > > - usable driver for USB Zip drive (Iomega, SCSI) (any > > coders/testers (the true combination) welcome) > > > > I am currently finishing the initial workings of the Zip driver and have > > been able to MSDOS format a disk and been able to read a hfs (iMac) > > floppy as well. But the driver panics the system when drive unplugged. > > > > Planned is: > > > > - rewrite of the uhub driver to completely follow newbus > > (up to now a mixed approach which fails at detach) > > - start working on 3COM modem support > > - start working on Ye-Data drive support > > - start working on Digi 2/4/8 serial port device support > > - start working on 3COM ISDN adapter support > > - start working on audio support > > > > and while doing this: > > > > - solidify the UHCI controller support > > - solidify the OHCI controller support > > - improve USBDI > > > > The ISDN TA, the Ye-Data drive and Digi serial port device have kindly > > been provided to me (have not yet arrived though) by the respective > > hardware vendors. Cherry has provided me with a keyboard (with internal > > bus powered hub). > > > > Anyone care to join? Pick up something fairly straightforward like the > > audio (Audiocontrol driver). Follow the specs and mail me your comments > > on the USBDI interface we use. A template driver is the ums mouse > > driver. > > > > Kind regards, > > > > Nick Hibma > > FreeBSD USB project > > n_hibma@freebsd.org > > http://www.etla.net/~n_hibma/usb/usb.pl > > http://www.usb.org/ > > > > P.S.: USBDI as in, our version of it. The people from the consortium > > kicked us out. > > > > On Mon, 19 Apr 1999, Amancio Hasty wrote: > > > > > > > > Redirected to -current... > > > > > > I seem to recollect that you were having problems in handling interrupts so > > > were are > > > you at with this problem.. > > > > > > > > > > > > > > Unplug a few devices and you will have the opportunity to review the > > > > devices probed in your machine (reboot). > > > > > > > > I've only removed the list of devices from GENERIC & LINT, not from the > > > > conf/files and options. Hiding it basically. > > > > > > > > Nick > > > > > > > > On Mon, 19 Apr 1999, Amancio Hasty wrote: > > > > > > > > > Curious why is USB not ready for public consumption? > > > > > Got a USB only system : keyboard + mouse working over here. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Amancio Hasty > > > > > hasty@star-gate.com > > > > > > > > > > > > > > > > > > > > > > > -- > > > > e-Mail: hibma@skylink.it > > > > > > > > > > -- > > > > > > Amancio Hasty > > > hasty@star-gate.com > > > > > > > > > > > > > -- > > e-Mail: hibma@skylink.it > > > > -- > > Amancio Hasty > hasty@star-gate.com > > > -- e-Mail: hibma@skylink.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message