Skip to contentSkip to conversation

GPL source code for Smart USB 56 modem (includes ALSA AC97 patch)

DISCUSSION Luke Kenneth Casson Leighton 4 participants 5 messages Sep 9, 2004

lore
Share & tools
lore
#0 lore raw

dear linux kernel people,

i was staggered to find that swansmart (smlink.com) have a GPL driver for their smart usb 56k modem.

they also do a pci version: their download supports both (usb+pci)

they also provide an AC97 ALSA driver (patch is against 2.6.0)

this PCI ALSA driver is based on the i8x0 / MX 440 modem driver, by Jaroslav Kysela <[email protected]>.

all their code is GPL. this is very cool.

it is available here:

	http://www.smlink.com/main/down/slmodem-2.9.9.tar.gz

i trust that someone will download, check it, and if appropriate, incorporate it into the mainstream linux kernel.

the swansmart usb 56k modem is dirt cheap (it was available in the uk six months ago for about �9), and is extremely popular in australia and the far east.

l.

Signature · 7 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />
#1 lore raw
Quoted 2 lines · Luke Kenneth Casson Leighton

i trust that someone will download, check it, and if appropriate, incorporate it into the mainstream linux kernel.

The ALSA bit is already in the kernel at sound/pci/intel8x0m.c, I don't know when it was added though. Not sure of the status of the USB bit, but I think it is normally up to the author to submit something rather than some 3rd party...

Unfortunately the ALSA driver doesn't work for me, I just get NO DIALTONE and the following in the kernel logs:

        codec_semaphore: semaphore is not ready [0x1][0x300300]
        codec_write 1: semaphore is not ready for register 0x54

I only tried it out last night, and I don't really need the modem in my laptop much (it never really travels much further than the sofa :) so I haven't really investigated much.

The laptop is a VAIO from several years ago. lspci shows the modem as:
0000:00:1f.6 Modem: Intel Corp. Intel 537 [82801BA/BAM AC'97 Modem] (rev 03)

Ian.

Signature · 5 lines
Ian Campbell
Current Noise: Dream Theater - About to Crash

Q:	Why did the lone ranger kill Tonto?
A:	He found out what "kimosabe" really means.
#2 lore raw
In reply to Luke Kenneth Casson Leighton
Quoted 11 lines · Luke Kenneth Casson Leighton

i was staggered to find that swansmart (smlink.com) have a GPL driver for their smart usb 56k modem.

they also do a pci version: their download supports both (usb+pci)

they also provide an AC97 ALSA driver (patch is against 2.6.0)

this PCI ALSA driver is based on the i8x0 / MX 440 modem driver, by Jaroslav Kysela <[email protected]>.

all their code is GPL. this is very cool.

Most of their code is not GPL'ed. It does have a COPYING file, but that looks like a BSD license to me. The only (implicitly) GPL'ed part is the ALSA patch.

Quoted 6 lines

it is available here:

	http://www.smlink.com/main/down/slmodem-2.9.9.tar.gz

i trust that someone will download, check it, and if appropriate, incorporate it into the mainstream linux kernel.

It's not a GPL driver, the kernel part contains a binary object file (drivers/amrlibs.o) so I don't see how it can be included in the main kernel tree. OTOH, at first glance only the PCI driver needs that binary blob, the USB driver doesn't.

Erik

Signature · 2 lines
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
#3 lore raw
Quoted 5 lines · Erik Mouw
Quoted 1 line

all their code is GPL. this is very cool.

Most of their code is not GPL'ed. It does have a COPYING file, but that looks like a BSD license to me. The only (implicitly) GPL'ed part is the ALSA patch.

well, better than nothing.

Quoted 10 lines
Quoted 6 lines

it is available here:

	http://www.smlink.com/main/down/slmodem-2.9.9.tar.gz

i trust that someone will download, check it, and if appropriate, incorporate it into the mainstream linux kernel.

It's not a GPL driver, the kernel part contains a binary object file (drivers/amrlibs.o) so I don't see how it can be included in the main kernel tree.

DRAT.

Quoted 2 lines

OTOH, at first glance only the PCI driver needs that binary blob, the USB driver doesn't.

ah ha!

i sent them a message, see if they react well to licensing the rest as GPL.

l.

#4 lore raw
In reply to Luke Kenneth Casson Leighton
Quoted 7 lines · Luke Kenneth Casson Leighton

dear linux kernel people,

i was staggered to find that swansmart (smlink.com) have a GPL driver for their smart usb 56k modem.

i trust that someone will download, check it, and if appropriate, incorporate it into the mainstream linux kernel.

It's mostly GPL'ed, but there are binary-only objects both in the user-mode daemon (modem/dsplibs.o) and in the kernel driver (drivers/amrlibs.o).

The good news is that there a completely GPL'ed, source-complete driver already in the 2.6 kernel, sound/pci/intel8x0m.c, which will work with the user-mode daemon found in the smlink.com distribution. This driver doesn't have all of the functionality of slamr driver (which requires the propietary, binary-only object file) --- most notably, ATM1 doesn't work when using the completely open-source intl8x0m driver. However, it does work just fine, and so as long as you don't mind using the propietary object file in user-space, it's a great solution. I've been using the smlink daemon with both the open-source and partial-propietary driver, and both work just fine on my T40 laptop.

- Ted