On 05/09/2010 02:46, Juan Damian Bernabe wrote:
Hello everybody,
Im running OSol 2009.06 snv_134 on an Intel x86 pc.
Well, I can't get the saptel drivers to work. I've tried the instructions below
but no success. This is the message that returns:
ad...@server:/export~# cat sysrelease.d
#!/usr/sbin/dtrace -Cws
#include<sys/utsname.h>
syscall::uname:entry
{
this->in = (struct utsname *)arg0;
}
syscall::uname:return
{
copyoutstr($$1, (uintptr_t)&this->in->release[0], SYS_NMLN);
}
ad...@server:/export~# ./sysrelease.d 5.10
dtrace: failed to compile script ./sysrelease.d: "/usr/include/sys/utsname.h", line 107:
syntax error near "{"
ad...@server:/export~#
HELP!
I want to use asterisk with Ekiga and bluetooth headsets on my office :D
Thanks!
Try the below script then.
#!/usr/sbin/dtrace -qs
#pragma D option destructive
syscall::uname:entry
{
self->addr = arg0;
}
syscall::uname:return
/self->addr/
{
copyoutstr("5.10", self->addr+(257*2), 257);
self->addr = 0;
}
--
Robert Milkowski
http://milek.blogspot.com
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org