hi list, got a dun-account for 2 days and made ppp connection test with driver agrsm-2.1.80-4mdv2009.0, was realy unusable. attached is a patch that make the driver more usable: IMPORTANT: no other app (pulseaudio, kmix or arts) should access the sounddriver before, elsewhere the driver freeze the machine! i made my tests in runlevel 2 loaded agrmodem, agrserial manualy, started AgereMdmDaemon, fired up ppp-connection and started icewm from the console i hope other people also can use their modems, i don't realy need mine, spent a lot of time just for fun but my girlfriend mean it's enough ;-) hth zsolt test result: (high ping due calling a webpage in browser) chat reports connection: Jan 14 19:07:28 A2920 chat[3633]: CONNECT Jan 14 19:07:28 A2920 chat[3633]: -- got it Jan 14 19:07:28 A2920 chat[3633]: send () Jan 14 19:07:28 A2920 chat[3633]: expect (~) Jan 14 19:07:28 A2920 chat[3633]: 46666 V44^M Jan 14 19:07:31 A2920 chat[3633]: ~ Jan 14 19:07:31 A2920 chat[3633]: -- got it Ergebnisse Die gemessene Geschwindigkeit betrug 157921,85 Bits pro Sekunde. Es gibt drei Möglichkeiten dies zu interpretieren: Communications 154,22 Kilobits pro Sekunde Storage 19,28 kilobytes pro Sekunde 1MB file download in 53,12 Sekunden Downstream 154 kbit/s (your speed) PING www.chello.at (213.46.242.72) 56(84) bytes of data. 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=1 ttl=245 time=203 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=2 ttl=245 time=172 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=3 ttl=245 time=176 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=4 ttl=245 time=179 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=5 ttl=245 time=179 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=6 ttl=245 time=180 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=7 ttl=245 time=169 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=8 ttl=245 time=179 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=9 ttl=245 time=188 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=10 ttl=245 time=424 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=11 ttl=245 time=1139 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=12 ttl=245 time=460 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=13 ttl=245 time=2732 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=15 ttl=245 time=1556 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=16 ttl=245 time=1159 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=17 ttl=245 time=1337 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=18 ttl=245 time=332 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=19 ttl=245 time=580 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=20 ttl=245 time=236 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=21 ttl=245 time=171 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=22 ttl=245 time=923 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=23 ttl=245 time=179 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=24 ttl=245 time=172 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=25 ttl=245 time=320 ms 64 bytes from www.chello.nl (213.46.242.72): icmp_seq=26 ttl=245 time=252 ms --- www.chello.at ping statistics --- 26 packets transmitted, 26 received, 0% packet loss, time 25942ms rtt min/avg/max/mdev = 169.108/620.577/2732.372/707.086 ms, pipe 3 Am Dienstag, 2. Dezember 2008 16:00:57 schrieb Zsolt László BÃ?RCZES: > Am Tuesday 02 December 2008 03:49:04 schrieb Marvin Stodolsky: > > Zsolt > > > > Much thanks. On the agrsm resources only suitable for HDA hosted 11c11040 chi- nmodems, or should PCI types like 11c1:0620 and > > 11c1:048d be supported as well?? > hi, > the original source was the agrsm-20080808-ALSA18.tar.bz2. > 11c1:0620 is in the device list, 048d not. > i made just a quick test on my acer aspire 2920 notebook (modem 11c11040), > have no other hardware for testing the agrsm. > zsolt > ps: > const SUPPORTED_DEVICES agereSupDevices[] = { > { 0x11C1, 0x0620, 0x0000, 0x0000 }, > { 0x1039, 0x7013, 0x0000, 0x0000 }, > { 0x1106, 0x3068, 0x0000, 0x0000 }, > { 0x8086, 0x2668, 0x0000, 0x0000 }, //ich6 hda > { 0x8086, 0x27D8, 0x0000, 0x0000 }, //ich7 hda > { 0x8086, 0x284B, 0x0000, 0x0000 }, //ich8 hda > { 0x8086, 0x269a, 0x0000, 0x0000 }, /* ESB2 */ > { 0x8086, 0x293e, 0x0000, 0x0000 }, /* ICH9 */ > { 0x8086, 0x293f, 0x0000, 0x0000 }, /* ICH9 */ > { 0x1002, 0x437b, 0x0000, 0x0000 }, /* ATI SB450 */ > { 0x1002, 0x4383, 0x0000, 0x0000 }, /* ATI SB600 */ > { 0x1002, 0x793b, 0x0000, 0x0000 }, /* ATI RS600 HDMI */ > { 0x1002, 0x7919, 0x0000, 0x0000 }, /* ATI RS690 HDMI */ > { 0x1002, 0x960c, 0x0000, 0x0000 }, /* ATI RS780 HDMI */ > { 0x1002, 0xaa00, 0x0000, 0x0000 }, /* ATI R600 HDMI */ > { 0x1106, 0x3288, 0x0000, 0x0000 }, /* VIA VT8251/VT8237A */ > { 0x1039, 0x7502, 0x0000, 0x0000 }, /* SIS966 */ > { 0x10b9, 0x5461, 0x0000, 0x0000 }, /* ULI M5461 */ > { 0x10de, 0x026c, 0x0000, 0x0000 }, /* NVIDIA MCP51 */ > { 0x10de, 0x0371, 0x0000, 0x0000 }, /* NVIDIA MCP55 */ > { 0x10de, 0x03e4, 0x0000, 0x0000 }, /* NVIDIA MCP61 */ > { 0x10de, 0x03f0, 0x0000, 0x0000 }, /* NVIDIA MCP61 */ > { 0x10de, 0x044a, 0x0000, 0x0000 }, /* NVIDIA MCP65 */ > { 0x10de, 0x044b, 0x0000, 0x0000 }, /* NVIDIA MCP65 */ > { 0x10de, 0x055c, 0x0000, 0x0000 }, /* NVIDIA MCP67 */ > { 0x10de, 0x055d, 0x0000, 0x0000 }, /* NVIDIA MCP67 */ > { 0x8086, 0x2416, 0x0000, 0x0000 }, > { 0x8086, 0x2426, 0x0000, 0x0000 }, > { 0x8086, 0x2446, 0x0000, 0x0000 }, > { 0x8086, 0x7196, 0x0000, 0x0000 }, > { 0x8086, 0x2486, 0x0000, 0x0000 }, > { 0x8086, 0x24C6, 0x0000, 0x0000 }, > { 0x8086, 0x24D6, 0x0000, 0x0000 }, > { 0x11C1, 0x048C, 0x0000, 0x0000 }, > { 0x11C1, 0x048F, 0x0000, 0x0000 }, > { 0x8086, 0x266D, 0x0000, 0x0000 }, > }; -- Diese Nachricht wurde auf Viren und andere gefährliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber. For all your IT requirements visit: http://www.ZsoltTech.Com
diff -x '*struct.patched' -x Makefile -x '*.order' -x hda_codec.h -x '*.c.*' -x '*.symvers' -x '*.mod.c' -x Readme.txt -x '*.cmd' -x '*.mod' -x '*.ko' -x '*.o' -x '*.conf' -x '*.2.6.27' -NurB agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c agrsm-2.1.80-4mdv2009.0.NEW/agrsoftmodem.c --- agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c 2008-12-08 14:03:33.000000000 +0100 +++ agrsm-2.1.80-4mdv2009.0.NEW/agrsoftmodem.c 2009-01-14 19:39:24.000000000 +0100 @@ -320,11 +320,15 @@ fnatr int kill_proc_wrap(pid_t pid, int sig, int opt) { return (kill_proc(pid, sig, opt));} #else fnatr int kill_proc_wrap(pid_t pid, int sig, int opt) { - printk(KERN_INFO "Kill Request for PID, FAKING!\n"); - return 0;} - /* kill_proc_wrap(struct task_struct *thread, int sig, int opt) - if (thread != NULL) - return (send_sig(sig, thread, opt));} */ + if(pid){ + if(find_task_by_vpid(pid)) + return(send_sig(sig,find_task_by_vpid(pid),opt)); + else + return -ESRCH; + } else { + return 0; + } +} #endif /* LINUX_VERSION_CODE < 2.6.27 */ fnatr int x_sprintf(char * buf, const char * fmt, ...) { diff -x '*struct.patched' -x Makefile -x '*.order' -x hda_codec.h -x '*.c.*' -x '*.symvers' -x '*.mod.c' -x Readme.txt -x '*.cmd' -x '*.mod' -x '*.ko' -x '*.o' -x '*.conf' -x '*.2.6.27' -NurB agrsm-2.1.80-4mdv2009.0/HDA.c agrsm-2.1.80-4mdv2009.0.NEW/HDA.c --- agrsm-2.1.80-4mdv2009.0/HDA.c 2008-12-08 14:03:33.000000000 +0100 +++ agrsm-2.1.80-4mdv2009.0.NEW/HDA.c 2009-01-14 19:27:33.000000000 +0100 @@ -357,16 +357,6 @@ return rvalue; } -void snd_hda_power_up(struct hda_codec *codec) -{ - return; -} - -void snd_hda_power_down(struct hda_codec *codec) -{ - return; -} - /** * snd_hda_codec_write - send a single command without waiting for response * @codec: the HDA codec @@ -383,11 +373,7 @@ unsigned int verb, unsigned int parm) { int err; - snd_hda_power_up(codec); - mutex_lock(&codec->bus->cmd_mutex); err = codec->bus->ops.command(codec, nid, direct, verb, parm); - mutex_unlock(&codec->bus->cmd_mutex); - snd_hda_power_down(codec); return err; } @@ -408,14 +394,10 @@ unsigned int verb, unsigned int parm) { unsigned int res; - snd_hda_power_up(codec); - mutex_lock(&codec->bus->cmd_mutex); if (!codec->bus->ops.command(codec, nid, direct, verb, parm)) res = codec->bus->ops.get_response(codec); else res = (unsigned int)-1; - mutex_unlock(&codec->bus->cmd_mutex); - snd_hda_power_down(codec); return res; }