right i was doing some benchmarking of the new firmware (2.3.20) and i clicked system information in quadrant and at the botom under sensors it states an accelerometer, archos compass and archos magnetic field. does anyone have any idea on how and where these are used? thankyou for your help
These captor are virtual, simulated for Android to work, that's all ^^
ah dissapointing :/ thankyou for you help
Unfortunately, none of the Archos Gen8 devices have magnetic compass/gps capabilities (I think you can install a bluetooth one though). I was pretty disappointed when I found out why the metal detector app wasn't working.
Yes, bluetooth GPSs work fine - I use one, but I don't think any of them include a compass, unfortunately. Google sky maps would be awesome on a tablet.
When you start Sensor List and put near device strong magnet - compass data begin change ...
i get readings from the compass using the sensor list app, nothing from the magnetic field though :/
I get no change moving a strong magnet all over my 101.
But they are sending some of the accelerometer data to the simulated compass for some reason. Probably useless.
Direct control of Sound Processor for Microntek Head Units based on RK3066/RK3188 processors.
HuiFei, KGL, KLD, JY, and similar, generally discussed here: http://forum.xda-developers.com/android-auto/mtcb-android-head-unit-general
WARNING! The hardware modification described in this topic, while being simple enough, still requires you to have at least average soldering skills and appropriate soldering iron that allows soldering of very small SMD components. Sample of suitable soldering iron is shown on the photo:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, you will need a multimeter, any cheap one with buzzer will be sufficient.
There is an excellent post by @JEMShoe, a must read: http://forum.xda-developers.com/showpost.php?p=63661855&postcount=39
The goal of the modification
Microntek Car Head Units based on RK3066 / RK3188 processors have so called Sound Processor IC made by ROHM, the BD37xxxx family.
This sound processor has the following functions:
- Three-band parametric equalizer with adjustments of gain in range -20dB – +20dB, frequency and Q-factor of the filter in each band.
- Configurable loudness module with gain in range from 0dB to +20dB, and adjustment of filter frequency and the level of high frequencies suppression.
- Setting of subwoofer output, including selection of signal source, cut-off frequency, phase, and gain.
For more detailed technical information please refer to the datasheet: View attachment 3520723
In stock implementation, this IC is controlled by another 8051-based controller (called MCU) which controls all the onboard hardware, such as display, hardware buttons, BT module, video switch, etc. The way it controls the Sound Processor IC is very limited and in some aspects wrong:
- Instead of 3-band parametric equalizer, we have a 9-band graphical one, with strange logic – each of three groups of three bands controls a single hardware band, averaging their values; and the adjustments range is only +-10dB.
- Loudness compensation does not use a built-in hardware circuit, but just adds some bass and treble, which is a way not the same.
- Subwoofer output is fixed and cannot be configured.
The MTC Sound module allows for direct control of all the built-in function the Sound Processor directly from Android, overcoming limitations of stock implementation, and allowing to tune the sound quality to the best, with only minor hardware modifications.
Besides of that, in stock implementation, equalizer presets apply to any input, be it System, Radio, DVD etc. My experience tells me that it is desirable to have a separate equalizer settings per input. The Radio sounds differently than Media Player or DVD, so it needs to be adjusted differently.
In addition, a Preamp value that can be found in Factory settings was pulled for live adjustment. It is needed to equalize the volume of different inputs.
The software part
The software can be installed without hardware modification, but it will not work. It can be used for evaluation, though, to see how it looks like and what settings it has.
Make sure you have a rooted device, the Xposed framework installed, and you have some file manager that allows for file manipulations in system folders. I recommend the "Root Explorer".
Find the files mentioned below in this archive: View attachment system-files.zip
1. Copy libjnidispatch.so to /system/lib and set permissions to 644.
2. Check if you have files i2c-0 .. i2c-4 under /dev directory. If they exist (typical for RK3188) skip step 3 and proceed to 4; if they don't exist (typical for RK3066) proceed to step 3.
3. Copy i2c-dev.ko to /system/lib/modules and set permissions to 644.
4. Download MTC Sound plugin from the Xposed repository (http://repo.xposed.info/module/com.sevenfloor.mtcsound) and install it. It will appear in modules in Xposed Installer, enable it there and reboot.
5. After reboot, go to Xposed Installer, and check its Log. Watch for line "The Sound Control Status is:" (see below for possible statuses).
The software brings the new Equalizer which will replace the stock one, and also it will be launched by hardware EQ button (if your unit has one).
The statuses that can be displayed in the Xposed log:
- No patch detected – either module is not active in Xposed, or device was not rebooted after activation.
- mcu,No device driver i2c-dev – you have device which requires i2c-dev.ko driver, and you forgot to copy it where needed or set permissions (see step 3 above).
- mcu,Exception com/sevenfloor/mtcsound/I2cBus$CLib – you forgot to copy libjnidispatch.so or set permissions.
- No access to /dev/i2c-?; <some additional info> - despite existence of driver, failed to access i2c bus programmatically. Normally should never happen, but if happened, contact me for further investigation.
- mcu,Error in write() 11 (no response from i2c slave) – programmatic access to i2c bus works well, but Sound Processor does not respond. Need to check soldering. Maybe there's no contact where is has to be, or you shortened something, or you messed with the wires making them wrong way around.
- mcu,Error in write() 110 (no response from i2c slave) – same as above.
- i2c,Channel x (x is a number) – everything is good, enjoy your sound.
Note
Starting from version 1.9.0, due to massive re-implementation of initialization logic, the statuses mostly change their texts.
But they still have the same meaning as above, thus can be understood easily.
Additionally, initialization steps are logged in details to system log with tag 'mtcsound' (viewed with apps like CatLog).
The hardware part
Please see the circuit diagram above.
Basically what we need to do is to re-route the I2C control bus of Sound Processor from the MCU to the Android Board.
Find a 28-pin IC marked BD37<whatever>. It has a key - small dot or circle near the 1st pin. Pins are counted from that key dot, counter-clockwise.
So that find pins 25 and 26, and using a multimeter, trace resistors connected to these pins, somewhere around the chip.
Unsolder these resistors - this way you'll break connection to the MCU that needs to be broken.
Keep the resistors, or throw them away if you plan to use new ones (e.g. bigger, easier to manipulate - not only SMD resistors may be used but also those with wired pins).
Now find a 28-pin IC marked WM8731S, and with multimeter, trace resistors connected to its pins 24 and 23. The same rule for pin counting applies.
Don't unsolder these resistors. Solder wires to their opposite ends.
Other ends of wires solder to the resistors that you unsoldered (or to others you had for replacement), and opposite pins of the resistors solder to the pads that are connected to the BD37xxx chip.
So that you will have the following traces:
WM8731S pin 24 - resistor - wire - resistor - BD37xxx pin 25
WM8731S pin 23 - resistor - wire - resistor - BD37xxx pin 26
After soldering, carefully check the circuit with the multimeter.
WARNING! Later in this thread, users who already done the mod share their experience, photos, drawings, etc.
When doing the mod yourself, ALWAYS read this my post and refer to the diagram above.
Use pictures from others to get an idea where the components are located, but think yourself, don't blind-follow others work.
Mini-FAQ
Q: So will the sound be much better after this modification, is it worthly at all?
A: It will not make your hardware parts like amplifier and other audio circuits any better. But it will allow you to fine tune the sound to the best that can be achieved with all the features of the Sound Processor, which is not available in the stock. Many people say they get "incredible sound". I would say that I managed to tune mine to be "much better"
Q. Would your software be useful without the HW modification part?
A. No. In future, such a possibility might become available. Other developer works on MCU patch, and when/if he finish his work, I will update my software to work thru his modified MCU, so that without a HW mod. As I see the picture, it will take not less than a couple of months.
Q. Please help me with the HW modification for my device XXX / YYY / ZZZ
A. I'm not familiar with other devices than mine, and, unfortunately, I've got not very helpful pictures of my work. So if you can't follow above instructions yourself, then please wait for more experienced users with units like yours, when they do modifications and share their photos.
Q. I've done the HW mod, and the software gives me the status "i2c,Channel x", which indicates success. I have sound from the Radio, but not from the Android / Media player. What's wrong?
A. Some people reported an issue with the resistors at the WM8731S chip. They're fragile and can be easily fried/broken when soldering wires to them. The WM8731S chip is the Audio Codec for Android and with broken I2C control circuit you'll get no sound from Android. Please check with the multimeter and replace one or both that are broken. Use 1 kOhm resistors suitable by size.
Q. I've got the status as follows: mcu,No access to /dev/i2c-?; su exit code 1
A. Have you installed the SuperSU or one of similar super user managers? SuperSU has the option to allow SU during boot - just enable it and reboot.
Q. Why the feature X doesn't work exactly as it worked in stock unit, or doesn't work at all? When will you fix it?
A. As the MCU does not control the Sound Processor anymore, I had to re-implement many stock features in my software from a scratch. Example is the GPS application sound switch/mix. There are some other stock features that were not implemented -- either they are impossible to implemented, or I was not aware of their existence, or I just don't want to implement them because consider them not important. Anyways, ask for a specific feature in this thread, and at least I'll answer, whether it will be implemented and how soon.
Q. You said that some features are impossible to implement. What these features are?
A. Anything related to Sound control by the MCU alone, before Android gets loaded, for sure. Not sure what this may include, maybe something related to parking sensors beeps? Did this ever existed in stock? Other features except that also may appear impossible to implement or too hard to ever try to do that.
Q. Where on your Equalizer are the sound presets like Pop/Jazz/Rock? And why my hardware EQ button which was switching these presets earlier, now just executes the Equalizer app?
A. This is a good example of a feature that I consider unimportant and will never implement. These presets are nothing than a marketing bu11$41t and have nothing in common with a quality sound. Period.
Xposed Repository link
http://repo.xposed.info/module/com.sevenfloor.mtcsound
Links to how-to posts by users who have already made the mod.
KLD by @dazza007
http://forum.xda-developers.com/showpost.php?p=63520630
JY by @JEMShoe
http://forum.xda-developers.com/showpost.php?p=63712823
JY-UQ128 by @JrFaust
http://forum.xda-developers.com/showpost.php?p=65587419
KGL by @Tutti-frutti:
http://forum.xda-developers.com/showpost.php?p=64460726
---
My other work:
- Xposed Volume Bar: http://forum.xda-developers.com/showthread.php?t=3246360
I think I fully understand what you are trying to do now. I will try to attempt this this weekend if I can find the time. It would be helpful if you at least called out the resistor numbers, but I think that was brought up in the main HU thread. I will try to post good pictures as I go. This doesn't seem all that bad now that you have a well-worded explanation (or maybe you already had this explanation before and I never noticed).
The goal is to have the sound processor be controlled by the android processor, not the MCU. Makes sense now
Hisma said:
It would be helpful if you at least called out the resistor numbers
Click to expand...
Click to collapse
They are different on different Head Unit brands. My unit does not have any component numbers on the PCB at all.
Hisma said:
This doesn't seem all that bad now that you have a well-worded explanation (or maybe you already had this explanation before and I never noticed).
Click to expand...
Click to collapse
These explanations were spread over a number of my posts in the general discussion thread, as answers to people's questions. So I've decided to gather them to this thread.
A suggestion to refine the instructions
"• mcu,Error in write() 110 (no response from i2c slave) – same as above." - can you add a note whether the connections/wires are the wrong way around?
dazza007 said:
A suggestion to refine the instructions
"• mcu,Error in write() 110 (no response from i2c slave) – same as above." - can you add a note whether the connections/wires are the wrong way around?
Click to expand...
Click to collapse
Done But dont ask me to list every single mistake one can make soldering just two wires - there's so much possibilities!
By the way, could you please copy your post with photos of how you done the HW mod from general thread to this one? It would be helpful for others for sure.
so here are some images of the 7 floor modification and some less technical descriptions of what to do
The following is for a WM8731S and BD37033FV
You need 2x 1k ohm resistors, a good quality clean soldering iron, solder, flux and a steady hand!
On the android board - Solder wire to resistor R268 and R49 that connects to the WM8731S these are pin 23/4
View attachment 3520439
View attachment 3520440
On the main board find the resistors r70/1 and remove them these connect to the mcu chip and you are removing the connection to the mcu but the pin out furthest away from the label has a connection to the BD37033FV sound processor pins 25/6
View attachment 3520441
solder a connection onto the pinouts furthest away from to the label. Ensure that there is no connection between pinouts where you removed the resistor and soldered in the new wire
connect the wire you have just soldered to the original wire you solder using a 1k ohm resistor (to replace the resistors you removed)
Ensuring that you have the following connections:
R268 - R71
R49 - R70
Using a multimeter ensure that you have nearly 2 k ohms resistance through the resistor R268 to connection R71 and through R49 and R70
Ensure you have 2k resistance through the resistor R268 to connection to the chip BD37033FV
and R49 too to the other pin on the chip
the pins 25/6 on the sound processor are the third and fourth in from the top left.
@7floor, may I know GPS switch/mix features work on waze? I just done the mod back to orig on yesterday & can't test it.
lysiong said:
@7floor, may I know GPS switch/mix features work on waze? I just done the mod back to orig on yesterday & can't test it.
Click to expand...
Click to collapse
I don't even know what's waze is
OK, I'll check it and tell if it works.
@7floor, if the GPS switch/mix features working, will I be able to adjust the mixing ratio or just the GPS voice switch over only?
lysiong said:
@7floor, if the GPS switch/mix features working, will I be able to adjust the mixing ratio or just the GPS voice switch over only?
Click to expand...
Click to collapse
So I confirm that it works for Waze, and it works just like in stock, i.e. you may use swith option, or you may use variable-level mixing option.
7floor said:
So I confirm that it works for Waze, and it works just like in stock, i.e. you may use swith option, or you may use variable-level mixing option.
Click to expand...
Click to collapse
@7floor, where do I set which application will have the GPS switch/mix features? is it still the same place in setting > GPS? or it is determine by your EQ application? the mixing option also set in setting > GPS or in your application? if HU detect a reverse signal, will it be able to mute or set attenuation as stock?
@lysiong, it uses stock config
7floor said:
@lysiong, it uses stock config
Click to expand...
Click to collapse
@7floor, great [emoji2] . will try to mod back. confirm also the reverse mute features right?
Sent from mobile
lysiong said:
[MENTION=322215]also the reverse mute features right?
Click to expand...
Click to collapse
Not implemented yet, but planned.
7floor said:
Not implemented yet, but planned.
Click to expand...
Click to collapse
@7floor, i will wait for it before mod it....as reverse mute is quite important also
Sent from mobile
lysiong said:
@7floor, i will wait for it before mod it....as reverse mute is quite important also
Sent from mobile
Click to expand...
Click to collapse
As you wish. Looks like the sound quality is the last thing that is important to you, isn't it?
7floor said:
As you wish. Looks like the sound quality is the last thing that is important to you, isn't it?
Click to expand...
Click to collapse
@7floor, although I do like sound quality but I prefer safety feature(reverse mute) 1st than sound quality. [emoji2] I been change from orig to your mod & back to orig quite few times after found up some essential feature not available [emoji26] . Anyhow, I really appreciate your work
7floor, looking at the sound processor specs (at http://www.rohm.com/web/global/search/parametric/-/search/Analog Audio Processors ) I see that there's a single 3-band parametric EQ in the chip. How are you going to create different EQ parameters for the radio, system, etc., as these are all different audio inputs?
---------- Post added at 10:14 PM ---------- Previous post was at 10:08 PM ----------
Guys, in which areas of the world exists this "reverse mute safety" thing? In my area, no such thing exists. Actually, this is the first time I hear about this... sound muting when gear in reverse? What does going in reverse having to do with sound?
robertut said:
7floor, looking at the sound processor specs (at http://www.rohm.com/web/global/search/parametric/-/search/Analog Audio Processors ) I see that there's a single 3-band parametric EQ in the chip. How are you going to create different EQ parameters for the radio, system, etc., as these are all different audio inputs?
Click to expand...
Click to collapse
English is not my mother's language, but I'm not "going to", it just works already.
It has nothing to do with the chip specs. I just hold the parameters per input in software and apply them to the chip on input change, because I intercept these events and know when it happens.
robertut said:
Guys, in which areas of the world exists this "reverse mute safety" thing? In my area, no such thing exists. Actually, this is the first time I hear about this... sound muting when gear in reverse? What does going in reverse having to do with sound?
Click to expand...
Click to collapse
Never thought about this feature as about something regulated by laws. This may be useful, for example, to make the parking sensors audible (if installed). But I personally don't have those, so I never enabled this feature. Maybe people also want to hear pedestrians' screams once they hit 'em, not really sure
Anyways, I don't consider this feature a highly critical one - one can press mute before going backward, so that it is just a matter of comfort, nothing more.
I will implement it though, just because I am a perfectionist. Just need to fight my laziness
[/COLOR]Guys, in which areas of the world exists this "reverse mute safety" thing? In my area, no such thing exists. Actually, this is the first time I hear about this... sound muting when gear in reverse? What does going in reverse having to do with sound?[/QUOTE]
@robertut
My car is equipped with reverse sensor buzzer. It is better radio sound mute abit when reverse in case you hit something. You wont know it if your radio sound is loud.
---------- Post added at 11:19 AM ---------- Previous post was at 11:08 AM ----------
Never thought about this feature as about something regulated by laws. This may be useful, for example, to make the parking sensors audible (if installed). But I personally don't have those, so I never enabled this feature. Maybe people also want to hear pedestrians' screams once they hit 'em, not really sure
Anyways, I don't consider this feature a highly critical one - one can press mute before going backward, so that it is just a matter of comfort, nothing more.
I will implement it though, just because I am a perfectionist. Just need to fight my laziness [/QUOTE]
@7floor,
Thanks for your understanding. maybe I need to install a switch so that I can switch between your mod & stock for the EQ setting so that no need to do soldering again as it is not easy to solder back the 1K SMD resistor. I might spoil the resistor if do solder so frequently.
Since the kernel sources are available I am guessing it might be possible eventually? Someone mentioned in a post that remote IR blasters just work at higher frequencies, so if the hw on Poco supports then.. yes??
Can I use the fingerprint sensor of phone to unlock my home lock?
Daruwalla said:
Can I use the fingerprint sensor of phone to unlock my home lock?
Click to expand...
Click to collapse
Damn! ???
Daruwalla said:
Can I use the fingerprint sensor of phone to unlock my home lock?
Click to expand...
Click to collapse
less do itt! xD
its front notch has an IR camera, IR emitter, normal camera, earpiece and proximity sensor. the IR emitter could (very likely in theory) be used like an IR blaster. Has anyone tried installing Mi Remote on their Poco F1?
the review page (6) on gsmarena says it has an "IR blaster" but that's probably a typo : (cant post links because this is my first post on XDA altough i've been lurking here for a few years without reg)
ot: please tell me if call forwarding works for anyone natively on the google dialer app when you have lineageOS
FID00 said:
its front notch has an IR camera, IR emitter, normal camera, earpiece and proximity sensor. the IR emitter could (very likely in theory) be used like an IR blaster. Has anyone tried installing Mi Remote on their Poco F1?
the review page (6) on gsmarena says it has an "IR blaster" but that's probably a typo : (cant post links because this is my first post on XDA altough i've been lurking here for a few years without reg)
ot: please tell me if call forwarding works for anyone natively on the google dialer app when you have lineageOS
Click to expand...
Click to collapse
I did try installing the latest Mi Remote from playstore having the same doubt/hope.
Unfortunately, it says that the installed device does not support MI remote due to lack of IR blaster. Alternatively, it says you can use the remote via a common Wi-fi network. So I guess it doesn't work.
lishoym said:
I did try installing the latest Mi Remote from playstore having the same doubt/hope.
Unfortunately, it says that the installed device does not support MI remote due to lack of IR blaster. Alternatively, it says you can use the remote via a common Wi-fi network. So I guess it doesn't work.
Click to expand...
Click to collapse
There must be a way to force it to use the IR blaster, just as you could reroute it to the screen, it just needs something to output 1s and 0s, on and off
Yes you can !!
Daruwalla said:
Can I use the fingerprint sensor of phone to unlock my home lock?
Click to expand...
Click to collapse
Either you need a Node MCU or an arduino with a Bluetooth module. So it can act as a gateway between your phone and locking system, thereby you can easily communicate with your HOME LOCK (only for digital locks :silly: )
---------- Post added at 09:31 AM ---------- Previous post was at 09:15 AM ----------
when i installed Mi remote from playstore i got an error message saying "your phone can't control IR Devices ,You can control Your Mi Tv /Mi box using WiFi !!"
Have a look at this thread
vvnithin said:
Either you need a Node MCU or an arduino with a Bluetooth module. So it can act as a gateway between your phone and locking system, thereby you can easily communicate with your HOME LOCK (only for digital locks :silly: )
---------- Post added at 09:31 AM ---------- Previous post was at 09:15 AM ----------
when i installed Mi remote from playstore i got an error message saying "your phone can't control IR Devices ,You can control Your Mi Tv /Mi box using WiFi !!"
Click to expand...
Click to collapse
You can use a solenoid or actuator for an extra locking bolt , controlled by a cheap WIFI on/off switch
It has ir camera nit the emitter. Every living thing in this world emmits IR waves which it captures. Hope everyone understands.
SamyakJ said:
It has ir camera nit the emitter. Every living thing in this world emits IR waves which it captures. Hope everyone understands.
Click to expand...
Click to collapse
I get it, but no. Look up a couple Pocophone reviews on Youtube, some of them spend some time on the IR unlock. If they have video of it working in the dark you'll see a light red flash across the person's face. There is also an IR emitter in the phone. Of course, it would be awkward to point things with the way it's placed but it beats having to buy and bring with you everywhere a dongle with emitter.
PocoSteve said:
I get it, but no. Look up a couple Pocophone reviews on Youtube, some of them spend some time on the IR unlock. If they have video of it working in the dark you'll see a light red flash across the person's face. There is also an IR emitter in the phone. Of course, it would be awkward to point things with the way it's placed but it beats having to buy and bring with you everywhere a dongle with emitter.
Click to expand...
Click to collapse
That's IR wave l. Beacuase we dont emmit is uniformly. Some place have high intensity and some have low intensity
Actually it's not possible since, the frequencies are not the same, the ir receiver in your tv should not be able to see those that are emitted by your phone. There's a lot of infrared wavebands and the ir emitter doesn't emit on the right one, and you can't change it unless you change the emitter.
SamyakJ said:
That's IR wave l. Beacuase we dont emmit is uniformly. Some place have high intensity and some have low intensity
Click to expand...
Click to collapse
I mean you see the line shine from the phone over the person's face like a scan.
But here is a screenshot of the keynote :
(I think I attached it correctly, not sure)
EDIT: and you see "infrared lighting" well that's the emitter.
Blendman974 said:
Actually it's not possible since, the frequencies are not the same, the ir receiver in your tv should not be able to see those that are emitted by your phone. There's a lot of infrared wavebands and the ir emitter doesn't emit on the right one, and you can't change it unless you change the emitter.
Click to expand...
Click to collapse
Hum... Where did you get this info ?
Btw : té koifé 974 ?! J'aurais jamais cru voir un gars la Possession sur XDA devs...
PocoSteve said:
Hum... Where did you get this info ?
Btw : té koifé 974 ?! J'aurais jamais cru voir un gars la Possession sur XDA devs...
Click to expand...
Click to collapse
Actually I'm wrong since the light emited by the blaster is visible to IR detectors (just tested with my Honor 7 ir blaster/receiver) ... So it may be possible, imagining that we could control with enough precision the IR led. May be a good idea to ask to a kernel maker if it could be possible.
OffTopic : Mdr pas courant d'avoir des reunionnais sur xda c vrai xD
Interesting idea
I'd make an app if I knew how to...
nC3rtaintiy said:
Since the kernel sources are available I am guessing it might be possible eventually? Someone mentioned in a post that remote IR blasters just work at higher frequencies, so if the hw on Poco supports then.. yes??
Click to expand...
Click to collapse
Atleast the people are taking the idea seriously now, with enough activity maybe it will catch someones devs eyes and he would push the matter.
Forgot this whole issue, i'l be on watch and post bavk here if I find anything.
I am very skeptical that this is possible. I don't think that the main problem would be a possible slight wavelength mismatch but the needed led modulation frequency. You see, the IR code is not simply encoded by a different pattern of long and short IR pulses but that pattern is superimposed on a high carrier frequency. When the led is 'ON' it's really pulsing on and off usually 38,000 times a second. This is something that's easy to do in hardware but difficult to do in software, specially if you are not running a real-time-OS (don't think that this linux kernel is).
It would be much easier to build a separate wifi->IR gateway.