All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Dmitriy Geels <dmitriy.geels@gmail.com>
Cc: Bastien Nocera <hadess@hadess.net>, Jiri Kosina <jkosina@suse.cz>,
	linux-bluetooth@vger.kernel.org,
	linux-input <linux-input@vger.kernel.org>
Subject: Re: Apple Bluetooth devices: Battery level?
Date: Wed, 10 Jun 2009 09:24:43 +0200	[thread overview]
Message-ID: <1244618683.3068.36.camel@localhost.localdomain> (raw)
In-Reply-To: <78f5d6bf0906100014r5b7f5c14p4544ef13442c8f0b@mail.gmail.com>

Hi Dimitry,

first of all, no top-posting. I really mean it.

> Kernel rebuilding is pretty easy, for ubuntu/debian it would be:
> - sudo apt-get install linux-source build-essential
> - tar xf /usr/src/linux-source*
> - cd linux-source-`uname -r`
> - cp /boot/config-`uname -r` .config
> - make menuconfig (find and enable HID_DEBUG)
> - make bzImage modules deb-pkg
> Then after some time you will get deb package, which you need to
> install and then run:
> - sudo update-initramfs -c -k 'new kernel version'
> - sudo update-grub
> 
> Then you can reboot into new kernel and use "echo 2 >
> /sys/modules/hid/parameters/debug" instead of debug module parameter.

that should be changeable on the fly and we should just export the HID
descriptor for users. Putting the burden to boot into a different kernel
is painful and we don't want that. Hell, I don't want to boot a new
kernel to just get the HID descriptor.

Regards

Marcel



WARNING: multiple messages have this Message-ID (diff)
From: Marcel Holtmann <marcel-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
To: Dmitriy Geels <dmitriy.geels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Bastien Nocera <hadess-0MeiytkfxGOsTnJN9+BGXg@public.gmane.org>,
	Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-input <linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Apple Bluetooth devices: Battery level?
Date: Wed, 10 Jun 2009 09:24:43 +0200	[thread overview]
Message-ID: <1244618683.3068.36.camel@localhost.localdomain> (raw)
In-Reply-To: <78f5d6bf0906100014r5b7f5c14p4544ef13442c8f0b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Dimitry,

first of all, no top-posting. I really mean it.

> Kernel rebuilding is pretty easy, for ubuntu/debian it would be:
> - sudo apt-get install linux-source build-essential
> - tar xf /usr/src/linux-source*
> - cd linux-source-`uname -r`
> - cp /boot/config-`uname -r` .config
> - make menuconfig (find and enable HID_DEBUG)
> - make bzImage modules deb-pkg
> Then after some time you will get deb package, which you need to
> install and then run:
> - sudo update-initramfs -c -k 'new kernel version'
> - sudo update-grub
> 
> Then you can reboot into new kernel and use "echo 2 >
> /sys/modules/hid/parameters/debug" instead of debug module parameter.

that should be changeable on the fly and we should just export the HID
descriptor for users. Putting the burden to boot into a different kernel
is painful and we don't want that. Hell, I don't want to boot a new
kernel to just get the HID descriptor.

Regards

Marcel

  reply	other threads:[~2009-06-10  7:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 14:17 Apple Bluetooth devices: Battery level? Bastien Nocera
2009-06-07 14:17 ` Bastien Nocera
2009-06-07 15:52 ` Marcel Holtmann
2009-06-07 15:52   ` Marcel Holtmann
2009-06-07 19:34   ` Iain Hibbert
2009-06-07 21:15     ` David Sainty
2009-06-08 13:33 ` Jiri Kosina
2009-06-08 13:33   ` Jiri Kosina
2009-06-09 23:22   ` Bastien Nocera
2009-06-10  7:03     ` Marcel Holtmann
2009-06-10  7:03       ` Marcel Holtmann
2009-06-12 13:25       ` Jiri Kosina
2009-06-12 13:27         ` [PATCH 2/2] HID: use debugfs for events/reports dumping Jiri Kosina
2009-06-12 13:27           ` Jiri Kosina
2009-06-12 13:27         ` [PATCH 1/2] HID: use debugfs for report dumping descriptor Jiri Kosina
2009-06-10  7:14     ` Apple Bluetooth devices: Battery level? Dmitriy Geels
2009-06-10  7:14       ` Dmitriy Geels
2009-06-10  7:24       ` Marcel Holtmann [this message]
2009-06-10  7:24         ` Marcel Holtmann
2009-06-10  8:25       ` Bastien Nocera
2009-06-10  8:25         ` Bastien Nocera
2009-06-10  8:25     ` Jiri Kosina
2009-06-10  8:25       ` Jiri Kosina
2009-06-10 14:25       ` Bastien Nocera
2009-06-10 14:25         ` Bastien Nocera
2009-06-10 14:06   ` Bastien Nocera
2009-06-10 14:06     ` Bastien Nocera
2009-06-10 18:19     ` Iain Hibbert
2009-06-10 18:19       ` Iain Hibbert
2009-06-12 13:31     ` Jiri Kosina
2009-06-12 13:31       ` Jiri Kosina
2009-06-13 13:16       ` Iain Hibbert
2009-06-13 13:16         ` Iain Hibbert
2009-06-16  9:59         ` Jiri Kosina
2009-06-16  9:59           ` Jiri Kosina
2009-06-16 13:37           ` Marcel Holtmann
2010-02-12 15:41           ` Bastien Nocera

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=1244618683.3068.36.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=dmitriy.geels@gmail.com \
    --cc=hadess@hadess.net \
    --cc=jkosina@suse.cz \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-input@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.