#6670 BLOC Update.: Userspace (OHM) needs to know about the audio device state
Zarro Boogs per Child
bugtracker at laptop.org
Wed Mar 12 12:12:49 EDT 2008
#6670: Userspace (OHM) needs to know about the audio device state
----------------------+-----------------------------------------------------
Reporter: cjb | Owner: dilinger
Type: defect | Status: new
Priority: blocker | Milestone: Update.1
Component: kernel | Version:
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
----------------------+-----------------------------------------------------
Changes (by cjb):
* cc: AlbertCahalan (added)
Comment:
Hi Albert,
> stat(your_audio_device, &sbuf)
That's the first thing I tried, and /dev/snd/pcmC0D0{p,c} weren't updating
their atimes when the device was open or used. Could you confirm whether
you see the same thing?
It's not clear that recording the last time the device was opened via
atime, if it did that, would be good enough -- if someone's been listening
to music for the last ten minutes, I need to know both that it was last
opened ten minutes ago, and that it is currently open.
--
Ticket URL: <http://dev.laptop.org/ticket/6670#comment:2>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list