LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2005, 12:50 AM   #1
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
kernel 2.6.10 modprobe fails with smsc-ircc and nsc-ircc


Hi, recently I configured my own kernel - 2.6.10 to run my toshiba laptop.

Specifically I want to get the infrared going. Chip is a SMC IRCC.

Tried modprobe
modprobe smsc-ircc2
FATAL: Error inserting smsc_ircc2 (/lib/modules/2.6.10/kernel/drivers/net/irda/smsc-ircc2.ko): No such device

Tried giving the path to the module.
modprobe -l -t /lib/modules/2.6.10/kernel/drivers/net/irda -a smsc-ircc2

no errors but module does not show up in lsmod

Next I tried inserting the nsc-ircc module to see what would happen.

no errors, but not listed in lsmod. Neither does it not show up in /lib/modules/2.6.10/kernel/drivers/net/irda/

Everything else in relation to the kernel works. Can anyone shine some light on this problem.
 
Old 10-10-2005, 06:32 PM   #2
igorc
Member
 
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
Having the same problem

Hi chesh,

I'm having the same problem with nsc-ircc and smsc-ircc2 modules on 2.6.11.9 kernel. Any other irda module is loading cleanly with modprobe command except this two. I didn't notice any replays on your thread so I was wondering did you come to any solution by your own? I will appreciate any help about this frustrating issue.
 
Old 10-10-2005, 07:51 PM   #3
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Hi,

I installed scminit-0.4.1
Added these lines to /etc/modules.conf (From a Gentoo howto. It works I think) When I have more time I will hunt the site down as I did not bookmark it.

Hope this is helpful.

alias irda0 smsc-ircc2
install smsc-ircc2 /usr/local/sbin/smcinit && /sbin/modprobe --ignore-install smsc-ircc2
options smsc-ircc2 ircc_cfg=0x7a ircc_dma=3 ircc_fir=0x130 ircc_irq=3 ircc_sir=0x3f8

Then Command line;

# smcinit -v
smcinit 0.4

Default-Values for Satellite 5200:
SIR ioport: 0x3f8
FIR ioport: 0x130
FIR interupt: 3
FIR DMA: 3

Detected IO hub vendor id: 0x8086
Detected IO hub device id: 0x24cc
Detected Chip id: 0x7a

SIR ioport register write: 0xfe read: 0xfe
FIR interrupt register write: 0x3 read: 0x3
FIR ioport register write: 0x26 read: 0x26
FIR dma register write: 0x3 read: 0x3

Initialisation of the SMC 47Nxxx succeded

#modprobe irda
and the other irda modules that you require

This is as far as I have got.
Unable to get a connection with other devices.
If you have any ideas please let me know.

Regards,

Chesh.
 
Old 10-10-2005, 11:16 PM   #4
igorc
Member
 
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
Re:

Hi,

As I can see you have irda device that can work in SIR mode also. I'm not so lucky mine is FIR only. I think you should try to solve the problem with irattach utility. It provides limited speed of 115Kbps instead of 4Mbps but it's better then nothing. First set the device to work in SIR mode in BIOS and check it's COM port (mine is COM3 => /dev/ttyS2 in linux). Than type this command as root after rebooting:

# irattach /dev/ttyS2 -s

to start the disvovery mode and than test it to see if it is working.

Also check that you have the right settings for irda serial port:

# setserial /dev/ttyS2

to check the IRQ and the address.

If everything is ok, start irdadump:

# irdadump

and try the port with some phone irda or TV remote. If you have some printout from irdadump than you have irda port working. The next step is to connect the /dev/ircomm0 device with something like this (this is to be able to connect with your phone):

# irattach /dev/ircomm0 -s

or something, sorry I'm at work now and I can't remember the correct command but I can post you some instructions tomorrow if you like. I hope this will help if you didn't try it yet :-)). If you did, sorry for misunderstanding.
 
Old 10-25-2005, 01:03 AM   #5
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Hi,

This has been my first opportunity to have a look at this.

Tried out your suggestions but no luck as far as I can see.

Will keep working on it and let you know.

Regards,

Chesh.
 
Old 10-25-2005, 11:51 PM   #6
igorc
Member
 
Registered: May 2005
Location: Sydney, Australia
Distribution: Ubuntu 5.04, Debian 3.1
Posts: 74

Rep: Reputation: 15
RE

Hi,

Try some of these links:

http://tuxmobil.org/howto_linux_infrared.html
http://tldp.org/HOWTO/Infrared-HOWTO/
http://www.die.net/doc/linux/man/man8/irattach.8.html

maybe you will find help here.

BR
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nsc-ircc igorc Debian 0 10-10-2005 06:23 PM
linux kernel 2.6.7 and smsc-ircc2 kilkenny Linux - Laptop and Netbook 0 07-02-2004 01:22 AM
enable swsusp and via-ircc fransemail Linux - Software 0 06-11-2004 05:11 PM
modprobe fails after new compiled kernel! maxut Red Hat 1 03-03-2004 07:29 AM
modprobe usb fails aclassic Linux - Hardware 3 06-11-2003 10:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration