You are not logged in.
hi
searched around the linmodem site and discovered these drivers
due to lack of hardware i cannot test its functionality i've read the README and changed the daemon file that it should work
(well i'm not Xentac so there may be errors in dameon file ;-) )
All Smartlink modem users out there please test it
it is kernel dependent on 2.6.8.1 else you need to rebuilt package for your setup
now all major modem drivers (intel.lucent,smartlink) are available in staging if i missed a chipset and there is a driver for it post it here or contact me
enjoy
EDIT:
to install pacman -S slmodem
Offline
now available in extra repo
Offline
Nice see this in repos!
Although, i hacked script by myself but will use yours.
Thank.
Offline
It does not work for me on anything after kernel 2.6.7. I have 2 smartlink modems, one is part of my laptop and here is the full debug dmesg ( i hope )
slamr: SmartLink AMRMO modem.
slamr: probe 1106:3068 VIA3058 card...
ACPI: PCI interrupt 0000:00:11.6[C] -> GSI 11 (level, low) -> IRQ 11
<p639.170930> amrmo_card_create: data d252a000.
<p639.171103> tAmrMo::tAmrMo: card d252a000, pci d5f26800, irq 11.
<p639.171284> StartTable Phys = 73B8000, Lin = C73B8000, IO 40
<p639.171459> StartTable Phys = 7A58000, Lin = C7A58000, IO 50
<p639.171633> PageIn : linear CEFB1000, physical EFB1000
<p639.171831> PageOut: linear C9E50000, physical 9E50000
<p639.172008> amr_create: c1de5000 (amrmo d252a000)
PCI: Setting latency timer of device 0000:00:11.6 to 64
<p639.172370> amrmo_card_enable: card cd8f37c0.
<p639.172539> [Hardware instance constructor...]
<p639.172707> InitHW
<p639.174850> AC detection: Primary (Y), Secondary(Y)
<p639.175036> MC detection: 100514FF
<p639.175249> tAmrMoCard:AC calibration = 100 + 10*45 = 550
<p639.175437> Primary VIA-61, type AC
<p639.175851> Secondary SIL-22, type MC
<p639.176038> SIL codec(): hxSupported
<p639.176203> Additional delay 0
<p639.176361> Delay reduction of 0
<p639.176693> SIL: International chip(0x133), 0
<p639.177209> tSiLabsCodec: Stop MCAL mode...
<p639.177603> MC details: Intl, DAA(C)
<p639.177875> slamr: mc97 codec is SIL22
slamr: mc97 codec is SIL22
<p639.178237> Constructed successfully.
<p639.178519> Predefined rates: in 9600, out 9600
<p639.178703> Unmasked GPIO in on 2
slamr: amrmo_pci_probe: 0 amrmo is d252a000. data cd8f37c0, io e000, 0.
slamr: slamr0 is VIA3058 card.
slamr: amrmo: remove d252a000...
<p639.222022> amrmo_card_disable: card cd8f37c0.
<p639.222437> Can I destroy the HW Instance?
<p639.222613> Yes,
<p639.222794> OnHardwareInstanceDestroyed
<p639.222979> DeInitHW
<p639.223140> and I deleted it!
<p639.223331> amrmo_card_delete: card cd8f37c0.
<p639.223500> amr_delete: c1de5000...
<p639.223670> DeInitHW
I have changed the module license lines to "GPL" to overcome symbol not found problems, I have done a makepkg, it builds, and both modems give dmesg output similar to that above. The other modem is PCI and has a SIL3052 signature, and its failure point seems to be
DAA frame not detected
after it runs thru codec initialisation. Is there anything else I should be doing ??
--(*(cs25x--));
Offline
hm
due to the problem that i don't have such a hardware it's difficult to me.
i found in the gentoo ebuild, that you should blacklist slamr module for hotplug.
hope it helps for you.
else please read the docs carefully and if you find a solution please tell it to us that i can modify the wiki and add your information.
thanks
Offline
It's also possible that it uses some closed source object files and that these don't work with the newest kernels.
Offline
Yes there is a closed obj and it looks like it has been caught by Linux kernel API changes. I am going to migrate to 2.4, these 2.6 things just suck.
--(*(cs25x--));
Offline
perhaps it's a try:
add this to your boot line:
pci=routeirq
Offline
no joy, the intel 845g box gets a bit further, now it scores an unknown pci-watchdog interrrupt. Odd, I did not know I had a hardware watchdog running.
Are there any other irq related parms we can add to the boot line?
These are stock Arch 2.6.10-3 kernels. I will find out what happens with the Via chipset when (if) I reboot. That might be next week.
--(*(cs25x--));
Offline
I rebooted the via chipset laptop. No luck. The stock 2.6.11 slmodem package runs up against a license string problem. The 2.6.10 package I built does not get any further than it did before I added pci=routeirq to the boot strings.
I would like to turn off ACPI, but then i risk a complete meltdown if i forget and run a long job that uses CPU. I have done some searching too and found nothing whatever that looks like it will help.
:cry:
--(*(cs25x--));
Offline
http://linmodems.technion.ac.il/package … .9b.tar.gz
could you check if you change the PKGBUILD to using this one, if it works then.
thanks for testing
Offline
Will do, i have to move house so the test might be delayed but it will be done.
--(*(cs25x--));
Offline
I have not tried to dial out but it modprobes. I think you have a winner. I just loaded it again with debug=3 and it looks clean. Sorry I do not want to drop the ADSL modem, there are other users on the net. If I get the time I will give it a dial check. In fact after I move i might have to use it for a time. but that will not be today or tonight. Thanks for your good work.
--(*(cs25x--));
Offline
it dials. goodbye cruel modem
--(*(cs25x--));
Offline
ok will replace the slmodem 2.6.10 with 2.6.9b
strange version numbering.
Offline
slamr works as well as ever on my fairly standard Via chipset Laptop. However the serial driver is capturing the device on my Intel 845G Desktop.
Makes no diff if I kill it in hotplug or put pci=routeirq on the boot line. It appears that the amrmo_init trap is not being hit because I get a different error message. Like "device has been grabbed by another driver:"
The other driver is serial, I located the modem vendor and device numbers in /sys/bus/pci/drivers/serial.
It worked the first time I tested it on the desktop 2 days ago, at 12:42, then I turned off, switched on power again about 20:30 and it just was not working. It has been like this ever since. I have tried every PCI slot and moved the slamr module loading right to the front of the queue. I have also tried not loading it at boot time. result is always the same.
Is there any way the serial driver can be released or told to go away?
--(*(cs25x--));
Offline
:evil: These 2.6 kernels are doomed. I found this
http://linmodems.technion.ac.il/slmodem-serial.html
It looks like we have to build another kernel to fix things.
--(*(cs25x--));
Offline
Well, I can get it to work on the Intel card, but ...
Initially I had booted the box and simply dropped the new 2.9.9b module on top of the 2.10 variety. It worked. ( both laptop and desktop kernels are identical, 2.10.3 ) Then I turned off the power and when I powered up it did not work.
So I replaced the 2.9.9b module with one I built from the smartlink site, with a 'GPL' in the init code. In this case the serial driver does not capture the modem. but it has other issues.
It looks like removing the 2.10 module and modprobing the 2.9.9 one will give a working modem until the next time we boot.
This comes from the list
Msg by: [<- thread ->] [<- time ->] [<- author ->] | [Threads] [eMsg] [eThread] [eSubscribe] [eFAQ]
Subject: slmdm and linux 2.6.10-rc2
From: Diego Andino <andinodiego27@yahoo.com.ar>
Date: Sun, 02 Jan 2005 18:35:30 +0000I managed to make it work, here is my patch ( for slmodem-2.9.10)
slmdm.kernel-2.6.10.patch:
--------------------------------------------------------------------------
*** amrmo_init.c Sun Jan 2 18:23:37 2005
--- amrmo_init.c Sun Jan 2 18:23:37 2005
***************
*** 686,692 ****MODULE_AUTHOR("Smart Link Ltd.");
MODULE_DESCRIPTION("SmartLink HAMR5600,SmartPCI56/561 based modem
driver");
! MODULE_LICENSE("Smart Link Ltd.");
static int __init amrmo_init(void)
--- 686,692 ----MODULE_AUTHOR("Smart Link Ltd.");
MODULE_DESCRIPTION("SmartLink HAMR5600,SmartPCI56/561 based modem
driver");
! MODULE_LICENSE("GPL");
static int __init amrmo_init(void)
***************
*** 740,752 ****
}
#endif! if (!pci_register_driver(&amrmo_pci_driver)) {
! pci_unregister_driver(&amrmo_pci_driver);
! #ifndef OLD_KERNEL
! class_simple_destroy(amrmo_class);
! #endif
! return -ENODEV;
! }if(register_chrdev(AMRMO_MAJOR, "slamr", &amrmo_fops) < 0) {
pci_unregister_driver(&amrmo_pci_driver);
--- 740,746 ----
}
#endif! pci_register_driver(&amrmo_pci_driver);
if(register_chrdev(AMRMO_MAJOR, "slamr", &amrmo_fops) < 0) {
pci_unregister_driver(&amrmo_pci_driver);-------------------------------------------------------------------------
To apply it :
Go to slmodem-2.9.10/drivers/
$ patch -p0 < slmdm.kernel-2.6.10.patchThen, recompile and use the slamr module.
Msg by: [<- thread ->] [<- time ->] [<- author ->] | [Threads] [eMsg] [eThread] [eSubscribe] [eFAQ]
(c) 1999 Lin-De, Inc
I have not had a chance to test it yet. There is a possibility it might work. In any case there is a way to get the smartlink modem going on kernels > 2.9 without patching the serial driver. It looks like a problem with the 2.9.9b patch.
then again, i could be wrong, The laptop which works might have an AMR modem which is not the same as a PCI card.
So the subject line above says half solved.
--(*(cs25x--));
Offline
yes, that patch quoted in my previous post works, but it can not be distributed because it breeches Smartlink's licence, the GPL, and is unethical. However it is suitable as a starting point for something that will work without breeching any copyright.
It would be good if somebody else could test it on a conventional desktop to verify that it really has fixed the problem.
OH, I tried "SNAFU 2.6" as a license string too. It tainted the kernel and the module would not load. Such is life ( Ned kelly's last words ) 8)
--(*(cs25x--));
Offline
thanks, tpowa, but...
could u change a few things about the package?
firstly, the wiki link - (i am talking about slmodem 2.2.9b-4 here) - instead of
'http://wiki.archlinux.org/index.php/slmodem drivers'
it should be changed to
http://wiki2.archlinux.org/index.php/slmodem%20drivers
Various other typos/notes about the wikidoc -
- u might like to make a note down in the wiki that the README really says "for Linux version 2.9"
- under step 2a -
/etc/rc.conf:
Add ppp_generic, slamr or slusb to modules list
Add slmodem TO daemon list
- under step 2b -
/etc/rc.conf:
Add ppp_generic and snd_intel8x0m TO modules list
Add slmodem-alsa to daemon list
Some further explanation of how to determine "hw:0,hw:1,modem:0 or modem:1" for your card might be useful. In addition, one note or two about how and where to get and setup a dialer program...
Offline
Wikis are free for anyone to edit, just hit the edit button at the bottom and make your changes
Offline
Wikis are free for anyone to edit, just hit the edit button at the bottom and make your changes
yes i know - i just wanted to adhere to the request as made at the top of the document. As there was no real personal contact for tpowa in the package (pacman -Qi), i turned naturally to this place... (see link provided at bottom of said doc)
Offline
From pacman -S slmodem:
==> NOTICE:
==> For more information about the use and config of the drivers,
==> have a look at http://wiki2.archlinux.org/index.php/slmodem drivers
Should be http://wiki.archlinux.org/index.php/Sma … em_drivers.
Offline