Skip to contentSkip to conversation

"Where's the Beep?" (PCMCIA/vt_ioctl-s)

DISCUSSION [email protected] 4 participants 4 messages Jul 15, 2003 – Jul 20, 2003 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"NB" == Neil Brown <[email protected]> writes:

Quoted 3 lines · NB> On Tuesday July 15, [email protected] wrote:
Quoted 3 lines

On my old DELL LM laptop the -2.5 series no longer issues any beeps when a card is inserted. The problem is in the kernel, as the test program below (extracted from cardmgr) beeps on -2.4, but not on -2.5.

NB> CONFIG_INPUT_PCSPKR
NB> needs to be =y or =m and the module loaded.

That's true, but I wonder why PC Speaker is under *INPUT* category...

#3 lore raw
Quoted 3 lines

That's true, but I wonder why PC Speaker is under *INPUT* category...

Because many keyboards have built in speakers.

#4 lore raw

Hi James.

Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

On my old DELL LM laptop the -2.5 series no longer issues any beeps when a card is inserted. The problem is in the kernel, as the test program below (extracted from cardmgr) beeps on -2.4, but not on -2.5.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

CONFIG_INPUT_PCSPKR needs to be =y (or =m and the module loaded).

That's true, but I wonder why PC Speaker is under *INPUT* category...

Because many keyboards have built in speakers.

What sort of logic is that !!!

The ONLY reason I can think of for treating a speaker as an INPUT device is if that speaker is wired up in a way that allows it to be used as a microphone, the way some baby-intercoms do. If this is the reason, then don't expect any sort of quality from it, and please also separate this use from the more conventional one.

Best wishes from Riley.
---
* Nothing as pretty as a smile, nothing as ugly as a frown.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14-Jul-2003

#5 lore raw
Quoted 15 lines · On Thursday July 17, [email protected] wrote:

Hi James.

Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

On my old DELL LM laptop the -2.5 series no longer issues any beeps when a card is inserted. The problem is in the kernel, as the test program below (extracted from cardmgr) beeps on -2.4, but not on -2.5.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

CONFIG_INPUT_PCSPKR needs to be =y (or =m and the module loaded).

That's true, but I wonder why PC Speaker is under *INPUT* category...

Because many keyboards have built in speakers.

Quoted 7 lines

What sort of logic is that !!!

The ONLY reason I can think of for treating a speaker as an INPUT device is if that speaker is wired up in a way that allows it to be used as a microphone, the way some baby-intercoms do. If this is the reason, then don't expect any sort of quality from it, and please also separate this use from the more conventional one.

The problem here is really with the name 'INPUT'. It is not an 'input' subsytem, but rather an 'event' subsystem. It handles events like key presses, mounts movements, speaker beeps, LED on/off etc.

It could quite reasonable also be used for APCI events like power status changes and power-button events, but I don't know that anyone has any plans for that.

I gather the event subsystem was conceived to help managed the wide variety of input devices (USB, PS/2, serial, etc) and was inadvertantly misnamed 'input'.

find linux -type f | xargs perl -pi -e 's/input/event/i'

or something like that :-)

NeilBrown