Re: Max Italy, 11c11040

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

 



Hi Max, 
Looks like you've got ALSA down pat (that's half the
challenge).
You shouldn't need any of the other tarballs
(alsa-driver is the big one.)

The modification to ALSA-driver is to edit the file
alsa-kernel/pci/hda/hda_codec.c (in the alsa-driver
source dir)
and add the following two lines AFTER the section of
'#include' statements at the beginning of the file.
these are the lines to add:

EXPORT_SYMBOL(snd_hda_codec_read);
EXPORT_SYMBOL(snd_hda_codec_write);

Be wary of the trailing semicolons... Omitting them
will cause errors.

After you've edited the file, rebuild the alsa drivers
(in the alsa-driver source dir) with the following
commands:
'make clean'
'make'
and then 'sudo make install'
(all minus quotes, wait for the previous command to
finish cleanly (i.e. no errors, warnings are OK)
before moving on).

After they're installed, reboot your machine to
activate the new modules. Then, get this tarball:
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-HDA-20080721-ALSA15.tar.bz2

untar with 'tar -jxvf FILE_NAME'
move into the directory, and do 'make module'.
If you get any errors, be sure to paste the output of
'make module' in to your reply.

After that is done, copy the two .ko files to your
modules directory as described in my earlier HOWTO
e-mail. After running 'sudo depmod -ae', you should be
able to do 'sudo modprobe agrmodem' and 'sudo modprobe
agrserial'after which /dev/ttyAGS3 will be the port
you can access your modem with. (for wvdial, etc.)

Good luck!
Bjorn.




--- Max <webmaster@xxxxxxxxxxxxxxxxxx> wrote:

> Here I am again,
> alsa-driver and alsa-lib 1.0.15rc3 (do I need any
> other alsa tarball?) 
> successfully compiled.
> I didn't install them yet because, if I understood,
> they have to be modified 
> before compiling (am I right?).
> Please let me know how I have to proceed.
> Thanks again.
> Max
> 
> 
> 
> Thursday 24 July 2008 11:45:46 you wrote:
> > Hi Max,
> > That is quite likely. There are two versions of
> the
> > driver, and one relies on ALSA 1.0.16 or 17, the
> other
> > on 1.0.15 or earlier.
> > You will, however, NEED to build ALSA from the
> source
> > tarball, since we will be making modifications to
> the
> > ALSA code.
> > At this point, I can offer two suggestions:
> > 1. Try ALSA 1.0.15 from source
> > (http://www.alsa-project.org) and see if you can
> get
> > it to compile. If so, let me know and we can
> continue.
> > 2. Upgrade your kernel/OS and kernel-sources to a
> > newer version (Say 2.6.22 or so. (The driver works
> on
> > openSuSE 10.3 and 11.0, which are what I've used
> it
> > on).
> >
> > Best,
> > Bjorn.
> >
> > --- Max <webmaster@xxxxxxxxxxxxxxxxxx> wrote:
> > > Hi Bjorn,
> > > my distribution was shipped with 1.0.14, I had
> to
> > > update to 1.0.16 to make
> > > sound hardware work. Using Yast, Suse
> configuration
> > > utility, I didn't find
> > > 1.0.15 rpm to install, though I think it would
> cause
> > > the same problem
> > > compiling agrsm-20080721. Do you have any
> advice?
> > > Thanks very very much for your time and work.
> > > Max
> > >
> > > Wednesday 23 July 2008 23:18:10 you wrote:
> > > > Hi Max,
> > > > Sounds like your kernel shipped with an
> earlier
> > >
> > > version of ALSA. You
> > >
> > > > will need to use the package with the same
> name,
> > >
> > > but having the -ALSA15
> > >
> > > > suffix instead.
> > > > You will also need to revert to ALSA-driver
> 1.0.15
> > >
> > > for that package  to
> > >
> > > > work.
> > > > Bjorn.
> > > >
> > > > Max wrote:
> > > > > No success....
> > > > > this is "make module" output:
> > > > >
> > > > > make -C /lib/modules/`uname -r`/build/
> > > > > SUBDIRS=/home/max/Desktop/agrsm-20080721
> modules
> > > > > make[1]: Entering directory
> > > > >
> `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'
> > >
> > > make -C
> > >
> > > > > ../../../linux-2.6.22.17-0.1
> > >
> > > O=../linux-2.6.22.17-0.1-obj/i386/default
> > >
> > > > > modules
> > > > >   CC [M]
> > >
> > > /home/max/Desktop/agrsm-20080721/agrsoftmodem.o
> > >
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > In
> > >
> > > > > function â??agr_pci_find_deviceâ??:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:366:
> > > > > warning: â??pci_find_deviceâ?? is deprecated
> > >
> > > (declared
> > >
> > > > > at
> >
> >
>
/usr/src/linux-2.6.22.17-0.1/include/linux/pci.h:477)
> >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:369:
> > > > > warning: â??pci_find_deviceâ?? is deprecated
> > >
> > > (declared
> > >
> > > > > at
> >
> >
>
/usr/src/linux-2.6.22.17-0.1/include/linux/pci.h:477)
> >
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > In
> > >
> > > > > function â??agr_pci_get_irqâ??:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:383:
> > > > > warning: â??pci_find_deviceâ?? is deprecated
> > >
> > > (declared
> > >
> > > > > at
> >
> >
>
/usr/src/linux-2.6.22.17-0.1/include/linux/pci.h:477)
> >
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > In
> > >
> > > > > function â??x_task_queue_initâ??:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:448:
> > > warning: assignment
> > >
> > > > > from incompatible pointer type
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > In
> > >
> > > > > function â??x_task_queue_init_usbâ??:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:460:
> > > warning: assignment
> > >
> > > > > from incompatible pointer type
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > At top level:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:487:
> > > warning: function
> > >
> > > > > declaration isnâ??t a prototype
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:513:
> > > warning: function
> > >
> > > > > declaration isnâ??t a prototype
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:523:
> > > warning: function
> > >
> > > > > declaration isnâ??t a prototype
> > > > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:
> > >
> > > In
> > >
> > > > > function â??x_usb_alloc_urb_kernelâ??:
> > >
> > >
> /home/max/Desktop/agrsm-20080721/agrsoftmodem.c:527:
> 
=== message truncated ===



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.

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

  Powered by Linux