Antonio Olivares | 1 Jun 2010 01:11
Picon

Re: How to build martian_modem on x86_64 Slackware 13.1 system if possible?

Dear all,

A friend of mine lent me a modem US Robotics(the good one) and all is well :)

CPU=x86_64,
Welcome ,  ALSA_version=1.0.22
Linux version 2.6.34 (root <at> darkstar) (gcc version 4.4.4 (GCC) ) #1 SMP
Mon May 31 05:58:15 CDT 2010
 scanModem update of:  2010_05_29

Predictive  diagnostics for card in bus 05:02.0:
        Modem chipset  detected on
NAME="Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 "
CLASS=0700
PCIDEV=12b9:1008
SUBSYS=12b9:00d3
IRQ=18
IDENT=USrobotics.serial

 For candidate modem in:  05:02.0
   0700 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610
      Primary device ID:  12b9:1008
 Support type needed or chipset:        USrobotics.serial

root <at> darkstar:/home/olivares/Downloads# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- OK
(Continue reading)

carlos ramos | 1 Jun 2010 03:39
Picon

PCTel modem and Ubuntu 10.04 problem!

Hi, first thanks for taking the time to read about my situation.

Well i have an internal dial up modem that i cant install in my pc.
This is my first try with a linux distro, moving from XP, but having a
pc with out an internet connection is like having a car with out
wheels. So im really hoping to get the modem install to completely
move from windows.

System: Ubuntu 10.04
Modem: PCTel HSP Micromodem 56 134d:7890

I already ran the scanmodem tool, thats why im sure about the model of
the modem, i downloaded the recommended pctel-0.9.7-9-rht-10.tar.gz
file but when i do:

carlos <at> carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ sudo ./setup
checking for running kernel version...2.6.32
checking for ptserial...ptserial-2.6.c
checking for gcc...4.4.3
checking for kernel gcc version...4.4.3
searching for kernel includes...found at
/lib/modules/2.6.32-21-generic/build/include
checking for autoconf.h.../lib/modules/2.6.32-21-generic/build/include/linux/autoconf.h
checking for asm/mach-default...** error
include/asm/mach-default directory could not be found
you probably need to configure your kernel, please read the FAQ
about no include/asm/mach-default directory.
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.  A transcript of the build process
(Continue reading)

Antonio Olivares | 1 Jun 2010 03:46
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Carlos,

Sorry to ask you, but you point out that you have PcTEL HSP Modem,
You did run scanModem, can you attach/send us ModemData.txt?

http://linmodems.technion.ac.il/packages/scanModem.gz

Why do I ask, we need to know exactly the architecture, the modem
driver might be correct, but you might be running on an x86_64 machine
which will produce errors and not work.

Thanks,

Antonio

On 5/31/10, carlos ramos <caramosc <at> gmail.com> wrote:
> Hi, first thanks for taking the time to read about my situation.
>
> Well i have an internal dial up modem that i cant install in my pc.
> This is my first try with a linux distro, moving from XP, but having a
> pc with out an internet connection is like having a car with out
> wheels. So im really hoping to get the modem install to completely
> move from windows.
>
> System: Ubuntu 10.04
> Modem: PCTel HSP Micromodem 56 134d:7890
>
> I already ran the scanmodem tool, thats why im sure about the model of
> the modem, i downloaded the recommended pctel-0.9.7-9-rht-10.tar.gz
> file but when i do:
(Continue reading)

Marvin Stodolsky | 1 Jun 2010 04:18
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Pctel maintainer Robert T.,
a few have reported this problem and I have just confirmed it.
Any suggestions?

MarvS

On Mon, May 31, 2010 at 9:39 PM, carlos ramos <caramosc <at> gmail.com> wrote:
> Hi, first thanks for taking the time to read about my situation.
>
> Well i have an internal dial up modem that i cant install in my pc.
> This is my first try with a linux distro, moving from XP, but having a
> pc with out an internet connection is like having a car with out
> wheels. So im really hoping to get the modem install to completely
> move from windows.
>
> System: Ubuntu 10.04
> Modem: PCTel HSP Micromodem 56 134d:7890
>
> I already ran the scanmodem tool, thats why im sure about the model of
> the modem, i downloaded the recommended pctel-0.9.7-9-rht-10.tar.gz
> file but when i do:
>
> carlos <at> carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ sudo ./setup
> checking for running kernel version...2.6.32
> checking for ptserial...ptserial-2.6.c
> checking for gcc...4.4.3
> checking for kernel gcc version...4.4.3
> searching for kernel includes...found at
> /lib/modules/2.6.32-21-generic/build/include
> checking for autoconf.h.../lib/modules/2.6.32-21-generic/build/include/linux/autoconf.h
(Continue reading)

Antonio Olivares | 1 Jun 2010 04:29
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Carlos,

Thanks for forwarding the ModemData.txt

I can see the statement:

 Versions adequately match for the compiler installed: 4.4.3
             and the compiler used in kernel assembly: 4.4.3

 linux-headers-2.6.32-21-generic resources needed for compiling are
not manifestly ready!
 The patch utility is needed for compiling ALSA drivers, and possibly others.

 If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.32-21-generic

and what you tried to do to remedy it

>>> carlos <at> carlos-desktop:~$ sudo apt-get install linux-headers-$(uname -r)
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> linux-headers-2.6.32-21-generic is already the newest version.
>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>> carlos <at> carlos-desktop:~$

Your machine is i686  and not x86_64.  The drivers are not working, or
the kernel devel/sources are not present and will fail to build.  I
hope that Marv can test the drivers?
I don't have 2.6.32 kernel now, but on 2.6.34 to test.  I do believe
(Continue reading)

Robert Thornburrow | 1 Jun 2010 11:53
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Hi Guys,

Looks like I need to do some work on this one.  It is the configure
script that is failing on one of its checks for an include folder.
The driver may well build without this folder if everything else is
there, but I need to test this myself.  I'll post back to the list
with my findings shortly.

Best regards,

      Robert

On 01/06/2010 03:18, Marvin Stodolsky wrote:
> 
> Pctel maintainer Robert T.,
> a few have reported this problem and I have just confirmed it.
> Any suggestions?
> 
> MarvS
> 
> 
> On Mon, May 31, 2010 at 9:39 PM, carlos ramos <caramosc <at> gmail.com> wrote:
>> Hi, first thanks for taking the time to read about my situation.
>>
>> Well i have an internal dial up modem that i cant install in my pc.
>> This is my first try with a linux distro, moving from XP, but having a
>> pc with out an internet connection is like having a car with out
>> wheels. So im really hoping to get the modem install to completely
>> move from windows.
>>
(Continue reading)

Robert Thornburrow | 1 Jun 2010 11:56
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Antonio,

What kernel changes are there for 2.6.34?  Anything significant that
affects modem drivers?

Owing to work commitments, I'm afraid I only do patches when someone
reports a compilation failure against a new kernel.  If there are definite
errors (other than the include/asm/mach-default one), could you please
forward them to me and I will fix.

Best regards,

     Robert

On 01/06/2010 03:29, Antonio Olivares wrote:
> 
> Carlos,
> 
> Thanks for forwarding the ModemData.txt
> 
> I can see the statement:
> 
>  Versions adequately match for the compiler installed: 4.4.3
>              and the compiler used in kernel assembly: 4.4.3
> 
>  linux-headers-2.6.32-21-generic resources needed for compiling are
> not manifestly ready!
>  The patch utility is needed for compiling ALSA drivers, and possibly others.
> 
>  If compiling is necessary packages must be installed, providing:
(Continue reading)

Antonio Olivares | 1 Jun 2010 13:08
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Robert,

On 6/1/10, Robert Thornburrow <robert.thornburrow <at> tsac.fsnet.co.uk> wrote:
> Antonio,
>
> What kernel changes are there for 2.6.34?

http://kernelnewbies.org/Linux_2_6_34

> Anything significant that
> affects modem drivers?
>

I don't know about this one, will have to test some more.  I know that
martian_modem does not work on it, get some error message.  The
martian_dev.ko file can get created, but the martian_modem helper is
not created :(  Don't know about other drivers i.e, intel 537 and
slmodemd, will test when I have a chance this afternoon/tonight.

>
> Owing to work commitments, I'm afraid I only do patches when someone
> reports a compilation failure against a new kernel.  If there are definite
> errors (other than the include/asm/mach-default one), could you please
> forward them to me and I will fix.
>
I'll try my best to let you know.  Need to plug out PCTEL modem and
take it with me and put into test computer, otherwise configure script
will bomb out since there is no PCTEL modem :(
>
> Best regards,
(Continue reading)

Robert Thornburrow | 1 Jun 2010 13:39
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Antonio,

If I read the script right, it should always prompt for the modem type if
the autodetection fails, but you can always run it manually by following
what the setup script does and substitute -manual for -auto when running
configure.  Choose the "pct789" HAL as it is the most common.

Steps are:

  cd src/
  ./configure -manual
  make

Optionally you can also do:

  make install
  make insmod

But these are not necessary to test for compile failures. Of course you
would still need the modem installed to test that the driver actually works!

Best regards,

     Robert

On 01/06/2010 12:08, Antonio Olivares wrote:
> 
> Robert,
> 
> On 6/1/10, Robert Thornburrow <robert.thornburrow <at> tsac.fsnet.co.uk> wrote:
(Continue reading)

Antonio Olivares | 1 Jun 2010 21:05
Picon

Re: PCTel modem and Ubuntu 10.04 problem!

Robert,

When I get home, I will try to play with it a bit.  I have a slax
module and a script that generates the module for Slax 6.1.2 with
kernel 2.6.27.27

http://www.slax.org/modules.php?action=detail&id=2487

But I will run this against slax-remix-v06 or next-remix-v07 which
have 2.6.33.2 and 2.6.34 kernels respectively.  If I encounter any
failures/success, I will report back.

If anyone can download Slax remix(es), and get the script you can beat
me to it and report back, just change the line:

From:
# run ./configure -auto for the type of modem you have
# you can have pct789,,,cm8738, i8xx, sis, via686a
./configure -auto # otherwise change this to your modem type :)

to

# run ./configure -auto for the type of modem you have
# you can have pct789,,,cm8738, i8xx, sis, via686a
./configure -pct789 # otherwise change this to your modem type :)

like Robert is instructing us to do.

Regards,

(Continue reading)


Gmane