Unnecessary Action from chipcardd2?

Joachim Breitner <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi,

I’m currently checking what processes on my laptop cause unecessary
actions and thus prevent the processors from sleeping.

It seems that chipcardd2 is checking every 750ms for new hardware on the
USB Bus. It thought that this is not necessary any more, because
chipcardd2 will be notified somehow (udev? HAL?)?

The loop seems to be on the very outside of the program logic and
involves GWEN_Net_HeartBeat(750) in chipcardd2.c. Does the timeout
really have to be that short? In other words, what events would be
missed if the timeout were higher? Can these events be moved from
polling to some other way of monitoring?

Any maybe the hardware discovery should be skipped if no client is
connected to the server.

What do you think?
Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
  mail: [email protected] | ICQ# 74513189 | GPG-Key: 4743206C
  JID: [email protected] | http://www.joachim-breitner.de/
  Debian Developer: [email protected]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.