Re: How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?

2007-08-09 Thread Greg Rivers
On Thu, 9 Aug 2007, Sven Hazejager wrote: Is there a tool under FreeBSD 6.2 that properly stops a USB device, equivalent to Windows XPs Safely Remove Hardware? I noticed that Windows sends a IRP_MN_REMOVE_DEVICE command, after which my LaCie external HDD spins down. I would like to do this und

How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?

2007-08-09 Thread Sven Hazejager
Hi all, Is there a tool under FreeBSD 6.2 that properly stops a USB device, equivalent to Windows XPs Safely Remove Hardware? I noticed that Windows sends a IRP_MN_REMOVE_DEVICE command, after which my LaCie external HDD spins down. I would like to do this under FreeBSD too. So, the question

How to talk to a USB Device

2007-08-09 Thread Robert Cousins
Hello: I've got several USB devices which I'd like to talk to from a program. They are Phigets -- a servo controller, an RFID reader, etc. Could someone please give me a hint as to the best starting point for learning how to use libusb and the associated facilities? I've been lurking for a

Re: kern/114667: [umass] UMASS device error log problem

2007-08-09 Thread Remko Lodder
On Thu, August 9, 2007 9:16 am, David Southwell wrote: >> Warner > > That is precisely why I have put in a PR. CAM is pretty ancient and IMHO > it is > time it was revisited to get rid of this tiresome behaviour. Unfortunatley > I > do not have the capability to do it myself. In this case "hacking

Re: kern/114667: [umass] UMASS device error log problem

2007-08-09 Thread David Southwell
On Wednesday 08 August 2007 15:17:06 M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > > David Southwell <[EMAIL PROTECTED]> writes: > : On Wednesday 08 August 2007 10:54:14 Remko Lodder wrote: > : > On Wed, Aug 08, 2007 at 04:20:06PM +, David Southwell wrote: > : > > The fo