Bug 148750 - IrDA service will not start
IrDA service will not start
Product: Fedora
Classification: Fedora
Component: irda-utils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Depends On:
  Show dependency treegraph
Reported: 2005-02-15 02:50 EST by Kolar, Petr
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-15 04:37:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kolar, Petr 2005-02-15 02:50:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Running command

service irda start

displays `OK' message, but IrDA does not work - command

service irda status

displays `irattach is stopped' and the following messages appear
in /var/log/messages:

Feb 15 07:52:37 bat irattach: irattach: tty: set_disc(11): Bad file
Feb 15 07:52:37 bat irattach: Stopping device /dev/ttyS1
Feb 15 07:52:37 bat irattach: ioctl(SIOCGIFFLAGS): No such device
Feb 15 07:52:37 bat irattach: exiting ... 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run command: service irda start
(`OK' message is displayed)
2. Run command: service irda status

Actual Results:  `irattach is stopped' messages is displayed

Expected Results:  Message `irattach (pid XXX) is running...' and IrDA
should work.

Additional info:

Proposed fix: It seems that /etc/rc.d/init.d/irda should contain

/sbin/modprobe irtty_sir 2>/dev/null

line - in addition to (or instead of?) the line

/sbin/modprobe ircomm-tty 2>/dev/null

If I run

modprobe irtty_sir
irattach /dev/ttyS1 -s


Feb 15 08:32:24 bat irattach: executing: 'echo bat >
Feb 15 08:32:24 bat irattach: executing: 'echo 1 >
Feb 15 08:32:24 bat irattach: Starting device irda0

will appear in /var/log/messages and IrDA begin to work.

Contents of my /etc/sysconfig/irda:
Contents of my /etc/modprobe.conf:
alias eth0 3c59x
#alias eth1 orinoco_cs
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0  
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
lsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/mo
dprobe -r --ignore-remove snd-intel8x0
alias usb-controller uhci-hcd
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
alias irda0 irport

After loading irtty_sir (which in turn loads sir_dev) commands
service irda {stop,start,status} work as expected.

Note You need to log in before you can comment on or make changes to this bug.