On Thursday, 10 Mar, Vincent Lefevre wrote: > On 2005-03-10 18:22:56 +0000, Nikita Schmidt wrote: > > 1. The ioctl which returns EPERM is a request to get the value of mixer > > control no. 7 (Microphone). Previous three similar ioctls for controls 0 > > (Master volume), 5 (Speaker) and 6 (Line) have all succeeded, as shown by > > strace. I see no logic in that reading some mixer elements is permitted > > and reading others is not. > > Because there's no microphone? > > One has more control on what can be read or not at ioctl time. > This is just like file vs file system permissions. >
Still, EPERM is a wrong error code in this situation. The information about kernel-image package and modules you gave me was very helpful. Now, what happens if you: - open another mixer, - change the microphone value (microphone input gain or something), - make sure it has changed by closing and opening the same mixer, - then close the mixer, - and run tkmixer under strace: will there be any difference in tkmixer's behaviour, particularly with respect to which ioctl causes EPERM? Thanks, Nikita -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]