Operating System - Linux
1748061 Members
5582 Online
108758 Solutions
New Discussion юеВ

Re: IrDa on Compaq Evo N610c laptop and Linux

 
SOLVED
Go to solution
Hoefnix
Honored Contributor

IrDa on Compaq Evo N610c laptop and Linux

Hi,

Im trying to get my infrared port running to connect to my Siemens S55 mobilephone.
I have a Compaq Evo N610c running SuSE 9.0 linux distro.
I tested the Hardware configuration running with a Windowz imaroot 2447 1 0 09:07 ? 00:00:00 /usr/sbin/irattach smc-ircc ircc_irq=3 ircc_dma=1 -s
ge and then the IrDA connection works OK.
Booting to Linux (different harddisk) I can not get it to work.

I figured out the Laptop is using a SMC IR chipset. I installed the IrDA-utils and configured the /etc/sysconfig/irda file to connect to: IRDA_PORT="smc-ircc ircc_irq=3 ircc_dma=1"
Then starting the irattach with /etc/init.d/irda start, start the interface. dmesg gives the next result:
found SMC SuperIO Chip (devid=0x0e rev=01 base=0x002e): LPC47N252
SMC IrDA Controller found
IrCC version 2.0, firport 0x100, sirport 0x3e8 dma=1, irq=3
IrDA: Registered device irda0

lsmod | grep smc gives next result:
smc-ircc 6726 0 (unused)
irport 4632 0 [smc-ircc]
irda 84252 1 [smc-ircc irport]

Also running /etc/init.d/irda status gives:
Checking for service IrDA: running

ps -ef | grep irattach
root 2447 1 0 09:07 ? 00:00:00 /usr/sbin/irattach smc-ircc ircc_irq=3 ircc_dma=1 -s



So all seems to be correct, but when running irdadump with my mobilephone(irda enabled) in range, no output is generated.

Does anyone have an idea or got it to work on this type of laptop running a 2.4 kernel?

Thanks in advance,
Peter
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: IrDa on Compaq Evo N610c laptop and Linux

I had a friend with that model laptop and a similar hardware problem.

He started out with Suse, that didn't work. Then he went with Fedora Core 1 and had the same basic issue.

Then he tried fedora Core 2 beta for the 2.6 kernel and blew up even worse.

I think the only hope for Linux laptops and that hardware is a stable 2.6 kernel. Thats were I'd work towards if I were you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
G. Vrijhoeven
Honored Contributor
Solution

Re: IrDa on Compaq Evo N610c laptop and Linux

Hi Peter,

You could ask a colleague to fix it?

http://www.zippysoft.com/linux/evo_n610c/

http://www.moosherr.de/linux/~mooz/evo_install.html



Regards,

Gideon :)



Hoefnix
Honored Contributor

Re: IrDa on Compaq Evo N610c laptop and Linux

Hi,
I got it fixed by some hints of Gideon and another colleague (thanks Mark).
This is the way how to fix it:
entry in /etc/modules.conf
########################################################################
# IrDA
########################################################################

alias char-major-161 ircomm-tty
pre-install smc-ircc /bin/setserial "/dev/ttyS2" "uart" "none"
options smc-ircc ircc_irq=3 ircc_dma=1 ircc_io=0x3e8
alias irda0 smc-ircc

Then I had to edit the file /etc/sysconfig/irda:
IRDA_PORT="irda0"

Then I started iratach /etc/init.d/irda start.
Then did a irdadump and it worked (see output)
# irdadump
09:40:55.891942 xid:cmd f9cfc616 > ffffffff S=6 s=0 (14)
09:40:55.981937 xid:cmd f9cfc616 > ffffffff S=6 s=1 (14)
09:40:56.061931 xid:rsp f9cfc616 < 0000003e S=6 s=1 SIEMENS S55 hint=b124 [ PnP Modem Fax IrCOMM IrOBEX ] (28)

SEP you can tell you friend how to fix it using kernel 2.4.x

Thanks and regards,
Peter

Jason Mazzotta
New Member

Re: IrDa on Compaq Evo N610c laptop and Linux

Hi,
I'm interested in getting the IrDA port on my HP NC8000 laptop working. I was wondering how you figured out which IRQ and DMA values to use for the IR chipset?


Thanks,

Jason Mazzotta
Hoefnix
Honored Contributor

Re: IrDa on Compaq Evo N610c laptop and Linux

Jason,

Sorry for the late response, I was on Holiday.

Now I have to think back how I did it.

The Interupt (IRQ) is related with that you use it as a serial device and uses the interupt of the second com-port.

The DMA channel, I am not sure but I think it was in the dmesg after I booted up my system.

Also as I tell in the first post I booted first with a Windowz harddisk to see if it was working and then I could also have check this information.

HTH, please post your results,

Peter Geluk