Re: a few usb issues related to edge cases

2011-12-20 Thread Andriy Gapon
Now the juicy stuff :) on 19/12/2011 16:30 Hans Petter Selasky said the following: 3. Looking at usbd_transfer_poll I see that it touches a lot of locks, including taking the bus lock. As we've discussed before, this is not safe in a particular context where the polling is supposed to be

ukbd locking update

2011-12-20 Thread Andriy Gapon
I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring Giant in device_attach, _detach in similar newbus method

Re: ukbd locking update

2011-12-20 Thread Attilio Rao
2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring Giant in

webcamd 0x046d:0x08f0 (Logitech Quickcam messenger)

2011-12-20 Thread Matthias Apitz
Hello, Is this webcam supported in 10-CURRENT (r226986, ports from November 1st): ugen0.2: Camera vendor 0x046d at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x00ff

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
on 20/12/2011 16:00 Attilio Rao said the following: 2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
And the new patch: http://people.freebsd.org/~avg/usb.new.diff -- Andriy Gapon ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: ukbd locking update

2011-12-20 Thread Attilio Rao
2011/12/20 Andriy Gapon a...@freebsd.org: on 20/12/2011 16:00 Attilio Rao said the following: 2011/12/20 Andriy Gapon a...@freebsd.org: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to

Re: ukbd locking update

2011-12-20 Thread Hans Petter Selasky
On Tuesday 20 December 2011 16:16:36 Andriy Gapon wrote: And the new patch: http://people.freebsd.org/~avg/usb.new.diff Patch looks OK. I will give it a spin later today. Feel free to commit if you've tested the three use-cases I listed in a previous e-mail. --HPS

Re: ukbd locking update

2011-12-20 Thread Hans Petter Selasky
On Tuesday 20 December 2011 14:08:24 Andriy Gapon wrote: I completing a patch that changes some locking in ukbd to account for SCHEDULER_STOPPED and for other realities of the code. As a preview I would like to share couple of observations that had their effect on the patch. 1. Acquiring

Re: webcamd 0x046d:0x08f0 (Logitech Quickcam messenger)

2011-12-20 Thread Hans Petter Selasky
On Tuesday 20 December 2011 15:40:22 Matthias Apitz wrote: idVendor = 0x046d idProduct = 0x08f0 Grep for the 4-digit hex-values above in the webcamd source code. If you find them: Yes Else No :-) --HPS ___ freebsd-usb@freebsd.org mailing

Re: ukbd locking update

2011-12-20 Thread Andriy Gapon
on 20/12/2011 18:41 Hans Petter Selasky said the following: On Tuesday 20 December 2011 16:16:36 Andriy Gapon wrote: And the new patch: http://people.freebsd.org/~avg/usb.new.diff Patch looks OK. I will give it a spin later today. Feel free to commit if you've tested the three use-cases I

Re: webcamd 0x046d:0x08f0 (Logitech Quickcam messenger)

2011-12-20 Thread Matthias Apitz
El día Tuesday, December 20, 2011 a las 05:43:55PM +0100, Hans Petter Selasky escribió: On Tuesday 20 December 2011 15:40:22 Matthias Apitz wrote: idVendor = 0x046d idProduct = 0x08f0 Grep for the 4-digit hex-values above in the webcamd source code. If you find them: Yes

Re: webcamd 0x046d:0x08f0 (Logitech Quickcam messenger)

2011-12-20 Thread Hans Petter Selasky
On Wednesday 21 December 2011 07:31:50 Matthias Apitz wrote: El día Tuesday, December 20, 2011 a las 05:43:55PM +0100, Hans Petter Selasky escribió: On Tuesday 20 December 2011 15:40:22 Matthias Apitz wrote: idVendor = 0x046d idProduct = 0x08f0 Grep for the 4-digit hex-values

Re: kern/163091: [panic] Fatal trap 12: page fault while in kernel mode

2011-12-20 Thread remko
Synopsis: [panic] Fatal trap 12: page fault while in kernel mode Responsible-Changed-From-To: freebsd-i386-freebsd-usb Responsible-Changed-By: remko Responsible-Changed-When: Wed Dec 21 06:53:06 UTC 2011 Responsible-Changed-Why: Reassign to USB team, the error might be in there.