Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I too am attempting to get an IR connection from linux to phone/pda. Let's compare notes; I've made some progress but no connection yet.
The hardware: old Sony F-150 laptop to Nokia 3650 phone. The linux install: Mandrake 9.0 distro install, followed by kernel and other minor updates.
Stage 1 would seem to be: what is the IR controller and its configuration? I downloaded the irdautils package, and it (mostly) built without incident. findchip says:
# /usr/sbin/findchip -v
Found SMC FDC37N958FR Controller at 0x370, DevID=0x01, Rev. 1
SIR Base 0x3e8, FIR Base 0x140
IRQ = 10, DMA = 1
Enabled: yes, Suspended: no
UART compatible: yes
Half duplex delay = 3 us
Now there's a kenel module named smc-ircc, but when I try to load it:
# modprobe smc-ircc
/lib/modules/2.4.22/kernel/drivers/net/irda/smc-ircc.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.22/kernel/drivers/net/irda/smc-ircc.o failed
modprobe: insmod smc-ircc failed
Finally, I note that the hardware auto-detect during my Mandrake install wrote the following:
# cat /etc/sysconfig/irda
IRDA=yes
DEVICE=/dev/ttyS2
#DONGLE=actisys+
DISCOVERY=yes
... bit it didn't call for the loading of any IR modules at boot time.
So here's my current questions and thinking:
1) I'm presuming that I need a hardware-specific driver module as well as the irda module loaded? Do some more searching to verify this. I've read the IR-HOWTO, it's not too helpful with "big picture" questions like this.
2) Go read the code for the smc-ircc module; find out where it gets its configuration information.
3) Are there intermediate points of success I can try for? What are they?
Finally, where are you in this process? What have you tried? What works and what doesn't?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.