Hello everyone,
I had been using Kubuntu 7.04 for a while now and thought it was time for an upgrade, so I am now up and running with Kubuntu Hardy 8.04 w/ KDE4. I must say that it looks pretty sweet! The easy-to-setup compiz effects, the new Oxygen theme...
One thing that seems to not have carried over is my volume control hot-keys that I had setup in KDE 3.5. After some digging, I found a way that should suit my needs by changing the volume through dbus api calls to Kmix. However, I'm having a little trouble figuring out what parameters I'm supposed to be using for some of the api calls.
First things first, below is the list of sound devices reported by "cat /proc/asound/cards":
0 [CK804 ]: NFORCE - NVidia CK804
NVidia CK804 with ALC850 at irq 17
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x330, irq 10
I am able to set/get the master volume using the setMasterVolume/getMasterVolume API calls, but am having trouble with the increaseVolume/decreaseVolume/setVolume/etc. methods that require a deviceidx parameter. What value should I be using for the deviceidx? I tried using 0, 1, .... etc., but those didn't seem to work (I checked using the isAvailableDevice method (which always returned false), as well as the volume methods mentioned above. I also tried "CK804", but that didn't work either. I also tried the actual channel values (i.e. "Front", "PCM", etc.), but no luck there either. I'm sure it's something simple and I figure it'll work properly if I use the correct deviceidx!
Any help would be GREATLY appreciated!
Thanks
I had been using Kubuntu 7.04 for a while now and thought it was time for an upgrade, so I am now up and running with Kubuntu Hardy 8.04 w/ KDE4. I must say that it looks pretty sweet! The easy-to-setup compiz effects, the new Oxygen theme...
One thing that seems to not have carried over is my volume control hot-keys that I had setup in KDE 3.5. After some digging, I found a way that should suit my needs by changing the volume through dbus api calls to Kmix. However, I'm having a little trouble figuring out what parameters I'm supposed to be using for some of the api calls.
First things first, below is the list of sound devices reported by "cat /proc/asound/cards":
0 [CK804 ]: NFORCE - NVidia CK804
NVidia CK804 with ALC850 at irq 17
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x330, irq 10
I am able to set/get the master volume using the setMasterVolume/getMasterVolume API calls, but am having trouble with the increaseVolume/decreaseVolume/setVolume/etc. methods that require a deviceidx parameter. What value should I be using for the deviceidx? I tried using 0, 1, .... etc., but those didn't seem to work (I checked using the isAvailableDevice method (which always returned false), as well as the volume methods mentioned above. I also tried "CK804", but that didn't work either. I also tried the actual channel values (i.e. "Front", "PCM", etc.), but no luck there either. I'm sure it's something simple and I figure it'll work properly if I use the correct deviceidx!
Any help would be GREATLY appreciated!
Thanks