All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: asterisk, ztdummy, and usb (and HZ = 100 under xen ???)
@ 2005-05-20 11:37 James Harper
  2005-05-20 14:13 ` Mark Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: James Harper @ 2005-05-20 11:37 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Xen-devel

> 
> Having HZ differ between Xen and a guest doesn't really matter that
> much. The guest will get fewer upcalls than it expects, but it will
> count ten ticks for each upcall. So I doubt that thsi is your problem.
> Does ztdummy use the rtc driver? I'm not sure how weel we support that
> on Xen...

The problem is that the ztdummy driver assumes 1000HZ, and a 2.6 kernel
under xen . I worked around it by making the ztdummy driver count 10
ticks for each jiffy. My music on hold works now but clicks and pops a
bit which I think may be because of my kludge.

Thanks

James

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: asterisk, ztdummy, and usb (and HZ = 100 under xen ???)
  2005-05-20 11:37 asterisk, ztdummy, and usb (and HZ = 100 under xen ???) James Harper
@ 2005-05-20 14:13 ` Mark Williamson
  2005-05-20 15:11   ` [Xen-devel] " Andrew Thompson
  2005-05-20 16:00   ` [Asterisk-Dev] " Andrew Thompson
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Williamson @ 2005-05-20 14:13 UTC (permalink / raw)
  To: xen-devel; +Cc: James Harper

> The problem is that the ztdummy driver assumes 1000HZ,

Do you mean it has a hardcoded value instead of using the "HZ" macro???  I'd 
consider that a bug - have you tried contacting the codes maintainers?

> and a 2.6 kernel 
> under xen . I worked around it by making the ztdummy driver count 10
> ticks for each jiffy. My music on hold works now but clicks and pops a
> bit which I think may be because of my kludge.

Good to know it's working.  Just *please* don't use Green Sleeves or anything 
by Vivaldi!  (I've spent too much time in telephone queuing systems this year 
- it's made me a bit sensitive to hold music ;-)

Cheers,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xen-devel] asterisk, ztdummy, and usb (and HZ = 100 under xen ???)
  2005-05-20 14:13 ` Mark Williamson
@ 2005-05-20 15:11   ` Andrew Thompson
  2005-05-20 16:00   ` [Asterisk-Dev] " Andrew Thompson
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Thompson @ 2005-05-20 15:11 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Asterisk Developers Mailing List, James Harper

Being subscribed to both lists, I thought I'd funnel this through to the 
asterisk-dev list as possibly informative. (Note that you must be 
subscribed to the asterisk-dev list to post there.)

Mark Williamson wrote:
>>The problem is that the ztdummy driver assumes 1000HZ,
> 
> Do you mean it has a hardcoded value instead of using the "HZ" macro???  I'd 
> consider that a bug - have you tried contacting the codes maintainers?
> 
>>and a 2.6 kernel 
>>under xen . I worked around it by making the ztdummy driver count 10
>>ticks for each jiffy. My music on hold works now but clicks and pops a
>>bit which I think may be because of my kludge.
> 
> Good to know it's working.  Just *please* don't use Green Sleeves or anything 
> by Vivaldi!  (I've spent too much time in telephone queuing systems this year 
> - it's made me a bit sensitive to hold music ;-)
> 
> Cheers,
> Mark
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


-- 
Andrew Thompson
http://aktzero.com/
http://dev.asteriskdocs.org/
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Asterisk-Dev] Re: asterisk, ztdummy, and usb (and HZ = 100 under xen ???)
  2005-05-20 14:13 ` Mark Williamson
  2005-05-20 15:11   ` [Xen-devel] " Andrew Thompson
@ 2005-05-20 16:00   ` Andrew Thompson
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Thompson @ 2005-05-20 16:00 UTC (permalink / raw)
  To: kwik; +Cc: xen-devel, Asterisk Developers Mailing List, James Harper

Being subscribed to both lists, I thought I'd funnel this through to the 
asterisk-dev list as possibly informative. (Note that you must be 
subscribed to the asterisk-dev list to post there.)

Mark Williamson wrote:
>>The problem is that the ztdummy driver assumes 1000HZ,
> 
> Do you mean it has a hardcoded value instead of using the "HZ" macro???  I'd 
> consider that a bug - have you tried contacting the codes maintainers?
> 
>>and a 2.6 kernel 
>>under xen . I worked around it by making the ztdummy driver count 10
>>ticks for each jiffy. My music on hold works now but clicks and pops a
>>bit which I think may be because of my kludge.
> 
> Good to know it's working.  Just *please* don't use Green Sleeves or anything 
> by Vivaldi!  (I've spent too much time in telephone queuing systems this year 
> - it's made me a bit sensitive to hold music ;-)
> 
> Cheers,
> Mark
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


-- 
Andrew Thompson
http://aktzero.com/
http://dev.asteriskdocs.org/
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-20 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-20 11:37 asterisk, ztdummy, and usb (and HZ = 100 under xen ???) James Harper
2005-05-20 14:13 ` Mark Williamson
2005-05-20 15:11   ` [Xen-devel] " Andrew Thompson
2005-05-20 16:00   ` [Asterisk-Dev] " Andrew Thompson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.