Re: USB-Modem, slusb and kernels later than 2.6.24
Jacques Goldberg <[email protected]>
| Newsgroups | gmane.linux.linmodem |
|---|---|
| Message-ID | <[email protected]> |
Bernd, Whoever the author of the script which you used, winmodusb, you should not use it. Instead of debugging your modem driver, this turns into debugging a script which does anything else than what the author intended it to do. The script as you sent it is full of mistake, such as quotes where back quotes are meant, slusb0 (a device) confused with slusb (a program), and more. I know it is tiring to type again and again a sequence of commands. Why would you not simply follow the instructions in the README file of the tarball which you used? I did it on an 32 bits laptop which unfortunately does not have the right Smartllink or compatible modem but a Conexant, and everything went smooth until slmodemd tried to start the wrong modem. By the way at least while debugging, running slmodemd in the background may become a cause of headache as the simple way to stop a session is by killing slmodemd with CTRL-C. My former remark about powering the modem is not in conflict with your previous usage of the modem with an other computer and/or another version of Linux. Simply, we have seen here more than a handful of users not understanding why the driver would not start, because they had forgotten to power up their external modem. The pseudodevice such as /dev/slusb0 will not exist if the modem is not connected and powered, because the system then does not know about its existence. I have made the mistake enough times myself to have thought of that as a possible cause of your troubles. Jacques On 05/20/2011 10:26 PM, Bernd Weber wrote: > Hi Antoni, hi Jacquea, > > thank you very much. I forgot that depmod thing. This was the best way > to come to the next errors. Please find attached what the syslogd said > and the shell-script I used to activate the modem. > > Besides: the modem was powered and is O.K. I know this, because I use it > on another machine with SuSe 10.2. > > Regards > > Bernd > > Jacques Goldberg schrieb: >> On 05/20/2011 04:56 PM, Antonio Olivares wrote: >> >>> Bernd, >>> >>> On Fri, May 20, 2011 at 7:13 AM, Bernd Weber<[email protected]> >>> wrote: >>>> Hi Antonio, >>>> >>>> thank you for the link. The slusb.ko is compiled now. But a "make >>>> install" only installs the slamr.ko into the >>>> /lib/modules/kernel/extra-directory. Even when I copy the module >>>> manually, modprobe doesen't find the module: >>>> modprobe slusb >>>> >>>> Do you have any ideas? >>> run >>>>>>>> of course with the modem connected and powered up, something >> which might have been skipped while fighting with the software... >>> # depmod -a >>> or >>> $ sudo depmod -a >>> then >>> $ sudo modprobe slusb >>> or >>> # modprobe slusb >>> >>> Regards, >>> >>> >>> Antonio >>>> Regards >>>> >>>> Bernd >>>> >>>> Antonio Olivares schrieb: >>>>> Bernd, >>>>> >>>>> Please check the following pages out: >>>>> >>>>> http://www.mail-archive.com/[email protected]/msg883918.html >>>>> >>>>> >>>>> http://www.mail-archive.com/[email protected]/msg883985.html >>>>> >>>>> >>>>> http://www.mail-archive.com/[email protected]/msg884183.html >>>>> >>>>> >>>>> Check them out and see if you can get it working on your system? >>>>> >>>>> Regards, >>>>> >>>>> Antonio >>>>> >>>>> On Thu, May 19, 2011 at 3:51 PM, Bernd Weber<[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Antonio, >>>>>> >>>>>> thanks a lot. This option carried me a step further - to the next >>>>>> error. >>>>>> Please find enclosed the compilation and the error-log as well. >>>>>> In the tar-ball enclosed are different patch-file. But there is no >>>>>> documentation to what file or files these shold be applied and in >>>>>> which >>>>>> cases. >>>>>> >>>>>> Regards >>>>>> >>>>>> Bernd >>>>>> >>>>>> Antonio Olivares schrieb: >>>>>> >>>>>>> Bernd, >>>>>>> >>>>>>> Try to use a special command make USB=1 >>>>>>> >>>>>>> $ sudo make USB=1 >>>>>>> or >>>>>>> $ make USB=1 >>>>>>> the slusb as well as the slamr driver will be compiled. Try that >>>>>>> and >>>>>>> report back. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Antonio >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, May 19, 2011 at 10:22 AM, Bernd >>>>>>> Weber<[email protected]> wrote: >>>>>>> >>>>>>> >>>>>>>> Jacques, >>>>>>>> >>>>>>>> I am using a 32-bits machine. >>>>>>>> >>>>>>>> the URL: >>>>>>>> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20110321.tar.gz >>>>>>>> >>>>>>>> >>>>>>>> My steps: >>>>>>>> >>>>>>>> tar xzvf slmodem-2.9.11-20110321.tar.gz >>>>>>>> >>>>>>>> make >>>>>>>> make install >>>>>>>> >>>>>>>> And then I learned that slusb.ko wasn't compiled. I couldn't >>>>>>>> find the >>>>>>>> reason. On some pages I got hints that there might be problems with >>>>>>>> kernels later than 2.6.24. >>>>>>>> May be I should have done further configuration efforts for >>>>>>>> slusb. But I >>>>>>>> didn't find hints what I should do. So I have the choice to >>>>>>>> experiment a >>>>>>>> few days or ask questions ;) >>>>>>>> >>>>>>>> Greetings Bernd >>>>>>>> >>>>>>>> Jacques Goldberg schrieb: >>>>>>>> >>>>>>>> >>>>>>>>> Bernd, >>>>>>>>> >>>>>>>>> Please give us the URL of the file which compiled slamr and failed >>>>>>>>> slusb - I just would like to give it a try on my machine >>>>>>>>> (because I had the necessary hardware in my office, I happend >>>>>>>>> to watch >>>>>>>>> Sacha, the author of the drivers, compiling and testing them , >>>>>>>>> and I >>>>>>>>> am curious to see what fails and where) >>>>>>>>> Also, are you using a 32 bits or a 64 bits machine? >>>>>>>>> >>>>>>>>> Jacques >>>>>>>>> >>>>>>>>> On 05/19/2011 05:50 PM, Bernd Weber wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> the last kernel slusb worked with was 2.6.18.2-34-default, >>>>>>>>>> Suse 10.2 >>>>>>>>>> with slmodem-2.9.10. >>>>>>>>>> >>>>>>>>>> I compiled the latest version on SuSe 11.4. But slusb wasn't >>>>>>>>>> compiled, >>>>>>>>>> only slamr. I tediously searched the site of linmodem, but >>>>>>>>>> didn't find >>>>>>>>>> an answer whats to do. SuSe 11.4 comes with kernel 2.6.37 >>>>>>>>>> >>>>>>>>>> The Modem in question is a Fujitsu Siemens USB-Modem. >>>>>>>>>> As I said, it works fine with older kernels and older Versions of >>>>>>>>>> slmodem. >>>>>>>>>> >>>>>>>>>> If there is some programming to be done, please let me know. >>>>>>>>>> Though I am >>>>>>>>>> much better in Perl than in C/C++, if necessary I would try to >>>>>>>>>> solve the >>>>>>>>>> problems. >>>>>>>>>> >>>>>>>>>> Could somebody give me a short briefing? >>>>>>>>>> >>>>>>>>>> Greetings >>>>>>>>>> >>>>>>>>>> Bernd >>>>>>>>>> >>>>>>>>>> >>