Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-11 Thread Vincent Lefevre
On 2005-03-11 21:29:03 +, Nikita Schmidt wrote: > Note that I was surprised to learn that bss is not zeroed out when a > module is loaded, thus breaking the convention that all non-initialised > statics automatically initialise to 0. But it appears to be so. This is more than a convention. Th

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-11 Thread Nikita Schmidt
Thanks! This confirms my theory that the bug is in the kernel. I think that the dmasound module which you are using as your sound driver contains uninitialised static variables, which are supposed to contain 0 initially but in fact contain rubbish - in your case it happens to be -1, which is an i

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-11 Thread Vincent Lefevre
On 2005-03-11 17:05:43 +, Nikita Schmidt wrote: > The information about kernel-image package and modules you gave me was > very helpful. Now, what happens if you: > - open another mixer, gnome-volume-control > - change the microphone value (microphone input gain or something), > - make su

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-11 Thread Nikita Schmidt
On Thursday, 10 Mar, Vincent Lefevre wrote: > On 2005-03-10 18:22:56 +, 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) h

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-10 Thread Vincent Lefevre
On 2005-03-10 18:22:56 +, Nikita Schmidt wrote: > I'm pretty much convinced it's a kernel bug. Firstly, to follow your > logic: > > > gnome-volume-control gives warnings: > > > > ** (gnome-volume-control:5579): WARNING **: Error getting device (7) > > volume: Operation not permitted > > >

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-10 Thread Nikita Schmidt
I'm pretty much convinced it's a kernel bug. Firstly, to follow your logic: > gnome-volume-control gives warnings: > > ** (gnome-volume-control:5579): WARNING **: Error getting device (7) volume: > Operation not permitted > > ** (gnome-volume-control:5579): WARNING **: Error getting recording

Bug#253802: tkmixer on 2.6.9-powerpc

2005-03-08 Thread Vincent Lefevre
This was bug 244474 (which I closed since the problem had disappeared). I have the same problem with 2.6.9-powerpc. A strace gives: [...] open("/dev/mixer", O_RDWR) = 9 ioctl(9, 0x40044dfe, 0x100c7f74)= 0 ioctl(9, 0x40044dfb, 0x100c7f78)= 0 ioctl(9, 0x40044dfd, 0x100c