Hi nepomoku!
Thanks for reply...
I'm sure that /dev/ttyS1 is the correct device...
I checked the address and IRQ in the BIOS and is the exactly the same of the result from setserial /dev/ttyS1 and from dmesg ¦ grep tty
You've tried to make a simple cat to your ir device? It works?
User Profile
Collapse
-
Thanks...
I just cloned this post to the linux forum...
Sorry for the OTLeave a comment:
-
Problem accessing IR port - Ubuntu 8.10
Hi,
I'm currently trying to develop a IR Remote (TV consumer) listener in C under Linux.
First of all I tried with an old notebook with an integrated IR peripheral (FIR)under Debian (kernel 2.6). All seems to work fine, I can also access directly with
#cat /dev/ttyS1
And my listener (written in C) work pretty fine.
Problems came up with a newer notebook with Ubuntu 8.10.
I set FIR... -
Serial Programming - Accessing IR device - Device input/output error
Hi,
I'm currently trying to develop a IR Remote (TV consumer) listener in C under Linux.
First of all I tried with an old notebook with an integrated IR peripheral (FIR)under Debian (kernel 2.6). All seems to work fine, I can also access directly with
#cat /dev/ttyS1
And my listener (written in C) work pretty fine.
Problems came up with a newer notebook with Ubuntu 8.10.
I set FIR... -
Hi, Thanks for reply,
As I said, I already capture the result of waveInOpen (with WAVE_FORMAT_QUE RY flag) and with 9 Mhz this return NO ERROR. (MMSYSERR_NOERR OR)
If I change for example the deep to 32 bits this raise me an error, or if I set 10 channels is also returning a BADFORMAT error...
It seems to be only the samplingrate that doesnt work as it should!Leave a comment:
-
waveInOpen - All sampling rates are supported?
Hi Everybody,
I'm trying to play a little with waveIn functions... My goal is to calculate if I'm listening a specified sin frequency or not.
For this reason I'm going down with the samplerate... How can I be sure of the sampling rate set on my device?
If I declare waveFormat.nSam plesPerSec = 9441000; waveInOpen return NO error.. (same if I put 500 Hz) But I'm not really sure that's working (9 MHz!!)...
...
No activity results to display
Show More
Leave a comment: