Re: 11c11040 modem with agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz and othre kernels

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

 



Thanks to Marvin with his suggestion following two lines:

A) closing COMM channels by:
$ sudo ifconfig eth0 down
(using kernel 2.6.21.0-22)

B) running agrmodem under 2.6.24-19-generic by:
downloading agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz and installing

IMPORTANT NOTE: ALSA15 GIVES NO SOUND! THEREFORE, I MADE THE UPDATE TO
ALSA16 RUNNING 2.6.24-16-generic. TODAY I MADE KERNEL UPDATE TO
2.6.24-19-generic. THERE IS STILL SOUND!
--------------------------------------------

A) produced the following output:
marigold7@Lenovo:~$ sudo ifconfig eth0 down
marigold7@Lenovo:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT01936844
--> Waiting for carrier.
ATDT01936844
NO DIALTONE
--> No dial tone.
--> Disconnecting at Sun Aug  3 21:14:50 2008
marigold7@Lenovo:~$ 

There is indeed no sound running 2.6.21.0-22! I am not able to do the ALSA
update for it (no headers, I do not know the proper commands). I do not
prefer to use this old kernel.

-------------------------------------

B) the setup (done after the kernel update - the sound is still well)
produced the following output:

$ sudo ./setup
[sudo] password for marigold7: 

Drivers to be installed are: agrmodem.ko
agrserial.ko
snd-hda-intel.ko
installing drivers for kernel version 2.6.24-19-generic
Saving existing driver to /root/
snd-hda-intel.ko
Copying snd-hda-intel.ko to
/lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko

Making folder /lib/modules/2.6.24-19-generic/extra
Copying drivers to extra
Drivers agrmodem.ko agrserial.ko and snd-hda-intel.ko should next be
displayed
-rw-r--r-- 1 root root 1817731 2008-08-04 15:41
/lib/modules/2.6.24-19-generic/extra/agrmodem.ko
-rw-r--r-- 1 root root  159344 2008-08-04 15:41
/lib/modules/2.6.24-19-generic/extra/agrserial.ko
-rw-r--r-- 1 root root 2056474 2008-08-04 15:41
/lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko

Checking dependencies, will take a while.

Report any warnings to Discuss@xxxxxxxxxxxxx

To test a modem with the 11c11040 chip, reboot to enable loading of the new 
snd-hda-intel driver.  Likely it will not be possible to unload your running
driver.
Follow instructions of agrsm_howto.txt, starting at 1)

For other modem chips, rebooting may not be necessary. Do:
$ sudo modprobe agrmodem
$ sudo modprobe agrserial
and dynamic creation of the modem port should be created.
Read the agrsm_howto.txt for follow through details.

I followed the agrsm_howto.txt, but I am confused and I need your help in
what to do (please, give commands).


1.) the command cat /proc/asound/version results in:
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Jun 18 2008 for kernel 2.6.24-19-generic (SMP).

2.) search results for "hda_codec.c":
/usr/src/modules/alsa/alsa-driver-1.0.16/alsa-kernel/pci/hda/hda_codec.c
/usr/src/modules/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c

I modified /usr/src/modules/alsa/alsa-driver-1.0.16/pci/hda/hda_codec.c by
adding
EXPORT_SYMBOL(snd_hda_codec_read)
EXPORT_SYMBOL(snd_hda_codec_write)

Should I also modify the other hda_codec.c in
/usr/src/modules/alsa/alsa-driver-1.0.16/alsa-kernel/pci/hda/?

3.) there is no folder /usr/src/linux to rebuild and install the new
modules.

search results for "snd-hda-intel.ko":
/lib/modules/2.6.21.0-22/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-16-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-16-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko
/usr/src/modules/alsa/alsa-driver-1.0.16/modules/snd-hda-intel.ko
/usr/src/modules/alsa/alsa-driver-1.0.16/pci/hda/snd-hda-intel.ko

snd-hda-intel.ko is absent in 2.6.24-19-generic!

In which folder I should rebuild and install the new modules?

----------------------------------
What about the situation concerning alsa-driver-1.0.16 (updated from 1.0.15
under kernel 2.6.24-16-generic)? Today, I updated to kernel
2.6.24-19-generic doing a complete system update (it was about 245 MB). What
should I do now???




Marvin Stodolsky wrote:
> 
> All,
> 
> Precompiled drivers ONLY work with the kernel they were compiled for.
> 
> Our plan is that more experienced Users will compile the needed
> drivers under new kernels.
> After successfully tested, they should be sent to Joern & me,  We will
> package then into a
> agrsm_DistroName_NewKernelVersion.tar.gz
> for less experienced to use without compiling
> 
> Robert,
> 
> Make sure all COMM channels except COMM are closed before starting a
> dialout or DNS
> will fail under ppp0, as ppp0 has lowest priority.
> $ ifconfig
> to show channels
> $ sudo ifconfig eth0 down
> as necessary except leave loopback "lo" open.
> Then dialout
> 
> You can get service under 2.6.24-19-generic as follows:
> --------------------
> From http://phep2.technion.ac.il/linmodems/packages/ltmodem/11c11040/
> download the agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz
> 
> A server http://packages.ubuntu.com/  seems to be done now, but should
> be up again soon.  Thereat search for linux-image-2.6.24-19-generic
> and download the
>  linux-image-2.6.24-19-generic_SomeVersionInfo.deb
> 
> Copy both packages to your Linux partition, say using a USB stick,
> First do
> $ sudo dpkg -i  linux*.deb
> Then reboot using the new 2.6.24-19-generic kernel choice.
> 
> Then unpack:
> $ tar zxf agrsm*.tar.gz
> Move into the new folder:
> $ cd agrsm-ubuntu8.04.1-2.6.24-19-generic
> and run the
> $ sudo ./setup
> which will install the drivers
> Follow through with the output directions
> ------------------
> This has worked for others.
> 
> MarvS
> 
> 
> On Sun, Aug 3, 2008 at 11:49 AM,  <robertfischer@xxxxxxxxxxx> wrote:
>> Dear Marvin,
>>
>> attached you should find ModemData.txt. I urgently need your help,
>> because I was not able to set up a functional internet connection. In the
>> meantime I completely reinstalled Ubuntu 8.04 (with the update from
>> 2.6.24-18-generic to 2.6.24-19-generic I horribly failed with my ALSA
>> update - due to a fatal error nothing did work, e.g. I could not open a
>> simple terminal) and now I am using kernel 2.6.24-16 together with
>> alsa-lib-1..0.16 (the sound works very well).
>>
>> Appropriate to your former instruction I again installed
>> linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb. Now I am able to establish
>> a modem connection but firefox web browser or Evolution-E-Mail does not
>> work.
>>
>> Here are some details using GNOME PPP:
>>
>> Connection Log:
>>
>> --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
>> --> WvDial: Internet dialer version 1.60
>> --> Cannot set information for serial port.
>> --> Initializing modem.
>> --> Sending: ATX3
>> ATX3
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> OK
>> --> Modem initialized.
>> --> Sending: ATM0L0DT01936844
>> --> Waiting for carrier.
>> ATM0L0DT01936844
>> CONNECT 46666 V44
>> --> Carrier detected.  Waiting for prompt.
>> ~[7f]}#@!}!&} }8}"}&} }*} } }#}$@#}%}&) Y}#}'}"}(}"x.~
>> --> PPP negotiation detected.
>> --> Starting pppd at Thu Jul  3 15:32:45 2008
>> --> Pid of pppd: 6362
>> --> Using interface ppp0
>> --> local  IP address 213.102.100.180
>> --> remote IP address 212.151.128.194
>> --> primary   DNS address 130.244.127.161
>> --> secondary DNS address 130.244.127.169
>>
>> I would like to use the newer module 2.6.24-16-generic instead of
>> 2.6.21..0-22. My ALSA update was done for 2.6.24-16-generic. I feel not
>> able to set up a second ALSA update also for 2.6.21..0-22 (if this is
>> necessary for modem function - here I have no sound). Furthermore, I lost
>> the capability to use w-lan under 2.6.21..0-22 (it still works with
>> 2.6.24-16.generic).
>>
>> For the case that I should use 2.6.24-19-generic I ask you for the
>> commands how to apply alsa-lib-1..0.16 and alsa-driver-1.0.16 to it (have
>> I to deinstall alsa before). Should I install slmodemd?
>>
>> With best wishes,
>>
>> Robert Fischer
>>
>>
>>
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Datum: Sat, 02 Aug 2008 20:55h
>> Von: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>
>> An: "Robert Fischer" <robertfischer@xxxxxxxxxxx>
>> Betreff: Re: Fischer, Germany, kernel 2.6.24-16-generic || my sound
>> works!
>>
>>
>> Robert,
>>
>> Your modem may have been misidentified,
>> Please run the attached update and send me the ModemData.txt
>>
>> MarvS
>>
>> On Tue, Jun 17, 2008 at 12:29 PM, Robert Fischer
>> <robertfischer@xxxxxxxxxxx> wrote:
>>> Dear Marvin,
>>>
>>> I followed your hints, thank you.
>>>
>>> Today, I got my big breakthrough after uninstalling PulseAudio and
>>> selecting
>>> "intel" instead of "PulseAudio" in system > settings > default sound
>>> card.
>>>
>>> I am happy.
>>>
>>> Unfortunately, I am unable to run your slmodemd. Attached you will find
>>> today´s ModemData.txt. Please, tell me which command I should use.
>>> Especially, I do not know where to find the number "N" for the port.
>>>
>>> marigold7@lenovo:~$ sudo slmodemd -c GERMANY --alsa hw:0
>>> [sudo] password for marigold7:
>>> error: mixer setup: Off-hook switch not found for card hw:0
>>> SmartLink Soft Modem: version 2.9.11 Feb 25 2008 18:25:57
>>> symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
>>> modem `hw:0' created. TTY is `/dev/pts/1'
>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>>>
>>> With best wishes,
>>>
>>> Robert Fischer
>>>
>>>
>>>
>>> marigold7@lenovo:~$ wvdial
>>> --> WvDial: Internet dialer version 1.60
>>> --> Cannot open /dev/ttySL0: No such file or directory
>>> --> Cannot open /dev/ttySL0: No such file or directory
>>> --> Cannot open /dev/ttySL0: No such file or directory
>>>
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
>>> Gesendet: Dienstag, 10. Juni 2008 23:15
>>> An: Robert Fischer
>>> Betreff: Re: Fischer, Germany, kernel 2.6.24-16-generic
>>>
>>> Robert,
>>>
>>> The /proc/asound/pcm file reports:
>>> -----------------------
>>> 00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 1
>>>
>>> should have had an additional line like
>>> 00-06:  Some Modem something
>>> if all was well.
>>>
>>> Please run:
>>> $ find /lib/modules -name snd-hda-intel.ko
>>> which on my System reports
>>> /lib/modules/2.6.24-16-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-inte
>>> l.ko
>>>
>>> MarvS
>>>
>>>
>>>
>>> RE: What is to do next?
>>> If the configuration is successful, the driver set will be compiled
>>> with:
>>> $ make
>>> Get more coffee. When completed the replacement driver set is displayed
>>> by:
>>> $ ls modules
>>> and installed by
>>> $ sudo make install
>>>
>>> On Tue, Jun 10, 2008 at 11:47 AM, Robert Fischer
>>> <robertfischer@xxxxxxxxxxx> wrote:
>>>> Dear Marvin,
>>>>
>>>> thank you for answering my questions. At first I successfully made
>>>> 'sudo dpkg -i linux-image-2.6.24-18-generic*.deb'. Then I compiled alsa
>>>> driver in /usr/src/modules/alsa appropriate to your instructions.
>>>> At the end there was the
>>>> "WARNING!!! The mixer channels for the ALSA driver are muted by
>>>> default!!!
>>>> **************************************************************************
>>>> You would use some ALSA or OSS mixer to set the appropriate volume."
>>>>
>>>> The output of ./scanModem is attached ("ModemData.txt"). What and where
>>>> is
>>>> the correct number for 'sudo slmodemd -c GERMANY --alsa hw:0,6'?
>>>>
>>>> My trials produced:
>>>> marigold7@lenovo:~$ sudo slmodemd -c GERMANY --alsa hw:0,6
>>>> [sudo] password for marigold7:
>>>> error: mixer setup: Off-hook switch not found for card hw:0
>>>> error: alsa setup: cannot open playback device 'hw:0,6': No such file
>>>> or
>>>> directory
>>>> error: cannot setup device `hw:0,6'
>>>> marigold7@lenovo:~$ sudo slmodemd -c GERMANY --alsa hw:0,1
>>>> error: mixer setup: Off-hook switch not found for card hw:0
>>>> error: alsa setup: cannot open playback device 'hw:0,1': No such file
>>>> or
>>>> directory
>>>> error: cannot setup device `hw:0,1'
>>>> marigold7@lenovo:~$ sudo slmodemd -c GERMANY --alsa hw:0
>>>> error: mixer setup: Off-hook switch not found for card hw:0
>>>> SmartLink Soft Modem: version 2.9.11 Feb 25 2008 18:25:57
>>>> symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
>>>> modem `hw:0' created. TTY is `/dev/pts/1'
>>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>>>>
>>>> marigold7@lenovo:~$ wvdial
>>>> --> WvDial: Internet dialer version 1.60
>>>> --> Cannot open /dev/ttySL0: Permission denied
>>>> --> Cannot open /dev/ttySL0: Permission denied
>>>> --> Cannot open /dev/ttySL0: Permission denied
>>>>
>>>> I hope that you will find the error(s). I am not experienced enought to
>>>> understand the output. It seems that I made my first complete
>>>> compilation
>>>> according to your instructions. Thank you very much. But still there is
>>>> no
>>>> sound and no modem capability.
>>>>
>>>> Attached you will find a snapshot of alsamixer. Now I have only one
>>>> item
>>>> instead of 8 to 10. Looking into system > settings > audio there are:
>>>> ALC861VD Analog - Test: audiotestsrc wave=sine freq=512!
>>>> ALSA - Test: gives no result
>>>> OSS - Test: gives no result too, but some noise is to hear
>>>> PulseAudio-Soundserver - Test: gives no result
>>>>
>>>> It seems that I shot down some settings during my first trial of alsa
>>> driver
>>>> compilation a few days ago (for some reasons #./configure
>>>> --with-kernel=$HEADERS --with-build=$HEADERS --with-cards=hda-intel'
>>>> did
>>> not
>>>> run but ./configure --with-kernel=$HEADERS --with-build=$HEADERS).
>>>>
>>>> What is to do next?
>>>>
>>>> With best wishes,
>>>>
>>>> Robert Fischer
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
>>>> Gesendet: Dienstag, 10. Juni 2008 03:35
>>>> An: Robert Fischer; Linmodems; Sameer Desai
>>>> Betreff: Re: Fischer, Germany, kernel 2.6.24-16-generic
>>>>
>>>> Samer & Rob,
>>>>
>>>> The attachment has some details.
>>>>
>>>> First here is a success report for a problem of your type:
>>>> http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00862.html
>>>>
>>>> Re: The folder "SLMODEMD.gcc4.2" is within my home directory.
>>>> The only functional component is the slmodemd.  Per the directions, it
>>>> should be copied:
>>>> $ sudo cp slmodemd /usr/sbin/
>>>> activated:
>>>> $ sudo chmod +x   /usr/sbin/slmodemd
>>>> Now it is on the COMMAND path and you can do:
>>>> $ slmodemd  --help
>>>> $ slmodemd --version
>>>>
>>>> And after the ALSA update hopefully installed a competent
>>>> snd-hda-intel audio+modem driver, the modem would setup by
>>>> $ sudo slmodemd -c GERMANY --alsa hw:0,6
>>>> with the 6 just being a current guess.  New diagnostics will reveal
>>>> the correct number is all else is OK
>>>>
>>>>  the slmodemd within SLMODEMD.gcc4.2/  can then be deleted.
>>>> But best to keep the residual informative text files
>>>>
>>>> re: Is slmodemd the same like sl-modem-daemon
>>>> NO
>>>> The sl-modem-daemon package is a set of scripts for automating driver
>>>> loading and modem setup using slmodemd. It is only marginally useful
>>>> even with a functioning snd-hda-intel  driver, because this driver
>>>> autoloads on boot in support of sound.
>>>> Also  sl-modem-daemon installs a version 2.9.9e slmodemd as contrasted
>>>> to the version 2.9.11 in my SLMODEMD.4.2 package
>>>>  However automation is NOT desirable in the trouble shooting phase you
>>>> are in, and would do NOTHING to alleviate the ALSA update situation
>>>>
>>>> RE:  linux-image-2.6.24-18-generic
>>>> There is no need to uninstall this kernel+modules package and
>>>> associated
>>>> files,
>>>> And it would kill bootup for 2.6.24-18-generic
>>>> If at all necessary to replace the component alsa drivers
>>>> $ sudo dpkg  -i linux-image-2.6.24-18-generic*.deb
>>>> will simply replace the existing package, including the alsa drivers.
>>>>
>>>> While there is no harm in compiling in your home folder
>>>> The typical place for compiling modules in in a folder of
>>> /urs/src/modules.
>>>> For example on my System the are folders:
>>>> $ ls  /usr/src/modules/
>>>> /usr/src/modules/agrsm
>>>> /usr/src/modules/alsa-1.0.16
>>>> /usr/src/modules/hsfmodem-7.68.00.06tst1oem
>>>> /usr/src/modules/intel-537EP_secure-2.60.80.0
>>>> /usr/src/modules/madwifi-0.9.4
>>>> /usr/src/modules/martian-full-20071011
>>>> /usr/src/modules/martian-full-20080407
>>>> /usr/src/modules/martian-stephan
>>>> /usr/src/modules/pctel-0.9.7-9-rht-9
>>>> /usr/src/modules/slmodem-2.9.11-20080401
>>>> /usr/src/modules/ungrab-winmodem-20080322
>>>>
>>>> You can:
>>>> $ sudo mkdir -p /usr/src/modules
>>>> Then within your home folder
>>>> $ sudo mv alsa  /usr/src/modules
>>>> $ sudo chown -R robert:robert /usr/src/modules
>>>> which gives robert to act within: /usr/src/modules
>>>> without using sudo.
>>>>
>>>> MarvS
>>>>
>>>>
>>>>
>>>> On Mon, Jun 9, 2008 at 7:36 AM, Robert Fischer
>>>> <robertfischer@xxxxxxxxxxx> wrote:
>>>>> Dear Marvin,
>>>>>
>>>>> may I ask you some very simple questions?
>>>>>
>>>>> 1) Where to put my tar.gz files for slmodemd/alsa and were to create
>>>>> the
>>>>> appropriate folders: in my home directory, my desktop, the root
>>>>> directory
>>>> or
>>>>> somewhere else?
>>>>>
>>>>> The folder "SLMODEMD.gcc4.2" is within my home directory. The folders
>>>>> "alsa-driver-1.0.16" + "alsa-lib-1.0.16" within a folder named "alsa"
>>>>> are
>>>> on
>>>>> my desktop. I coppied slmodemd into /usr/sbin/ and yesterday night I
>>>>> installed alsa driver and alsa lib. There is still no sound and my
>>>>> modem
>>>>> does not work.
>>>>>
>>>>> I do not like the folders (alsa and SLMODEMD.gcc4.2) on my
>>>>> desktop/home
>>>>> directory. May I delet them? Does this prevent # make uninstall?
>>>>>
>>>>> 2) Is slmodemd the same like sl-modem-daemon? sl-modem-daemon is
>>> available
>>>>> by synaptic and was suggested on ubuntuusers.de.
>>>>>
>>>>> 3) Searching for the term "generic" within synaptic there are:
>>>>> linux-headers-2.6.24-16-generic
>>>>> linux-headers-2.6.24-17-generic
>>>>> linux-headers-2.6.24-18-generic
>>>>> linux-image-2.6.24-16-generic
>>>>> linux-image-2.6.24-17-generic
>>>>> linux-image-2.6.24-18-generic
>>>>> and others marked as installed.
>>>>>
>>>>> You suggested "You can simple reverse the install if desirable, by
>>>>> reinstalling the package linux-image-2.6.24-18-generic". When I mark
>>>>> this
>>>>> package for deinstallation in synaptic I am ask to deinstallate
>>>>> linux-generic, linux-image-generic,
>>>>> linux-restricted-modules-2.6.24-18-generic,
>>>> linux-restricted-modules-generic
>>>>> and linux-ubuntu-modules-2.6.24-18-generic". I have fear to accept.
>>>>> What
>>>>> should be done with xxx-2.6.24-16-generic and xxx-2.6.24-17?
>>>>>
>>>>> With kind regards,
>>>>>
>>>>> Robert Fischer
>>>>>
>>>>> Because there is still no sound I tried within the folder
>>>> alsa-driver-1.0.16
>>>>> # make uninstall
>>>>> witch results in "Permission denied". I am not sure to repeat with
>>>>> sudo
>>>>> command.
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
>>>>> Gesendet: Montag, 9. Juni 2008 03:55
>>>>> An: Robert Fischer
>>>>> Betreff: Re: Fischer, Germany, kernel 2.6.24-16-generic
>>>>>
>>>>> Robert,
>>>>>
>>>>> With respect to your questions.
>>>>> 1) Updating alsa will in no way hurt your System
>>>>> the worst case is that sould will continue to not work.
>>>>> Lots of folks have done this type of upgrade, with many thus acquiring
>>>>> modem function
>>>>> You can simple reverse the install  if desirable, by reinstalling the
>>>>> package
>>>>> linux-image-2.6.24-18-generic , which will replace the original ALSA
>>>> drivers
>>>>>
>>>>> 2) If you installed the alsa tarballs with Root permission ,
>>>>> you have to use
>>>>> $ sudo COMMAND_NAME
>>>>> to work inside those folders
>>>>> .
>>>>> Remember the HEADERS=  definition has to be done with every reboot.
>>>>> Probably also worth installing the packages bintutils and libc6-dev
>>>>> as they way be needed in the compile.  I don't know what is installed
>>>>> on your System
>>>>>
>>>>> These can be found through: http://packages.ubuntu.com
>>>>> Use the package search panel. After download to Linux, they can be
>>>>> coinstalled with:
>>>>> $ sudo dpkg -i *.deb
>>>>>
>>>>> MarvS
>>>>>
>>>>>
>>>>> On Sun, Jun 8, 2008 at 9:45 AM, Robert Fischer
>>>>> <robertfischer@xxxxxxxxxxx> wrote:
>>>>>> Dear Marc,
>>>>>>
>>>>>> thank you for your Email. I understand that it might help to update
>>>>>> the
>>>>> alsa
>>>>>> drivers. I read the Browse Instructions for upgrading snd-hda-intel
>>>>>> and
>>>>> its
>>>>>> dependent driver set. Then I made the download of alsa-driver-1.0.16
>>>>>> and
>>>>>> alsa-lib-1.0.16 and unpacked them in a folder named alsa on my
>>>>>> desktop.
>>>>>>
>>>>>> Following the Instructions I run into the following error massage:
>>>>>> marigold7@lenovo:~/Desktop/alsa$
>>>>>> HEADERS=/lib/modules/2.6.24-18-generic/build
>>>>>> marigold7@lenovo:~/Desktop/alsa$ ls $HEADERS
>>>>>> arch    Documentation  include  Kbuild  Makefile        net
>>> security
>>>>>> block   drivers        init     kernel  mm              samples 
>>>>>> sound
>>>>>> crypto  fs             ipc      lib     Module.symvers  scripts  usr
>>>>>> marigold7@lenovo:~/Desktop/alsa$ cd alsa-driver-1.0.16
>>>>>> marigold7@lenovo:~/Desktop/alsa/alsa-driver-1.0.16$ ls
>>>>>> acinclude.m4  hal2              pci            SUPPORTED_KERNELS
>>>>>> aclocal.m4    hgcompile         pcmcia         synth
>>>>>> acore         i2c               ppc            test
>>>>>> alsa-kernel   include           README         TODO
>>>>>> aoa           INSTALL           Rules.make     toplevel.config
>>>>>> arm           install-sh        Rules.make1    toplevel.config.in
>>>>>> CARDS-STATUS  isa               scripts        usb
>>>>>> configure     kconfig-vers      sh             utils
>>>>>> configure.in  Makefile          snddevices     version
>>>>>> COPYING       Makefile.conf.in  snddevices.in  version.in
>>>>>> cvscompile    mips              soc            WARNING
>>>>>> doc           misc              sound
>>>>>> drivers       modules           sparc
>>>>>> FAQ           parisc            support
>>>>>> marigold7@lenovo:~/Desktop/alsa/alsa-driver-1.0.16$ make clean
>>>>>> rm -f .depend *.o snd.map*
>>>>>> rm -f /*.ver
>>>>>> rm -f modules/*.o modules/*.ko
>>>>>> make[1]: Betrete Verzeichnis
>>>>>> '/home/marigold7/Desktop/alsa/alsa-driver-1.0.16/acore'
>>>>>> Makefile:6:
>>>> /home/marigold7/Desktop/alsa/alsa-driver-1.0.16/Makefile.conf:
>>>>>> No such file or directory
>>>>>> /home/marigold7/Desktop/alsa/alsa-driver-1.0.16/Rules.make:75:
>>>>> /Rules.make1:
>>>>>> No such file or directory
>>>>>> make[1]: *** Keine Regel, um »/Rules.make1« zu erstellen.  Schluss.
>>>>>> make[1]: Verlasse Verzeichnis
>>>>>> '/home/marigold7/Desktop/alsa/alsa-driver-1.0.16/acore'
>>>>>> make: *** [clean] Fehler 1
>>>>>> marigold7@lenovo:~/Desktop/alsa/alsa-driver-1.0.16$
>>>>>>
>>>>>> What is wrong?
>>>>>>
>>>>>> I think at this stage I should pronounce that I only want to use my
>>>>>> computer. I do not want to become an expert. However, to use my
>>>>>> computer
>>>> I
>>>>>> think that sound and modem were essential. Presently, I see two
>>>>>> options:
>>>>>> a) erase Ubuntu from my hard disk and never use linux again
>>>>>> b) to solve the two problems and then not to touch the running system
>>> for
>>>>>> the next three years
>>>>>>
>>>>>> Yesterday, I opend synaptic, followed the help links and wrote:
>>>>>>
>>>>>> "Dear Ladies and Gentlemen,
>>>>>>
>>>>>> attached is one letter probably giving the solution of my problem,
>>>>>> but I
>>>>>> feel unable to perform the suggested set up. I am new with
>>>>>> Linux/Ubuntu
>>>>> and
>>>>>> I would prefer using the updates by synaptic.
>>>>>>
>>>>>> It was told me that my ALSA drivers were not mature for my sound card
>>> and
>>>>>> that I should go to the ALSA homepage and download the current driver
>>> and
>>>>>> lib packages. Going to the suggested web page
>>>> http://www.alsa-project.org/
>>>>> I
>>>>>> have found:
>>>>>>
>>>>>> Driver (alsa-driver)      1.0.16           Kernel drivers
>>>>>> Firmware (alsa-firmware)1.0.16          Firmware for cards that
>>>>>> require
>>>> it
>>>>>> Library (alsa-lib)                1.0.16                Userspace
>>> library
>>>>>> Plugins (alsa-plugins)    1.0.16                Additional library
>>>> plugins
>>>>>> Eg.jack, pulse, maemo ...
>>>>>> Utilities (alsa-utils)    1.0.16                Utilities
>>>>>> aplay,arecord,amixer etc
>>>>>> Tools (alsa-tools)                1.0.16                Tools
>>>>>> PyALSA (pyalsa)                   1.0.16                Python
>>>>>> bindings
>>>>> for
>>>>>> ALSA lib
>>>>>> OSS compat lib(alsa-oss)1.0.15          OSS compatibility library
>>>>>>
>>>>>> Looking into synaptic with the key word "alsa" there were packages
>>>>>> like:
>>>>>> (alsa-firmware)                1.0.15-2ubuntu4
>>>>>> (alsa-utils)                        1.0.15-3ubuntu2
>>>>>> (alsa-tools)                      1.0.15-2ubuntu4
>>>>>> (alsa-oss)                        1.0.15-1
>>>>>>
>>>>>> As you see the version for ALSA is 1.0.16 but using synaptic only
>>> 1.0.15.
>>>>>>
>>>>>> I would feel very uncomfortable to do the manipulation (compilations)
>>>>>> on
>>>> a
>>>>>> running system. All trials I have done so far ended in error
>>>>>> messages. I
>>>>>> have a big lack in knowledge (e. g.  I do not know basics like were
>>>>>> to
>>>> put
>>>>>> the decompressed files - to the desktop, my home or root directory).
>>>>>>
>>>>>> Therefore I feel better to wait until the updates were available by
>>>>>> synaptic.
>>>>>>
>>>>>> Please tell me, who is responsible for maintaining the updates or
>>> forward
>>>>> my
>>>>>> report to this person. Here, I describe not a real bug but my
>>>>>> notebook
>>>>> gives
>>>>>> no sound / failure to use slmodemd. How long it will probably take to
>>> get
>>>>>> the required ALSA update by synaptic?
>>>>>>
>>>>>> With best wishes,
>>>>>>
>>>>>> Robert Fischer"
>>>>>>
>>>>>> Todays answer was: " Hi,
>>>>>>
>>>>>> Thanks for your report. As this is more of a query than a bug, I will
>>>>>> be
>>>>>> closing the bug. See below for an explanation of Ubuntu's development
>>>>>> process.
>>>>>>
>>>>>> Ubuntu works by building on the work of the Debian distribution
>>>>>> (www.debian.org). Every six months the Ubuntu developers mirror the
>>>>> packages
>>>>>> in Debian Unstable. Ubuntu developers then make sure the packages are
>>>>>> useable and polished. At a certain point the packages are "freezed"
>>>>>> and
>>>> no
>>>>>> longer accept updates.
>>>>>>
>>>>>> This happens every six months.
>>>>>>
>>>>>> Inclusion of Alsa 1.0.16 depends on if Debian Unstable have it, or if
>>>>>> it
>>>>> has
>>>>>> features that the Ubuntu developers see as critical. I have checked
>>>>>> the
>>>>>> Debian Unstable package list and alsa 1.0.16 is there, so the best
>>> answer
>>>>> I
>>>>>> can give is that it should be included in the next version of Ubuntu
>>>>>> (Intrepid Ibex). Once Intrepid Ibex is out the new version of Alsa
>>>>>> will
>>>> be
>>>>>> installed by default.
>>>>>>
>>>>>> Lookin at the Alsa page on Launchpad there does not seem to be a
>>>>>> single
>>>>>> person responsible for Alsa in ubuntu but a few contributors
>>>>>> (https://launchpad.net/alsa). If you have more concerns then I
>>>>>> suggest
>>>> you
>>>>>> contact one of them.
>>>>>>
>>>>>> Kind Regards,"
>>>>>>
>>>>>> Furthermore, I tried to ask questions in the ubuntuusers.de forum (I
>>>>>> am
>>>>>> speaking German):
>>>>>> http://forum.ubuntuusers.de/topic/179101/?highlight=
>>>>>> http://forum.ubuntuusers.de/topic/179059/?highlight=
>>>>>>
>>>>>> There is help but it does not solve my problems. Your answer makes
>>>>>> sense
>>>>> but
>>>>>> I am unable to resolve it. I am not an expert.
>>>>>>
>>>>>> With best wishes,
>>>>>>
>>>>>> Robert Fischer
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Marvin Stodolsky [mailto:marvin.stodolsky@xxxxxxxxx]
>>>>>> Gesendet: Dienstag, 3. Juni 2008 00:58
>>>>>> An: marigold7
>>>>>> Cc: Discuss@xxxxxxxxxxxxx
>>>>>> Betreff: Re: Fischer, Germany, kernel 2.6.24-16-generic
>>>>>>
>>>>>> For
>>>>>> Predictive diagnostics for card in bus 00:1b.0:
>>>>>>        Modem chipset  detected on
>>>>>> CLASS="Class 0403: 8086:284b"
>>>>>> NAME="Audio device: Intel Corporation 82801H "
>>>>>> SUBSYS=17aa:384e
>>>>>> PCIDEV=8086:284b
>>>>>> IRQ=22
>>>>>> HDA=8086:284b
>>>>>> SOFT=8086:284b.HDA
>>>>>> CodecArchived=10573055
>>>>>> ArchivedChip=0x10573055
>>>>>> IDENT=slmodemd
>>>>>>
>>>>>> Your modem should in principle be supported by the snd-hda-intel
>>>>>> audio+modem driver, complemented by:
>>>>>>  $ sudo slmodemd -c GERMANY --alsa hw:0,1 (or 6)
>>>>>>
>>>>>> however your audio problems and lack of a modem line in:
>>>>>> The /proc/asound/pcm file reports:
>>>>>> -----------------------
>>>>>> 00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 1
>>>>>> whereas
>>>>>> 00-01 (or 06) would be expected for a functional modem.
>>>>>>
>>>>>> Indicates that ALSA support is not yet mature for ALC861VD Analog
>>>>>> Browse Instructions for upgrading snd-hda-intel and its dependent
>>>>>> driver set are at:
>>>>>> http://linmodems.technion.ac.il/archive-seventh/msg00282.html about
>>>>>> upgrading your ALSA version to the version 1.0.16 with resources at
>>>>>> http://www.alsa-project.org/main/index.php/Main_Page
>>>>>>
>>>>>> MarvS
>>>>>> scanModem maintainer
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 2, 2008 at 2:32 PM, marigold7 <marigold7@xxxxxxxxxx>
>>>>>> wrote:
>>>>>>> Dear Ladies and Gentlemen,
>>>>>>>
>>>>>>> currently, I have two problems:
>>>>>>> 1)my computer does not gives any sound from it
>>>>>>> 2)my modem seems to work not properly (attached is the ModemData.txt
>>>>> file)
>>>>>>>
>>>>>>> -------------------------------------------------------------------
>>>>>>> At first I tried to get the modem running:
>>>>>>> a) scanModem
>>>>>>>
>>>>>>> b) http://linmodems.technion.ac.il/packages/smartlink/
>>>>>>> $ tar zxf slmodemd.gcc4.2.tar.gz
>>>>>>>
>>>>>>> c) folder slmodemd.gcc4.2 containing slmodemd
>>>>>>> sudo cp slmodemd /usr/sbin/
>>>>>>> sudo g+x /usr/sbin/slmodemd
>>>>>>> sudo o+x /usr/sbin/slmodemd
>>>>>>>
>>>>>>> d) sudo slmodemd -c GERMANY --alsa modem:1
>>>>>>> results in:
>>>>>>> error: mixer setup: attach hw:1 error: No such file or directory
>>>>>>> ALSA lib confmisc.c:768:(parse_card) cannot find card '1'
>>>>>>> ALSA lib conf.c:3513:(_snd_config_evaluate) function
>>>> snd_func_card_driver
>>>>>>> returned error: No such file or directory
>>>>>>> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
>>>>>>> ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat
>>>>>>> returned error: No such file or directory
>>>>>>> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
>>>>>>> ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer
>>>>>> returned
>>>>>>> error: No such file or directory
>>>>>>> ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such
>>>>>>> file
>>> or
>>>>>>> directory
>>>>>>> ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM
>>>>>>> cards.pcm.phoneline:CARD=1,DEV=0
>>>>>>> error: alsa setup: cannot open playback device 'modem:1': No such
>>>>>>> file
>>>> or
>>>>>>> directory
>>>>>>> error: cannot setup device `modem:1'
>>>>>>>
>>>>>>> Then I tried,
>>>>>>> e) sudo modprobe -r snd-intel8x0m
>>>>>>> sudo modprobe snd-intel8x0m
>>>>>>>
>>>>>>> f) sudo  alsamixer
>>>>>>>
>>>>>>> g) sudo gedit /etc/modules
>>>>>>> and I put snd-intel8x0m at the end of the list (later I removed it
>>>>> because
>>>>>>> there was still no sound)
>>>>>>>
>>>>>>> h) then I have found a useful hint in the 1stRead.txt document
>>> belonging
>>>>>> to
>>>>>>> the slmodemd: "There are RARE instances that the ALSA audio sound
>>> driver
>>>>>> is
>>>>>>> absent, though the modem driver is present.  In these cases the
>>>>>>> device
>>>>>> name
>>>>>>> "modem:1" may fail but "hw:0" may be successful. It is the usually
>>>>>>> the
>>>>>>> device name dynamically assigned to the audio card."
>>>>>>>
>>>>>>> sudo slmodemd -c GERMANY --alsa hw:0
>>>>>>> produced:
>>>>>>> [sudo] password for marigold7:
>>>>>>> error: mixer setup: Off-hook switch not found for card hw:0
>>>>>>> SmartLink Soft Modem: version 2.9.11 Feb 25 2008 18:25:57
>>>>>>> symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
>>>>>>> modem `hw:0' created. TTY is `/dev/pts/1'
>>>>>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>>>>>>>
>>>>>>> It seems that the modem is running. BUT I HAVE THE FOLLOWING PROBLEM
>>>> WITH
>>>>>>> IT: WHY THE MODEM IS NOT USING modem1? IS THERE REALLY NO ALSA AUDIO
>>>>> SOUND
>>>>>>> DRIVER???
>>>>>>>
>>>>>>> Then, using wvdial there was some failure:
>>>>>>> marigold7@lenovo:/$ sudo wvdial
>>>>>>> --> WvDial: Internet dialer version 1.60
>>>>>>> --> Cannot get information for serial port.
>>>>>>> --> Initializing modem.
>>>>>>> --> Sending: ATZ
>>>>>>> ATZ
>>>>>>> OK
>>>>>>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>>>>>>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>>>>>>> OK
>>>>>>> --> Sending: AT+GCI=<hexadecimal modem code>
>>>>>>> AT+GCI=<hexadecimal modem code>
>>>>>>> ERROR
>>>>>>> --> Bad init string.
>>>>>>>
>>>>>>>
>>>>>>> remark to g):
>>>>>>> in /etc/modprobe.d/alsa-base I read:
>>>>>>> # Prevent abnormal drivers from grabbing index 0
>>>>>>> options bt87x index=-2
>>>>>>> options cx88_alsa index=-2
>>>>>>> options saa7134-alsa index=-2
>>>>>>> options snd-atiixp-modem index=-2
>>>>>>> options snd-intel8x0m index=-2
>>>>>>>
>>>>>>> What means index=-2 ?
>>>>>>>
>>> ------------------------------------------------------------------------
>>>>>>> I am more dependent from the sound on my machine. Here, I tried the
>>>>>>> following:
>>>>>>> a) $ sudo modprobe snd-hda-intel
>>>>>>> seems to be OK
>>>>>>>
>>>>>>> b) $ alsamixer
>>>>>>> alsamixer appears, it is possible to change the parameters
>>>>>>>
>>>>>>> c) $ sudo gedit /etc/modules
>>>>>>> I put
>>>>>>> snd-hda-intel model=lenovo index=0
>>>>>>> at the end of the list
>>>>>>>
>>>>>>> d) $ sudo gedit /etc/modprobe.d/alsa-base
>>>>>>> I put
>>>>>>> options snd-hda-intel model=lenovo
>>>>>>> at the end of the list
>>>>>>>
>>>>>>> e) I installed pulseaudio, libasound2-plugins, pavucontrol, paprefs
>>>>>>> and made
>>>>>>> $ asoundconf set-pulseaudio
>>>>>>>
>>>>>>> PulseAudio Volume Control shows:
>>>>>>> Playback: "No Streams Available"
>>>>>>> Output Devices: ALSA PCM on front:0 (ALC861VD Analog) via DMA
>>>>>>> Input Devices: ALSA PCM on front:0 (ALC861VD Analog) via DMA
>>>>>>>
>>>>>>> All attemps to get sound out of my laptop failed? Please, can you
>>>>>>> help
>>>>> me.
>>>>>>>
>>>>>>> With best wishes,
>>>>>>>
>>>>>>> Robert Fischer
>>>>>>> (marigold7)
>>>>>>>
>>>>>>>
>>>>>>>
>>> ------------------------------------------------------------------------
>>>>>>> To provide you with some details concerning my laptop I have done:
>>>>>>>
>>>>>>> marigold7@lenovo:~$ hwinfo --sound
>>>>>>> 28: PCI 1b.0: 0403 Audio device
>>>>>>>  [Created at pci.296]
>>>>>>>  UDI: /org/freedesktop/Hal/devices/pci_8086_284b
>>>>>>>  Unique ID: u1Nb.cOzUFd_gaWF
>>>>>>>  SysFS ID: /devices/pci0000:00/0000:00:1b.0
>>>>>>>  SysFS BusID: 0000:00:1b.0
>>>>>>>  Hardware Class: sound
>>>>>>>  Model: "Lenovo HD Audio Controller"
>>>>>>>  Vendor: pci 0x8086 "Intel Corporation"
>>>>>>>  Device: pci 0x284b "HD Audio Controller"
>>>>>>>  SubVendor: pci 0x17aa "Lenovo"
>>>>>>>  SubDevice: pci 0x384e
>>>>>>>  Revision: 0x03
>>>>>>>  Driver: "HDA Intel"
>>>>>>>  Driver Modules: "snd_hda_intel"
>>>>>>>  Memory Range: 0xfc300000-0xfc303fff (rw,non-prefetchable)
>>>>>>>  IRQ: 22 (944 events)
>>>>>>>  Module Alias:
>>>>>>> "pci:v00008086d0000284Bsv000017AAsd0000384Ebc04sc03i00"
>>>>>>>  Driver Info #0:
>>>>>>>    Driver Status: snd_hda_intel is active
>>>>>>>    Driver Activation Cmd: "modprobe snd_hda_intel"
>>>>>>>  Config Status: cfg=new, avail=yes, need=no, active=unknown
>>>>>>>
>>>>>>> marigold7@lenovo:~$ lspci -vvxxx
>>>>>>> 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD
>>>>>>> Audio
>>>>>>> Controller (rev 03)
>>>>>>>        Subsystem: Lenovo Unknown device 384e
>>>>>>>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B-
>>>>>>>        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>>>>>>> >TAbort-
>>>>>>> <TAbort- <MAbort- >SERR- <PERR-
>>>>>>>        Latency: 0, Cache Line Size: 64 bytes
>>>>>>>        Interrupt: pin A routed to IRQ 22
>>>>>>>        Region 0: Memory at fc300000 (64-bit, non-prefetchable)
>>>> [size=16K]
>>>>>>>        Capabilities: <access denied>
>>>>>>> 00: 86 80 4b 28 06 01 10 00 03 00 03 04 10 00 00 00
>>>>>>> 10: 04 00 30 fc 00 00 00 00 00 00 00 00 00 00 00 00
>>>>>>> 20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 4e 38
>>>>>>> 30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 0
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/11c11040-modem-with-agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz-and-othre-kernels-tp18800469p18815101.html
Sent from the Linux Winmodem Support - Discussion mailing list archive at Nabble.com.



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

  Powered by Linux