Bug 148750 - IrDA service will not start
Summary: IrDA service will not start
Alias: None
Product: Fedora
Classification: Fedora
Component: irda-utils   
(Show other bugs)
Version: 3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-02-15 07:50 UTC by Kolar, Petr
Modified: 2007-11-30 22:11 UTC (History)
0 users

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

Attachments (Terms of Use)

Description Kolar, Petr 2005-02-15 07:50:31 UTC
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.