Debianized package for 11c11040 chipset support on High Definition Audio cards

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

 



A kernel + modules installer package
linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb
 is available at  http://linmodems.technion.ac.il/packages/ltmodem/11c11040/

On a Ubuntu/Debian system it installs with:
$ sudo dpkg -i linux-image*.deb
providing boot requisites for the kernel 2.6.21.0-22 and a full
matching module set,
additionally including agrmodem.ko + agrserial.ko
which have been reported to support the 11c11040 chipset support on
High Definition Audio cards, in addition to their previous support for
11c1:0620 and 11c1.048c chipset modems.

Through there 2.6.21.0-22 kernel+modules are originally from a the
Fedora based Red Flag distribution, they provided trouble free service
on my otherwise Ubuntu installation.
Some more details are below.
$ sudo modprobe agrmodem
$ sudo modprobe agrserial
should create a port /dev/ttyAGR3 on systems with Agere modem hardware.

For those with RPM using Distros, there is in
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
the pair
kernel-2.6.21.0-22.i686.rpm  , 13 MB
agere-driver-1.0-10dd.i386.rpm
separately providing a boot kernel and the modem drivers

More details on setup on in the Attachment and below.

MarvS




>
> With some moderate fussing, the RedFlag kernel image+modules pacakge
> has been converted to
> linux-image-2.6.21.0-22_2.6.21.0-22_i386.deb
> which is version matched to the agrmodem+agrserial drivers in
> agere-driver-1.0-10dd.i386.rpm .
> The drivers agrmodem.ko and agrserial.ko have been incorporated into
> the the package, which can be installed with:
> $ sudo dpkg -i linux-image*.deb
> Upon reboot, the will be a choice to use the new 2.6.21.0-22 kernel
>
> On my otherwise Ubuntu Gutsy system there was no problem with bootup
> under the kernel:
> $ uname -r
>  2.6.21.0-22
> and I am online with it through wireless right now.
>
> While I lack the target modem hardware, merely loading the drivers
> does not manifest harm my System (see below)
>
> The implication of the warning: Symbol usb_deregister is being used by
> a non-GPL module, which will not be allowed in the future
> is that the drivers in this format will fail for 2.6.25 are later
> kernels.  This problem has already been encountered with the Smartlink
> slusb driver.
>
> So for those of you who wish to have 11c11040 chipset support on High
> Definition Audio cards,
> please test on report back about functionality.
>
> MarvS
> ===========
>
> $ sudo modprobe agrmodem
> marv@marvdesk:~$ May  1 02:16:31 marvdesk kernel: agrmodem: module
> license 'Proprietary' taints kernel.
> May  1 02:16:31 marvdesk kernel: Symbol usb_deregister is being used
> by a non-GPL module, which will not be allowed in the future
> May  1 02:16:31 marvdesk kernel: Please see the file
> Documentation/feature-removal-schedule.txt in the kernel source tree
> for more details.
> May  1 02:16:31 marvdesk kernel: Symbol usb_register_driver is being
> used by a non-GPL module, which will not be allowed in the future
> May  1 02:16:31 marvdesk kernel: Please see the file
> Documentation/feature-removal-schedule.txt in the kernel source tree
> for more details.
> May  1 02:16:31 marvdesk kernel: * Hello Agere Driver **
> May  1 02:16:31 marvdesk kernel: usbcore: registered new interface
> driver agr12dec2006
>
> marv@marvdesk:~$ sudo modprobe  agrserial
> marv@marvdesk:~$ May  1 02:18:12 marvdesk kernel: ttyAGS3 at I/O 0x400
> (irq = 19) is a AgereModem
> May  1 02:18:12 marvdesk kernel: Loading module Agere Modem Interface
> driver version 2.1.80.0Red Flag 5.0 NE (2007-10-01)
>
> marv@marvdesk:~$ lsmod | grep agr
> agrserial              16848  0
> agrmodem             1256804  1
> snd_hda_codec         170240  2 agrmodem,snd_hda_intel
> snd                    41604  17
> agrmodem,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
>







This instruction set was provided by Hugo Canilli. He has thus had success with this AGRSM code requiring modem, under Linuxes: Ubuntu versions 6.10, 7.04, 7.10 and slackware 12.0. Marv Stodolsky lightly edited the text. 

00) Be sure than kernel headers are installed. Under Ubuntu, 
they are provided by a package pair with name format like
	linux-headers-2.6.22-14 linux-headers-2.6.22-14-generic
with 2.6.22-14-generic being the boot kernel version

0) Download the package agrsm-20070804.tar.gz to your Desktop.
Open a terminal.
Type the following:
	cd ~/Desktop
	tar xzvf agrsm-20070804.tar.gz 
	cd agrsm
	make 
	sudo make install
Note: the sudo is for usage in Ubuntu related Linux Distros/
For other Linuxes, first acquire Root/Adm powers with:
su - root
which will typically return a leading line with # ,
and Commands can be given without sudo:
	make install

This completes the driver installation.
The two above steps need only be repeated when a new kernel is installed,
which always requires matching drivers.

1) Next load the drivers
	sudo modprobe agrmodem
	sudo modprobe agrserial
which should announce creation of /dev/ttyAGS3

2) It is convient to create symbolic links, which dialer utilities will follow,
to the real port /dev/ttyAGS3 .
	sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
	sudo ln -s /dev/ttyAGS3 /dev/modem
Check with:
	ls -l /dev/ttyAGS3 /dev/ttySAGR /dev/modem
whose output should include:
	/dev/modem   -->  /dev/ttyAGS3 
	/dev/ttySAGR -->  /dev/ttyAGS3

3) The first critical functial test is:
	sudo wvdialconf /etc/wvdial.conf
which searches through potential ports for modem responses.
A success will end with a section like:
--------
ttySAGR<*1>: Modem Identifier: ATI -- Agere SoftModem Version 2.1.40
ttySAGR<*1>: Speed 4800: AT -- OK
ttySAGR<*1>: Speed 9600: AT -- OK
ttySAGR<*1>: Speed 19200: AT -- OK
ttySAGR<*1>: Speed 38400: AT -- OK
ttySAGR<*1>: Speed 57600: AT -- OK
ttySAGR<*1>: Speed 115200: AT -- OK
ttySAGR<*1>: Max speed is 115200; that should be safe.
ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySAGR.
Modem configuration written to /etc/wvdial.conf.
ttySAGR<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
--------
Then you can proceed to try a dialout (see below).

A failure will include lines like:
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3   
Sorry, no modem was detected! 

In this case there are a few Remedies to try.
R1) edit your grub or lilo parameter to the kernel with the option "pci=noacpi"
For example in a Ubuntu system, gedit can be used to modify the file 		/boot/grub/menu.lst 
with command:
	sudo gedit /boot/grub/menu.lst

The middle of menu.lst includes sections correponding to each bootup choice like:

title		Ubuntu 7.10, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

Make a copy of this section, and edit to:
title		Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic ro quiet splash pci=noacpi
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

Save the edit
Restart the computer.
Among the bootup options, make the new choice:
     Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
Test for modem detection, through steps  1,2 and 3
Go to the dialout test if successful.

R2) If not, try to disable the sound in the bootup BIOS.
R2a) Note a success can sometimes be achieved by moving the modem card to other PCI slot. But this option is not available on laptops.
See success report: http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00304.html

Follow prior steps 1,2 and 3 for testing, retaining the bootup acpi=off parameter. 

Dialout procedure
------------------
First edit in your dialout information with:
	sudo gedit /etc/wvdial.conf
In the sample below, the lines beginning with are informative, not essential.
The line order is not important.

[Dialer defaults]
# Lines begining with # are comments.
# wvdial will look for this file at  /etc/wvdial.conf 
#  or  /home/LoginName/.wvdial.rc
Baud = 57600
Modem = /dev/ttySAGR3
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
#  Lack of dialtone acquisition can be due to low line voltage,
#    a common problem in Italy.
#  Try inserting a "dial without waiting": X3
#  Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
#  In case of connection instabilities, specify a lower frequency:
#  Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2  +MS=34

## Outside the USA, a country setting may be needed
# Init3 = AT+CGI=hexadecimal_country_code

ISDN = 0
Modem Type = Analog Modem
Phone =  Dialout_phone_number
# if going through a switch board, a perhaps necessary pause can produced with a comma:
# Phone = 1,Dialout_phone_number 
Username = LoginName
# if Internet Provider is MSN.net, use under Linux:   MSN/LoginName
Password = YourPassWord

## If CONNECT is achieved but browsing fails, try activating the following line
# Auto DNS = yes
##    To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out
# #  For some Internet providers, the following line is necessary 
# Stupid Mode = yes
##  for other wvdial  options, do "man wvdial" or see the documentation in
##    /usr/share/doc/wvdial/
## End wvdial.conf



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

  Powered by Linux