Debian Bug report logs -
#324604
an external usb mouse is ignored as event and screen becomes dark
Reported by: Christian Surchi <csurchi@debian.org>
Date: Mon, 22 Aug 2005 23:18:02 UTC
Severity: normal
Tags: moreinfo
Found in version pbbuttonsd/0.7.1-1
Done: Mathieu Malaterre <malat@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, csurchi@debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Christian Surchi <csurchi@debian.org>:
New Bug report received and forwarded. Copy sent to csurchi@debian.org, Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: pbbuttonsd
Version: 0.7.1-1
Severity: normal
I made a sid upgrade on my G4 ibook, after a few months. So I switched also to gnome 2.10 and xorg.
I didn't touch any configurations, pbbuttonsd too and now if I plug an external usb mouse, its events are not considered
as events and soon luminosity of scree goes down...
Thanks
Christian
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Versions of packages pbbuttonsd depends on:
ii hdparm 6.1-5 tune hard disk parameters for high
ii libasound2 1.0.9-3 ALSA library
ii libc6 2.3.5-3 GNU C Library: Shared libraries an
ii makedev 2.3.1-78 creates device files in /dev
Versions of packages pbbuttonsd recommends:
pn laptop-mode-tools <none> (no description available)
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Frank Lichtenheld <djpig@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 324604@bugs.debian.org (full text, mbox, reply):
tags 324604 unreproducible
thanks
On Tue, Aug 23, 2005 at 12:41:16AM +0200, Christian Surchi wrote:
> I made a sid upgrade on my G4 ibook, after a few months. So I switched also to gnome 2.10 and xorg.
> I didn't touch any configurations, pbbuttonsd too and now if I plug an external usb mouse, its events are not considered
> as events and soon luminosity of scree goes down...
Hmm, I can't reproduce this here with my G4 12" Powerbook.
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Tags added: unreproducible
Request was from Frank Lichtenheld <djpig@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Christian Surchi <csurchi@debian.org>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #17 received at 324604@bugs.debian.org (full text, mbox, reply):
Il giorno dom, 28/08/2005 alle 22.57 +0200, Frank Lichtenheld ha
scritto:
> tags 324604 unreproducible
> thanks
>
> On Tue, Aug 23, 2005 at 12:41:16AM +0200, Christian Surchi wrote:
> > I made a sid upgrade on my G4 ibook, after a few months. So I switched also to gnome 2.10 and xorg.
> > I didn't touch any configurations, pbbuttonsd too and now if I plug an external usb mouse, its events are not considered
> > as events and soon luminosity of scree goes down...
>
> Hmm, I can't reproduce this here with my G4 12" Powerbook.
No help to find more details so we can analyze this problem?
thanks
Christian
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Matthias Grimm <matthiasgrimm@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #22 received at 324604@bugs.debian.org (full text, mbox, reply):
> I made a sid upgrade on my G4 ibook, after a few months. So I switched
> also to gnome 2.10 and xorg. I didn't touch any configurations,
> pbbuttonsd too and now if I plug an external usb mouse, its events are
> not considered as events and soon luminosity of scree goes down...
Pbbuttonsd scans only at startup for event devices. If you plug in your
mouse later, pbbuttonsd won't recognize it automatically (with default
configuration).
You could tell pbbuttonsd to regularly look for new event devices by
setting the configuration option autorescan = yes.
Best Regards
Matthias
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #27 received at 324604@bugs.debian.org (full text, mbox, reply):
Hi,
I confirm that this bug exists on my machine, powerbook G4 Alu 15".
I tried rescan=yes and restarted pbbuttonsd, the bug still persists.
Reproduce this bug:
- put the AC off-line
- wait a bit until the screen gets darker
- move the USB mouse, press any USB mouse button, the screen stays dark
- if you move the mouse with the internal mouse, the screen does restore
its initial luminosity
I use pbbuttonsd 0.7.1-1.
--
Eugen
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Matthias Grimm <matthiasgrimm@users.sourceforge.net>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #32 received at 324604@bugs.debian.org (full text, mbox, reply):
On Tue, 06 Sep 2005 12:41:08 +0200
Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
> [4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
> IntelliEye(TM)
> Supported Events:
> 0 (Reset) 1 (Key) 2 (Relative)
Here it is :-) Only an event device file was missed. Debian has no
device handler installed by default and I think this was the cause of
our trouble.
Now after you have created the missing files it works but I
recommend to install udev if you use kernel 2.6. If you still use
kernel 2.4, let it as it is. Udev will only work on kernel 2.6.
> Now if I move the USB mouse or press the 2nd button, the screen gets
> lighter, so it works now. (The first USB mouse button is not taken into
> account.)
After our short discussion I reviewed my code and found a solution to
take the left mouse button into account again without breaking some of
the other features. :-) The next version will contain the change. Thanks
for your patience and assistance.
I think the bug report is done, isn't it? I will forward this mail to the
debian bug tracker to close it.
Best Regards
Matthias
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Frank Lichtenheld <djpig@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #37 received at 324604@bugs.debian.org (full text, mbox, reply):
On Tue, Sep 06, 2005 at 02:12:28PM +0200, Matthias Grimm wrote:
> On Tue, 06 Sep 2005 12:41:08 +0200
> Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
>
> > [4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
> > IntelliEye(TM)
> > Supported Events:
> > 0 (Reset) 1 (Key) 2 (Relative)
>
> Here it is :-) Only an event device file was missed. Debian has no
> device handler installed by default and I think this was the cause of
> our trouble.
Just for the record, which file?
But that certainly explain why I couldn't reproduce that since I
run udev here.
> Now after you have created the missing files it works but I
> recommend to install udev if you use kernel 2.6. If you still use
> kernel 2.4, let it as it is. Udev will only work on kernel 2.6.
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #42 received at 324604@bugs.debian.org (full text, mbox, reply):
Matthias Grimm wrote:
> On Tue, 06 Sep 2005 12:41:08 +0200
> Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
>
>
>>[4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
>>IntelliEye(TM)
>> Supported Events:
>> 0 (Reset) 1 (Key) 2 (Relative)
>
>
> Here it is :-) Only an event device file was missed. Debian has no
> device handler installed by default and I think this was the cause of
> our trouble.
>
> Now after you have created the missing files it works but I
> recommend to install udev if you use kernel 2.6. If you still use
> kernel 2.4, let it as it is. Udev will only work on kernel 2.6.
Ok.
>>Now if I move the USB mouse or press the 2nd button, the screen gets
>>lighter, so it works now. (The first USB mouse button is not taken into
>>account.)
>
>
> After our short discussion I reviewed my code and found a solution to
> take the left mouse button into account again without breaking some of
> the other features. :-) The next version will contain the change. Thanks
> for your patience and assistance.
>
> I think the bug report is done, isn't it? I will forward this mail to the
> debian bug tracker to close it.
Yes, thank you for your work!
--
Eugen
Information forwarded to debian-bugs-dist@lists.debian.org, Frank Lichtenheld <djpig@debian.org>:
Bug#324604; Package pbbuttonsd.
(full text, mbox, link).
Acknowledgement sent to Matthias Grimm <matthias.grimm@htp-tel.de>:
Extra info received and forwarded to list. Copy sent to Frank Lichtenheld <djpig@debian.org>.
(full text, mbox, link).
Message #47 received at 324604@bugs.debian.org (full text, mbox, reply):
On Tue, 6 Sep 2005 15:39:22 +0200
Frank Lichtenheld <djpig@debian.org> wrote:
> On Tue, Sep 06, 2005 at 02:12:28PM +0200, Matthias Grimm wrote:
> > On Tue, 06 Sep 2005 12:41:08 +0200
> > Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
> >
> > > [4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
> > > IntelliEye(TM)
> > > Supported Events:
> > > 0 (Reset) 1 (Key) 2 (Relative)
> >
> > Here it is :-) Only an event device file was missed. Debian has no
> > device handler installed by default and I think this was the cause of
> > our trouble.
>
> Just for the record, which file?
> But that certainly explain why I couldn't reproduce that since I
> run udev here.
/dev/input/event4 was missing. A "mknod /dev/input/event4 c 13 68"
solved the problem.
Best Regards
Matthias
Acknowledgement sent to Frank Lichtenheld <djpig@debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #52 received at 324604-quiet@bugs.debian.org (full text, mbox, reply):
Hi.
I've a problem here where I'm unsure how to handle it. A mail from
the corresponding bug report is appended for reference but I will
try to explain it in my own words:
pbbuttonsd is a program for Apple Powerbooks that handles things like
powermanagment and special keys. It uses the event device files
(/dev/input/event*) to monitor attached input devices. The problem
now is that makedev only generates four of these event device files
(event0 to event3). On my fully standard Powerbook with an attached
USB mouse I have already _six_ of these those, if I would plug in
e.g. an external keybord or a second pointer device I could easily
have seven or eight of them. This leads to problems for users that
have a static /dev/ (i.e. don't use udev) since pbbuttonsd will
not see events from some of the devices.
There are three possible solutions to this AFAICS:
1) generate more device files in the postinst of the package with
mknod (which is a policy violation IIRC)
2) make makedev produce more of these files (but probably most users
don't need them, at least not on desktop PCs which have seldomly
two mouses or keyboards)
3) Just tell each user to fix it himself (e.g. in a README.Debian
file). Not really complicated, just some calls to mknod
(or an installation of udev), but...
Any hints or comments would be welcome.
Gruesse,
Frank Lichtenheld
----- Forwarded message from Matthias Grimm <matthias.grimm@htp-tel.de> -----
Subject: Bug#324604: [Fwd: The bug persists]
Reply-To: Matthias Grimm <matthias.grimm@htp-tel.de>,
324604@bugs.debian.org
X-Debian-PR-Message: report 324604
X-Debian-PR-Package: pbbuttonsd
X-Debian-PR-Keywords: unreproducible
From: Matthias Grimm <matthias.grimm@htp-tel.de>
To: Frank Lichtenheld <djpig@debian.org>
Cc: 324604@bugs.debian.org, Eugen.Dedu@pu-pm.univ-fcomte.fr
On Tue, 6 Sep 2005 15:39:22 +0200
Frank Lichtenheld <djpig@debian.org> wrote:
> On Tue, Sep 06, 2005 at 02:12:28PM +0200, Matthias Grimm wrote:
> > On Tue, 06 Sep 2005 12:41:08 +0200
> > Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
> >
> > > [4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
> > > IntelliEye(TM)
> > > Supported Events:
> > > 0 (Reset) 1 (Key) 2 (Relative)
> >
> > Here it is :-) Only an event device file was missed. Debian has no
> > device handler installed by default and I think this was the cause of
> > our trouble.
>
> Just for the record, which file?
> But that certainly explain why I couldn't reproduce that since I
> run udev here.
/dev/input/event4 was missing. A "mknod /dev/input/event4 c 13 68"
solved the problem.
Best Regards
Matthias
----- End forwarded message -----
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Message sent on to Christian Surchi <csurchi@debian.org>:
Bug#324604.
(full text, mbox, link).
Message #55 received at 324604-submitter@bugs.debian.org (full text, mbox, reply):
Also bouncing that to the submitter because I'm not sure he has
seen the mails.
On Tue, Sep 06, 2005 at 05:23:14PM +0200, Matthias Grimm wrote:
> On Tue, 6 Sep 2005 15:39:22 +0200
> Frank Lichtenheld <djpig@debian.org> wrote:
>
> > On Tue, Sep 06, 2005 at 02:12:28PM +0200, Matthias Grimm wrote:
> > > On Tue, 06 Sep 2005 12:41:08 +0200
> > > Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote:
> > >
> > > > [4] ids - 3 45e 47 300 Name: Microsoft Microsoft 5-Button Mouse with
> > > > IntelliEye(TM)
> > > > Supported Events:
> > > > 0 (Reset) 1 (Key) 2 (Relative)
> > >
> > > Here it is :-) Only an event device file was missed. Debian has no
> > > device handler installed by default and I think this was the cause of
> > > our trouble.
> >
> > Just for the record, which file?
> > But that certainly explain why I couldn't reproduce that since I
> > run udev here.
>
> /dev/input/event4 was missing. A "mknod /dev/input/event4 c 13 68"
> solved the problem.
>
> Best Regards
> Matthias
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #60 received at 324604-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sep 11, Frank Lichtenheld <djpig@debian.org> wrote:
> 1) generate more device files in the postinst of the package with
> mknod (which is a policy violation IIRC)
Right.
> 2) make makedev produce more of these files (but probably most users
> don't need them, at least not on desktop PCs which have seldomly
> two mouses or keyboards)
It could be done, but many users would need anyway to adjust the
permissions (which is hard, because a device can easily move among
nodes).
> 3) Just tell each user to fix it himself (e.g. in a README.Debian
> file). Not really complicated, just some calls to mknod
> (or an installation of udev), but...
I favour this. If for some weird reason an user does not want to use
udev, let him deal with the results without having to make your package
more complex.
--
ciao,
Marco
[signature.asc (application/pgp-signature, inline)]
Acknowledgement sent to Christoph Hellwig <hch@lst.de>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #65 received at 324604-quiet@bugs.debian.org (full text, mbox, reply):
On Sun, Sep 11, 2005 at 01:05:36PM +0200, Frank Lichtenheld wrote:
> 2) make makedev produce more of these files (but probably most users
> don't need them, at least not on desktop PCs which have seldomly
> two mouses or keyboards)
That's the right choice. Lot's of laptops have additional even sources,
as do various external disk enclosures or random usb devices. In
addition the uinput driver can create additional sources from userspace
input. makedev should create all 32 specified /dev/input/eventN
devices.
Acknowledgement sent to Peter 'p2' De Schrijver <p2@mind.be>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #70 received at 324604-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
> 2) make makedev produce more of these files (but probably most users
> don't need them, at least not on desktop PCs which have seldomly
> two mouses or keyboards)
That's probably the right solution. Device nodes hardly take any
resources anyway.
Cheers,
Peter (p2).
[signature.asc (application/pgp-signature, inline)]
Blocking bugs added: 328374
Request was from Frank Lichtenheld <djpig@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Tags removed: unreproducible
Request was from Frank Lichtenheld <djpig@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Message sent on
to Christian Surchi <csurchi@debian.org>:
Bug#324604.
(Tue, 26 May 2015 13:18:21 GMT) (full text, mbox, link).
Message #77 received at 324604-submitter@bugs.debian.org (full text, mbox, reply):
Since version 0.7.9-7 a udev even is sent which does a SIGHUP. It
should not solve your previous issue.
Could you please confirm the issue is fixed in 0.7.9-7 ?
Thanks.
Added tag(s) moreinfo.
Request was from Mathieu Malaterre <malat@debian.org>
to control@bugs.debian.org.
(Tue, 26 May 2015 13:30:12 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#324604; Package pbbuttonsd.
(Thu, 01 Oct 2015 07:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Mathieu Malaterre <malat@debian.org>:
Extra info received and forwarded to list.
(Thu, 01 Oct 2015 07:09:04 GMT) (full text, mbox, link).
Message #84 received at 324604@bugs.debian.org (full text, mbox, reply):
Control: unblock -1 by 328374
makedev is only used on Hurd AFAIK.
Removed blocking bug(s) of 324604: 328374
Request was from Mathieu Malaterre <malat@debian.org>
to 324604-submit@bugs.debian.org.
(Thu, 01 Oct 2015 07:09:04 GMT) (full text, mbox, link).
Reply sent
to Mathieu Malaterre <malat@debian.org>:
You have taken responsibility.
(Thu, 01 Oct 2015 07:09:07 GMT) (full text, mbox, link).
Notification sent
to Christian Surchi <csurchi@debian.org>:
Bug acknowledged by developer.
(Thu, 01 Oct 2015 07:09:08 GMT) (full text, mbox, link).
Message #91 received at 324604-done@bugs.debian.org (full text, mbox, reply):
Control: fixed -1 0.7.9-7
Marking as fixed, since reading the bug log refer to makedev and
limited number of /dev/input/event[*]. Please re-open if not.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 29 Oct 2015 07:25:08 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Apr 16 01:36:03 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.