where to get info to write basic usb driver for own device?

2004-07-04 Thread idownes
Hi all, As part of my uni honours project I need to write a basic USB driver for a device I am building. I need to talk to a Texas Instruments DSP (C5509) which has on chip USB (2.0 compliant, full speed). TI supply a library for the DSP side of the USB but I need to write a basic program to

Re: where to get info to write basic usb driver for own device?

2004-07-04 Thread Aho K.F. Li
What kind of device do you had build? A HID? If your device is not with heaven traffic, you can consider to develop your driver at user space with ugen(4) or uhid(4) at first. And then, move it into kernel space when you need. I had wrote a drive for a touch panel device. Actually, it is a input de

Re: Locking: kern/50827

2004-07-04 Thread Brian Fundakowski Feldman
On Wed, Jun 30, 2004 at 07:20:41PM -0600, Stephen Hurd wrote: > > > Has anyone looked at this? Does anyone have any comments? > > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/50827 > > > > I don't think you'll ever find anyone interested in file locking > > anymore. Since they're all a

APM Patches

2004-07-04 Thread Liam J. Foy
Hey guys, Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) we are going to stick with apm -l producing -1 and not 255 which is stated in the handbook would one of you guys please commit: --- /usr/src/usr.sbin/apm/apm.8 Thu Jun 24 17:32:55 200

Re: APM Patches

2004-07-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Liam J. Foy" <[EMAIL PROTECTED]> writes: : Hey guys, : : Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) : we are going to stick with apm -l producing -1 and not 255 which is stated in the handbook wo

Re: Locking: kern/50827

2004-07-04 Thread Stephen Hurd
> Right, if you just make it cross-platform in the first place using > higher- level primitives you don't have to worry what the specific > kernel and operating system and file system you are using provides. > It's my opinion tha there won't be other people adopting this API for > file locking sin

USENIX2004 photos online

2004-07-04 Thread Matthew Dillon
I took a bunch of a photos at USENIX, mainly of BSD related activities. The photos are now online at: http://apollo.backplane.com/USENIX2004/ -Matt Matthew Dillon

Re: where to get info to write basic usb driver for own device?

2004-07-04 Thread idownes
Hi, Thanks for the reply. I'm building my own device based around the DSP (see below). It's basically a data logger storing video frames. I simply need to connect to it to dump the buffer to a file and then process it from there. Just the one tranfer is needed at a time, speed and efficiency

(update) Re: USENIX2004 photos online

2004-07-04 Thread Matthew Dillon
Urk. Before anyone complains about sludgy downloads speeds... my T1 is experience some severe packet loss for large packets due to a problem with the circuit. It isn't saturated. This is going to slow down the photo site by a lot but if you stick with it you will get the shot