svn commit: r218165 - head/sys/dev/usb

2011-02-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 1 10:25:48 2011 New Revision: 218165 URL: http://svn.freebsd.org/changeset/base/218165 Log: Use correct kernel types for all fields in USB PF code and headers. Approved by: thompsa (mentor) Modified: head/sys/dev/usb/usb_pf.c head/sys/dev/usb/usb_pf.h

svn commit: r218229 - in head/sys/dev/usb: . serial

2011-02-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 3 18:25:55 2011 New Revision: 218229 URL: http://svn.freebsd.org/changeset/base/218229 Log: Fix for detection of MTK 3329 GPS USB devices. Submitted by: Mykhaylo Yehorov PR: usb/153929 Approved by: thompsa (mentor) Modified: head/sys/dev/usb

svn commit: r218475 - in head/sys/dev/usb: . controller template

2011-02-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 9 08:01:45 2011 New Revision: 218475 URL: http://svn.freebsd.org/changeset/base/218475 Log: Minor cleanup: - use device_printf() instead of printf() to give more accurate warnings. - use memcpy() instead of bcopy(). - add missing #if's for non-FreeBSD com

svn commit: r218623 - head/sys/conf

2011-02-12 Thread Hans Petter Selasky
Author: hselasky Date: Sat Feb 12 21:17:38 2011 New Revision: 218623 URL: http://svn.freebsd.org/changeset/base/218623 Log: Add missing USB_HOST_ALIGN option. Approved by: thompsa (mentor) Modified: head/sys/conf/options Modified: head/sys/conf/options =

svn commit: r218676 - head/sys/dev/usb/wlan

2011-02-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 14 08:14:06 2011 New Revision: 218676 URL: http://svn.freebsd.org/changeset/base/218676 Log: * Fix page fault caused by referring freed node. While updating Tx stats, already freed node could be referred and cause page fault. To avoid such panic, spool Tx st

svn commit: r218729 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net sys/modules/usb sys/modules/usb/mos

2011-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 16 08:33:30 2011 New Revision: 218729 URL: http://svn.freebsd.org/changeset/base/218729 Log: Add support for new USB to ethernet controller: Moschip MCS7730/MCS7830 Submitted by: Rick van der Zwet Approved by: thompsa (mentor) Added: head/share/man/ma

Re: svn commit: r218729 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net sys/modules/usb sys/modules/usb/mos

2011-02-16 Thread Hans Petter Selasky
Hi, There was a minor missing delta in if_mos.c, needed for build with USB_DEBUG set on AMD64. Can someone approve that I commit this, hence my mentor just went offline :-) --HPS Patch level 1 Source: [No source] Target: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f:/head/sys/dev/usb/net:218729 [

svn commit: r218730 - head/sys/dev/usb/net

2011-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 16 09:26:56 2011 New Revision: 218730 URL: http://svn.freebsd.org/changeset/base/218730 Log: Fix build breakage in if_mos.c when USB_DEBUG option is set. Approved by: thompsa (mentor) Modified: head/sys/dev/usb/net/if_mos.c Modified: head/sys/dev/usb/net/

svn commit: r218765 - in head: share/man/man4 sys/conf sys/dev/usb/net

2011-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 17 07:39:53 2011 New Revision: 218765 URL: http://svn.freebsd.org/changeset/base/218765 Log: - Fix build of manual page and inclusion of mos driver into kernel config file. - Fix style compliancy by wrapping some long lines in if_mos.c Approved by: thompsa

svn commit: r218791 - head/sys/dev/sound/usb

2011-02-17 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 18 07:37:30 2011 New Revision: 218791 URL: http://svn.freebsd.org/changeset/base/218791 Log: - Make an enum for all the umidi USB transfers. - Use the USB stack's builtin clear-stall feature. - Wrap some long lines. - Use memcpy() instead of bcopy(). - Use

svn commit: r218864 - in head/sys/dev/usb: . net

2011-02-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Feb 19 22:53:50 2011 New Revision: 218864 URL: http://svn.freebsd.org/changeset/base/218864 Log: Add more udav device ID's. Submitted by: Rick van der Zwet MFC after:7 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/net/if_udav.c head/

Re: svn commit: r218967 - head/sys/kern

2011-02-23 Thread Hans Petter Selasky
On Wednesday 23 February 2011 14:57:34 Alexander Best wrote: > On Wed Feb 23 11, Kostik Belousov wrote: > > On Wed, Feb 23, 2011 at 12:56:25PM +, John Baldwin wrote: > > > Author: jhb > > > Date: Wed Feb 23 12:56:25 2011 > > > New Revision: 218967 > > > URL: http://svn.freebsd.org/changeset/bas

svn commit: r218988 - in head/sys/dev: sound/usb usb usb/quirk

2011-02-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 24 09:13:47 2011 New Revision: 218988 URL: http://svn.freebsd.org/changeset/base/218988 Log: - Add support for some non-standard USB MIDI devices from Roland, by means of allowing vendor specific interface class for audio and MIDI devices. - Add new quirks for

svn commit: r219004 - head/share/man/man4

2011-02-24 Thread Hans Petter Selasky
Thu Feb 24 18:08:23 2011(r219004) @@ -0,0 +1,61 @@ +.\" +.\" Copyright (c) 2011 Hans Petter Selasky. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following con

svn commit: r219048 - in head: share/man/man4 sys/dev/usb/controller usr.sbin/usbconfig

2011-02-26 Thread Hans Petter Selasky
Author: hselasky Date: Sat Feb 26 09:28:52 2011 New Revision: 219048 URL: http://svn.freebsd.org/changeset/base/219048 Log: - Correct USB 3.0 wire-speed to 5.0Gbps MFC after:3 days Approved by: thompsa (mentor) Modified: head/share/man/man4/xhci.4 head/sys/dev/usb/controller/usb

svn commit: r223098 - in head/sys: amd64/conf i386/conf

2011-06-14 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 14 20:30:49 2011 New Revision: 223098 URL: http://svn.freebsd.org/changeset/base/223098 Log: Enable USB 3.0 support by default in i386 and amd64 GENERIC kernels. Discussed with: joel @ and thompsa @ MFC after:7 days Modified: head/sys/amd64/conf

svn commit: r223288 - in head/sys/dev/usb: . net

2011-06-19 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jun 19 08:34:10 2011 New Revision: 223288 URL: http://svn.freebsd.org/changeset/base/223288 Log: Add new USB ID to UDAV driver. Submitted by: Luiz Gustavo S. Costa MFC after:7 days Modified: head/sys/dev/usb/net/if_udav.c head/sys/dev/usb/usbdevs Modi

Re: svn commit: r223288 - in head/sys/dev/usb: . net

2011-06-19 Thread Hans Petter Selasky
On Sunday 19 June 2011 10:34:11 Hans Petter Selasky wrote: > Author: hselasky > Date: Sun Jun 19 08:34:10 2011 > New Revision: 223288 > URL: http://svn.freebsd.org/changeset/base/223288 > > Log: > Add new USB ID to UDAV driver. > Hope this commit was not too late fo

svn commit: r223414 - stable/8/sys/dev/usb

2011-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 08:01:44 2011 New Revision: 223414 URL: http://svn.freebsd.org/changeset/base/223414 Log: MFC r222786 and r222790: Improve enumeration of Low- and Full-speed devices connected through a High-speed USB HUB. Modified: stable/8/sys/dev/usb/usb_device.h sta

svn commit: r223415 - stable/8/sys/dev/usb/serial

2011-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 08:09:50 2011 New Revision: 223415 URL: http://svn.freebsd.org/changeset/base/223415 Log: MFC r219221: Remove dependency to ucom from ulpt. Modified: stable/8/sys/dev/usb/serial/ulpt.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/a

svn commit: r223417 - in stable/8/sys/dev/usb: . net

2011-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 08:22:29 2011 New Revision: 223417 URL: http://svn.freebsd.org/changeset/base/223417 Log: MFC r218864 and r223288. Add new USB ID's. Modified: stable/8/sys/dev/usb/net/if_udav.c stable/8/sys/dev/usb/usbdevs Directory Properties: stable/8/sys/ (props c

svn commit: r223418 - stable/8/sys/dev/usb

2011-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 08:52:16 2011 New Revision: 223418 URL: http://svn.freebsd.org/changeset/base/223418 Log: MFC r213852: - Add support for LibUSB in 32-bit compatibility mode. Modified: stable/8/sys/dev/usb/usb_ioctl.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r223419 - stable/8/lib/libusb

2011-06-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 22 08:55:00 2011 New Revision: 223419 URL: http://svn.freebsd.org/changeset/base/223419 Log: MFC r210823, r211397, r210933, r219101, r213852, r213849 and r208020: - Add support for LibUSB in 32-bit compatibility mode. - Some manpage related fixes. Modified:

svn commit: r223467 - in head/sys: conf dev/usb dev/usb/template modules/usb/template

2011-06-23 Thread Hans Petter Selasky
00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/usb/template/usb_template_audio.c Thu Jun 23 07:54:03 2011 (r223467) @@ -0,0 +1,400 @@ +#include +__FBSDID("$FreeBSD$"); + +/*- + * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. + * + * Redistributi

svn commit: r223472 - head/sys/dev/usb/template

2011-06-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 23 10:35:45 2011 New Revision: 223472 URL: http://svn.freebsd.org/changeset/base/223472 Log: - Add some comments about the origin of some USB descriptors. MFC after:7 days Modified: head/sys/dev/usb/template/usb_template_audio.c head/sys/dev/usb/templ

svn commit: r223486 - in head: sys/dev/sound/usb sys/dev/usb sys/dev/usb/input sys/dev/usb/net sys/dev/usb/serial sys/dev/usb/storage sys/dev/usb/wlan sys/netgraph/bluetooth/drivers/ubt sys/netgrap...

2011-06-23 Thread Hans Petter Selasky
OADCOM, USB_PRODUCT_BROADCOM_BCM2033, 0) }, }; Added: head/tools/tools/bus_autoconf/Makefile ========== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/tools/bus_autoconf/Makefile

svn commit: r223489 - in head: sys/dev/usb tools/tools/bus_autoconf

2011-06-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 04:16:06 2011 New Revision: 223489 URL: http://svn.freebsd.org/changeset/base/223489 Log: - Add additional information to the PnP info of USB HUBs children which is now required by bus_autoconf. - Allow interface class matching even if device class is vend

svn commit: r223490 - head/tools/tools/bus_autoconf

2011-06-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 04:35:58 2011 New Revision: 223490 URL: http://svn.freebsd.org/changeset/base/223490 Log: - Make sure we don't match the wrong device by adding a match for the bus the device belongs to. PR: misc/157903 MFC after:14 days Modified: head/

svn commit: r223495 - head/lib/libusb

2011-06-24 Thread Hans Petter Selasky
t01.c) == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libusb/libusb01.c Fri Jun 24 11:14:09 2011(r223495, copy of r216431, head/lib/libusb/libusb20_compat01.c) @@ -0,0 +1,945 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 2008 Hans P

svn commit: r223511 - head/sys/dev/usb/storage

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 18:11:55 2011 New Revision: 223511 URL: http://svn.freebsd.org/changeset/base/223511 Log: - Export the URIO USB device ID's. - Add checks for configuration and interface index. MFC after:3 days Modified: head/sys/dev/usb/storage/urio.c Modified: h

svn commit: r223512 - head/sys/dev/usb

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 18:14:43 2011 New Revision: 223512 URL: http://svn.freebsd.org/changeset/base/223512 Log: - Move execution of event handlers into the probe and attach function so that dynamically loaded device drivers get a chance to run their event hooks. - Decouple the

svn commit: r223513 - head/sys/dev/usb

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 19:02:56 2011 New Revision: 223513 URL: http://svn.freebsd.org/changeset/base/223513 Log: - Ensure that we get all the required nomatch devd events. MFC after:3 days Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c ===

svn commit: r223515 - in head/sys/dev/usb: misc serial

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 19:32:29 2011 New Revision: 223515 URL: http://svn.freebsd.org/changeset/base/223515 Log: - Export more USB device ID's. MFC after:3 days Modified: head/sys/dev/usb/misc/udbp.c head/sys/dev/usb/misc/ufm.c head/sys/dev/usb/serial/ufoma.c head/sy

svn commit: r223518 - head/tools/tools/bus_autoconf

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 21:27:33 2011 New Revision: 223518 URL: http://svn.freebsd.org/changeset/base/223518 Log: - We need to sort all USB device ID's together. Else the matching order will be wrong. This is required because devd only executes one entry. MFC after:14 days

svn commit: r223519 - head/etc/devd

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 21:32:03 2011 New Revision: 223519 URL: http://svn.freebsd.org/changeset/base/223519 Log: - Add auto-load devd config file for USB kernel modules. MFC after:14 days Added: head/etc/devd/bus_auto.conf (contents, props changed) Added: head/etc/devd/

svn commit: r223521 - in head: etc/devd sys/dev/usb/input

2011-06-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 24 22:01:56 2011 New Revision: 223521 URL: http://svn.freebsd.org/changeset/base/223521 Log: - Export more USB device ID's. - Update bus_auto.conf accordingly. MFC after:3 days Modified: head/etc/devd/bus_auto.conf head/sys/dev/usb/input/uep.c hea

Re: svn commit: r223518 - head/tools/tools/bus_autoconf

2011-06-24 Thread Hans Petter Selasky
On Friday 24 June 2011 23:27:33 Hans Petter Selasky wrote: > Author: hselasky > Date: Fri Jun 24 21:27:33 2011 > New Revision: 223518 > URL: http://svn.freebsd.org/changeset/base/223518 > > Log: > - We need to sort all USB device ID's together. Else the matching orde

svn commit: r223534 - head/tools/tools/bus_autoconf

2011-06-25 Thread Hans Petter Selasky
viceSubClass{0,8}" + "bDeviceProtocol{0,8}" + "bInterfaceClass{0,8}" + "bInterfaceSubClass{0,8}" + "bInterfaceProtocol{0,8}" + +/* NOTE: On big endian machines bitfields are bitreversed. */ + +

svn commit: r223535 - head/tools/tools/bus_autoconf

2011-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 25 15:22:44 2011 New Revision: 223535 URL: http://svn.freebsd.org/changeset/base/223535 Log: - Need to respect the module name and the USB mode when accumulating device ID's. - Be more verbose on file seek failures. Allow a file size of zero. - Improve the wra

svn commit: r223536 - in head/etc: defaults devd

2011-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 25 15:42:33 2011 New Revision: 223536 URL: http://svn.freebsd.org/changeset/base/223536 Log: - Move auto-load devd config file into etc/defaults folder. - Regenerate file after bugfix in the generator. Suggested by: Jeremy Messenger MFC after:14 days

svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 25 15:46:24 2011 New Revision: 223537 URL: http://svn.freebsd.org/changeset/base/223537 Log: - Remove duplicate USB ID. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c =

svn commit: r223538 - head/sys/dev/usb

2011-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 25 15:51:44 2011 New Revision: 223538 URL: http://svn.freebsd.org/changeset/base/223538 Log: - Export the USB device ID format to userspace tools. MFC after:14 days Modified: head/sys/dev/usb/usb_lookup.c head/sys/dev/usb/usbdi.h Modified: head/sys/d

svn commit: r223543 - in head/etc: defaults devd

2011-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 25 17:01:46 2011 New Revision: 223543 URL: http://svn.freebsd.org/changeset/base/223543 Log: - Move bus_auto.conf back into /etc/devd/ - Rename bus_auto.conf into usb.conf Requested by: imp @ MFC after:14 days Added: head/etc/devd/usb.conf - co

Re: svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 20:26:19 Gavin Atkinson wrote: > On Sat, 25 Jun 2011, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sat Jun 25 15:46:24 2011 > > New Revision: 223537 > > URL: http://svn.freebsd.org/changeset/base/223537 > > > > Log: &g

Re: svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 20:26:19 Gavin Atkinson wrote: > On Sat, 25 Jun 2011, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Sat Jun 25 15:46:24 2011 > > New Revision: 223537 > > URL: http://svn.freebsd.org/changeset/base/223537 > > > > Log: &g

Re: svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 20:43:59 Hans Petter Selasky wrote: > On Saturday 25 June 2011 20:26:19 Gavin Atkinson wrote: > > On Sat, 25 Jun 2011, Hans Petter Selasky wrote: > > > Author: hselasky > > > Date: Sat Jun 25 15:46:24 2011 > > > New Revision: 2235

Re: svn commit: r223537 - head/sys/dev/usb/wlan

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 20:51:38 Hans Petter Selasky wrote: > On Saturday 25 June 2011 20:43:59 Hans Petter Selasky wrote: > > On Saturday 25 June 2011 20:26:19 Gavin Atkinson wrote: > > > On Sat, 25 Jun 2011, Hans Petter Selasky wrote: > > Hi, > > I see a minor

Re: svn commit: r223519 - head/etc/devd

2011-06-26 Thread Hans Petter Selasky
ri, 24 Jun 2011 23:32:03 +0200, Hans Petter Selasky > That's correct. --HPS ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r223604 - head/etc/devd

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 20:32:19 2011 New Revision: 223604 URL: http://svn.freebsd.org/changeset/base/223604 Log: Regenerate usb.conf after r223566. Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf ===

svn commit: r223605 - in stable/8: etc/devd sys/dev/sound/usb sys/dev/usb sys/dev/usb/input sys/dev/usb/misc sys/dev/usb/net sys/dev/usb/serial sys/dev/usb/storage sys/dev/usb/wlan sys/netgraph/blu...

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 20:59:43 2011 New Revision: 223605 URL: http://svn.freebsd.org/changeset/base/223605 Log: MFC r223486, r223489, r223490, r223511, r223512, r223513, r223515, r223518, r223519, r223521, r223534, r223535, r223536, r223537, r223538, r223543, r223288, r223604

svn commit: r223606 - in stable/8/sys: conf dev/usb dev/usb/template modules/usb/template

2011-06-27 Thread Hans Petter Selasky
plate/usb_template_modem.c) @@ -0,0 +1,252 @@ +#include +__FBSDID("$FreeBSD$"); + +/*- + * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r223607 - stable/8/sys/dev/usb/serial

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:14:25 2011 New Revision: 223607 URL: http://svn.freebsd.org/changeset/base/223607 Log: Add missing chunk in MFC of r215095. Modified: stable/8/sys/dev/usb/serial/u3g.c Modified: stable/8/sys/dev/usb/serial/u3g.c ===

svn commit: r223609 - in stable/8/sys/dev/usb: . wlan

2011-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 27 21:30:04 2011 New Revision: 223609 URL: http://svn.freebsd.org/changeset/base/223609 Log: MFC r219257: Add new USB ID. PR: usb/155229 Modified: stable/8/sys/dev/usb/usbdevs stable/8/sys/dev/usb/wlan/if_run.c Directory Properties: stable/8/sys/

svn commit: r223612 - stable/8/lib/libusb

2011-06-27 Thread Hans Petter Selasky
usb01.c Mon Jun 27 21:45:35 2011 (r223612, copy of r223495, head/lib/libusb/libusb01.c) @@ -0,0 +1,945 @@ +/* $FreeBSD$ */ +/*- + * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification

svn commit: r223642 - head/lib/libusb

2011-06-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 28 14:07:28 2011 New Revision: 223642 URL: http://svn.freebsd.org/changeset/base/223642 Log: LibUSB v1.0: Need at least one frame when doing the dummy open else clear stall won't work in that case. Modified: head/lib/libusb/libusb10.c Modified: head/lib/libus

svn commit: r223643 - stable/8/lib/libusb

2011-06-28 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 28 14:10:39 2011 New Revision: 223643 URL: http://svn.freebsd.org/changeset/base/223643 Log: MFC r223642. LibUSB v1.0 clear stall bugfix. Modified: stable/8/lib/libusb/libusb10.c Directory Properties: stable/8/lib/libusb/ (props changed) stable/8/lib/lib

svn commit: r223672 - head/sys/dev/uart

2011-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 14:47:20 2011 New Revision: 223672 URL: http://svn.freebsd.org/changeset/base/223672 Log: Add support for a MosChip PCI express serial port adapter. MFC after:1 week Modified: head/sys/dev/uart/uart_bus_pci.c Modified: head/sys/dev/uart/uart_bus_pci

svn commit: r223727 - head/sys/dev/sound/usb

2011-07-02 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 2 20:26:37 2011 New Revision: 223727 URL: http://svn.freebsd.org/changeset/base/223727 Log: Fix problem about USB MIDI TX data format, that some devices only accept a maximum of 4 bytes (one command) per short terminated USB transfer. Optimise the TX case by s

svn commit: r223728 - head/sys/dev/usb/input

2011-07-02 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 2 20:58:33 2011 New Revision: 223728 URL: http://svn.freebsd.org/changeset/base/223728 Log: Fix for "nomatch" event for ums and ukbd drivers when uhid is loaded. MFC after:3 days Modified: head/sys/dev/usb/input/uhid.c Modified: head/sys/dev/usb/input

svn commit: r223736 - in head/sys/dev: sound/usb usb usb/quirk

2011-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 3 13:27:23 2011 New Revision: 223736 URL: http://svn.freebsd.org/changeset/base/223736 Log: Introduce a quirk for broken USB MIDI hardware instead of limiting performance in general. MFC after:1 week Modified: head/sys/dev/sound/usb/uaudio.c head/s

svn commit: r223755 - in head/sys/dev/usb: . input

2011-07-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 4 07:37:28 2011 New Revision: 223755 URL: http://svn.freebsd.org/changeset/base/223755 Log: Make the USB keyboard driver more HID compliant. Try to auto-detect keyboards which should use the BOOT protocol. MFC after:2 weeks Modified: head/sys/dev/usb

svn commit: r223781 - stable/8/sys/dev/usb/input

2011-07-05 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 5 07:05:18 2011 New Revision: 223781 URL: http://svn.freebsd.org/changeset/base/223781 Log: MFC r223728. Fix for missing nomatch event. Modified: stable/8/sys/dev/usb/input/uhid.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/in

svn commit: r223821 - stable/8/sys/dev/uart

2011-07-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 6 07:13:28 2011 New Revision: 223821 URL: http://svn.freebsd.org/changeset/base/223821 Log: MFC r223672: Add support for new UART PCI device. Modified: stable/8/sys/dev/uart/uart_bus_pci.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys

svn commit: r223864 - in head/sys: conf dev/usb dev/usb/net modules/usb modules/usb/usie

2011-07-08 Thread Hans Petter Selasky
@@ +/*- + * Copyright (c) 2011 Anybots Inc + * written by Akinori Furukoshi + * reviewed by Hans Petter Selasky + * - ucom part is based on u3g.c + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

svn commit: r223879 - in stable/8/sys/dev: sound/usb usb usb/quirk

2011-07-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 9 11:22:23 2011 New Revision: 223879 URL: http://svn.freebsd.org/changeset/base/223879 Log: MFC r223727 and r223736: - Add quirk for non-compliant USB MIDI hardware. - Reduce MIDI TX buffer size to 512 bytes. Modified: stable/8/sys/dev/sound/usb/uaudio.c

svn commit: r223896 - head/sys/dev/usb/net

2011-07-09 Thread Hans Petter Selasky
Akinori Furukoshi - * reviewed by Hans Petter Selasky * - ucom part is based on u3g.c * * Redistribution and use in source and binary forms, with or without ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn

Re: svn commit: r223604 - head/etc/devd

2011-07-12 Thread Hans Petter Selasky
On Monday 27 June 2011 22:32:19 Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Jun 27 20:32:19 2011 > New Revision: 223604 > URL: http://svn.freebsd.org/changeset/base/223604 > > Log: > Regenerate usb.conf after r223566. > > Modified: > head/et

svn commit: r223989 - head/sys/dev/usb/input

2011-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 13 21:07:50 2011 New Revision: 223989 URL: http://svn.freebsd.org/changeset/base/223989 Log: Fix for dump after shutdown with USB keyboard plugged in. It appears that the system timer is stopped during shutdown and that the pause() statement in ukbd causes infi

svn commit: r224024 - head/sys/dev/sound/usb

2011-07-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 14 17:43:18 2011 New Revision: 224024 URL: http://svn.freebsd.org/changeset/base/224024 Log: Restore USB MIDI transmit buffer size to 1Kbyte. MFC after:1 week Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/dev/sound/usb/uaudio.c =

svn commit: r224085 - head/lib/libusb

2011-07-16 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 16 08:29:12 2011 New Revision: 224085 URL: http://svn.freebsd.org/changeset/base/224085 Log: - Add two missing functions to the LibUSB v0.1 API. - Clamp the string length to 255 bytes when getting the interface description. - Clamp data request length to 65

svn commit: r224095 - head/sys/dev/usb

2011-07-16 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 16 12:50:30 2011 New Revision: 224095 URL: http://svn.freebsd.org/changeset/base/224095 Log: Fix for VirtualBox 4.x and other virtual machines that fail to generate a port reset change event. MFC after:1 weeks Modified: head/sys/dev/usb/usb_request.c

svn commit: r224178 - in stable/8/sys/dev/usb: . input

2011-07-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 18 08:38:08 2011 New Revision: 224178 URL: http://svn.freebsd.org/changeset/base/224178 Log: MFC r223755: - Make the USB keyboard driver more HID compliant. - Try to auto-detect keyboards which should use the BOOT protocol. Modified: stable/8/sys/dev/usb/i

svn commit: r224180 - head/sys/dev/usb/net

2011-07-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jul 18 12:03:58 2011 New Revision: 224180 URL: http://svn.freebsd.org/changeset/base/224180 Log: Only the USB root HUB thread is allowed to attach and detach drivers to and from USB devices. Remove related DEVMETHOD() lines from USB drivers. Reported by: Yong

Re: svn commit: r223989 - head/sys/dev/usb/input

2011-07-18 Thread Hans Petter Selasky
Hi, > The question is: why this special subcase is needed at all. Yes, according to the current keyboard implementation in the kernel. > If I understand correctly, the polling mode is used only in some special > situations/contexts. > So why not always use the generic code (after this if-block)

svn commit: r224213 - stable/8/lib/libusb

2011-07-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 19 10:48:39 2011 New Revision: 224213 URL: http://svn.freebsd.org/changeset/base/224213 Log: MFC r224085: - Add missing APIs. - Add some rangechecks. Modified: stable/8/lib/libusb/libusb.3 stable/8/lib/libusb/libusb01.c stable/8/lib/libusb/libusb10.c s

svn commit: r224223 - stable/8/sys/dev/usb/input

2011-07-19 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 20 04:57:40 2011 New Revision: 224223 URL: http://svn.freebsd.org/changeset/base/224223 Log: MFC r223989: Fix for dump after shutdown with USB keyboard plugged in. Modified: stable/8/sys/dev/usb/input/ukbd.c Directory Properties: stable/8/sys/ (props chang

Re: svn commit: r223989 - head/sys/dev/usb/input

2011-07-20 Thread Hans Petter Selasky
On Wednesday 20 July 2011 12:37:44 Andriy Gapon wrote: > > This special code is a workaround. The problem is that when not polling > > the key presses will be fed into syscons I think, and not returned via > > the polling function. That's why there is a timer there to distinguish > > when polling

svn commit: r224239 - in head/sys/dev/usb: . serial

2011-07-20 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 21 06:55:43 2011 New Revision: 224239 URL: http://svn.freebsd.org/changeset/base/224239 Log: Add new USB ID to u3g driver. Approved by: re (kib) Submitted by: Nick Hibma MFC after:3 days Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/us

svn commit: r224240 - stable/8/sys/dev/sound/usb

2011-07-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 21 07:04:51 2011 New Revision: 224240 URL: http://svn.freebsd.org/changeset/base/224240 Log: MFC r224024: Restore USB MIDI transmit buffer size to 1Kbyte. Modified: stable/8/sys/dev/sound/usb/uaudio.c Directory Properties: stable/8/sys/ (props changed) s

svn commit: r224241 - stable/8/sys/dev/usb/net

2011-07-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 21 07:08:39 2011 New Revision: 224241 URL: http://svn.freebsd.org/changeset/base/224241 Log: MFC r224180: Only the USB root HUB thread is allowed to attach and detach drivers to and from USB devices. Remove related DEVMETHOD() lines from USB drivers. Modifie

svn commit: r224269 - head/sys/dev/pci

2011-07-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 22 15:37:23 2011 New Revision: 224269 URL: http://svn.freebsd.org/changeset/base/224269 Log: Add missing XHCI early takeover code. The XHCI takeover code is supposed to disable the BIOS from using the XHCI controller after bootup. Approved by: re (kib)

svn commit: r224280 - stable/8/sys/dev/usb

2011-07-23 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 23 08:55:05 2011 New Revision: 224280 URL: http://svn.freebsd.org/changeset/base/224280 Log: MFC r224095: Fix for VirtualBox 4.x and other virtual machines that fail to generate a port reset change event. Modified: stable/8/sys/dev/usb/usb_request.c Director

svn commit: r224287 - in stable/8/sys/dev/usb: . serial

2011-07-24 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 24 09:43:44 2011 New Revision: 224287 URL: http://svn.freebsd.org/changeset/base/224287 Log: MFC r224239: Add new USB ID to u3g driver. Modified: stable/8/sys/dev/usb/serial/u3g.c stable/8/sys/dev/usb/usbdevs Directory Properties: stable/8/sys/ (props ch

svn commit: r224777 - head/sys/dev/usb

2011-08-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 11 11:30:21 2011 New Revision: 224777 URL: http://svn.freebsd.org/changeset/base/224777 Log: Use synchronous device destruction instead of asynchronous, so that a new device having the same name like a previous one is not created before the old one is gone. Thi

svn commit: r219100 - in head: lib/libusb share/man/man9 sys/dev/usb

2011-02-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 28 17:23:15 2011 New Revision: 219100 URL: http://svn.freebsd.org/changeset/base/219100 Log: - Add support for software pre-scaling of ISOCHRONOUS transfers. MFC after:14 days Approved by: thompsa (mentor) Modified: head/lib/libusb/libusb10.c head/

svn commit: r219101 - head/lib/libusb

2011-02-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 28 18:53:06 2011 New Revision: 219101 URL: http://svn.freebsd.org/changeset/base/219101 Log: - Add missing MLINKS for libusb and some manpage fixes. MFC after:14 days Approved by: thompsa (mentor) Modified: head/lib/libusb/Makefile head/lib/libusb/

svn commit: r219221 - in head/sys: conf dev/usb/serial

2011-03-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 3 10:25:41 2011 New Revision: 219221 URL: http://svn.freebsd.org/changeset/base/219221 Log: - Remove dependency to ucom from ulpt. MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/conf/files head/sys/dev/usb/serial/ulpt.c Modifi

svn commit: r219387 - head/share/man/man4

2011-03-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 7 21:53:15 2011 New Revision: 219387 URL: http://svn.freebsd.org/changeset/base/219387 Log: - Remove superfluous ucom device lines in USB manual pages. Submitted by: Carl @ telus.net MFC after:14 days Approved by: thompsa (mentor) Modified: head/s

svn commit: r219395 - head/sys/dev/usb

2011-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 8 08:02:39 2011 New Revision: 219395 URL: http://svn.freebsd.org/changeset/base/219395 Log: - Bugfix: Root HUBs do not support re-enumeration. MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/usb_generic.c Modified: head/s

svn commit: r219845 - head/sys/dev/usb/controller

2011-03-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 21 21:16:25 2011 New Revision: 219845 URL: http://svn.freebsd.org/changeset/base/219845 Log: - Bugfix: Fix a EHCI hardware race, where the hardware computed data toggle value is updated after that we read it in the queue-head. This patch can fix problems with B

svn commit: r219848 - head/sys/dev/usb/input

2011-03-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 21 21:34:12 2011 New Revision: 219848 URL: http://svn.freebsd.org/changeset/base/219848 Log: - Do not output the trailing newline to the HID report descriptor information, sysctl utility will show it for us. - Modify sysctl node description to make it mor

Re: svn commit: r219845 - head/sys/dev/usb/controller

2011-03-22 Thread Hans Petter Selasky
On Tuesday 22 March 2011 15:40:10 Gavin Atkinson wrote: > Hi, > > On Mon, 2011-03-21 at 21:16 +0000, Hans Petter Selasky wrote: > > Date: Mon Mar 21 21:16:25 2011 > > New Revision: 219845 > > URL: http://svn.freebsd.org/changeset/base/219845 > > > > Log: &

svn commit: r219930 - head/sys/dev/usb/controller

2011-03-23 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 23 19:41:44 2011 New Revision: 219930 URL: http://svn.freebsd.org/changeset/base/219930 Log: Comply with style(9). Reported by: gavin MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/

svn commit: r219949 - head/sys/dev/usb/controller

2011-03-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 24 07:59:21 2011 New Revision: 219949 URL: http://svn.freebsd.org/changeset/base/219949 Log: Fix typo. Reported by: Garrett Cooper MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev

svn commit: r219983 - head/sys/dev/usb/controller

2011-03-25 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 25 10:11:21 2011 New Revision: 219983 URL: http://svn.freebsd.org/changeset/base/219983 Log: Fix initialisation order with regard to debug prints. Reported by: Luiz Otavio O Souza MFC after:14 days Approved by: thompsa (mentor) Modified: head/sys/

svn commit: r220301 - in head: sys/dev/usb usr.sbin/usbdump

2011-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 3 20:03:45 2011 New Revision: 220301 URL: http://svn.freebsd.org/changeset/base/220301 Log: - Improvements to USB PF solution - Add more fields for USB device and host mode - Add more information to USB PF header so that decoding can easily be done by soft

svn commit: r220303 - in head/sys: arm/econa dev/usb/controller mips/atheros mips/rmi

2011-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 3 20:17:49 2011 New Revision: 220303 URL: http://svn.freebsd.org/changeset/base/220303 Log: - Correct EHCI interrupt disabling at detach. Submitted by: Luiz Otavio O Souza MFC after:7 days Approved by: thompsa (mentor) Modified: head/sys/arm/econa

svn commit: r220304 - head/sys/dev/usb

2011-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 3 20:22:49 2011 New Revision: 220304 URL: http://svn.freebsd.org/changeset/base/220304 Log: - Fix for missing event if a libUSB USB transfer is started and stopped rapidly in succession. Reported by: J.R. Oldroyd MFC after:7 days Approved by: thom

svn commit: r220305 - stable/8/sys/dev/usb

2011-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 3 20:54:32 2011 New Revision: 220305 URL: http://svn.freebsd.org/changeset/base/220305 Log: MFC r213433 Tighten USB string filtering. Approved by: thompsa (mentor) Modified: stable/8/sys/dev/usb/usb_request.c Directory Properties: stable/8/sys/ (pro

svn commit: r220306 - stable/8/sys/dev/usb

2011-04-03 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 3 21:01:36 2011 New Revision: 220306 URL: http://svn.freebsd.org/changeset/base/220306 Log: MFC r213434 Add missing #if's Approved by: thompsa (mentor) Modified: stable/8/sys/dev/usb/usb_handle_request.c Directory Properties: stable/8/sys/ (props ch

<    1   2   3   4   5   6   7   8   9   10   >