Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316129

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices
Date Sun, 24 Jan 2016 23:50:01 +0100
Message-ID <qUBDP-33c-9@gated-at.bofh.it> (permalink)
References <qU3LQ-1mq-3@gated-at.bofh.it> <qU5Xk-2Mq-1@gated-at.bofh.it> <qU8Lw-4P0-3@gated-at.bofh.it> <qU9xU-5sr-13@gated-at.bofh.it> <qUB1b-2KY-71@gated-at.bofh.it>
X-Original-To Oliver Neukum <oneukum@suse.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
X-Original-Cc Michal Malý <madcatxster@devoid-pointer.net>, Bjørn Mork <bjorn@mork.no>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, jikos@kernel.org, elias.vds@gmail.com, edwin@velds.nl, simon@mungewell.org
X-Original-Date Sun, 24 Jan 2016 14:48:15 -0800
X-Original-Message-ID <20160124224815.GA8819@kroah.com>
X-Original-References <1453545311-5721-1-git-send-email-madcatxster@devoid-pointer.net> <87zivwbh07.fsf@nemi.mork.no> <6032606.IBdJ88hxWq@the-raza> <20160123163934.GA3526@kroah.com> <1453673105.12171.4.camel@suse.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1316129

Show key headers only | View raw


On Sun, Jan 24, 2016 at 11:05:05PM +0100, Oliver Neukum wrote:
> On Sat, 2016-01-23 at 08:39 -0800, Greg KH wrote:
> > Have your program install a udev rule to make it run automatically
> > when
> > the device is plugged in, and then just file a bug with the different
> > distros to have them pick up your program and add it to their
> > releases.
> > With free services like Github to host the code, and OBS to build
> > packages for every different distro out there, there has never been an
> > easier time to get programs to distros.
> > 
> > So please just do this in userspace, we don't like to take kernel
> > drivers for functions that can be done in userspace.
> 
> That raises a point. If we wish to do port power switching
> as a form of runtime PM, we will need to do mode switching
> in kernel space. The notion that this can be done in user space
> is likely to become wrong as things develop.

Maybe, if a device doesn't remember it's "mode" after sleeping, then it
might get messy, it will be interesting to see how that works out over
time...

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Michal Malý <madcatxster@devoid-pointer.net> - 2016-01-23 11:40 +0100
  [PATCH 1/2] Add usb_skelswitch skeleton module to do basic initialization of devices that at first appear as a generic USB device. Michal Malý <madcatxster@devoid-pointer.net> - 2016-01-23 11:40 +0100
  Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Bjørn Mork <bjorn@mork.no> - 2016-01-23 14:00 +0100
    Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Michal Malý <madcatxster@devoid-pointer.net> - 2016-01-23 17:00 +0100
      Re: [PATCH 0/2] Add a skeleton module to perform a basic  initialization on certain USB devices Greg KH <gregkh@linuxfoundation.org> - 2016-01-23 17:50 +0100
        Re: [PATCH 0/2] Add a skeleton module to perform a basic  initialization on certain USB devices Oliver Neukum <oneukum@suse.com> - 2016-01-24 23:10 +0100
          Re: [PATCH 0/2] Add a skeleton module to perform a basic  initialization on certain USB devices Greg KH <gregkh@linuxfoundation.org> - 2016-01-24 23:50 +0100
            Re: [PATCH 0/2] Add a skeleton module to perform a basic  initialization on certain USB devices Oliver Neukum <oneukum@suse.com> - 2016-01-25 12:30 +0100
      Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization  on certain USB devices Jiri Kosina <jikos@kernel.org> - 2016-01-25 15:20 +0100
        Re: [PATCH 0/2] Add a skeleton module to perform a basic  initialization on certain USB devices Michal Malý <madcatxster@devoid-pointer.net> - 2016-01-25 22:10 +0100

csiph-web