Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IrDA] No /dev/irda0 is created after modprobe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Mon Jun 27, 2005 12:55 am    Post subject: [IrDA] No /dev/irda0 is created after modprobe Reply with quote

dmesg outputs the following after modprobing the nsc-ircc module...

Code:
nsc-ircc, Found chip at base=0x398
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500


My /etc/modules.d/nsc-ircc looks like this...

Code:
meriloon ~ # cat /etc/modules.d/nsc-ircc
#pre-install nsc-ircc setserial /dev/ttyS2 port 0 irq 0
alias irda0 nsc-ircc
options nsc-ircc io=0x3e8 irq=10 dma=0 dongle_id=0x09
alias tty-ldisc-11 irtty
pre-install ircomm-tty irattach irda0
alias char-major-161 ircomm-tty


I've taken this from a few webpages I found that configured the IrDA on a similar Sony Vaio laptop. I've commented out the first line, since I don't use the serial port on my laptop.

I am confused as to why no /dev/irda0 would be created despite dmesg obviously reporting that such a device has been registered... any ideas?
Back to top
View user's profile Send private message
nonotme
Guru
Guru


Joined: 29 Sep 2003
Posts: 356
Location: on.ca

PostPosted: Mon Jun 27, 2005 8:23 pm    Post subject: Reply with quote

it's been a while since i messed with irda on my thinkpad. i believe you need to emerge irda-utils. my setup consists of
Code:
alias char-major-161 ircomm-tty         # if you want IrCOMM support

options nsc-ircc dongle_id=0x09         # NSC driver on a IBM Thinkpad laptop
alias irda0 nsc-ircc
in /etc/modules.d/irda, and i start it up with
Code:
/bin/setserial /dev/ttyS1 uart none     # disable a serial port first
/usr/sbin/irattach irda0 -s             #irattach is found in irda-utils
in /etc/conf.d/local.start. i think thats all, but i'm mostly going from memory. if you still have a problem i'll look a little deeper.
_________________
Please append [Solved] to your thread if appropriate, it helps everyone.
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Tue Jun 28, 2005 5:58 pm    Post subject: Reply with quote

I already have irda-utils installed. I think this problem is mainly related to the fact that no device file is created. i mean. irattach irda0 -s returns no errors; however, no /dev/irda0 is created...

I can't even modprobe the nsc-ircc modules if I have serial support in my kernel. So far, the only way for me to successfully have the nsc-ircc module loaded is to disable serial support in my kernel, which in turn won't allow me to set serial. Either way, I end up with no irda0 device to use with either irda-utils or lirc.
Back to top
View user's profile Send private message
jeremydc
n00b
n00b


Joined: 20 Jul 2003
Posts: 16

PostPosted: Sun Feb 05, 2006 7:49 pm    Post subject: don't know if you got it working yet... Reply with quote

Know its been a while but if your still trying to get irda to work maybe this will help. My uderstanding from tying to irda to work on my thinkpad is irda0 is a network device, so it shouldn't be in /dev ever. Instead look for new network device called irda0. Try
Code:
ifconfig idra0

[/list]
Back to top
View user's profile Send private message
dalcorta
n00b
n00b


Joined: 01 Nov 2003
Posts: 36

PostPosted: Fri Apr 28, 2006 12:25 am    Post subject: Installing irda with serial in thinkpad Reply with quote

to have both serialand irda support, make sure both are modules and serial_core is loaded after nsc-ircc. Later use ifconfig irda0 to bring it up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum