You are not logged in.

#1 2011-03-25 15:37:35

Muffon
Member
Registered: 2011-03-22
Posts: 12

IR port not working

Hi, this is my problem. I tried find anything usefull but no good results.

dmesg:

nsc-ircc 00:0a: [io  0x02f8-0x02ff]
nsc-ircc 00:0a: [irq 3]
nsc-ircc 00:0a: [dma 3]
nsc-ircc 00:0a: activated
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Found dongle: Supports SIR Mode only
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x2f8

ifconfig -a

irda0     Link encap:IrLAP  HWaddr 00:00:00:00  
          NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I want to try play with irattach but I can't find a package irda-utils.
What should I do?

Offline

#2 2011-03-25 15:42:08

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: IR port not working

irda-utils appears to be in the AUR: http://aur.archlinux.org/packages.php?ID=25648  Check the Arch Wiki if you're unfamiliar with AUR.  Not sure about your problem though..

Offline

#3 2011-03-25 17:03:59

Muffon
Member
Registered: 2011-03-22
Posts: 12

Re: IR port not working

Installed, thank you.
I'd like to use this port with lirc but as you see, device is not in valid state - driver is not loaded properly.

I tried to get it working with this tutorial https://wiki.archlinux.org/index.php/LI … _receivers

My problem is that my device is not connected at all

 dmesg | grep ttyS

returns nothing

Offline

#4 2011-03-25 17:14:57

Muffon
Member
Registered: 2011-03-22
Posts: 12

Re: IR port not working

sudo setserial /dev/ttyS0 -a                                                       
/dev/ttyS0, Line 0, UART: unknown, Port: 0x03f8, IRQ: 4
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test

What does it mean?

Offline

#5 2011-03-25 17:38:13

Muffon
Member
Registered: 2011-03-22
Posts: 12

Re: IR port not working

One more thing. I recompiled the module lirc_serial and when I load it
first release serial port:

setserial /dev/ttyS0 uart none

returns no error for any ttySx

then I try

modprobe  lirc_serial
FATAL: Error inserting lirc_serial (/lib/modules/2.6.37-ARCH/kernel/drivers/staging/lirc/lirc_serial.ko.gz): Device or resource busy

What am I missing?

Offline

#6 2011-03-26 01:53:17

Muffon
Member
Registered: 2011-03-22
Posts: 12

Re: IR port not working

after

irattach irda0 -s

i run

sudo irdadump
01:46:05.429426 xid:cmd 52580172 > ffffffff S=6 s=4 (14) 
01:46:05.529307 xid:cmd 52580172 > ffffffff S=6 s=5 (14) 
01:46:05.629306 xid:cmd 52580172 > ffffffff S=6 s=* muff hint=0400 [ Computer ] (20) 
01:46:08.035978 xid:cmd 52580172 > ffffffff S=6 s=0 (14) 
01:46:08.135973 xid:cmd 52580172 > ffffffff S=6 s=1 (14) 
01:46:08.235973 xid:cmd 52580172 > ffffffff S=6 s=2 (14) 
01:46:08.335973 xid:cmd 52580172 > ffffffff S=6 s=3 (14) 
01:46:08.435973 xid:cmd 5258017
..................................
..........................................

how can I get working lirc or something what reads ir input from ir remote control?

irw  returns zero output(lircd loaded wirh no error)

Offline

#7 2011-03-26 18:27:53

Muffon
Member
Registered: 2011-03-22
Posts: 12

Re: IR port not working

After few days of searching and trying I am giving up. Irda as net device works but I can't setup lirc properly. I tried everything possible and  as well "usb way" with MSI Digivox III mini with its remote control. The biggest problem is that in /dev/input/ or for example /dev/lirc0 is not any ir device registered.

Offline

Board footer

Powered by FluxBB