Re: HOWTO for Agere 11C11040 Modem on HDA cards. (Roan, menedas, & others)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmmm... Menedas is also running in to this issue...
Please try the following and report back:

> The following should work for you:
> Obtain the ALSA-driver 1.0.15 source tarball, and
the
> ALSA-driver 1.0.16 source tarball.
> Extract each to a separate directory.
> Copy the contents of folder
> alsa-driver-1.0.15/alsa-kernel/pci/hda/ TO
> alsa-driver-1.0.16/alsa-kernel/pci/hda/ (overwrite
> existing files.)
> 
> Modify the hda_codec.c file you just copied over as
> we've discussed earlier.
> 
> then, in alsa-driver-1.0.16/ issue commands
> './configure --with-cards=hda-intel' followed by
> 'make'. This should generate the snd-hda-intel.ko
> module in the alsa-driver-1.0.16/modules directory.
> replace the one in /lib/modules/`uname
> -r`/kernel/sound/pci/hda/ with this one, and issue
> command 'sudo depmod -ae'. Reboot to load this new
> module.
> Then, you should be able to modprobe the modem
drivers
> successfully.
> 
> If you have success, please send the agrmodem.ko,
> agrserial.ko and snd-hda-intel.ko files from your
> computer to me in a tarball named
> 11c11040-(yourDistro)-(kernel version).tar so we can
> use these to make life a little easier for others
with
> the same configuration as yourself.

Almost there, 

Bjorn.



--- roan <roan@xxxxxxxx> wrote:

> i tried 'sudo modprobe agrmodem --force-modversion'
> but 
> the output was the same:
> -----
> ~/Desktop/agrsm-HDA-20080721-ALSA15$ sudo modprobe 
> agrmodem --force-modversion
> FATAL: Error inserting agrmodem 
> (/lib/modules/2.6.24-19-generic/extra/agrmodem.ko): 
> Unknown symbol in module, or unknown parameter (see
> dmesg)
> -----
> 
> and i also attached the output of 'dmesg' if this
> will 
> help.
> 
> 
> On Sun, 27 Jul 2008 18:34:33 -0300
>   Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
> > Hi Roan,
> > Great news!
> > You can send the output of dmesg if you like, but
> I 
> >should say the following first:
> > if the output says 'module agrmodem disagrees
> about 
> >version of symbol snd_card' or something like that,
> try 
> >again with 'sudo modprobe agrmodem
> --force-modversion'. 
> >This tells the system to ignore the version
> complaint and 
> >load anyway.
> > 
> > However, if you get an error about symbols 
> >'snd_hda_codec_read/write' then please send me the
> output 
> >so I can see what's up.
> > 
> > Also when using wvdial, if you get an error that
> the 
> >modem is not responding, check the output of dmesg
> too... 
> >If you see a 'No Stream' error, it means we have a
> little 
> >more work ahead of us... but that we are well in
> the 
> >right direction.
> > 
> > Good luck!
> > Bjorn.
> > 
> > roan wrote:
> >> ok. now i got it.
> >> so i copied serial26.c file
> >> then tried 'make module'
> >> ---------
> >> ~/Desktop/agrsm-HDA-20080721-ALSA15$ make module
> >> make -C /lib/modules/`uname -r`/build/ 
> >>
> SUBDIRS=/home/roan/Desktop/agrsm-HDA-20080721-ALSA15
> 
> >>modules
> >> make[1]: Entering directory 
> >>`/usr/src/linux-headers-2.6.24-19-generic'
> >>   CC [M] 
>
>>/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/serial26.o
> >>   LD [M] 
>
>>/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.o
> >>   LD [M] 
>
>>/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrserial.o
> >>   Building modules, stage 2.
> >>   MODPOST 2 modules
> >> WARNING: could not find 
> >>
>
/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/.agrmodemlib.o.cmd
> 
> >>for 
> >>
>
/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodemlib.o
> >> WARNING: "snd_hda_codec_write" 
> >>
>
[/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.ko]
> 
> >>undefined!
> >> WARNING: "snd_hda_codec_read" 
> >>
>
[/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.ko]
> 
> >>undefined!
> >> WARNING: "snd_cards" 
> >>
>
[/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.ko]
> 
> >>undefined!
> >>   CC 
> >>   
>
/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.mod.o
> >>   LD [M] 
>
>>/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrmodem.ko
> >>   CC 
> >>   
>
/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrserial.mod.o
> >>   LD [M] 
>
>>/home/roan/Desktop/agrsm-HDA-20080721-ALSA15/agrserial.ko
> >> make[1]: Leaving directory 
> >>`/usr/src/linux-headers-2.6.24-19-generic'
> >> ----------
> >> then
> >> $ sudo mkdir
> /lib/modules/2.6.24-19-generic/extra/
> >> $ sudo cp *.ko 
> /lib/modules/2.6.24-19-generic/extra/
> >> $ sudo depmod -ae
> >> and at next step another error
> >> $ sudo modprobe agrmodem
> >> FATAL: Error inserting agrmodem 
> >>
> (/lib/modules/2.6.24-19-generic/extra/agrmodem.ko): 
> >>Unknown symbol in 
> >> module, or unknown parameter (see dmesg)
> >>
> >> should i send the output of 'dmesg'?
> >>
> >>
> >> On Sun, 27 Jul 2008 09:19:20 -0300
> >>  Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
> >>> Shoot... Could have sworn I wrote it.. but I
> must have 
> >>>forgotten... >_<
> >>> The file to copy is serial26.c from the agrsm
> tarball 
> >>>for newer ALSA 
> >>> versions (agrsm-HDA-20080721.tar.bz2)
> >>> and should replace the serial26.c in the
> directory for 
> >>>the OLD ALSA15 
> >>> agrsm package.
> >>> Bjorn.
> >>>
> >>>
> >>> roan wrote:
> >>>> but what the name of that file?
> >>>>
> >>>>
> >>>> On Sat, 26 Jul 2008 20:52:40 -0300
> >>>>  Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
> >>>>> Hi Roan,
> >>>>> it just occurred to me that the serial26.c
> file in the 
> >>>>>non-ALSA15 
> >>>>> tarball should already have these patches
> applied... So 
> >>>>>you should 
> >>>>> be able to copy the file over from the other
> tarball 
> >>>>>without problems.
> >>>>> If not, let me know and I'll re-send the
> patch.
> >>>>> Bjorn.
> >>>>>
> >>>>>
> >>>>>
> >>>>> roan wrote:
> >>>>>> btw, i didn't do with command 'sudo' before.
> >>>>>> but now tried with sudo and here is the
> result
> >>>>>> i saw many questions about this asm-offsets
> in google, 
> >>>>>>but didn't 
> >>>>>> succeed to find the salvation for that
> problem (
> >>>>>>
> >>>>>> ----
> >>>>>> /Desktop/agrsm-20080721$ sudo make module
> >>>>>> make -C /lib/modules/`uname -r`/build/
> SUBDIRS= modules
> >>>>>> make[1]: Entering directory 
> >>>>>> `/usr/src/linux-headers-2.6.24-19-generic'
> >>>>>>   CHK     include/linux/version.h
> >>>>>>   CHK     include/linux/utsrelease.h
> >>>>>> make[2]: *** No rule to make target 
> >>>>>> `arch/x86/kernel/asm-offsets.c', needed by 
> >>>>>> `arch/x86/kernel/asm-offsets.s'.  Stop.
> >>>>>> make[1]: *** [prepare0] Error 2
> >>>>>> make[1]: Leaving directory 
> >>>>>>`/usr/src/linux-headers-2.6.24-19-generic'
> >>>>>> make: *** [module] Error 2
> >>>>>> ---
> >>>>>>
> >>>>>>
> >>>>>> On Sat, 26 Jul 2008 13:01:02 -0300
> >>>>>>  Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
> >>>>>>> Please try the attached serial patch for the
> 
> >>>>>>>agrsm-ALSA15 source.
> >>>>>>> Should patch the serial26.c and resolve this
> error.
> >>>>>>> Let me know,
> >>>>>>> Bjorn.
> >>>>>>>
> 
=== message truncated ===> [    0.000000] Initializing
cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 2.6.24-19-generic
> (buildd@terranova) (gcc version 4.2.3 (Ubuntu
> 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008
> (Ubuntu 2.6.24-19.36-generic)
> [    0.000000] BIOS-provided physical RAM map:
> [    0.000000]  BIOS-e820: 0000000000000000 -
> 000000000009fc00 (usable)
> [    0.000000]  BIOS-e820: 000000000009fc00 -
> 00000000000a0000 (reserved)
> [    0.000000]  BIOS-e820: 00000000000e0000 -
> 0000000000100000 (reserved)
> [    0.000000]  BIOS-e820: 0000000000100000 -
> 000000007ffb0000 (usable)
> [    0.000000]  BIOS-e820: 000000007ffb0000 -
> 000000007ffbe000 (ACPI data)
> [    0.000000]  BIOS-e820: 000000007ffbe000 -
> 000000007fff0000 (ACPI NVS)
> [    0.000000]  BIOS-e820: 000000007fff0000 -
> 0000000080000000 (reserved)
> [    0.000000]  BIOS-e820: 00000000fee00000 -
> 00000000fee01000 (reserved)
> [    0.000000]  BIOS-e820: 00000000fff80000 -
> 0000000100000000 (reserved)
> [    0.000000] 1151MB HIGHMEM available.
> [    0.000000] 896MB LOWMEM available.
> [    0.000000] found SMP MP-table at 000ff780
> [    0.000000] Entering add_active_range(0, 0,
> 524208) 0 entries of 256 used
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA             0 ->     4096
> [    0.000000]   Normal       4096 ->   229376
> [    0.000000]   HighMem    229376 ->   524208
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[1] active PFN ranges
> [    0.000000]     0:        0 ->   524208
> [    0.000000] On node 0 totalpages: 524208
> [    0.000000]   DMA zone: 32 pages used for memmap
> [    0.000000]   DMA zone: 0 pages reserved
> [    0.000000]   DMA zone: 4064 pages, LIFO batch:0
> [    0.000000]   Normal zone: 1760 pages used for
> memmap
> [    0.000000]   Normal zone: 223520 pages, LIFO
> batch:31
> [    0.000000]   HighMem zone: 2303 pages used for
> memmap
> [    0.000000]   HighMem zone: 292529 pages, LIFO
> batch:31
> [    0.000000]   Movable zone: 0 pages used for
> memmap
> [    0.000000] DMI present.
> [    0.000000] ACPI: RSDP signature @ 0xC00F84A0
> checksum 0
> [    0.000000] ACPI: RSDP 000F84A0, 0014 (r0 ACPIAM)
> [    0.000000] ACPI: RSDT 7FFB0000, 0040 (r1 MSI_NB
> MEGABOOK 20070517 MSFT       97)
> [    0.000000] ACPI: FACP 7FFB0200, 0084 (r2 051707
> FACP1702 20070517 MSFT       97)
> [    0.000000] ACPI: DSDT 7FFB05B0, 5174 (r1  M1636
> M1636000        0 INTL 20051117)
> [    0.000000] ACPI: FACS 7FFBE000, 0040
> [    0.000000] ACPI: APIC 7FFB0390, 005C (r1 051707
> APIC1702 20070517 MSFT       97)
> [    0.000000] ACPI: MCFG 7FFB03F0, 003C (r1 051707
> OEMMCFG  20070517 MSFT       97)
> [    0.000000] ACPI: SLIC 7FFB0430, 0176 (r1 MSI_NB
> MEGABOOK 20070517 MSFT       97)
> [    0.000000] ACPI: OEMB 7FFBE040, 0071 (r1 051707
> OEMB1702 20070517 MSFT       97)
> [    0.000000] ACPI: HPET 7FFB5730, 0038 (r1 051707
> OEMHPET  20070517 MSFT       97)
> [    0.000000] ACPI: SSDT 7FFBE940, 04E6 (r1  PmRef 
>   CpuPm     3000 INTL 20051117)
> [    0.000000] ACPI: PM-Timer IO Port: 0x808
> [    0.000000] ACPI: Local APIC address 0xfee00000
> [    0.000000] ACPI: LAPIC (acpi_id[0x01]
> lapic_id[0x00] enabled)
> [    0.000000] Processor #0 6:15 APIC version 20
> [    0.000000] ACPI: LAPIC (acpi_id[0x02]
> lapic_id[0x01] enabled)
> [    0.000000] Processor #1 6:15 APIC version 20
> [    0.000000] ACPI: IOAPIC (id[0x02]
> address[0xfec00000] gsi_base[0])
> [    0.000000] IOAPIC[0]: apic_id 2, version 32,
> address 0xfec00000, GSI 0-23
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0
> global_irq 2 dfl dfl)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9
> global_irq 9 high level)
> [    0.000000] ACPI: IRQ0 used by override.
> [    0.000000] ACPI: IRQ2 used by override.
> [    0.000000] ACPI: IRQ9 used by override.
> [    0.000000] Enabling APIC mode:  Flat.  Using 1
> I/O APICs
> [    0.000000] ACPI: HPET id: 0xffffffff base:
> 0xfed00000
> [    0.000000] Using ACPI (MADT) for SMP
> configuration information
> [    0.000000] Allocating PCI resources starting at
> 88000000 (gap: 80000000:7ee00000)
> [    0.000000] swsusp: Registered nosave memory
> region: 000000000009f000 - 00000000000a0000
> [    0.000000] swsusp: Registered nosave memory
> region: 00000000000a0000 - 00000000000e0000
> [    0.000000] swsusp: Registered nosave memory
> region: 00000000000e0000 - 0000000000100000
> [    0.000000] Built 1 zonelists in Zone order,
> mobility grouping on.  Total pages: 520113
> [    0.000000] Kernel command line:
> root=UUID=8cd44cd7-1d05-4305-9fd2-bc09f36d51f4 ro
> quiet splash
> [    0.000000] mapped APIC to ffffb000 (fee00000)
> [    0.000000] mapped IOAPIC to ffffa000 (fec00000)
> [    0.000000] Enabling fast FPU save and restore...
> done.
> [    0.000000] Enabling unmasked SIMD FPU exception
> support... done.
> [    0.000000] Initializing CPU#0
> [    0.000000] PID hash table entries: 4096 (order:
> 12, 16384 bytes)
> [    0.000000] Detected 1795.522 MHz processor.
> [   19.381674] Console: colour VGA+ 80x25
> [   19.381678] console [tty0] enabled
> [   19.381930] Dentry cache hash table entries:
> 131072 (order: 7, 524288 bytes)
> [   19.382204] Inode-cache hash table entries: 65536
> (order: 6, 262144 bytes)
> [   19.471002] Memory: 2066816k/2096832k available
> (2177k kernel code, 28700k reserved, 1006k data,
> 368k init, 1179328k highmem)
> [   19.471008] virtual kernel memory layout:
> [   19.471009]     fixmap  : 0xfff4b000 - 0xfffff000
>   ( 720 kB)
> [   19.471010]     pkmap   : 0xff800000 - 0xffc00000
>   (4096 kB)
> [   19.471011]     vmalloc : 0xf8800000 - 0xff7fe000
>   ( 111 MB)
> [   19.471012]     lowmem  : 0xc0000000 - 0xf8000000
>   ( 896 MB)
> [   19.471013]       .init : 0xc0421000 - 0xc047d000
>   ( 368 kB)
> [   19.471014]       .data : 0xc0320474 - 0xc041bdc4
>   (1006 kB)
> [   19.471015]       .text : 0xc0100000 - 0xc0320474
>   (2177 kB)
> [   19.471018] Checking if this processor honours
> the WP bit even in supervisor mode... Ok.
> [   19.471055] SLUB: Genslabs=11, HWalign=64,
> Order=0-1, MinObjects=4, CPUs=2, Nodes=1
> [   19.471196] hpet clockevent registered
> [   19.551159] Calibrating delay using timer
> specific routine.. 3595.25 BogoMIPS (lpj=7190503)
> [   19.551181] Security Framework initialized
> [   19.551186] SELinux:  Disabled at boot.
> [   19.551198] AppArmor: AppArmor initialized
> [   19.551202] Failure registering capabilities with
> primary security module.
> [   19.551209] Mount-cache hash table entries: 512
> [   19.551321] Initializing cgroup subsys ns
> [   19.551325] Initializing cgroup subsys cpuacct
> [   19.551335] CPU: After generic identify, caps:
> bfebfbff 20100000 00000000 00000000 0000e3bd
> 00000000 00000001 00000000
> [   19.551342] monitor/mwait feature present.
> [   19.551343] using mwait in idle threads.
> [   19.551347] CPU: L1 I cache: 32K, L1 D cache: 32K
> [   19.551349] CPU: L2 cache: 2048K
> [   19.551351] CPU: Physical Processor ID: 0
> [   19.551352] CPU: Processor Core ID: 0
> [   19.551354] CPU: After all inits, caps: bfebfbff
> 20100000 00000000 00003940 0000e3bd 00000000
> 00000001 00000000
> [   19.551363] Compat vDSO mapped to ffffe000.
> [   19.551375] Checking 'hlt' instruction... OK.
> [   19.567503] SMP alternatives: switching to UP
> code
> [   19.568997] Early unpacking initramfs... done
> [   19.887569] ACPI: Core revision 20070126
> [   19.887607] ACPI: Looking for DSDT in
> initramfs... error, file /DSDT.aml not found.
> [   19.890063] CPU0: Intel(R) Core(TM)2 Duo CPU    
> T7100  @ 1.80GHz stepping 0d
> [   19.890078] SMP alternatives: switching to SMP
> code
> [   19.890714] Booting processor 1/1 eip 3000
> [   19.900906] Initializing CPU#1
> [   19.978915] Calibrating delay using timer
> specific routine.. 3591.03 BogoMIPS (lpj=7182077)
> [   19.978921] CPU: After generic identify, caps:
> bfebfbff 20100000 00000000 00000000 0000e3bd
> 00000000 00000001 00000000
> [   19.978926] monitor/mwait feature present.
> [   19.978929] CPU: L1 I cache: 32K, L1 D cache: 32K
> [   19.978931] CPU: L2 cache: 2048K
> [   19.978932] CPU: Physical Processor ID: 0
> [   19.978934] CPU: Processor Core ID: 1
> [   19.978935] CPU: After all inits, caps: bfebfbff
> 20100000 00000000 00003940 0000e3bd 00000000
> 00000001 00000000
> [   19.979397] CPU1: Intel(R) Core(TM)2 Duo CPU    
> T7100 
=== message truncated ===



      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux