Hello all,
I've been working on the 11c11040 driver on 2.6.25 again.
Some further proceedings: The no_stream error is likely caused by the
fact that it is given the result of the snd_cards call.
This snd_cards call does not match the version the module wants, which
is probably the failure reason.
I've found the following:
agrmodem.ko needs snd_cards version 0xd4227f9c
whereas alsa 1.0.17-rc2 provides version 0xeaa3f440.
Anyone know which version of ALSA provides the needed snd_cards symbol?
Thanks!
Bjorn.
Marvin Stodolsky wrote:
Bjorn,
Thanks.
Note that you can lkely install earlier kernel+module sets and their
Linux-headers on your current system and do alternative booting and
compiling. My currently install kernels on a base Ubuntu Hardy
$ ls /boot/vm*
/boot/vmlinuz-2.6.21.0-22
/boot/vmlinuz-2.6.24-18-generic
/boot/vmlinuz-2.6.24-19-generic
/boot/vmlinuz-2.6.26-2-generic
In the Make if suffice to do the following replacement:
----------
# KERNEL_DIR = /lib/modules/`uname -r`/build/
#KERNEL_DIR = /usr/src/linux-`uname -r | sed -e 's,\-default,,'`/
#KERNEL_DIR = /usr/src/linux-`uname -r | sed -e 's,\-.*,,'`/
# KERNEL_DIR1 = /usr/src/linux-`uname -r`/include
# KERNEL_DIR2 = /usr/src/linux-`uname -r | sed -e 's,\-.*,,'`/include
# KERNEL_DIR5 = /usr/src/linux-`uname -r | sed -e
's,\-.*,,'`/include/asm/mach-default
# KERNEL_DIR3 = /usr/src/linux-`uname -r | sed -e 's,\..*,,'`.`uname
-r | sed -e 's,[^\.]*\.,,' -e 's,\..*,,'`/include
# KERNEL_DIR4 = /usr/src/linux-`uname -r | sed -e 's,\-.*,,'`.SuSE/include
KRELEASE = $(shell uname -r)
ifndef KERNEL_DIR
# KBUILD_DIR = $(KERNEL_DIR)
# else
KERNEL_DIR = /lib/modules/$(KRELEASE)/build
endif
MSRC_DIR = $(shell pwd)
-----------------
and then for cross compiling use syntax like:
$ make module KERNEL_DIR=/usr/src/linux-headers-Version
MarvS
On Fri, Jul 4, 2008 at 6:19 AM, Mr.Bor de Tor <uniacke1@xxxxxxxx> wrote:
Eeh.. Not quite, Marv :)
That was written by José R, who managed to get it
working on that kernel- My system is 2.6.25... and
it's not working there yet.
I'm considering returning to the 2.6.22 kernel to see
if I can get it working there.
Bjorn.
--- Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
wrote:
Folks
Willow's system is: Ubuntu Linux
CPU=i686, Linux version 2.6.24-16-generic
(buildd@palmer) (gcc version
4.2.3 (Ubuntu
For candidate card in slot 00:1b.0, firmware
information and bootup
diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- ---------
--------------
00:1b.0 8086:27d8 1179:ff01 Audio device:
Intel Corporation 82801G
which does have have the 11c11040 chip.
Willow,
There is a success report from Bjorn under a
Ubuntu 2.6.22 kernel.
See
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg01923.html
for some very terse instructions.
Can't help much this week end, with visiting family
here.
MarvS
On Fri, Jul 4, 2008 at 3:27 AM, Willow Schlanger
<wschlanger@xxxxxxxxx> wrote:
Does it actually work? I have a 11c11040 and no
idea how to get it to work.
The directions here are a bit complicated.
I have ALSA x.16 I think. Will these new two files
work with it? Or do they
need x.15?
Can you post complete directions for a newbie? I
can't get the patch to
work, does this supercede the patch? I did get
ALSA x.16 (I think) to
compile and install without patches.
Willow
Bjorn Wielens wrote:
Hi all,
As promised, here's the update and the logs.
This is a 32 bit system, kernel 2.6.25.5-pae
(openSuSE 11 default)
modem.log details the kernel OOPS I get caused by
modem-update-hda-structs.patch.
modem1.log details two attempts. The first with
all patches EXCEPT
modem-update-hda-structs.patch and
agrsm-hda_codec.patch.
This is the build that gives 'no stream' errors.
(see log)
The second half of the log (below the
------------------------------ line)
details the attempt WITH the
agrsm_hda_codec.patch but without the
update-hda-structs patch.
This builds and loads fine (no complaints of
missing symbols either,
unlike the other two builds) but does a hard
lockup on trying to access the
modem device. (this happens even if I boot SuSE
in 'failsafe' mode.)
The other two files, hda_codec.c and hda_codec2.c
are the two ALSA codec
files that have been modified to export the
read/write symbols for agrsm.
the former is from
alsa-kernel/pci/hda/hda_codec.c and the latter is
pci/hda/hda_codec.c
So close... but yet so far. Hope we can figure
this out- I would hate to
have to go back to an earlier kernel version on
my laptop, since the
wireless is now finally working properly.
Bjorn.
Marvin Stodolsky wrote:
Bjorn,
It would be worth retesting the Agere Driver
pair with potential
resource conflicts minimized.
In /etc/discover.conf comment out anything you
don't need.
Also blacklist or unload any non-essential
modules.
Then reboot and retest.
modprobe agrmodem
may be harmless, as the IRQ is taken only upon
modprobe agrserial
Please report also to the List if successful.
MarvS
On Tue, Jun 24, 2008 at 6:00 AM, Mr.Bor de Tor
<uniacke1@xxxxxxxx> wrote:
Hi all,
I have succeeded in building the 2.1.80
agrmodem/agrserial pair (with
HDA support) on my computer, and the modules
loaded
successfully!
(However, running 'AgrMdmDaemon' hangs the
system.)'
No unresolved
hda_codec_read/write symbol issues.
Here's what I did:
1. get the file
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-2.1.80-2mdv2009.0.src.rpm
from the 11c11040 pit of the linmodems site.
Make sure it's the .src.rpm file.
convert to cpio with 'rpm2cpio
agrsm-2.1.80-2mdv2009.0.src.rpm >
agrsm-2.1.80-2mdv2009.0.cpio
extract: cpio -i < agrsm-2.1.80-2mdv2009.0.cpio
There are a multitude of patch files included
in the
src. RPM. apply
ALL of them. This fixes the IRQ flags, among
other
things.
If you run make at this stage, then it will
fail
because the module
uses a GPL-only function call - usb_put_dev.
There
are various ways to
bypass this, either by commenting out the line
in
question, or my
unorthodox (and lazy) method of editing the
MODULE_LICENSE line in
agrsoftmodem.c.
run make module.
The modules built for me on 2.6.25.5 and they
load
fine. Dmesg shows
that the modem is detected. /dev/ttyAGS3
appears.
However, if I try to run the modem daemon
./AgrMdmDaemon, it locks the
entire system and requires a hard reset.
Hope this helps someone to get it going!
Bjorn.
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard
is at giving junk email
the boot with the All-new Yahoo! Mail. Click
on Options in Mail and switch
to New Mail today or register for free at
http://mail.yahoo.ca
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com