On Thursday 2017-05-04 16:09, Stefan Seyfried wrote:
On 04.05.2017 14:24, Jan Engelhardt wrote:
On Thursday 2017-05-04 14:15, Carlos E. R. wrote:
Notes for later use:
cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
That thing always exists even if it does not exist, because it is tied to the traditional keyboard, which also always exists even if not plugged in.
seife:~ # grep -C2 Speaker /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 S: Sysfs=/devices/platform/pcspkr/input/input8 seife:~ # rmmod pcspkr seife:~ # grep -C2 Speaker /proc/bus/input/devices seife:~ #
So no, the "PC Speaker" input device (which is an output device... ;-)) does only exist if pcspkr is loaded.
What I meant is that "outb 0x61,..." will always succeed (even if there is no speaker connected to the two pins) - unlike outb to 0x170 ports (disk), which won't give you something usable if the disk is missing ;-) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org