View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#28
Originally Posted by giannoug View Post
Well.. I only ran this because you have many posts..
Code:
Nokia-N900-42-11:~# ./a.out
fcc
Hehe...

It returns "fcc" for me, too. Which is odd, because I was sure that was how they were disabling it (checking to see the region and then writing it to the sysfs entry); excerpt from the kernel driver:
PHP Code:
+int si4713_set_region_preemphasis(struct si4713_device *sdevu8 preemphasis)
+{
+    
int rval 0;
+
+    switch (
preemphasis) {
+    case 
PREEMPHASIS_USA:
+        
preemphasis FMPE_USA;
+        break;
+    case 
PREEMPHASIS_EU:
+        
preemphasis FMPE_EU;
+        break;
+    case 
PREEMPHASIS_DISABLED:
+        
preemphasis FMPE_DISABLED;
+        break;
+    default:
+        return -
EINVAL;
+    }

And, then, when reading http://en.wikipedia.org/wiki/Pre-emphasis, it all made sense...

Best thing to do is attach a ltrace and strace log of fmtxd. Maybe someone can help you.
 

The Following User Says Thank You to qwerty12 For This Useful Post: