Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 08:25
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Dialup
[CLOSED] Problem with Agere HDA modem on HP550 laptop
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [35 Posts]   Goto page: 1, 2, 3 Next
Author Message
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Thu 09 Jul 2009, 13:46    Post subject:  [CLOSED] Problem with Agere HDA modem on HP550 laptop
Subject description: Solved for Wary but failed in Oct 2011 for lupu528
 

[edit5]Closed again after experiments to get the modem working under lupu528 failed. See the post of 5 Oct 2011 on page 3 for advice on using these modems in puppy[/edit4]

[edit4] Reopened to discuss getting the Agere working on lupu528
[/edit4]

[edit3]
A further update - success to report....
jrb has written a wonderful howto http://www.murga-linux.com/puppy/viewtopic.php?t=60180
explaining how to change the kernel version in any puppy. By changing the kernel in Lupu511 to the one used in Wary060 K2.6.32.1 I now have a schizophrenic puppy that starts up as Wary060 but then behaves like Lupu511 EXCEPT that it can talk to my modem - WONDERFUL.
[/edit3]

[edit2]
Just to note that the progress with Wary 060 unfortunately didn't carry over into Wary 070 - but am hopeful that Barry and Rerwin are on the case and it will be solved soon...
[/edit2]

[edit]
SOLVED - partly - see above
I'm pleased to report that after loading the agrmodem and agrserial modules that are included in Wary 0.6 then my Agere HDA modem now works using Wary 0.6.
As Wary and Lucid Puppy use different kernels it isn't possible to move the modules to Lucid Puppy unfortunately but I can live with a dual boot system with both Wary for when I need a modem and Puppy 5 Lucid.
[/edit]



Any clues on how to get this modem working please?

Using Puppy 4.2.1 on an HP550 laptop

Windows Vista comes pre-installed and reports that the modem is an Agere Systems HDA modem on com3 with manufacturer:model id = 11c1:1040

Tried Internet Connection Wizard - couldn't see a modem at all but suggested force loading of agrserial which I've done

Internet Connection Wizard now says that it has detected a modem on /dev/ttyAGS3

However modem-stats /dev/ttyAGS3 says "Segmentation Fault"

and the Internet Connection Wizard cannot access the modem.

dmesg after the modem-stats command reports:

agrmodem: module license 'Proprietary' taints kernel.
agrsm: created 0 infos
Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16)
ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem
agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16)

BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<f8e49d23>] :agrmodem:LXSoftModemStart+0x23/0x230
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: snd_pcm_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_mixer_oss agrserial agrmodem(P) arc4 ecb crypto_blkcipher b43 mac80211 cfg80211 ohci_hcd serio_raw ssb pcspkr snd_hda_intel snd_pcm snd_timer snd soundcore snd_page_alloc e1000e intel_agp agpgart video output wmi fan battery container evdev thermal button processor ac fuse aufs nls_iso8859_1 nls_cp437 usbhid usb_storage ehci_hcd uhci_hcd usbcore squashfs

Pid: 31073, comm: modem-stats Tainted: P (2.6.25.16 #1)
EIP: 0060:[<f8e49d23>] EFLAGS: 00210296 CPU: 0
EIP is at LXSoftModemStart+0x23/0x230 [agrmodem]
EAX: 00000008 EBX: e22ce9c0 ECX: fffb6000 EDX: f8abda40
ESI: 00000000 EDI: f8abdf70 EBP: e233fe24 ESP: e233fd9c
DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Process modem-stats (pid: 31073, ti=e233e000 task=e237daa0 task.ti=e233e000)
Stack: 00000c6c 00000008 f8e847e1 fffffffd fffffffc 00000001 00330000 c04460d4
c14f6260 c14f6260 c14f6260 c01414f2 00000001 00000044 e7b13000 00000000
c04460f0 c04460d4 00000001 00000000 000280d0 c04468ac 00000000 00000001
Call Trace:
[<c01414f2>] get_page_from_freelist+0x262/0x430
[<c014171f>] __alloc_pages+0x5f/0x380
[<f8e452f6>] linux_modem_open+0x26/0x110 [agrmodem]
[<f8d9f3a5>] modemPortOpen+0x5/0x10 [agrmodem]
[<f8abc1d5>] serial8250_startup+0x185/0x260 [agrserial]
[<c0280158>] uart_startup+0x48/0x130
[<c0281bc4>] uart_open+0xe4/0x390
[<c02276ff>] kobject_get+0xf/0x20
[<c026f7a4>] tty_open+0x144/0x2b0
[<c015d10e>] chrdev_open+0x6e/0x140
[<c015d0a0>] chrdev_open+0x0/0x140
[<c0159119>] __dentry_open+0xa9/0x1b0
[<c0159267>] nameidata_to_filp+0x47/0x60
[<c01592d0>] do_filp_open+0x50/0x60
[<c0158fe2>] get_unused_fd_flags+0x42/0xc0
[<c0159330>] do_sys_open+0x50/0xf0
[<c015944c>] sys_open+0x2c/0x40
[<c0104002>] syscall_call+0x7/0xb
[<c0370000>] setup_cpu_cache+0xa0/0x100
=======================
Code: 00 89 d8 eb a7 8d 76 00 55 b8 e1 47 e8 f8 89 e5 57 56 53 83 ec 7c 8b 75 08 89 44 24 08 c7 45 e4 78 56 34 12 8d 46 08 89 44 24 04 <8b> 46 04 89 04 24 e8 e2 13 00 00 85 c0 89 c3 0f 88 68 01 00 00
EIP: [<f8e49d23>] LXSoftModemStart+0x23/0x230 [agrmodem] SS:ESP 0068:e233fd9c
---[ end trace fb65068c4d0e52ee ]---
screen230910.jpg
 Description   
 Filesize   69.05 KB
 Viewed   1272 Time(s)

screen230910.jpg


Last edited by peebee on Wed 05 Oct 2011, 15:07; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1536
Location: Maine, USA

PostPosted: Mon 03 Aug 2009, 10:50    Post subject:  

peebee,
Interesting problem. It appears that support for this modem type is a work in progress. Puppy apparently has an old driver (judging from the 2005 date). I have been working with modem support for a while, but have not attended to the Ageres.

The information I found from the experts (responsible for it) indicate a sound-driver modification is needed, as well as upgrading to a recent agere driver. I am putting this on my to-do list, to update Puppy's drivers, but cannot get to it for some time.

Barry Kauler,
The newest driver is "dkms-agrsm_2.1.80-7_i386.deb" and the Howto for updating the snd-hda-intel alsa driver is "HOWTO-Agere-11c11040-HDA.html", both from http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
The linuxant patch could also be added to this update. I could work this if I had access to the source for the alsa-driver 1.0.16. In addition, the udev rule for Agere modems probably needs ID 11c1:1040 added to it.
Richard
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Mon 03 Aug 2009, 11:18    Post subject: Thanks  

Thanks Richard - if you do get round to it, let me know and i'll be pleased to test it out for you.
The HP550 is a bargain basement laptop - £250 in the UK - (so combines nicely with PuppyLinux) and works great apart from the modem on 4.2.......

Cheers
Peter
Back to top
View user's profile Send private message Visit poster's website 
dialeddown

Joined: 25 Apr 2010
Posts: 20

PostPosted: Mon 26 Apr 2010, 11:37    Post subject:  

rerwin wrote:
peebee,
Interesting problem. It appears that support for this modem type is a work in progress. Puppy apparently has an old driver (judging from the 2005 date). I have been working with modem support for a while, but have not attended to the Ageres.

The information I found from the experts (responsible for it) indicate a sound-driver modification is needed, as well as upgrading to a recent agere driver. I am putting this on my to-do list, to update Puppy's drivers, but cannot get to it for some time.

Barry Kauler,
The newest driver is "dkms-agrsm_2.1.80-7_i386.deb" and the Howto for updating the snd-hda-intel alsa driver is "HOWTO-Agere-11c11040-HDA.html", both from http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
The linuxant patch could also be added to this update. I could work this if I had access to the source for the alsa-driver 1.0.16. In addition, the udev rule for Agere modems probably needs ID 11c1:1040 added to it.
Richard


Hello. Does puppy 4.3.1 have the linuxant patch for alsa? I did not see a udev rule for agere.

I have the same modem as peebee, http://murga-linux.com/puppy/viewtopic.php?t=54805 .

Thank you.
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1536
Location: Maine, USA

PostPosted: Tue 27 Apr 2010, 18:07    Post subject:  

dialeddown,
As I recall, when I created the agere rules, I apparently gave up on trying to support the Agere HDA modems. Things just didn't look ready. Or I wasn't. It seems a patch is needed to a piece of the ALSA HDA sound driver, that was beyond what I could deal with.

Although I think I saw a later version of the driver, I cannot attack that issue for a while. But the ALSA patch makes things complicated, which is why I am holding off.

Anyway, the obvious rule to add to /etc/udev/rules.d/60-dialup-modem.rules would be:
Code:
ATTR{vendor}=="0x11c1", ATTR{device}=="0x1040", ACTION=="add", RUN+="/sbin/pup_event_backend_modprobe agrserial"
You could try that, to see haw far you get, but I fear the absence of the ALSA-HDA patch will prevent it from working.
Richard
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Wed 28 Apr 2010, 05:54    Post subject:  

Hi Richard

Many thanks for your continued interest and help.

I am still very interested to get this modem to work on my HP550....

Since my original post I have moved on to Puppy 4.3.1 K2.6.30.5

I have applied the edit you have suggested and have force loaded modules agrserial and agrmodem

The connection wizard says that /dev/ttyAGS3 is detected as a modem but then a Test of the modem says it is not responding

modem-stats no longer crashes but just hangs with no response

relevent lines from dmesg are below

I guess you are right that the ALSA patch (which just seems to export some symbols?? but I'm no expert!) and maybe later driver versions are needed.

Cheers
Peter

dmesg output:
agrmodem: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
agrsm: created 0 infos
Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16)
ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem
agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16)

Modules linked in: parport_pc lp parport snd_pcm_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_mixer_oss rfkill_input agrserial agrmodem(P) arc4 ecb b43 mac80211 input_polldev led_class ohci_hcd rfkill cfg80211 serio_raw pcspkr snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm snd_page_alloc shpchp snd_timer snd pci_hotplug soundcore e1000e intel_agp agpgart video output wmi fan battery container thermal evdev button ac processor fuse aufs nls_iso8859_1 nls_cp437 usbhid usb_storage squashfs ssb uhci_hcd ehci_hcd usbcore

Pid: 6563, comm: modem-stats Tainted: P (2.6.30.5 #1) HP 550
EIP: 0060:[<f8766d53>] EFLAGS: 00210296 CPU: 0
EIP is at LXSoftModemStart+0x23/0x230 [agrmodem]
EAX: 00000008 EBX: f6bac1f8 ECX: fffb6000 EDX: f87eb3c0
ESI: 00000000 EDI: f6bac208 EBP: ed649de4 ESP: ed649d5c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modem-stats (pid: 6563, ti=ed648000 task=f68e0040 task.ti=ed648000)
Stack:
c15ab620 00000008 f87a182b c01653c5 00000001 00000044 00200246 ed5b1000
00000000 c05a7380 c053cf80 00000001 00000000 00000000 000280d0 c053da6c
00200246 00000000 00000000 00000001 00000000 c053cf80 c053cf80 f6bac1f8
Call Trace:
[<c01653c5>] ? get_page_from_freelist+0x2e5/0x470
[<f8762326>] ? linux_modem_open+0x26/0x110 [agrmodem]
[<c011ea8e>] ? __wake_up+0x3e/0x60
[<f86bc3a5>] ? modemPortOpen+0x5/0x10 [agrmodem]
[<f87e9ae5>] ? serial8250_startup+0x195/0x270 [agrserial]
[<c0300a7c>] ? uart_startup+0x4c/0x150
[<c0302259>] ? uart_open+0x109/0x360
[<c02e9394>] ? check_tty_count+0x14/0xb0
[<c02eb61c>] ? tty_init_dev+0x8c/0x160
[<c02999cf>] ? kobject_get+0xf/0x20
[<c02eb8b9>] ? tty_open+0x1c9/0x430
[<c0189795>] ? chrdev_open+0x95/0x150
[<c0189700>] ? chrdev_open+0x0/0x150
[<c0184c1e>] ? __dentry_open+0xbe/0x240
[<c0185d53>] ? nameidata_to_filp+0x53/0x70
[<c0191272>] ? do_filp_open+0x1e2/0x7a0
[<c01722e9>] ? __do_fault+0x2c9/0x3f0
[<c01849fa>] ? do_sys_open+0x5a/0x100
[<c0184b1c>] ? sys_open+0x2c/0x40
[<c0102e05>] ? syscall_call+0x7/0xb
Code: 00 89 d8 eb a7 8d 76 00 55 b8 2b 18 7a f8 89 e5 57 56 53 83 ec 7c 8b 75 08 89 44 24 08 c7 45 e4 78 56 34 12 8d 46 08 89 44 24 04 <8b> 46 04 89 04 24 e8 e2 13 00 00 85 c0 89 c3 0f 88 68 01 00 00
EIP: [<f8766d53>] LXSoftModemStart+0x23/0x230 [agrmodem] SS:ESP 0068:ed649d5c
CR2: 0000000000000004
---[ end trace 00061c9f96950fc0 ]---
Back to top
View user's profile Send private message Visit poster's website 
rerwin


Joined: 24 Aug 2005
Posts: 1536
Location: Maine, USA

PostPosted: Wed 28 Apr 2010, 20:00    Post subject:  

peebee,
Thanks for trying my suggestion. That result sounds familiar. The dmesg listing shows that the modem-stats program "crashed" trying to communicate with the modem.

About the patch, I have seen a statement that the patch is no longer needed after a driver version ...3, whereas they are now beyond that level. So, I don't know whether is is needed or not. But another killer is that apparently the driver is not ready for the current version of the ALSA driver (1.0.20). There are so many various versions of the driver in the 11c1:1040 download directory, that it is not clear which to use. The latest date may have other constraints. All that will take more digging to sort out.

I hope you now understand why I have had to "back burner" this modem, as I try to keep up with the evolution of the USB wireless modems (not to mention the outside commitments I am delaying to support puppy).
Richard
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Thu 29 Apr 2010, 07:02    Post subject:  

Hi Richard
Fully understood - but if you have more ideas and suggestions I wait ready to try them out.
Cheers
Peter
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Thu 03 Jun 2010, 15:49    Post subject: Agere modem still not supported in Puppy 5.0.1  

Just tried the new Puppy 5.0.1 and it appears that my modem Agere HDA 11c1 1040 is still not supported.

However I also notice that there is at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
a source package agrsm-11c11040_20091225_i386.deb which may support for this modem? However compiliing this is beyond my capabilities.....

But maybe somebody can do to provide support for this modem??

Cheers
Peter
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Sat 28 Aug 2010, 13:55    Post subject: Re: Agere modem still not supported in Puppy 5.0.1  

peebee wrote:
Just tried the new Puppy 5.0.1 and it appears that my modem Agere HDA 11c1 1040 is still not supported.

However I also notice that there is at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
a source package agrsm-11c11040_20091225_i386.deb which may support for this modem? However compiliing this is beyond my capabilities.....

But maybe somebody can do to provide support for this modem??

Cheers
Peter


Now solved with Wary 0.6 (but not yet for Wary 0.7) - see edit to my first post.
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Thu 23 Sep 2010, 05:55    Post subject: Re: Agere modem still not supported in Puppy 5.0.1  

peebee wrote:


Now solved with Wary 0.6 (but not yet for Wary 0.7) - see edit to my first post.


Now solved in general by using jrb's how-to swap the kernel in any puppy - see edit3 to first post.
Back to top
View user's profile Send private message Visit poster's website 
dialeddown

Joined: 25 Apr 2010
Posts: 20

PostPosted: Fri 18 Feb 2011, 22:07    Post subject: Re: Agere modem still not supported in Puppy 5.0.1  

peebee wrote:
peebee wrote:
Just tried the new Puppy 5.0.1 and it appears that my modem Agere HDA 11c1 1040 is still not supported.

However I also notice that there is at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
a source package agrsm-11c11040_20091225_i386.deb which may support for this modem? However compiliing this is beyond my capabilities.....

But maybe somebody can do to provide support for this modem??

Cheers
Peter


Now solved with Wary 0.6 (but not yet for Wary 0.7) - see edit to my first post.




Hello. Can anyone confirm that this modem chip when mounted on the sound card works, or are people talking about the chip on some other device?

I tried Wary 060 but saw no improvement. Can anyone confirm that a fresh Wary 060 works, or does it need patches and packages added?

Does anyone have instructions for the sound-card version?

Thank you.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Sat 19 Feb 2011, 03:53    Post subject: Re: Agere modem still not supported in Puppy 5.0.1  

dialeddown wrote:
Hello. Can anyone confirm that this modem chip when mounted on the sound card works, or are people talking about the chip on some other device?
Thank you.


Hi there
wary504 contains support for 2 variants of this modem - see Barry's post:
http://bkhome.org/blog/?viewDetailed=02134

The one NOT supported is: agrsm048pci-2.1.60_20091022

Download wary504 here: http://bkhome.org/blog/?viewDetailed=02146

wary500 which is based on an earlier kernel should support all 3 variants.

Download wary500 here: http://bkhome.org/blog/?viewDetailed=02057
Cheers
Peter
Back to top
View user's profile Send private message Visit poster's website 
dialeddown

Joined: 25 Apr 2010
Posts: 20

PostPosted: Tue 22 Feb 2011, 23:55    Post subject:  

The 504 worked better and says modem initialized but stops at no carrier or modem not responding.

Can someone post their working conf settings or describe the process that worked for them, starting with a fresh 504?

Thank you.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 1516
Location: Worcestershire, UK

PostPosted: Wed 23 Feb 2011, 05:33    Post subject: Need to ask an expert..  

dialeddown wrote:
The 504 worked better and says modem initialized but stops at no carrier or modem not responding.

Can someone post their working conf settings or describe the process that worked for them, starting with a fresh 504?

Thank you.


wary510 has now been released - have you tried the k2.6.31 version??

Suggest you need the help of the modem expert rerwin - best way would be to start a topic in Forum index » Advanced Topics » Hardware » Networking » Dialup

or pm him with the results of pmodemdiag - as he explains to another enquirer here: http://www.murga-linux.com/puppy/viewtopic.php?p=482971&search_id=1702542096#482971

You will need to give him as much detail of your setup as possible - including details of how and where the modem is connected and which model it is if possible - although pmodemdiag collects this for him.

Cheers
Peter
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [35 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Dialup
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1133s ][ Queries: 13 (0.0062s) ][ GZIP on ]