[ptmdm] - PCTel HSP MicroModem driver for FreeBSD

Oleksandr Tatmanyants tat at umc.ua
Wed Feb 15 08:57:53 PST 2006


Hello,

I've got ICH4 modem in my Toshiba Portege R100 and really want  to make 
it working.
I've done as you recommended in the end of your letter and after little 
bit of work
manage it to build and load successfully but it ends up with

Feb 15 17:56:49 tats kernel: amrmdm0: <Intel ICH4> at device 31.6 on pci0
Feb 15 17:56:49 tats kernel: amrmdm0: could not find ioport base reg.
Feb 15 17:56:49 tats kernel: device_attach: amrmdm0 attach returned 6

Here is scanpci -v

pci bus 0x0000 cardnum 0x1f function 0x06: vendor 0x8086 device 0x24c6
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem 
Controller
 CardVendor 0x1179 card 0x0001 (Toshiba America Info Systems, Card unknown)
  STATUS    0x0290  COMMAND 0x0000
  CLASS     0x07 0x03 0x00  REVISION 0x03
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0x00000001  addr 0x00000000  I/O
  BASE1     0x00000001  addr 0x00000000  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0xff

I've fixed unresolved symbols in the following way

objcopy --redefine-sym __udelay_R9e7d6bd0=DELAY \
        --redefine-sym kmalloc_R93d4cfe6=malloc \
        --redefine-sym printk_R1b7d4074=device_printf \
        --redefine-sym kfree_R037a0cba=free \
        --redefine-sym __const_udelay_Reae3dfd6=DELAY \
        --redefine-sym schedule_timeout_R17d59d01=timeout i8xxhal.o 
tmp.o && mv tmp.o i8xxhal.o

The system itself is 6.0-STABLE as of February, 1 2006.

Could you please appoint me what can be done to solve this problem.

Thank you very much in advance.

Watanabe Kazuhiro wrote:
> Hi, all.
>
> I've ported the PCTEL Driver for Linux Version 0.9.7-9 to FreeBSD,
> named "ptmdm".
>
>  http://homepage2.nifty.com/dumb_show/unix/PCTel-FreeBSD.en.html
>
> The ptmdm driver provides support for the modems based on the PCTel
> PCT789T chipset.
>
> This driver set mainly consists of two parts.  Binary objects that are
> pre-compiled for Linux kernel, and ptmdmsio.c - a wrapper source
> mostly derived from ltmdmsio.c in ports/comms/ltmdm.
>
>
> Unfortunately, the ptmdm driver supports the PCT789T chipset only.
> But the original Linux driver set also supports other chipsets -
> Intel ICH1(i810)/ICH2(i820)/ICH3(i845) (and maybe ICH4(i855)), C-MEDIA
> CM8738, SiS 7013 (SiS540 etc.), and VIA VT82C686(ApolloPro133A etc.).
>
> So I think that we may be able to work these unsupported chipsets on
> FreeBSD.  These chipsets use diferrent binary objects and initialize
> code from the PCTel chipset.
>
> If you have these hardware and want to work that, you must add a
> proper initialize/detection code (refer to the original Linux driver
> source) and select appropriate binary objects.
>
> Good luck!
> ---
> Watanabe Kazuhiro (CQG00620 at nifty.ne.jp)
> _______________________________________________
> freebsd-mobile at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
>   


-- 
Best regards,
Oleksandr Tatmanyants



More information about the freebsd-mobile mailing list