Re: Examples on using RTC

2007-02-22 Thread Coleman Kane

On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On Fri, 16 Feb 2007, Mike Silbersack wrote:


 On Fri, 16 Feb 2007 [EMAIL PROTECTED] wrote:

 /usr/ports/emulators/rtc

 regards,

 usleep

 Already using / looked at that. I'm looking for something more
in-depth.
 -Garrett

 The rtc port's sole purpose is to make the vmware port happier.  As you
 probably saw, it just fakes the functions of the linux rtc device.

 What other rtc functions do you need?  Almost everything the linux rtc
 device does can be accomplished by raising your system hz and using
 usleep/select.

 Mike Silby Silbersack

Hmmm.. well, I can't seem to find equivalent definitions for the Linux
kernel macro RTC_PIE_OFF for instance and the emulators/rtc port isn't
sufficiently documented for me to determine how the original author found
out what signals RTC_PIE_ON and RTC_IRQP_* (whatever macro is also defined
in /usr/local/include/linux/rtc.h).

-Garrett

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]



Found the following patch for MPlayer on google... don't know if it will
help...
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2005-January/032291.html

--
Coleman Kane
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Examples on using RTC

2007-02-16 Thread youshi10

Hello,

I am trying to port a linux program to FreeBSD and I can't (from my knowledge) 
directly translate RTC code to FreeBSD because the methods used to accomplish 
stuff with RTC in Linux is different from FreeBSD.

So I was wondering if there were any resources, or maybe ports that use a wide 
variety of rtc features that I could browse through and learn / play with, to 
test and/or accomplish the goals so I can appropriately abstract and implement 
RTC in the ported Linux application.

Thanks!
-Garrett

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Examples on using RTC

2007-02-16 Thread usleepless

Garret,

On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hello,

I am trying to port a linux program to FreeBSD and I can't (from my
knowledge) directly translate RTC code to FreeBSD because the methods used
to accomplish stuff with RTC in Linux is different from FreeBSD.

So I was wondering if there were any resources, or maybe ports that use a
wide variety of rtc features that I could browse through and learn / play
with, to test and/or accomplish the goals so I can appropriately abstract
and implement RTC in the ported Linux application.

Thanks!
-Garrett


/usr/ports/emulators/rtc

regards,

usleep
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Examples on using RTC

2007-02-16 Thread youshi10

On Fri, 16 Feb 2007 [EMAIL PROTECTED] wrote:


Garret,

On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hello,

I am trying to port a linux program to FreeBSD and I can't (from my
knowledge) directly translate RTC code to FreeBSD because the methods used
to accomplish stuff with RTC in Linux is different from FreeBSD.

So I was wondering if there were any resources, or maybe ports that use a
wide variety of rtc features that I could browse through and learn / play
with, to test and/or accomplish the goals so I can appropriately abstract
and implement RTC in the ported Linux application.

Thanks!
-Garrett


/usr/ports/emulators/rtc

regards,

usleep


Already using / looked at that. I'm looking for something more in-depth.
-Garrett

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Examples on using RTC

2007-02-16 Thread Mike Silbersack

On Fri, 16 Feb 2007 [EMAIL PROTECTED] wrote:

  /usr/ports/emulators/rtc
 
  regards,
 
  usleep

 Already using / looked at that. I'm looking for something more in-depth.
 -Garrett

The rtc port's sole purpose is to make the vmware port happier.  As you
probably saw, it just fakes the functions of the linux rtc device.

What other rtc functions do you need?  Almost everything the linux rtc
device does can be accomplished by raising your system hz and using
usleep/select.

Mike Silby Silbersack
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Examples on using RTC

2007-02-16 Thread youshi10

On Fri, 16 Feb 2007, Mike Silbersack wrote:



On Fri, 16 Feb 2007 [EMAIL PROTECTED] wrote:


/usr/ports/emulators/rtc

regards,

usleep


Already using / looked at that. I'm looking for something more in-depth.
-Garrett


The rtc port's sole purpose is to make the vmware port happier.  As you
probably saw, it just fakes the functions of the linux rtc device.

What other rtc functions do you need?  Almost everything the linux rtc
device does can be accomplished by raising your system hz and using
usleep/select.

Mike Silby Silbersack


Hmmm.. well, I can't seem to find equivalent definitions for the Linux kernel 
macro RTC_PIE_OFF for instance and the emulators/rtc port isn't sufficiently 
documented for me to determine how the original author found out what signals 
RTC_PIE_ON and RTC_IRQP_* (whatever macro is also defined in 
/usr/local/include/linux/rtc.h).

-Garrett

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]