Re: 11c1040

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

 



Hey,
Sometimes these things happen - some distros just give generic kernel
sources which aren't the exact version the distro comes with, causing
such an error.

You should be able to build the latest alsa-driver package and install
it without a problem. The instructions will only differ in that you need
to edit the hda_codec.c in the source package, not in /usr/src/linux.
Best,
Bjorn.

Soumen Banerjee wrote:
> Hello,
> I built the kernel modules (not alsa specially) so i got the kernel
> source code from the mandriva DVD edited it and then ran make modules
> how could i be using a different version of the source code?
> I have the newest alsa source though would editing,compiling and
> installing it help me get the modem running or do i of necessity have to
> compile all of the kernel?
> Thanks,
> Soumen
> On Sun, 23 Nov 2008 18:57:04 +0530, Bjorn Wielens <Uniacke1@xxxxxxxx>
> wrote:
> 
>> If you are still getting the error, it means you seem to be using the
>> wrong version of the sources. What sources are you building ALSA from?
>>
>> Soumen Banerjee wrote:
>>> hello,
>>> if i ry to make the modules without the export lines i still get an
>>> invalid module format error. I tried inserting them into the kernel in 2
>>> ways
>>> 1) in mandriva this particular driver is loaded out of a
>>> snd-hda-intel.ko.gz archive. I archieved the patched driver and replaced
>>> the older one in the /lib/modles tree and i got a boot time error and it
>>> didnt work.
>>> 2) i also tried using insmod with both the uncompressed module and the
>>> compressed one. i kept getting the invalid format error.
>>> Thanks
>>> Soumen
>>>
>>> On Sun, 23 Nov 2008 18:16:00 +0530, Bjorn Wielens <Uniacke1@xxxxxxxx>
>>> wrote:
>>>
>>>> Hey,
>>>> What happens if you build the modules without the two 'export_symbol'
>>>> lines? Does it still give that error?
>>>> How are you loading them in to the kernel? (What command(s))?
>>>> Thanks,
>>>> Bjorn.
>>>>
>>>> Soumen Banerjee wrote:
>>>>> Hello,
>>>>> I got to the step where you have to compile the sound drivers. I am on
>>>>> the mandriva 2008.1 kernel 2.6.24.4-desktop586-1mnb. I installed the
>>>>> sources edited the hda_codec.c file and found that upon compiling with
>>>>> make modules the driver generated was in "Invalid module format". I
>>>>> contacted the mandriva forums for help but was unable to find out why
>>>>> two export lines should cause the module to compile error-freely but
>>>>> still end up in invalid format. The patched module is ready but
>>>>> incompatible, what do you suggest should i do about getting the patch
>>>>> done somehow? I also have an ubuntu 8.04 clean install but cant
>>>>> find the
>>>>> hda_codec.c there to modify. Please Help.
>>>>> Thanks,
>>>>> Soumen
>>>>>
>>>>> On Sun, 23 Nov 2008 17:51:39 +0530, Bjorn Wielens <Uniacke1@xxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Hey Soumen,
>>>>>> You can find the instructions for building the driver and patching
>>>>>> your
>>>>>> sound modules here:
>>>>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
>>>>>>
>>>>>>
>>>>>>
>>>>>> Please follow the steps given exactly as they are written.
>>>>>> They should be clear enough for you to follow, but if you have any
>>>>>> questions about a particular step, PLEASE contact the mailing list-
>>>>>> don't just skip it and assume it will work!! :)
>>>>>>
>>>>>> Bjorn.
>>>>>>
>>>>>>
>>>>>> Marvin Stodolsky wrote:
>>>>>>> Soumen,
>>>>>>>
>>>>>>> Send messages only in plain Text to the List or they will be
>>>>>>> rejected.
>>>>>>>
>>>>>>> With respect to
>>>>>>> NAME="Audio device: ATI Technologies Inc SBx00 Azalia"
>>>>>>> CLASS=0403
>>>>>>> PCIDEV=1002:4383
>>>>>>> SUBSYS=103c:30c2
>>>>>>> CHIP=0x11c11040
>>>>>>>
>>>>>>>  Bjorn is managing guidance for the 11c11040  chip modems
>>>>>>>
>>>>>>> MarvS
>>>>>>>
>>>>>>> On Sat, Nov 22, 2008 at 9:26 AM, Soumen Banerjee
>>>>>>> <soumen08@xxxxxxxxx>
>>>>>>> wrote:
>>>>>>>> Hello,
>>>>>>>> this was sent to the mailing list as well but i got no reply. Im
>>>>>>>> sending
>>>>>>>> this to you personally as a last resort please help me if you can!
>>>>>>>>
>>>>>>>> I have been tyring to get my modem to work for a while now but with
>>>>>>>> little
>>>>>>>> success. I was delighted to see that the new scanModem actually
>>>>>>>> detected my
>>>>>>>> modem and tells me what driver to use, but it involves patching my
>>>>>>>> sound
>>>>>>>> driver which i am unsure of how to do (im somewhat of a linux
>>>>>>>> newbie). I
>>>>>>>> would like to know how i can go about patching my driver. I am on
>>>>>>>> mandriva
>>>>>>>> 2008.1 (kernel 2.6.24) or ubuntu 8.04(2.6.24). I here give the
>>>>>>>> complete
>>>>>>>> output of ModemData.txt
>>>>>>>>
>>>>>>>>  Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx
>>>>>>>> List
>>>>>>>> Server,
>>>>>>>>  as HTML can contain viruses. Use as the email Subject Line:
>>>>>>>>           YourName, YourCountry  kernel 2.6.24.4-desktop586-1mnb
>>>>>>>>  With this Subject Line cogent experts will be alerted, and useful
>>>>>>>> case
>>>>>>>> names left in the Archive.
>>>>>>>>  YourCountry will enable Country specific guidance. Linux
>>>>>>>> experts in
>>>>>>>> YourCountry
>>>>>>>>  can be found through: http://www.linux.org/groups/index.html.
>>>>>>>> They will know your Country's modem code, which may be essential
>>>>>>>> for
>>>>>>>> dialup
>>>>>>>> service.
>>>>>>>> Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an
>>>>>>>> Internet
>>>>>>>> Provider mail filters.
>>>>>>>>  So in a day, also check the Archived responses at
>>>>>>>> http://www.linmodems.org
>>>>>>>> --------------------------  System information
>>>>>>>> ----------------------------
>>>>>>>> CPU=i686,
>>>>>>>> Linux version 2.6.24.4-desktop586-1mnb
>>>>>>>> (lcapitulino@xxxxxxxxxxxxxxx)
>>>>>>>> (gcc
>>>>>>>> version 4.2.3 (4.2.3-6mnb1)) #1 SMP Thu Mar 27 14:20:33 CET 2008
>>>>>>>>  scanModem update of:  2008_11_06
>>>>>>>> The modem symbolic link is /dev/modem -> ttyS2
>>>>>>>>  There are no blacklisted modem drivers in /etc/modprobe*  files
>>>>>>>> Attached USB devices are:
>>>>>>>>  ID 08ff:2580 AuthenTec, Inc.
>>>>>>>>  ID 15d9:0a33
>>>>>>>>  ID 03f0:171d Hewlett-Packard
>>>>>>>>
>>>>>>>> USB modems not recognized
>>>>>>>>
>>>>>>>> For candidate card in slot 00:14.2, firmware information and bootup
>>>>>>>> diagnostics are:
>>>>>>>>  PCI slot       PCI ID          SubsystemID     Name
>>>>>>>>  ----------     ---------       ---------       --------------
>>>>>>>>  00:14.2        1002:4383       103c:30c2       Audio device: ATI
>>>>>>>> Technologies Inc SBx00 Azalia
>>>>>>>>
>>>>>>>>  Modem interrupt assignment and sharing:
>>>>>>>>  19:        316      49289   IO-APIC-fasteoi   ahci, HDA Intel,
>>>>>>>> eth0
>>>>>>>>  --- Bootup diagnostics for card in PCI slot 00:14.2 ----
>>>>>>>> PCI: Cannot allocate resource region 0 of device 0000:00:14.2
>>>>>>>> ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) ->
>>>>>>>> IRQ 19
>>>>>>>>
>>>>>>>>
>>>>>>>> ===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
>>>>>>>> The ALSA packages provide audio support and also drivers for some
>>>>>>>> modems.
>>>>>>>> ALSA diagnostics are written during bootup to /proc/asound/
>>>>>>>> folders.
>>>>>>>>
>>>>>>>> The ALSA verion is 1.0.16
>>>>>>>> The modem cards detected by "aplay -l"  are: None
>>>>>>>>
>>>>>>>>
>>>>>>>> The /proc/asound/pcm file reports:
>>>>>>>> -----------------------
>>>>>>>> 00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
>>>>>>>>
>>>>>>>> about /proc/asound/cards:
>>>>>>>> ------------------------
>>>>>>>>  0 [SB             ]: HDA-Intel - HDA ATI SB
>>>>>>>>                      HDA ATI SB at 0x50000000 irq 19
>>>>>>>>
>>>>>>>>  PCI slot 00:14.2 has a High Definition Audio Card
>>>>>>>>  The drivers are in the kernel modules tree at:
>>>>>>>>
>>>>>>>>  The modem codec file for the HDA card is:
>>>>>>>> /proc/asound/card0/codec#1
>>>>>>>> --------------------------------------------------------
>>>>>>>> Codec: LSI ID 1040
>>>>>>>> Address: 1
>>>>>>>> Vendor Id: 0x11c11040
>>>>>>>> Subsystem Id: 0x103c1378
>>>>>>>> Revision Id: 0x100200
>>>>>>>> Modem Function Group: 0x1
>>>>>>>>
>>>>>>>>  The audio card hosts a softmodem chip:  0x11c11040
>>>>>>>> If not a Conexant modem, the driver
>>>>>>>> agrmodem+agrserial+patched_snd-hda-intel
>>>>>>>> with its dependent drivers:
>>>>>>>>
>>>>>>>> ----------
>>>>>>>> provide audio + modem support with the modem chip residing on the
>>>>>>>> subsystem.
>>>>>>>> Any particular card can host any one of several soft modem chips.
>>>>>>>>
>>>>>>>> === Finished firmware and bootup diagnostics, next deducing cogent
>>>>>>>> software.
>>>>>>>> ===
>>>>>>>>
>>>>>>>> Predictive  diagnostics for card in bus 00:14.2:
>>>>>>>>        Modem chipset  detected on
>>>>>>>> NAME="Audio device: ATI Technologies Inc SBx00 Azalia"
>>>>>>>> CLASS=0403
>>>>>>>> PCIDEV=1002:4383
>>>>>>>> SUBSYS=103c:30c2
>>>>>>>> IRQ=19
>>>>>>>> HDA=1002:4383
>>>>>>>> SOFT=1002:4383.HDA
>>>>>>>> CHIP=0x11c11040
>>>>>>>> IDENT=11c11040
>>>>>>>> Driver=agrmodem+agrserial+patched_snd-hda-intel
>>>>>>>>
>>>>>>>>  For candidate modem in:  00:14.2
>>>>>>>>   0403 Audio device: ATI Technologies Inc SBx00 Azalia
>>>>>>>>      Primary device ID:  1002:4383
>>>>>>>>    Subsystem PCI_id  103c:30c2
>>>>>>>>    Softmodem codec or chipset from diagnostics: 0x11c11040
>>>>>>>>                               from    Archives:
>>>>>>>>                        The HDA card softmodem chip is 0x11c11040
>>>>>>>>
>>>>>>>>
>>>>>>>> Support type needed or chipset: 11c11040
>>>>>>>>
>>>>>>>> ----------------end Softmodem section --------------
>>>>>>>>
>>>>>>>>  Vendor 11c1 is Lucent Technologies with modem technology now under
>>>>>>>> LSI Inc.
>>>>>>>> Their Linux  code developer/maintainer is Soumyendu Sarkar. Support
>>>>>>>> for a
>>>>>>>> chipset and its
>>>>>>>>  continued maintenance is only initiated at the request of a major
>>>>>>>> chipset
>>>>>>>> buyer,
>>>>>>>>  or comparable sponsor. Several different  modem chipset types  are
>>>>>>>> produced:
>>>>>>>>  with varying support under Linux.
>>>>>>>>  Device ID   Support        Name           Comment
>>>>>>>>  ---------   -------------  -----------
>>>>>>>> -----------------------------
>>>>>>>>  0480        serial_drivers Venus           controller chipset
>>>>>>>> 1673JV7
>>>>>>>>  0440-045d   martian        Mars/Apollo     DSP (digital signal
>>>>>>>> processing)
>>>>>>>> chipsets
>>>>>>>>  0462        none           56K.V90/ADSL Wildwire
>>>>>>>>  048d none                  SV2P            soft modem
>>>>>>>>  048(c or f) AGRSM          SV2P            soft modem
>>>>>>>>  0600        none           soft modem, very few in the field.
>>>>>>>>  0620        AGRSM          Pinball  soft modem, in some HP
>>>>>>>> desktop PCs
>>>>>>>>  011c11040   AGRSM          hosted on High Definition Audio cards
>>>>>>>>  062(1-3)    none           SV92PP,Pinball  soft modem, in some HP
>>>>>>>> desktop
>>>>>>>> PCs
>>>>>>>>
>>>>>>>> martian - At
>>>>>>>> http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
>>>>>>>>
>>>>>>>> AGRSM - At
>>>>>>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>>>>>>>>  Compiling resources for a driver module pair: agrmodem.ko +
>>>>>>>> agrserial.ko
>>>>>>>>  Use the  agrsm-HDA-20080721-ALSA15.tar.bz2 or
>>>>>>>> agrsm-HDA-20080721.tar.bz2
>>>>>>>>  Read the agrsm_howto.txt.  For 11c11040 chips, also the
>>>>>>>> HOWTO-Agere-11c11040-HDA.html
>>>>>>>>
>>>>>>>> -------------- end Agere Systems section -------------------
>>>>>>>>
>>>>>>>>  Completed candidate modem analyses.
>>>>>>>>
>>>>>>>>  The base of the UDEV device file system is: /dev/.udev
>>>>>>>>
>>>>>>>>  Versions adequately match for the compiler installed: 4.2.3
>>>>>>>>             and the compiler used in kernel assembly: 4.2.3
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Minimal compiling resources appear complete:
>>>>>>>>   make utility - /usr/bin/make
>>>>>>>>   Compiler version 4.2
>>>>>>>>   linuc_headers base folder
>>>>>>>> /lib/modules/2.6.24.4-desktop586-1mnb/build
>>>>>>>>
>>>>>>>>  However some compilations and executable functions may need
>>>>>>>> additional
>>>>>>>> files,
>>>>>>>>  in the FileNames.h (so called kernel "h"eaders) collection
>>>>>>>> installed in
>>>>>>>>  /usr/include/ .
>>>>>>>>  For martian_modem, additional required packages are needed. The
>>>>>>>> also
>>>>>>>> required headers of package libc6 are commonly installed by
>>>>>>>> default.
>>>>>>>>  Compiling hsfmodem drivers does require linux-libc-dev and
>>>>>>>> libc6-dev
>>>>>>>> packages, for kernels 2.6.24 and later versions.
>>>>>>>>  In not included on your install CD, search for them at
>>>>>>>> http://packages.ubuntu.com
>>>>>>>>  or comparable Repository for other Linux distros.
>>>>>>>>  When compiling ALSA drivers, the utility "patch" will also be
>>>>>>>> needed.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> If a driver compilation fails, with message including some lack of
>>>>>>>> some
>>>>>>>> FileName.h (stdio.h for example), then
>>>>>>>> Some additional kernel-header files need installation to
>>>>>>>> /usr/include. The
>>>>>>>> minimal additional packages are libc6-dev
>>>>>>>> and any of its dependents, under Ubuntu linux-libc-dev
>>>>>>>>
>>>>>>>> If an alternate ethernet connection is available,
>>>>>>>> $  apt-get update
>>>>>>>> $  apt-get -s install linux-kernel-devel
>>>>>>>> will install needed packages.
>>>>>>>> For Debian/Ubuntu related distributions, run the following
>>>>>>>> command to
>>>>>>>> display the needed package list:
>>>>>>>>
>>>>>>>> Otherwise packages have to be found through
>>>>>>>> http://packages.ubuntu.com
>>>>>>>> Once downloaded and transferred into a Linux partition,
>>>>>>>> they can be installed alltogether with:
>>>>>>>> $ sudo dpkg -i *.deb
>>>>>>>>
>>>>>>>>
>>>>>>>> Checking pppd properties:
>>>>>>>>        -rwsr-xr-t 1 root root 316392 2008-04-04 22:33
>>>>>>>> /usr/sbin/pppd
>>>>>>>>
>>>>>>>> In case of an "error 17" "serial loopback" problem, see:
>>>>>>>>
>>>>>>>> http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html
>>>>>>>>
>>>>>>>>
>>>>>>>> To enable dialout without Root permission do:
>>>>>>>>        $ su - root  (not for Ubuntu)
>>>>>>>>         chmod a+x /usr/sbin/pppd
>>>>>>>> or under Ubuntu related Linuxes
>>>>>>>>         chmod a+x /usr/sbin/pppd
>>>>>>>>
>>>>>>>> Checking settings of:   /etc/ppp/options
>>>>>>>> lock
>>>>>>>> noauth
>>>>>>>> noipdefault
>>>>>>>> usepeerdns
>>>>>>>>
>>>>>>>> In case of a message like:
>>>>>>>>   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
>>>>>>>> see
>>>>>>>> http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
>>>>>>>>
>>>>>>>> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
>>>>>>>> wlan0
>>>>>>>> Which can interfere with Browser naviagation.
>>>>>>>>
>>>>>>>>  Don't worry about the following, it is for experts should trouble
>>>>>>>> shooting
>>>>>>>> be necessary.
>>>>>>>> ==========================================================
>>>>>>>>
>>>>>>>> L modem ttyS2
>>>>>>>> M slamr0 c 242 0
>>>>>>>> M slamr1 c 242 1
>>>>>>>> M slusb0 c 243 0
>>>>>>>> M slusb1 c 243 1
>>>>>>>>  Checking for modem support lines:
>>>>>>>>  --------------------------------------
>>>>>>>>     /device/modem symbolic link:   lrwxrwxrwx 1 root root 5
>>>>>>>> 2008-11-20 15:37
>>>>>>>> /dev/modem -> ttyS2
>>>>>>>> slmodemd created symbolic link /dev/ttySL0:
>>>>>>>>     Within /etc/udev/ files:
>>>>>>>> /etc/udev/devices.d/modem.nodes:L modem ttyS2
>>>>>>>> /etc/udev/rules.d/00-hsf.rules:KERNEL=="ttySHSF0", SYMLINK="modem"
>>>>>>>> /etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",
>>>>>>>>  NAME="modems/mwave", GROUP="uucp"
>>>>>>>>     Within /etc/modprobe.conf files:
>>>>>>>>
>>>>>>>>     Within any ancient /etc/devfs files:
>>>>>>>>
>>>>>>>>     Within ancient kernel 2.4.n /etc/module.conf files:
>>>>>>>> /etc/modules.conf:alias /dev/modem /dev/ttySHSF
>>>>>>>> --------- end modem support lines --------
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Using Opera's revolutionary e-mail client:
>>>>>>>> http://www.opera.com/mail/
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
> 
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature


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

  Powered by Linux