On Mon, Dec 08, 2008 at 04:46:37PM -0600, Brian Cameron wrote: > >Is there a shortcomming in VT here? > > I guess it depends on how you think VT should work. My understanding > is that VT works on a first-come-first-serve basis, so the first user > who calls logindevperm interfaces gets permission. While it might seem > nicer for the last user to get the device, this is much harder to manage.
No, I think audio should be virtualized. The current session should have access to the real audio hardware, and the others should not be able to produce sound (though as afar as apps go, they shouldn't know the difference). > Making it work the other way would require logindevperm to be enhanced. Perhaps. It will also require virtualizing the audio device. > Also, I think it gets complicated to manage if the first user has > programs running which are using the audio device, or other devices > managed by logindevperm. How to manage unconnecting them when a VT > switch happens, and then reconnecting them when switching back would > be complicated and probably error-prone. When I switch away from a session where programs are producing sound what should happen is this: a) those programs continue to operate, b) but they don't produce actual sound until I switch back to that VT (and unlock the screen). > At any rate, I think it would be a pretty significant enhancement to > the existing interfaces to support this sort of behavior. > > If you are interested, you can discuss this further with the VT team > if you want to make suggestions about how this should all work. > [EMAIL PROTECTED] is the engineer working on VT, and would be the > right person to talk to. OK, I will! Thanks for the contact. > >I didn't realize that we had A11Y support in S10's GDM! I thought that > >was one of the problems with it. How do you configure A11Y for GDM? I > >would really like to enable sticky keys at the GDM screen. > > When I have been talking about to a11y in GDM, I have been referring to the > ability to start AT programs such as orca or GOK. Xserver a11y features > like sticky keys should "just work" if you enable them via keyboard > shortcuts. I believe hitting the Shift key five times in a row enables > Sticky Keys. I am not sure if this keyboard shortcut is available by > default or not in GDM. I'll try it tonight. > >So methinks there needs to at least be a comment in logindevperm code to > >guard against someone causing it to clobber GDM's ACL entry. The ARC > >might care to know too; ask a member. > > Thanks, I overlooked bringing this up to ARC. I will make sure that the > GDM usage of these interfaces is ARC'ed before VT is enabled in the Solaris > Xserver and GDM. This really only becomes something to care about after > that happens. OK, but sending a comment now wouldn't hurt ("ARC early, ARC often"). Nico -- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss