Re: Sound not working after replacing snd-hda-intel.ko

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

 



John,

You might have been better off installing dkms and the agrsm tools packages:

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/dkms-agrsm_2.1.80-7_i386.deb

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-tools_0.0.1_all.deb

See the following details found in Modem/DOCs/Agrsm.txt:

For the 11c11040 modem chips on High Definition Audio cards, the driver resource
is called dkms-agrsm and maintained at http://linux.zsolttech.com/linmodem/agrsm
/ ,
There are a few installation formats. First install your Distro's dkms package
The dkms toolset automates compiling, including compiling of needed update drive
rs
when an update kernel is installed.  Test if already installed with:    dkms --h
elp
If not installed or on your installation media, check your distribution's reposi
tory.
See the example at http://linmodems.technion.ac.il/bigarch/archive-eighth/msg038
63.html
For Ubuntu, the repository is at http://packages.ubuntu.com. Comments are more g
eneral compiling support are below.

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ has copies and some u
pdates
in Debian installation formats and related documentation and tools.
There is a agrsm_howto.txt, though it's leading compilation section is not neede
d for all cases below.
There are a few cases of support implementation, depending on the host system an
d particular chip type.
The agrsm-tools package creates symbolic links and runs a first functional test,
provided the wvdial package is installed.
Upon download and copying into your Linux partition, installation can be done wi
th:
         dpkg -i agrsm*.deb
or one of the more sophisticated installation tools.

For a few Ubuntu kernels, driver installation packagea are at
   agrsm-2.6.27-7-generic_2.6.27-7.14_i386.deb
   agrsm-2.6.27-9-generic_2.6.27-9.14_i386.deb
for 2.6.27-7-generic and 2.6.27-9-generic kernels ONLY.
Resources are at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/

For the modem chips 11c1:0620, 11c1:0630 and 11c1:048c(or f), the current confir
med support is with the
agrsm-20090418.tar.gz  at http://linmodems.technion.ac.il/packages/ltmodem/11c11
040/
See Josh Crawford's report:  http://linmodems.technion.ac.il/bigarch/archive-eig
hth/msg00475.html.
The 11c1:0620 chipset is also supported by the dkms-agrsm package (reports Hugo
Canelli)

For implementation guidance, get the agrsm_howto.txt from http://linmodems.techn
ion.ac.il/packages/ltmodem/11c1040/ .
However the leading compiling section should be skipped for installation done wi
th dkms tools.
For Debian/Ubuntu related systems also get the from http://linmodems.technion.ac
.il/packages/ltmodem/11c11040/
the agrsm-tools_0.0.1_all.deb. Though lacking drivers, it automates setup of sym
bolic links initiated by
         modprobe agrserial
and also has a utility, called by:
         agrsm-test

For kernels earlier than 2.6.26 the more laborious procedures.
A simplest route is to get from http://linmodems.technion.ac.il/packages/ltmodem
/11c11040/ one of:
        kernel-2.6.21.0-22.i686.rpm
        linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb
as their module set contains the drivers, but just for kernel 2.6.21.0-22.

For the Ubuntu 2.6.24-19-generic kernel, there is a driver package
agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz

For kernels between 2.6.21 and 2.6.26 read the  HOWTO-Agere-11c11040-HDA.html,
which relates a laborious procedure involving kernel-source code.

A single root/adm command:
   modprobe agrserial
will provide for loading both drivers and symbolic /dev/ttySAGR link creation,
if the following two lines to some file in the /etc/modprobe folders.

install agrserial /sbin/modprobe --ignore-install agrmodem ; /sbin/modprobe --ig
nore-install agrserial && test -e /dev/ttySAGR || ln -s /dev/ttyAGS3 /dev/ttySAG
R
remove agrserial /sbin/modprobe -r --ignore-remove agrserial ; /sbin/modprobe -r
 --ignore-remove agrmodem && { if test -L /dev/ttySAGR; then rm /dev/ttySAGR; fi
 } ; true

They will alternatively be installed by the package agrsm-tools_0.0.1_all.deb

For the 11c11040 modem chips on High Definition Audio cards, the driver resource
is called dkms-agrsm and maintained at http://linux.zsolttech.com/linmodem/agrsm
/ ,
There are a few installation formats. First install your Distro's dkms package
The dkms toolset automates compiling, including compiling of needed update drive
rs
when an update kernel is installed.  Test if already installed with:    dkms --h
elp
If not installed or on your installation media, check your distribution's reposi
tory.
See the example at http://linmodems.technion.ac.il/bigarch/archive-eighth/msg038
63.html
For Ubuntu, the repository is at http://packages.ubuntu.com. Comments are more g
eneral compiling support are below.

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ has copies and some u
pdates
in Debian installation formats and related documentation and tools.
There is a agrsm_howto.txt, though it's leading compilation section is not neede
d for all cases below.
There are a few cases of support implementation, depending on the host system an
d particular chip type.
The agrsm-tools package creates symbolic links and runs a first functional test,
provided the wvdial package is installed.
Upon download and copying into your Linux partition, installation can be done wi
th:
         dpkg -i agrsm*.deb
or one of the more sophisticated installation tools.

For a few Ubuntu kernels, driver installation packagea are at
   agrsm-2.6.27-7-generic_2.6.27-7.14_i386.deb
   agrsm-2.6.27-9-generic_2.6.27-9.14_i386.deb
for 2.6.27-7-generic and 2.6.27-9-generic kernels ONLY.
Resources are at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/

For the modem chips 11c1:0620, 11c1:0630 and 11c1:048c(or f), the current confir
med support is with the
agrsm-20090418.tar.gz  at http://linmodems.technion.ac.il/packages/ltmodem/11c11
040/
See Josh Crawford's report:  http://linmodems.technion.ac.il/bigarch/archive-eig
hth/msg00475.html.
The 11c1:0620 chipset is also supported by the dkms-agrsm package (reports Hugo
Canelli)

For implementation guidance, get the agrsm_howto.txt from http://linmodems.techn
ion.ac.il/packages/ltmodem/11c1040/ .
However the leading compiling section should be skipped for installation done wi
th dkms tools.
For Debian/Ubuntu related systems also get the from http://linmodems.technion.ac
.il/packages/ltmodem/11c11040/
the agrsm-tools_0.0.1_all.deb. Though lacking drivers, it automates setup of sym
bolic links initiated by
         modprobe agrserial
and also has a utility, called by:
         agrsm-test

For kernels earlier than 2.6.26 the more laborious procedures.
A simplest route is to get from http://linmodems.technion.ac.il/packages/ltmodem
/11c11040/ one of:
        kernel-2.6.21.0-22.i686.rpm
        linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb
as their module set contains the drivers, but just for kernel 2.6.21.0-22.

For the Ubuntu 2.6.24-19-generic kernel, there is a driver package
agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz

For kernels between 2.6.21 and 2.6.26 read the  HOWTO-Agere-11c11040-HDA.html,
which relates a laborious procedure involving kernel-source code.

A single root/adm command:
   modprobe agrserial
will provide for loading both drivers and symbolic /dev/ttySAGR link creation,
if the following two lines to some file in the /etc/modprobe folders.

install agrserial /sbin/modprobe --ignore-install agrmodem ; /sbin/modprobe --ig
nore-install agrserial && test -e /dev/ttySAGR || ln -s /dev/ttyAGS3 /dev/ttySAG
R
remove agrserial /sbin/modprobe -r --ignore-remove agrserial ; /sbin/modprobe -r
 --ignore-remove agrmodem && { if test -L /dev/ttySAGR; then rm /dev/ttySAGR; fi
 } ; true

They will alternatively be installed by the package agrsm-tools_0.0.1_all.deb

Please try above advice and then report back.

Regards,

Antonio

On 12/27/09, john hutton cooper <johnnyhutton@xxxxxxxxx> wrote:
> Hi:
>
> I'm trying to follow the instructions in
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
> to install a software modem in Ubuntu 8.10 Intrepid
> (2.6.27-16-generic) on a Toshiba A-135 laptop.  Output from scanModem
> is attached.
>
> Problem 1:
> Sound doesn't work.  I found that the Ubuntu modules source code is
> not to be found in /lib/modules/2.6.27-16-generic/ where I expected
> it, so I downloaded what I believe to be the correct code distribution
> from the Ubuntu website to /home/userdude/ubuntu-intrepid, found
> hda_codec.c and edited as instructed, and typed make modules in the
> ubuntu-intrepid directory.  It did compile, but after I cp'd
> snd-hda-intel.ko to
> /lib/modules/2.6.27-16-generic/kernel/sound/pci/hda and re-booted, my
> sound doesn't work.  I can go back to the old snd-hda-intel.ko and my
> sound works fine.
>
> Problem 2:
> I went ahead with the steps of downloading and compiling the driver
> software and got an error message:
> userdude@potato:/media/xp/downloads/agrsm-20080721$ make -C
> /home/userdude/ubuntu-intrepid/
> SUBDIRS=/media/xp/downloads/agrsm-20080721 modules
> make: Entering directory `/home/userdude/ubuntu-intrepid'
>   CC [M]  /media/xp/downloads/agrsm-20080721/agrsoftmodem.o
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c: In function
> ‘kill_proc_wrap’:
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:317: error: implicit
> declaration of function ‘kill_proc’
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c: In function
> ‘x_task_queue_init’:
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:448: warning:
> assignment from incompatible pointer type
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c: In function
> ‘x_task_queue_init_usb’:
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:460: warning:
> assignment from incompatible pointer type
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c: At top level:
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:487: warning:
> function declaration isn’t a prototype
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:513: warning:
> function declaration isn’t a prototype
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:523: warning:
> function declaration isn’t a prototype
> /media/xp/downloads/agrsm-20080721/agrsoftmodem.c:528: warning:
> function declaration isn’t a prototype
> make[1]: *** [/media/xp/downloads/agrsm-20080721/agrsoftmodem.o] Error 1
> make: *** [_module_/media/xp/downloads/agrsm-20080721] Error 2
> make: Leaving directory `/home/userdude/ubuntu-intrepid'
>
> So I need help.  Any suggestions?
>
> Thanks and Happy Holidays,
>
> Johnny
>


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

  Powered by Linux