Re: Problem compiling modules for iBook G4

Kieran Ryan <[email protected]>
Newsgroups gmane.linux.drivers.modem.hsf
Message-ID <[email protected]>
Thanks  Jonathan,

I wasn't able to identify the modem chipset with lsusb, at least I couldn't 
find the ones you listed.  I've tried the hcfusb package anyway and it 
successfully compiled the modules but I got the following error after running 
the hcfusbconfig:

ERROR: hcfusb driver not active

I am using Kernel 2.6.8-powerpc from the Debian testing distribution. I 
noticed from a previous post that this kernel version may not be supported 
yet? Is that right?

Thanks in advance,
Kieran Ryan.



On Monday 15 November 2004 12:51, Linuxant support (Jonathan) wrote:
> Hi,
>
> the HSF driver is not supported on non-x86 based machines. However, all
> known internal modems based on a Conexant chipset in Mac laptops are
> based on the HCF chipset.
>
> Please run the 'lsusb' command in a root shell and if you have a device
> with one of the following USB ID :
>
> ---
> USB Vendor ID: 0572 Product ID: 1290 (Cadmus2 HCF, Conexant)
> USB Vendor ID: 05AC Product ID: 8202 (Cadmus2 HCF, Apple)
> ---
>
> then your modem is supported by the HCF USB driver which you can
> download from the HCF driver download page at :
>
> http://www.linuxant.com/drivers/hcf/downloads-license.php
>
> The HCF USB driver is only supported on PowerPC based machines such as
> Macs.
>
> Regards,
>
>
> Jonathan
> Technical specialist / Linuxant
> www.linuxant.com
> [email protected]
>
> Kieran Ryan wrote:
> > Hi,
> >
> > I am new to the list. I have been trying for some time to get the
> > internal modem working in my iBook G4. I know that it's a USB modem and
> > from previous discussion on this list it would appear that the Linuxant
> > hsfmodem should do the trick.
> >
> > I am using Debian, problem is Linuxant only have .deb packages for x86
> > architecture. So I've downloaded the tar
> > hsfmodem-6.03.00lnxt04082400full.tar package.
> >
> > I am getting the following error when trying to compile the hsfmodem
> > modules:
> >
> > hsfconfig output:
> > -------------------------------
> > No pre-built modules for: Debian-3.1 linux-2.6.8-powerpc ppc
> >
> > Trying to automatically build the driver modules...
> > (this requires a C compiler and proper kernel sources to be installed)
> >
> > Where is the linux source build directory that matches your running
> > kernel? [/usr/src/linux]
> >
> > Building modules for kernel 2.6.8-powerpc, using source directory
> > /usr/src/linux. Please wait...
> >
> > ERROR: Module build failed!
> > Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine
> > why.
> >
> > The build log says this:
> > ---------------------------------
> > rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
> > .tmp_versions  /usr/src/linux/.tmp_versions/hsfosspec.mod
> > /usr/src/linux/.tmp_versions/hsfserial.mod
> > /usr/src/linux/.tmp_versions/hsfengine.mod
> > /usr/src/linux/.tmp_versions/hsfpcibasic2.mod
> > /usr/src/linux/.tmp_versions/hsfmc97ich.mod
> > /usr/src/linux/.tmp_versions/hsfmc97via.mod
> > /usr/src/linux/.tmp_versions/hsfmc97ali.mod
> > /usr/src/linux/.tmp_versions/hsfsoar.mod
> > (cd /usr/src/linux && make "CNXT_KERNELSRC=/usr/src/linux"
> > "M=/usr/lib/hsfmodem/modules" modules)
> > make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
> >   CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
> > cc1: Invalid option `arch=pentium'
> > In file included from include/asm/setup.h:8,
> >                  from include/asm/machdep.h:8,
> >                  from include/asm/irq.h:6,
> >                  from include/asm/hardirq.h:8,
> >                  from include/linux/interrupt.h:12,
> >                  from /usr/lib/hsfmodem/modules/GPL/oscompat.h:75,
> >                  from /usr/lib/hsfmodem/modules/mod_engine.c:9:
> > include/asm-m68k/setup.h:341: warning: `CPU_TYPE' redefined
> > /usr/lib/hsfmodem/modules/imported/include/framewrk.h:176: warning: this
> > is the location of the previous definition
> > make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
> > make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
> > make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
> > make: *** [all] Error 2
> > ----
> >
> > Looks suspciously like this package is assuming a x86 architecture?? I
> > notice the file /usr/lib/hsfmodem/modules/imported/makeflags.mak contains
> > this:
> > IMPORTED_COMPILATION_FLAGS = -O2 -march=pentium -ffast-math
> > -fno-strict-aliasing -fno-common
> > IMPORTED_TARGET = TARGET_HSF_LINUX
> > IMPORTED_ARCH = i386
> > IMPORTED_FRAMEWORK = FWK_LINUX_SOFTK56
> > IMPORTED_FRAMEWORK_DEFS = -DFRAME_WORK=FWK_LINUX_SOFTK56
> > -DTARGET_HSF_LINUX -DUSE_ORCA_MODULATIONS -DNO_DUMPMGR_SUPPORT
> > -DNO_BLAM_SUPPORT
> > -DFRAME_WORK_IMPORTED
> > IMPORTED_GENERAL_DEFS =
> > IMPORTED_DEBUG_DEFS = -DNOASSERTS
> > -DUSE_TRACE_ONLY="T__FATAL_ERROR|T__ERROR" -DUSE_TRACE
> > IMPORTED_BLAM_SUPPORT =
> > IMPORTED_SCR_SUPPORT =
> > IMPORTED_DMP_SUPPORT =
> > IMPORTED_FREE_VERSION = no
> > IMPORTED_BUILD_TYPE = full
> > IMPORTED_CNXTLINUXVERSION = 6.03.00lnxt04082400full
> >
> > Does anyone have any ideas on this? Note: I have installed the kernel
> > headers in /usr/src/linux but since I'm using a debian kernel image I'm
> > not 100% sure I've configured it correctly. (I've done a make mrpoper and
> > make oldconfig in the source directory which seemed to work ok and I can
> > see ppc specific links etc my make bzImage fails but I'm not sure this is
> > required anyway?)
> >
> > Any help much appreciated...
> >
> > Kieran Ryan.
> >
> >
> > _______________________________________________
> > hsflinux mailing list
> > [email protected]
> > https://www.linuxant.com/mailman/listinfo/hsflinux
>
> _______________________________________________
> hsflinux mailing list
> [email protected]
> https://www.linuxant.com/mailman/listinfo/hsflinux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.