ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here is the part of the ltmodem.c file causing the problem (lines 123, 125, 130 shown below):
PHP Code:
static int vendor_id = 0; static int device_id = 0;
MODULE_PARM(vendor_id, "i"); # This is line 123 MODULE_PARM_DESC(vendor_id, "Vendor ID of the Lucent Modem e.g. vendor_id=0x11c1"); MODULE_PARM(device_id, "i"); # This line 125 MODULE_PARM_DESC(device_id, "Device ID of the Lucent Modem e.g. device_id=0x0440");
static int Forced[4] = {-1,-1,-1,0};
MODULE_PARM(Forced, "4i"); # This is line 130 MODULE_PARM_DESC(Forced, "Forced Irq,BaseAddress,ComAddress[,NoDetect] of the Lucent Modem e.g. Forced=3,0x130,0x2f8");
Here is the include part of the file:
PHP Code:
#include <linux/version.h>
#include <linux/module.h> #include <linux/init.h>
#include <linux/sched.h> // in order to get jiffies #include <linux/param.h> // in order to get HZ #include <linux/pci.h> // pci functions #include <linux/time.h> #include <asm/io.h> #include "linuxif.h"
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Instead of starting a new thread, you could have stayed with the existing one for allowing the readers to get a better understanding of the problem.
And please use meaningful thread subjects, "please help" doesn't help.
Instead of starting a new thread, you could have stayed with the existing one for allowing the readers to get a better understanding of the problem.
And please use meaningful thread subjects, "please help" doesn't help.
Thanks for replay any way.
I started this thread because a member suggested the following in the other thread:
"This is one of those problems you really need a developer to figure out since their the ones that seem to have caused it."
So, I thouhgt that this is the forum where all developers meet. They will not have any idea about my other post if I do not post here. To keep the story short, I just mentioned the problematic areas only here. I wish some one will help other than you as usual.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Okay, I missed the fact the previous posting was in another forum.
That said, to have a better chance to get help, I would still advice you to first use a meaningful title, not everyone read all threads so the risk is someone knowing the answer to your problem just miss your post, and second, to provide enough information in the new thread to explain what the problem is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.