Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IrDA] problems with nsc-ircc *solved*
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: Sun Jun 26, 2005 1:19 am    Post subject: [IrDA] problems with nsc-ircc *solved* Reply with quote

I've researched what IrDA chipset is in my laptop, though despite enabling support for it inside my kernel (2.6.11-gentoo-r11), modprobing nsc-ircc returns the following error.

Code:
meriloon linux # modprobe nsc-ircc
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.11-gentoo-r11/kernel/drivers/net/irda/nsc-ircc.ko): No such device
FATAL: Error running install command for nsc_ircc


Though, interestingly enough, dmesg reports the following...

Code:
nsc-ircc, Found chip at base=0x398
nsc-ircc, driver loaded (Dag Brattli)
nsc_ircc_open(), can't get iobase of 0x3e8


Here's a look at my /etc/modules.d/nsc-ircc

Code:
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


So, what could be the problem?


Last edited by catzooka on Mon Jun 27, 2005 12:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Sun Jun 26, 2005 2:19 pm    Post subject: Reply with quote

same error here 8O
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Sun Jun 26, 2005 2:34 pm    Post subject: Reply with quote

tke a look here http://luca.pca.it/projects/asus/m3410c/#irda
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Sun Jun 26, 2005 9:50 pm    Post subject: Reply with quote

Josuke wrote:
tke a look here http://luca.pca.it/projects/asus/m3410c/#irda


Thanks for the link, but sadly that doesn't fix my problem. I've even tried merging what I had before with whats contained within the how-to, but no go :?
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Sun Jun 26, 2005 10:38 pm    Post subject: Reply with quote

i only create this file /etc/modules.d/irda

Code:
# IrCOMM module
     alias char-major-161 ircomm-tty
     alias char-major-60 ircomm_tty
     # DevFS autoload for IrCOMM
     alias /dev/ircomm0 ircomm-tty
     alias /dev/ircomm1 ircomm-tty
     # IrLAN, but currently the IrLAN protocol is no longer maintained by the Linux/IrDA core team
     alias irlan0 irlan
     # To use the FIR driver. This applies only to the specific device!!!
     alias irda0 nsc-ircc
     install nsc-ircc /bin/setserial /dev/ttyS1 uart none; /sbin/modprobe --ignore-install nsc-ircc; echo 1 > /proc/sys/net/irda/discovery; ifconfig irda0 up
     remove nsc-ircc /sbin/modprobe -r --ignore-remove nsc-ircc; /sbin/modprobe -r ircomm_tty ircomm irda
     # IrNET module
     alias char-major-10-187 irnet


save and exit
update-modules

and now i can modprobe de nsc-ircc module

now with ifconfig i can see irda0[/code]
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Mon Jun 27, 2005 12:32 am    Post subject: Reply with quote

Well, I read through the how-to some more, and came across that the problem is caused by the loaded serial driver. Considering I'm not in need of a serial port on my lappy, since I use either USB or ieee1394 (firewire), I took support for it out of my kernel. Now the nsc-ircc driver loads fine, howerver, when I start /etc/init.d/irda start and /etc/init.d/lircd start, I neither have a /dev/irda0 nor a /dev/lirc0...
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Mon Jun 27, 2005 12:56 am    Post subject: Reply with quote

Marked this thead as solved, and started a new one for my new problem...

https://forums.gentoo.org/viewtopic-t-353523.html
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