ircp-tray shows "Service IrDA not started!" on startup but I can successfully transfer files

Bug #486388 reported by magowiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ircp Tray
Confirmed
Low
Unassigned

Bug Description

On mine system, Gentoo GNU/Linux, Ircp-Tray works flawlessy (I can transfer files from the pc to a cellphone and from a cellphone to the pc) but the annoying warning "Service IrDA not started!" gets prompted each time I login into gnome.

$ircp-tray
Waiting for incoming connection
Start polling of devices in range, interval 3 s
name: Sony Ericss, hint0 91, hint1 24
Incoming connection
** File Name: aug
** File Length: 468 bytes
Done
Disconnecting
Receiving /home/magowiz/aug successfully
Waiting for incoming connection
Inizializing to beam file /home/magowiz/cell-emi
Connecting...
Done
Sending /home/magowiz/cell-emi...
Disconnecting...
Done
Received cell-emi successfully

#dmesg
rda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irda_poll(), POLLHUP
irlap_change_speed(), setting speed to 115200
smsc_ircc_change_speed() changing speed to: 115200
smsc_ircc_set_sir_speed(), Setting speed to: 115200
irlap_change_speed(), setting speed to 9600
smsc_ircc_change_speed() changing speed to: 9600
smsc_ircc_set_sir_speed(), Setting speed to: 9600
irlap_change_speed(), setting speed to 115200
smsc_ircc_change_speed() changing speed to: 115200
smsc_ircc_set_sir_speed(), Setting speed to: 115200
irlmp_state_dtr(), Unknown event LM_LAP_CONNECT_CONFIRM on LSAP 0x19
IrLAP, no activity on link!
IrLAP, no activity on link!
IrLAP, no activity on link!
IrLAP, no activity on link!
irlap_change_speed(), setting speed to 9600
smsc_ircc_change_speed() changing speed to: 9600
smsc_ircc_set_sir_speed(), Setting speed to: 9600

cat /etc/default/irda-utils
cat: /etc/default/irda-utils: No such file or directory

grep -vE '(^[[:space:]]*($|(#|!|;|//)))' /etc/modprobe.d/irda
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty # Official allocation of IrCOMM
alias irlan0 irlan
alias char-major-10-187 irnet # Official allocation of IrNET
alias irda-dongle-0 tekram # Tekram IrMate IR-210B
alias irda-dongle-1 esi # ESI JetEye
alias irda-dongle-2 actisys # Actisys IR-220L
alias irda-dongle-3 actisys # Actisys IR-220L+
alias irda-dongle-4 girbil # Greenwich GIrBIL
alias irda-dongle-5 litelink # Parallax LiteLink (+ modern ESI)
alias irda-dongle-6 airport # Adaptec Airport 1000 and 2000
alias irda-dongle-7 old_belkin # Old Belkin (9600 baud only)
alias irda-dongle-8 ep7211 # ???
alias irda-dongle-9 mcp2120 # Crystal compatible chipset
alias irda0 smsc-ircc2
options smsc-ircc2 ircc-dma=1 ircc-irq=3 ircc-sir=0x2f8 ircc-fir=0x6f8

lsmod (only relevant modules)
Module Size Used by
[...]
irtty_sir 6016 0
sir_dev 12960 1 irtty_sir
ircomm_tty 29220 0
ircomm 16824 1 ircomm_tty
smsc_ircc2 17712 0

uname -a
Linux travelmate 2.6.30-gentoo-r8 #4 SMP Fri Nov 13 08:12:54 CET 2009 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

Revision history for this message
magowiz (magowiz) wrote :

I forgot to say that I'm using ircp-tray-0.7.4 , last stable version

Revision history for this message
Daniele Napolitano (dnax88) wrote :

Ircp Tra check the presence of /var/run/irattach.pid for detect if irattach is running. Perhaps the package irda-utils shipped by Gentoo does not create that file or is elsewhere.

You run irattach manually or through the init script?

Changed in ircp-tray:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
magowiz (magowiz) wrote :

I run irattach through the /etc/init.d/irda init script and it starts fine (without errors), irattach is running ( I checked with ps) but /var/run/irattach.pid cannot be located on mine filesystem.

Revision history for this message
magowiz (magowiz) wrote :

I modified the irda initscript as reported here http://bugs.gentoo.org/show_bug.cgi?id=294757 to create /var/run/irattach.pid on start and remove it on stop, now the warning isn't shown anymore.

Revision history for this message
Daniele Napolitano (dnax88) wrote :

So, can I close this bug? Otherwise is better that Ircp Tray check the irattach process instead pid file?

Revision history for this message
Michal P (mppoka) wrote :

Hi,
I don't use irattach and irratach.pid doesn't exist ("ifconfig irda0 up" makes my usb dongle working). Maybe isn't necessary to check if irattach is running.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.