public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: screamingfist@arcor.de
To: jkosina@suse.cz, erazor_de@users.sourceforge.net
Cc: rdunlap@xenotime.net, sfr@canb.auug.org.au, tj@kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org
Subject: Aw: Re: [PATCH] HID: removing obsolete kone_abi_version sysfs attr for roccat kone
Date: Mon, 21 Jun 2010 15:08:50 +0200 (CEST)	[thread overview]
Message-ID: <24732538.1277125730475.JavaMail.ngmail@webmail17.arcor-online.net> (raw)

 ----- Original Nachricht ----
Von:     Jiri Kosina <jkosina@suse.cz>
An:      Stefan Achatz <erazor_de@users.sourceforge.net>
Datum:   21.06.2010 14:06
Betreff: Re: [PATCH] HID: removing obsolete kone_abi_version sysfs attr for
 roccat kone

> On Fri, 18 Jun 2010, Stefan Achatz wrote:
> 
> > The newest version of the accompanying userland tools cuts backward
> > compatibility and uses libudev to find its devices superseding the
> > quirky kone_abi_version sysfs attribute. Therefore it should be removed.
> 
> How backwards incompatible this change actually is?
> 
> What happens if you run old userspace tool (the one which looks for 
> kone_abi_version) on a kernel with this patch applied?

Now there is one legacy version of the tool which looks for kone_driver_version and which will not be developed further cause I'm at a dead end with scanning sysfs directly.

The renamed attribute kone_abi_version is unreleased and at current only in your roccat branch so there's no need for the tool to look for that.

For the next features i want to implement in the tool I need the path to the sysfs attributes, the roccat char device and the two hidraw devices (mouse and keyboard endpoints) corresponding to one device. I'm doing this with libudev and not with manually crawling through sysfs. This code only works with kone as hid-driver and with the relatively young libudev taken into account my old kone and roccat modules for kernels prior 2.6.28 won't work either.
To make a long story short:
People with kernel versions < 2.6.28 and without libudev have to use the legacy tools with limited functionality.
Users with kernel versions >= 2.6.28 (using the modules my distibuted package or the official from 2.6.35 on) and with libudev should use the newest version of my tools with increasing functionality.

Have a nice day,
Stefan

                 reply	other threads:[~2010-06-21 13:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24732538.1277125730475.JavaMail.ngmail@webmail17.arcor-online.net \
    --to=screamingfist@arcor.de \
    --cc=erazor_de@users.sourceforge.net \
    --cc=jkosina@suse.cz \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    --cc=sfr@canb.auug.org.au \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox