FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-07-2009, 10:32 PM
"C.T.F. Jansen"
 
Default ksuspend_usbd : what does this daemon do ?

Greetings,
What does the daemon ksuspend_usb do ? I'm making a list of the
back ground processes and what they do then will post it here. Save others
hunting around for what what little there is.
Haven't found any lists on-line anywhere yet. Apparently there's an
O'Reilly book that lists daemons and functions but haven't see it anywhere
local.
Thanks in advance.

frank.jansen@actrix.gen.nz, ZL2TTS




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-08-2009, 04:55 PM
Andrew Sackville-West
 
Default ksuspend_usbd : what does this daemon do ?

On Sun, Nov 08, 2009 at 12:32:01PM +1300, C.T.F. Jansen wrote:
> Greetings,
> What does the daemon ksuspend_usb do ?
[...]

I *think* it monitors usb and suspends the usb subsystem when it's not
being used. This is a powersaving feature. But that is really only a
guess based on the name of the daemon and my own minimal knowledge
that such a thing is possible.

A
 
Old 11-12-2009, 11:30 PM
Emanoil Kotsev
 
Default ksuspend_usbd : what does this daemon do ?

Andrew Sackville-West wrote:

> ksuspend_usb

it's not adaemon but a kernel process (thread)

look into ./drivers/usb/core/usb.c to learn more

/opt/software/linux-2.6.31.6# grep -r ksuspend_usb .
Двоичен файл ./drivers/usb/core/hcd.o съвпада
./drivers/usb/core/usb.c:struct workqueue_struct *ksuspend_usb_wq;
./drivers/usb/core/usb.c:static int ksuspend_usb_init(void)
./drivers/usb/core/usb.c: ksuspend_usb_wq =
create_freezeable_workqueue("ksuspend_usbd");
./drivers/usb/core/usb.c: if (!ksuspend_usb_wq)
./drivers/usb/core/usb.c:static void ksuspend_usb_cleanup(void)
./drivers/usb/core/usb.c: destroy_workqueue(ksuspend_usb_wq);
./drivers/usb/core/usb.c:#define ksuspend_usb_init() 0
./drivers/usb/core/usb.c:#define ksuspend_usb_cleanup() do {} while (0)
./drivers/usb/core/usb.c: retval = ksuspend_usb_init();
./drivers/usb/core/usb.c: ksuspend_usb_cleanup();
./drivers/usb/core/usb.c: ksuspend_usb_cleanup();

./drivers/usb/core/driver.c:
queue_delayed_work(ksuspend_usb_wq, &udev->autosuspend,
./drivers/usb/core/driver.c:
queue_delayed_work(ksuspend_usb_wq, &udev->autosuspend,
./drivers/usb/core/driver.c: queue_work(ksuspend_usb_wq,
&udev->autoresume);
./drivers/usb/core/hcd.c: queue_work(ksuspend_usb_wq,
&hcd->wakeup_work);



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org