How to inspect one variable in a driver?

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, cesium

New Member
Posts: 7
Joined: Sun May 27, 2007 12:53 pm
Location: Kiev, Ukraine

How to inspect one variable in a driver?

Postby elisej » Wed Jul 09, 2008 3:16 pm

Ich driver on my computer with Intel 845 chipset and Solaris 10 plays audio at a higher speed than what is expected in spite of intelpci_rate_tuning value in ich.conf. Moreover, the value has no influence on play speed.
So, I want to inspect the value of intelpci_rate_tuning global variable used in ich_audio_prepare_for_input function and others .
What is the simplest way to do this?

Elisej Babenko

Posts: 14
Joined: Wed Jul 25, 2007 5:05 pm
Location: Germany

Postby Ionic » Sat Jul 12, 2008 10:16 pm


the easiest method of doing this (to my mind) is adding something like 'cmn_err (CE_WARN, "intelpci_rate_tuning is %d\n", intelpci_rate_tuning);' (example only) in the appropriative sections of your driver's file.

Best regards,


Return to “Solaris”

Who is online

Users browsing this forum: Google [Bot] and 1 guest