From: Vojtech P. <vo...@su...> - 2004-03-26 16:00:31
|
On Fri, Mar 26, 2004 at 10:29:57AM -0500, Derrick Wippler wrote: > It appears that the KIOCSOUND ioctl call is broken in the 2.6 kernels. > KIOSOUND calls kd_nosound() and kd_mksound() in linux/drivers/char/keyboard.c > to emit sound. These functions do not appear to be working, I am quickly > trying to learn the input API and how the input_event() request that > kd_mksound() calls is failing. However there is very little documentation on > the subject, and because I'm not familiar with input devices the code is > confusing. > > For example, in kd_mksound() the code loops thru a list of (I'm assuming) > keyboard devices, looking for one that has the EV_SND bit turned on. But it > never finds any. So I'm attempting to find where the handle->dev->evbit bit > is set. I'm assuming that would be when the input device is registered with > the input API, but I cannot seam to find it!! > > Any assistance would be greatly appreciated. You probably should enable the PC Speaker driver under Input/Misc. -- Vojtech Pavlik SuSE Labs, SuSE CR |