any way to detect usb detached from a device driver ?

2007-01-09 Thread Luigi Rizzo
I am modifying a kernel device driver for webcams (see http://info.iet.unipi.it/~luigi/FreeBSD/usb-cameras.html) packing together various projects around, and i was wondering how to handle the situation of a device being detached while in use. Right now the code (from ports/multimedia/pwcbsd)

Re: any way to detect usb detached from a device driver ?

2007-01-10 Thread Luigi Rizzo
On Wed, Jan 10, 2007 at 11:34:54PM +0100, Hans Petter Selasky wrote: Hi Luigi, On Wednesday 10 January 2007 13:46, Luigi Rizzo wrote: On Tue, Jan 09, 2007 at 09:37:21PM +0100, Hans Petter Selasky wrote: On Tuesday 09 January 2007 17:34, Luigi Rizzo wrote: [...] sorry but i cannot

new usb stack (was Re: FreeBSD Status Report Fourth Quarter 2006)

2007-01-16 Thread Luigi Rizzo
[i avoid the cross-post to hackers as my reply mostly affects -current and -usb. hope i don't miss anyone interested. I am also Bcc-ing a few people who might have something to say on the subject] On Tue, Jan 16, 2007 at 11:52:37PM +0100, Max Laier wrote: ... FreeBSD Status Report thanks all

Re: Call for Testers: FreeBSD webcam driver (and more)

2007-02-02 Thread Luigi Rizzo
On Sat, Feb 03, 2007 at 12:32:17AM +, Florent Thoumie wrote: Hey Luigi, I have a Creative Webcam Instant: usb_spca5xx_init: gspca driver 01.00.12 registered ldev_attach: sc at 0xc8ec1b00, l_u_d at 0xc8ec1b64 --- allocate 272 bytes gives 0xc6e14800 interface 0 has 8 altsettings (cur

Re: Call for Testers: FreeBSD webcam driver (and more)

2007-02-03 Thread Luigi Rizzo
someone (in Bcc) asked me the following question and i think the explaination is of general interest. Am cross-posting the usb list as maybe people there can confirm this or give more details. On Sat, Feb 03, 2007 at 01:00:31AM -0500, ... wrote: On 2/2/07, Luigi Rizzo [EMAIL PROTECTED] wrote

FreeBSD support for the Epson CX5000/DX5000/DX5050 printer-scanner

2007-08-28 Thread Luigi Rizzo
There was already a thread on the topic as http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/107665 however, since i just bought a DX-5050 and have it fully working on FreeBSD (which is usually rare with USB devices), i thought it was good to summarise and detail all the steps needed to

Re: may I commit this small umodem patch ?

2008-07-03 Thread Luigi Rizzo
On Thu, Jul 03, 2008 at 05:07:00PM +0200, Gary Jennejohn wrote: On Thu, 3 Jul 2008 16:07:19 +0200 Luigi Rizzo [EMAIL PROTECTED] wrote: There was a discussion back in september about adding support for basic CDC tty devices in umodem.c. This lets you talk to a number of usb devices built

Re: may I commit this small umodem patch ?

2008-07-04 Thread Luigi Rizzo
On Sat, Jul 05, 2008 at 12:28:47AM +0200, Hans Petter Selasky wrote: On Friday 04 July 2008, Luigi Rizzo wrote: On Fri, Jul 04, 2008 at 11:33:15PM +0200, Hans Petter Selasky wrote: On Thursday 03 July 2008, Luigi Rizzo wrote: On Thu, Jul 03, 2008 at 05:07:00PM +0200, Gary Jennejohn wrote

Re: may I commit this small umodem patch ?

2008-07-05 Thread Luigi Rizzo
On Sat, Jul 05, 2008 at 09:57:06AM +0200, Hans Petter Selasky wrote: On Saturday 05 July 2008, Luigi Rizzo wrote: On Sat, Jul 05, 2008 at 12:28:47AM +0200, Hans Petter Selasky wrote: On Friday 04 July 2008, Luigi Rizzo wrote: On Fri, Jul 04, 2008 at 11:33:15PM +0200, Hans Petter Selasky

Re: usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Luigi Rizzo
On Fri, Dec 12, 2008 at 09:27:27PM +0100, Oliver Fromme wrote: Hi, I've got a HP ScanJet 4300C that seems to be a little bit stubborn. ... Is there anything I can do, except for forgetting about this scanner alltogether? one option is to put the device IDs in uscanner.c and see if it is