* PC speaker listed as input device
@ 2006-10-23 18:53 Panagiotis Issaris
2006-10-23 21:22 ` Adam Henley
2006-10-24 8:42 ` Pavel Machek
0 siblings, 2 replies; 7+ messages in thread
From: Panagiotis Issaris @ 2006-10-23 18:53 UTC (permalink / raw)
To: linux-kernel, Panagiotis Issaris
Hi,
While trying to get my Hauppauge's remote control working, I noticed that my
PC speaker is getting recognized as an input device. This seems very weird
to me, is there some logic behind this?
takis@aether:~$ cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=40001
B: SND=6
...
I'm using the 2.6.17 kernel (it is an Ubuntu kernel though).
With friendly regards,
Takis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PC speaker listed as input device
2006-10-23 18:53 PC speaker listed as input device Panagiotis Issaris
@ 2006-10-23 21:22 ` Adam Henley
2006-10-24 12:16 ` Panagiotis Issaris
2006-10-24 8:42 ` Pavel Machek
1 sibling, 1 reply; 7+ messages in thread
From: Adam Henley @ 2006-10-23 21:22 UTC (permalink / raw)
To: linux-kernel
On 23/10/06, Panagiotis Issaris <panagiotis@gmail.com> wrote:
> Hi,
>
> While trying to get my Hauppauge's remote control working, I noticed that my
> PC speaker is getting recognized as an input device. This seems very weird
> to me, is there some logic behind this?
Simple, all speakers are microphones!
(http://www.google.com/search?q=%22a+speaker+as+a+microphone%22)
Though I don't know the real reason for recognising a speaker as an
input device, this could be a "logical" explanation :o)
regards,
adam
(should probably reply to lkml as well...)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PC speaker listed as input device
2006-10-23 18:53 PC speaker listed as input device Panagiotis Issaris
2006-10-23 21:22 ` Adam Henley
@ 2006-10-24 8:42 ` Pavel Machek
1 sibling, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2006-10-24 8:42 UTC (permalink / raw)
To: Panagiotis Issaris; +Cc: linux-kernel, Panagiotis Issaris
On Mon 23-10-06 20:53:07, Panagiotis Issaris wrote:
> Hi,
>
> While trying to get my Hauppauge's remote control
> working, I noticed that my
> PC speaker is getting recognized as an input device.
> This seems very weird
> to me, is there some logic behind this?
Some keyboards have speakers build-in (sparc).
--
Thanks for all the (sleeping) penguins.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PC speaker listed as input device
2006-10-23 21:22 ` Adam Henley
@ 2006-10-24 12:16 ` Panagiotis Issaris
0 siblings, 0 replies; 7+ messages in thread
From: Panagiotis Issaris @ 2006-10-24 12:16 UTC (permalink / raw)
To: linux-kernel
Hi,
Adam Henley <adamazing <at> gmail.com> writes:
> On 23/10/06, Panagiotis Issaris <panagiotis <at> gmail.com> wrote:
> > Hi,
> >
> > While trying to get my Hauppauge's remote control working, I noticed that my
> > PC speaker is getting recognized as an input device. This seems very weird
> > to me, is there some logic behind this?
>
> Simple, all speakers are microphones!
> (http://www.google.com/search?q=%22a+speaker+as+a+microphone%22)
>
> Though I don't know the real reason for recognising a speaker as an
> input device, this could be a "logical" explanation :o)
It would be if it would be recognised as /dev/dsp4 or something... but
/dev/input/event4 makes it look like a mouse or keyboard which still
seems very weird and illogical to me :)
With friendly regards,
Takis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PC speaker listed as input device
2006-10-24 8:38 ` Jan-Benedict Glaw
@ 2006-10-24 13:47 ` Jan Engelhardt
0 siblings, 0 replies; 7+ messages in thread
From: Jan Engelhardt @ 2006-10-24 13:47 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: Panagiotis Issaris, linux-kernel
>
>The Input subsystem also covers simple beeps, because real keyboards
>beep. So it was only straight-forward to also put the PC speaker into
"What is real?" -from Matrix
That said, older keyboards, such as SUN4, do indeed beep themselves. In fact,
it's just a matter where the beeper is installed, even on x86, you can see the
history of it, because the IO port for beeps is the same as for keyboard leds.
-`J'
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: PC speaker listed as input device
2006-10-23 18:32 Panagiotis Issaris
@ 2006-10-24 8:38 ` Jan-Benedict Glaw
2006-10-24 13:47 ` Jan Engelhardt
0 siblings, 1 reply; 7+ messages in thread
From: Jan-Benedict Glaw @ 2006-10-24 8:38 UTC (permalink / raw)
To: Panagiotis Issaris; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
On Mon, 2006-10-23 20:32:55 +0200, Panagiotis Issaris <panagiotis@gmail.com> wrote:
> While trying to get my Hauppauge's remote control working, I noticed that my
> PC speaker is getting recognized as an input device. This seems very weird
> to me, is there some logic behind this?
>
> takis@aether:~$ cat /proc/bus/input/devices
> I: Bus=0010 Vendor=001f Product=0001 Version=0100
> N: Name="PC Speaker"
> P: Phys=isa0061/input0
> S: Sysfs=/class/input/input0
> H: Handlers=kbd event0
> B: EV=40001
> B: SND=6
> ...
The Input subsystem also covers simple beeps, because real keyboards
beep. So it was only straight-forward to also put the PC speaker into
the Input subsystem to be able to emulate real keyboard's beeps as
good as possible :)
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
Signature of: Lauf nicht vor Deinem Glück davon:
the second : Es könnte hinter Dir stehen!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* PC speaker listed as input device
@ 2006-10-23 18:32 Panagiotis Issaris
2006-10-24 8:38 ` Jan-Benedict Glaw
0 siblings, 1 reply; 7+ messages in thread
From: Panagiotis Issaris @ 2006-10-23 18:32 UTC (permalink / raw)
To: linux-kernel
Hi,
While trying to get my Hauppauge's remote control working, I noticed that my
PC speaker is getting recognized as an input device. This seems very weird
to me, is there some logic behind this?
takis@aether:~$ cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=40001
B: SND=6
...
I'm using the 2.6.17 kernel (it is an Ubuntu kernel though).
With friendly regards,
Takis
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-10-24 19:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23 18:53 PC speaker listed as input device Panagiotis Issaris
2006-10-23 21:22 ` Adam Henley
2006-10-24 12:16 ` Panagiotis Issaris
2006-10-24 8:42 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2006-10-23 18:32 Panagiotis Issaris
2006-10-24 8:38 ` Jan-Benedict Glaw
2006-10-24 13:47 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome