@related: Modem M5457 AC-Link Modem Hardware sl Smart Link

That AmiloA and some HP-Laptop Modem works under GNU/Linux using smlink Driver once initialized under Windows

see http://rzr.online.fr/docs/comp/modem.htm

/sbin/lspci ; lspci -n ; lspci -v #  #RzR@AmiloA#
# 00:03.0 Modem: ALi Corporation Intel 537 M5457 AC-Link Modem
# 0000:00:03.0 Class 0703: 10b9:5457
# 0000:00:03.0 Modem: ALi Corporation M5457 AC'97 Modem Controller (prog-if 00 Generic?)
#	Subsystem: Unknown device 1734:100a
#	Flags: medium devsel, IRQ 11
#	Memory at f0401000 (32-bit, non-prefetchable)
#	I/O ports at 8400 size=256?
#	Capabilities: <available only to root>
#yNg-LT@HP-Laptop# lspci
0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
#Francesc@Laptop#lspci
00:03.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
# [[AmiloA]]
00:03.0 [[Modem]]: ALi Corporation Intel 537 [[M5457 AC-Link Modem]]
# [[HP-Laptop]]
0000:00:08.0 [[Modem]]: ALi Corporation [[M5457]] AC'97 Modem Controller
# nrv:~/AmiloA-k7# hwinfo --modem
13: PCI 03.0: 10204 LinModem
[[Created at pci.281]]
Unique ID: 3hqH.aReqIhw7A38
SysFS ID: /devices/pci0000:00/0000:00:03.0
SysFS BusID: 0000:00:03.0
Hardware Class: modem
Model: "Fujitsu Siemens M5457 AC'97 Modem Controller"
Vendor: pci 0x10b9 "ALi Corporation"
Device: pci 0x5457 "M5457 AC'97 Modem Controller"
SubVendor: pci 0x1734 "Fujitsu Siemens Computer GmbH"
SubDevice: pci 0x100a
Driver: "serial"
Driver Modules: "8250_pci"
Device File: /dev/ttySL0
Device Number: char 212:0
Memory Range: 0xd0401000-0xd0401fff (rw,non-prefetchable)
I/O Ports: 0x8400-0x84ff (rw)
IRQ: 11 (109479 events)
Module Alias: "pci:v000010B9d00005457sv00001734sd0000100Abc07sc03i00"
Driver Info #0:
  Driver Status: slamr is active
  Driver Activation Cmd: "modprobe slamr"
Driver Info #1:
  Driver Status: 8250_pci is active
  Driver Activation Cmd: "modprobe 8250_pci"
Config Status: cfg=new, avail=yes, need=no, active=unknown

[[Driver]]

# ed2k:|file|FSC_1002307.ZIP|663102|964eafb83cbb801dce59f7c2d9f6e9e1| ==== Linux Driver : sl-modem ==== * http://linmodems.technion.ac.il/packages/smartlink/?C=M;O=D http://www.smlink.com/objects/slmodem-2.9.10.tar.gz ed2k:|file|slmodem-2.9.10.tar.gz|806884|174f72a11a75cea780cdc590db3085fb|

[[GNU]]/[[Linux]] [[Debian]] @ http://packages.qa.debian.org/s/sl-modem.html

sudo apt-get install module-assistant sudo cu pppconfig sl-modem-daemon
sudo apt-get install -t unstable sl-modem-source
sudo m-a --text-mode prepare
sudo m-a auto-install --text-mode sl-modem-source ; sudo depmod -aev
dpkg -L sl-modem-modules-`uname -r`
sudo modprobe -v ungrab-winmodem
sudo modprobe -r slamr ; sudo modprobe -v slamr ; dmesg | tail
make -f /usr/src/modules/sl-modem/drivers/Makefile  install-devices
slmodemd   /dev/slamr0
slamr: SmartLink AMRMO modem.
slamr: probe 10b9:5457 SL1800 card...
ACPI: PCI Interrupt 0000:00:03.0[[A]] -> Link [[LNKG]] -> GSI 11 (level, low) -> IRQ 11
slamr: mc97 codec is 0
slamr: cannot init card.
ACPI: PCI interrupt for device 0000:00:03.0 disabled

WORKING NEWS (20031123) :

Modem is finally usable, here is one way to use it on linux :

  • Compile and install module slamrmo (http://www.smlink.com ; slmdm-2.7.10)
  • Boot Windows :-( , no windows ? happy hacking
  • Add an ISP , Dial any number (unplugged or not)
  • Re-Boot to Linux
  • log as root # modprobe -v slamrmo
  • kppp (as root)

NOTE: Francesc had to include a heading space to phone number to get slmdm working. (versions 2.7.10, 2.9.4 AND 2.9.10)

More details: http://rzr.online.fr/docs/comp/modem.htm

ToDo is it Possible to get use it without booting Windows ?

Trouble : slamr: cannot init card.

$ sudo modprobe -r slamr ; sudo modprobe -v slamr ; dmesg | tail
insmod /lib/modules/2.6.18.1-k7-amiloa/misc/slamr.ko
slamr: SmartLink AMRMO modem.
slamr: probe 10b9:5457 SL1800 card...
PCI: Enabling device 0000:00:03.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:00:03.0[[A]] -> Link [[LNKG]] -> GSI 11 (level, low) -> IRQ 11
slamr: mc97 codec is 0
slamr: cannot init card.
ACPI: PCI interrupt for device 0000:00:03.0 disabled
modprobe -r 8250_pnp && modprobe -r 8250_pci &&  modprobe -r 8250 && modprobe -r serial_core

Did not help

slamr: SmartLink AMRMO modem.
slamr: probe 10b9:5457 SL1800 card...
PCI: Enabling device 0000:00:03.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:00:03.0[[A]] -> Link [[LNKG]] -> GSI 11 (level, low) -> IRQ 11
<p640.166221> amrmo_card_create: data d4736000.
<p640.166240> tAmrMo::tAmrMo: card d4736000, pci d7e8c000, irq 11.
<p640.166261> StartTable Phys = 130BF000, Lin = D30BF000, IO 40
<p640.166275> StartTable Phys = EE5D000, Lin = CEE5D000, IO 50
<p640.166290> PageIn : linear C2168000, physical 2168000
<p640.166301> PageOut: linear C6008000, physical 6008000
<p640.166312> amr_create: cc6c0a00 (amrmo d4736000)
<p640.166391> amrmo_card_enable: card c06513a0.
<p640.166403> [[Hardware instance constructor...]]
<p640.166417> InitHW
<p640.166437> AC detection: Primary (Y), Secondary(Y)
<p640.166446> MC detection: 100A1734
<p640.246750> tAmrMoCard: Calibration failed:
<p641.165540> Primary -0, type Invalid
<p641.233596> tAmrMoCard: Calibration failed:
<p642.165539> Secondary -0, type Invalid
<p642.165559> tAmrMoCard: No MC codec found...
<p642.165564> tAmrMoCard::InitHw() failed, error 1005
<p642.165571> DeInitHW
<p642.165577> slamr: mc97 codec is 0
slamr: mc97 codec is 0
<p642.165588> hal: cannot open modem card.
<p642.165595> Predefined rates: in 9600, out 9600
<p642.165601> OnHardwareInstanceDestroyed
<p642.165610> DeInitHW
slamr: cannot init card.
<p642.165674> amrmo_card_delete: card c06513a0.
<p642.165679> amr_delete: cc6c0a00...
<p642.165691> DeInitHW
ACPI: PCI interrupt for device 0000:00:03.0 disabled

Trouble : slamr: device 10b9:5457 is grabbed by another driver

http://archives.linmodems.org/21605

# insmod /lib/modules/2.6.16-k7-amiloa/misc/slamr.ko
# slamr: module license 'Smart Link Ltd.' taints kernel.
# slamr: SmartLink AMRMO modem.
# slamr: device 10b9:5457 is grabbed by another driver
# http://bugs.debian.org/303844
sudo cu -l /dev/ttySL0
# cu: open (/dev/ttySL0): No such file or directory
# cu: /dev/ttySL0: Line in use
#nrv:~/AmiloA-k7# slmodemd --alsa hw:0
error: mixer setup: Off-hook switch not found for card hw:0
SmartLink Soft Modem: version 2.9.9e-pre1 Oct 13 2006 19:08:35
symbolic link `/dev/ttySL0' -> `/dev/pts/7' created.
modem `hw:0' created. TTY is `/dev/pts/7'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
#nrv:~/AmiloA-k7# file /dev/ttySL0
/dev/ttySL0: symbolic link to `/dev/pts/7'
nrv:~/AmiloA-k7#  sudo cu -l /dev/ttySL0
cu: open (/dev/ttySL0): Permission denied
cu: /dev/ttySL0: Line in use

[[Bug]]

Linux nrv 2.6.16-k7-amiloa #6 PREEMPT Sat Mar 25 12:56:44 CET 2006 i686 GNU/Linux
/usr/src/modules/sl-modem/drivers/st7554.c:1160: error: unknown field 'owner' specified in initializer

fixed on unstable

make[[1]]: Entering directory `/tmp/slmodem-2.9.10/modem'
modem.c: In function 'modem_reset':
modem.c:1701: error: invalid storage class for function 'sregs_init'

ToDo

MISC

Redundant entry in serial pci_table.  Please send the output of
lspci -vv, this message (10b9,5457,103c,0850)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.

http://linmodems.technion.ac.il/packages/findAMR2.sh.gz

ac97_codec: AC97 Audio codec, id: ALG64 (Unknown)
Input=example
Isolated_codec=0x5349:0x4c22
SIL_id=SIL34
with tentative correspondences to:
cid  SIL_id  Manufacturer/Product
===================================
26   SIL38    Motorola
22   SIL34    SmartLink HAMR5600

MISC

m5457.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki