Re: agrsm driver not work for Agere SV92PP(11c10620 AGRSM) in Fedora Core 7

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

 



Hugo,

Thanks for the hint. I tried to pass some additional arguments to kernel
booting. They are acpi=off, acpi=off noacpi, and pci=acpi. Then I inspect the
output of dmesg and /proc/interrupts. You can see them in the attachments. The
output of argument acpi=off and acpi=off noacpi is the same. So I put them in
the same files named *-acpioff. The output of pci=acpi argument is in
*-pciacpi, and normal booting in *-org.

One thing common to adding additional arguments is, when I run wvdialconf,
there appear kernel messages saying "IRQ handler type mismatch for IRQ 9" and
followed by many lines related to modem & serial driver.


MarvS

I have attached the ModemData.txt from scanModem. Hope it will be useful.

--- Hugo Leonardo Canalli <hugocanalli@xxxxxxxxxxxxxxxxxx> wrote:

> Can you try add a option like acpi=off in your bootloader?
> 
> Umar Said wrote:
> > Thanks Jacques
> >
> > I have also tried wvdialconf, wvdial, minicom, and cu, but none of them
> > succeeded. Do you know any good tools to debug?
> >
> > --- Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote:
> >
> >   
> >> People more expert than me may know much more about your modem, but one 
> >> thing is certain, setserial has nothing to do with that and minicom is 
> >> the worst choice (to my taste) to debug a linmodem.
> >>
> >> We recommend to use wvdial:
> >> 1-one time to configure wvdial with the command
> >>      wvdialconf /etc/wvdial.conf
> >> 2-edit /etc/wvdial.conf for the username, phone number and password
> >> given to you by your ISP
> >> For example
> >> ;Username = < Your Login Name >
> >> should be changed to
> >> Username = umarsaid
> >> if  umarsaid  is the user name given by uour ISP
> >> Note that the correct line has no  ;   no  <  and no  >
> >> 3-run   wvdial   to try to connect
> >> 4-you must be root (or su) to use wvdialconf and wvdial
> >>
> >> Use   man wvdialconf, man wvdial.conf , and man wvdial for details.
> >>
> >> Jacques
> >>
> >> Umar Said wrote:
> >>     
> >>> Hi all,
> >>>
> >>> I have the same problem with Agere SV92PP(11c10620 AGRSM) in Debian Etch.
> >>>       
> >> After
> >>     
> >>> I compile the source code successfully and insmod agrmodem.ko and insmod
> >>> agrserial.ko, the following message appear in /var/log/message or dmesg.
> >>>
> >>> Oct  8 21:19:49 localhost kernel: PCI: Enabling device 0000:02:0c.0 (0000
> >>>       
> >> ->
> >>     
> >>> 0001)
> >>> Oct  8 21:19:49 localhost kernel: ACPI: PCI Interrupt 0000:02:0c.0[A] ->
> >>>       
> >> GSI 20
> >>     
> >>> (level, low) -> IRQ 217
> >>> Oct  8 21:19:49 localhost kernel: agrsm: created 1 infos
> >>> Oct  8 21:20:04 localhost kernel: ttyAGS3 at I/O 0xb400 (irq = 217) is a
> >>> AgereModem
> >>> Oct  8 21:20:04 localhost kernel: agrserial: Loading module Agere Modem
> >>> Interface driver version 2.1.60.0.Linspire (2005-11-16)
> >>>
> >>> I conclude that the driver load normally. Then I use minicom and set
> serial
> >>> device to /dev/ttyAGS3 and 115200 8N1. But when I type some AT command,
> >>>       
> >> there
> >>     
> >>> is no response from the modem. Before that, I try the modem in Windows
> and
> >>>       
> >> type
> >>     
> >>> the same AT command using 115200 8N1 and the modem responded.
> >>>
> >>> Is there anyone successful in using Agere SV92PP(11c10620 AGRSM) under
> >>>       
> >> Linux
> >>     
> >>> especially Debian Etch. Any hints will be appreciated.
> >>>
> >>> Regards,
> >>> Umar
> >>>
> >>>
> >>>
> >>>        
> >>>
> >>>       
> >
>
____________________________________________________________________________________
> >   
> >>> Yahoo! oneSearch: Finally, mobile search 
> >>> that gives answers, not web links. 
> >>> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> >>>       
> >
> >
> >
> >      
>
____________________________________________________________________________________
> > Check out the hottest 2008 models today at Yahoo! Autos.
> > http://autos.yahoo.com/new_cars.html
> >
> >
> >   
> 
> 
> 



     
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


      ____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658 
PCI: Found IRQ 9 for device 0000:02:0c.0
agrsm: created 1 infos
Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16)
ttyAGS3 at I/O 0xb400 (irq = 9) is a AgereModem
agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16)
IRQ handler type mismatch for IRQ 9
 [<c01401f5>] setup_irq+0x170/0x184
 [<e0da2666>] wrap_LX_isr_handler+0x0/0x11 [agrmodem]
 [<c0140285>] request_irq+0x7c/0x98
 [<e0e595e9>] lin_isr_obtain+0x39/0x50 [agrmodem]
 [<e0e4a789>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
 [<e0e4a9a0>] LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
 [<e0e53070>] CodecInstallIsr+0x20/0x50 [agrmodem]
 [<e0e6b781>] CSV92PPInit+0x171/0x2b0 [agrmodem]
 [<e0e497b0>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
 [<c017122a>] mntput_no_expire+0x11/0x6a
 [<c0145773>] get_page_from_freelist+0x2ee/0x36e
 [<e0e48778>] linux_modem_open+0x48/0x110 [agrmodem]
 [<e0da278d>] modemPortOpen+0x5/0xe [agrmodem]
 [<e0aafaa0>] serial8250_startup+0x33/0x285 [agrserial]
 [<c020a7a1>] uart_startup+0x67/0x10a
 [<c020a9bb>] uart_open+0x177/0x39d
 [<c01b7bee>] kobject_get+0xf/0x13
 [<c01fce01>] tty_open+0x16a/0x2e8
 [<c016189d>] chrdev_open+0x126/0x141
 [<c0161777>] chrdev_open+0x0/0x141
 [<c0158b69>] __dentry_open+0xc8/0x1ac
 [<c0158cb1>] nameidata_to_filp+0x19/0x28
 [<c0158ceb>] do_filp_open+0x2b/0x31
 [<c0158d2f>] do_sys_open+0x3e/0xb3
 [<c0158dd1>] sys_open+0x16/0x18
 [<c0102c11>] sysenter_past_esp+0x56/0x79
agrsm: created 1 infos
Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16)
ttyAGS3 at I/O 0xb400 (irq = 9) is a AgereModem
agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16)
PCI: Found IRQ 9 for device 0000:02:0c.0
agrsm: created 1 infos
Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16)
ttyAGS3 at I/O 0xb400 (irq = 9) is a AgereModem
agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16)
IRQ handler type mismatch for IRQ 9
 [<c01401f5>] setup_irq+0x170/0x184
 [<e0dc2666>] wrap_LX_isr_handler+0x0/0x11 [agrmodem]
 [<c0140285>] request_irq+0x7c/0x98
 [<e0e795e9>] lin_isr_obtain+0x39/0x50 [agrmodem]
 [<e0e6a789>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
 [<e0e6a9a0>] LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
 [<e0e73070>] CodecInstallIsr+0x20/0x50 [agrmodem]
 [<e0e8b781>] CSV92PPInit+0x171/0x2b0 [agrmodem]
 [<e0e697b0>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
 [<c017122a>] mntput_no_expire+0x11/0x6a
 [<c0145773>] get_page_from_freelist+0x2ee/0x36e
 [<e0e68778>] linux_modem_open+0x48/0x110 [agrmodem]
 [<e0dc278d>] modemPortOpen+0x5/0xe [agrmodem]
 [<e0ab9aa0>] serial8250_startup+0x33/0x285 [agrserial]
 [<c020a7a1>] uart_startup+0x67/0x10a
 [<c020a9bb>] uart_open+0x177/0x39d
 [<c01b7bee>] kobject_get+0xf/0x13
 [<c01fce01>] tty_open+0x16a/0x2e8
 [<c016189d>] chrdev_open+0x126/0x141
 [<c0161777>] chrdev_open+0x0/0x141
 [<c0158b69>] __dentry_open+0xc8/0x1ac
 [<c0158cb1>] nameidata_to_filp+0x19/0x28
 [<c0158ceb>] do_filp_open+0x2b/0x31
 [<c0158d2f>] do_sys_open+0x3e/0xb3
 [<c0158dd1>] sys_open+0x16/0x18
 [<c0102c11>] sysenter_past_esp+0x56/0x79
           CPU0
  0:     134113          XT-PIC  timer
  1:       2006          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  uhci_hcd:usb2
  6:          5          XT-PIC  floppy
  7:          1          XT-PIC  parport0
  8:          1          XT-PIC  rtc
  9:        239          XT-PIC  ehci_hcd:usb4, CMI8738-MC6, eth0
 10:          0          XT-PIC  uhci_hcd:usb3
 11:      30770          XT-PIC  uhci_hcd:usb1, nvidia
 14:      16844          XT-PIC  ide0
 15:       1672          XT-PIC  ide1
NMI:          0
LOC:     134093
ERR:          0
MIS:          0
           CPU0
  0:      27335    IO-APIC-edge  timer
  1:        230    IO-APIC-edge  i8042
  6:          5    IO-APIC-edge  floppy
  7:          0    IO-APIC-edge  parport0
  8:          1    IO-APIC-edge  rtc
 14:       7710    IO-APIC-edge  ide0
 15:        395    IO-APIC-edge  ide1
169:          1   IO-APIC-level  acpi
177:       5008   IO-APIC-level  uhci_hcd:usb1, nvidia
185:          0   IO-APIC-level  uhci_hcd:usb2
193:          0   IO-APIC-level  uhci_hcd:usb3
201:          2   IO-APIC-level  ehci_hcd:usb4
209:        216   IO-APIC-level  CMI8738-MC6, eth0
NMI:          0
LOC:      27296
ERR:          0
MIS:          0
           CPU0
  0:     346679          XT-PIC  timer
  1:       1076          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  uhci_hcd:usb2
  6:          5          XT-PIC  floppy
  7:          7          XT-PIC  parport0
  8:          1          XT-PIC  rtc
  9:      10801          XT-PIC  acpi, ehci_hcd:usb4, CMI8738-MC6, eth0
 10:          0          XT-PIC  uhci_hcd:usb3
 11:      96541          XT-PIC  uhci_hcd:usb1, nvidia
 14:      15426          XT-PIC  ide0
 15:       4156          XT-PIC  ide1
NMI:          0
LOC:     346650
ERR:          0
MIS:          0
 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry Debian GNU/Linux 4.0  kernel 2.6.18-4-686 
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686,  Debian GNU/Linux 4.0 
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12) (waldi@xxxxxxxxxx) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 17:17:36 UTC 2007
 scanModem update of:  2007_Oct_08
The modem symbolic link is /dev/modem -> /dev/ttyAGS3

 There are no blacklisted modem drivers in /etc/modprobe*  files 
USB modem not detected by lsusb


Advanced Linux Sound Architecture  (ALSA) spackage providing audio support 
on your System, also includes drivers for some modems. For modems using the 
snd-hda-intel  audio+modem driver, upgrades to a new ALSA version are sometimes 
necessary to achieve function. See for example:
      http://linmodems.technion.ac.il/bigarch/archive-seventh/msg02144.html
Copying ALSA diagnostics to Modem/ALSAroot.tgz
ALSAversion = 1.0.13

Modem or candidate host audio card have firmware information and diagnostics:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 02:0c.0	11c1:0620	11c1:0620	Communication controller: Agere Systems Unknown device 0620

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 02:0c.0 ----
ACPI: PCI Interrupt 0000:02:0c.0[A] -> GSI 20 (level, low) -> IRQ 217

 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

 For candidate modem in PCI bus:  02:0c.0
   Class 0780: 11c1:0620 Communication controller: Agere Systems Unknown device 0620
      Primary PCI_id  11c1:0620
 Support type needed or chipset:	Agere.SV2P
 


 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
 062(1-3)   none           SV92PP,Pinball  soft modem, in some HP desktop PCs

martian - At http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/

AGRSM - At http://phep2.technion.ac.il/linmodems/packages/ltmodem/SV92PP/
Read Agrsm.txt
Read Agrsm.txt
-------------- 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.1.2
             and the compiler used in kernel assembly: 4.1.2


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.18-4-686/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 libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default. 

Compressed files at: /usr/src/linux-source-2.6.18.tar.bz2

For Debian and some related distributions, a package kernel-kbuild-2.6-18 may be needed to support driver compiling


If a driver compilation files with message including some lack of some FileName.h (stdio.h for example. 
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubuntu Feisty, additional packages required were:
 libc6-dev linux-libc-dev
available through http://packages.ubuntu.com/ , if not on the install CD.
Such packages may have different names for other Linux distributions.
Try installing just the libc6-dev, then test the compile again.


Checking pppd properties:
	-rwsr-xr-- 1 root dip 260920 2007-03-18 05:52 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://phep2.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
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

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/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the experts
 should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 12 2007-10-09 16:54 /dev/modem -> /dev/ttyAGS3
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------


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

  Powered by Linux