From: Derrick W. <de...@lo...> - 2004-03-26 15:34:17
|
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. -- D E R R I C K J. W I P P L E R Logical Solutions, Inc. Software Developer <de...@lo...> 'I generally avoid temptation unless I can't resist it." -- Mae West |