[PATCH][RFC] usbhid: enable autosuspend for internal devices

2015-06-26 Thread Tom Gundersen
This policy used to be unconditionally applied by udev, but there is no reason to make userspace be involved in this and in the future udev will not be doing it by default. See: <https://github.com/systemd/systemd/pull/353>. Signed-off-by: Tom Gundersen Cc: Jiri Kosina Cc: Greg Kroah-H

Re: [PATCH 1/2][usbutils] lsusb: port to hwdb

2013-09-12 Thread Tom Gundersen
On Fri, Sep 13, 2013 at 12:47 AM, Greg Kroah-Hartman wrote: > On Wed, Sep 04, 2013 at 02:47:07PM +0200, Tom Gundersen wrote: >> Most of the information in usb.ids is now contained in udev's hwdb. Read the >> information from the hwdb instead of usb.ids. >> >> This

Re: [PATCH] usb: ohci/uhci - add soft dependencies on ehci_hcd

2013-09-10 Thread Tom Gundersen
On Tue, Sep 10, 2013 at 7:31 PM, Alan Stern wrote: > On Tue, 10 Sep 2013, Tom Gundersen wrote: > >> Hi Alan, >> >> On Tue, Sep 10, 2013 at 7:02 PM, Alan Stern >> wrote: >> > On Tue, 10 Sep 2013, Tom Gundersen wrote: >> > >> >> Suppor

[PATCH v2] usb: ohci/uhci - add soft dependencies on ehci_pci

2013-09-10 Thread Tom Gundersen
fragment generated by depmod. Signed-off-by: Tom Gundersen Cc: Alan Stern Cc: Greg Kroah-Hartman --- v2: change the dependencies to *_pci, as suggested by Alan drivers/usb/host/ohci-pci.c | 1 + drivers/usb/host/uhci-pci.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/usb/host

[PATCH] usb: ohci/uhci - add soft dependencies on ehci_hcd

2013-09-10 Thread Tom Gundersen
fragment generated by depmod. Signed-off-by: Tom Gundersen Cc: Alan Stern Cc: Greg Kroah-Hartman --- drivers/usb/host/ohci-hcd.c | 1 + drivers/usb/host/uhci-hcd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 8f6b695

Re: [PATCH] usb: ohci/uhci - add soft dependencies on ehci_hcd

2013-09-10 Thread Tom Gundersen
Hi Alan, On Tue, Sep 10, 2013 at 7:02 PM, Alan Stern wrote: > On Tue, 10 Sep 2013, Tom Gundersen wrote: > >> Support for specifying soft dependencies in the modules themselves was >> introduced in commit 7cb14ba. >> >> In Arch we have always been shipping a module.d

[PATCH 1/2][usbutils] lsusb: port to hwdb

2013-09-04 Thread Tom Gundersen
12cbd60..f543240 100644 --- a/names.c +++ b/names.c @@ -3,6 +3,7 @@ * names.c -- USB name database manipulation routines * * Copyright (C) 1999, 2000 Thomas Sailer (sai...@ife.ee.ethz.ch) + * Copyright (C) 2013 Tom Gundersen (t...@jklm.no) * * This program is f

Re: [PATCHv2 1/2][usbutils] lsusb: port to hwdb

2013-09-04 Thread Tom Gundersen
On Fri, Aug 2, 2013 at 5:21 AM, Greg KH wrote: > On Wed, Jul 24, 2013 at 12:37:30PM +0200, Tom Gundersen wrote: >> Most of the information in usb.ids is now contained in udev's hwdb. Read the >> information from the hwdb instead of usb.ids. >> >> This would allow

[PATCHv2 1/2][usbutils] lsusb: port to hwdb

2013-07-24 Thread Tom Gundersen
_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ Makefile diff --git a/names.c b/names.c index 12cbd60..f543240 100644 --- a/names.c +++ b/names.c @@ -3,6 +3,7 @@ * names.c -- USB name database manipulation routines * * Copyright (C) 1999, 2000 Thomas Sailer (sai...@ife.ee.ethz.ch) +

Re: [PATCH][usbutils] lsusb: port to hwdb

2013-07-21 Thread Tom Gundersen
On Sun, Jul 21, 2013 at 3:34 AM, Greg KH wrote: > Can this mean I can drop the usb.ids file from the usbutils package? I > can't remember where hwdb is generated from, does it rely on the usb.ids > file for the initial creation? hwdb does not use the usb.ids from the usbutils package. However,

[PATCH][usbutils] lsusb: port to hwdb

2013-07-20 Thread Tom Gundersen
644 --- a/names.c +++ b/names.c @@ -3,6 +3,7 @@ * names.c -- USB name database manipulation routines * * Copyright (C) 1999, 2000 Thomas Sailer (sai...@ife.ee.ethz.ch) + * Copyright (C) 2013 Tom Gundersen (t...@jklm.no) * * This program is free software; you can redistribute