Hojji Run $ sudo agrsm-test The "sudo" component is necessary, as an ordinary user cannot load drivers. MarvS On Tue, Apr 20, 2010 at 5:59 AM, hojjat nazari <dr.hojjatnazari@xxxxxxxxx> wrote: > hojji@hojji-laptop ~/Desktop $ agrsm-test > > Found drivers for boot kernel 2.6.28-11-generic at: > /lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrmodem.ko > /lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrserial.ko > > > tee: ./agrsm-test.txt: Permission denied > > Loading drivers: > FATAL: Error inserting agrmodem > (/lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrmodem.ko): > Operation not permitted > FATAL: Error inserting agrserial > (/lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrserial.ko): > Operation not permitted > ln: creating symbolic link `/dev/ttySAGR': Permission denied > FATAL: Error running install command for agrserial > > Checking for utility wvdialconf > Found /usr/bin/wvdialconf, preparing to run: > wvdialconf /etc/wvdial.conf > > Modem Port Scan<*1>: S0 S1 S2 S3 > > A reboot may be necessary before modem detection through: > sudo modprobe agrserial > Which will load agrmodem, agrserial and create the symbolic link needed for: > sudo wvdialconf > > > The installation record has been written to ./agrsm-test.txt > > > hojji@hojji-laptop ~/Desktop $ > > > > On 4/19/10, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: >> RE: hojji@hojji-laptop ~/Desktop $ agrsm-test >> must be run with Root/Adm permission: >> $ sudo agrsm-test >> or >> $ sudo su root >> # agrsm-test >> >> MarvS >> >> On Mon, Apr 19, 2010 at 6:35 PM, Antonio Olivares >> <olivares14031@xxxxxxxxx> wrote: >>> Hojjat, >>> >>> Please forgive me for not replying sooner, but I have been kind of >>> busy. I have responded as best I can and will CC: to list so that >>> others may help in case I take too long to respond: >>> >>> You installed the agrsm-11c11040-1225 package and the agrsm-test >>> package too. Did you install dkms package? >>> >>> >>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/dkms-agrsm_2.1.80-7_i386.deb >>> >>> >>> There two are installed: >>> ============================================ >>> >>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-11c11040_20091225_i386.deb >>> >>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-tools_0.0.1_all.deb >>> >>> ============================================ >>> >>> >>> Run below command with >>> $ sudo ./agrsm-test >>> ============================================ >>> >>> hojji@hojji-laptop ~/Desktop $ agrsm-test >>> >>> Found drivers for boot kernel 2.6.28-11-generic at: >>> /lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrmodem.ko >>> /lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrserial.ko >>> >>> >>> tee: ./agrsm-test.txt: Permission denied >>> >>> Loading drivers: >>> FATAL: Error inserting agrmodem >>> (/lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrmodem.ko): >>> Operation not permitted >>> FATAL: Error inserting agrserial >>> (/lib/modules/2.6.28-11-generic/kernel/dkms/updates/agrserial.ko): >>> Operation not permitted >>> ln: creating symbolic link `/dev/ttySAGR': Permission denied >>> FATAL: Error running install command for agrserial >>> >>> Checking for utility wvdialconf >>> Found /usr/bin/wvdialconf, preparing to run: >>> wvdialconf /etc/wvdial.conf >>> >>> Modem Port Scan<*1>: S0 S1 S2 S3 >>> >>> A reboot may be necessary before modem detection through: >>> sudo modprobe agrserial >>> Which will load agrmodem, agrserial and create the symbolic link needed >>> for: >>> sudo wvdialconf >>> >>> >>> The installation record has been written to ./agrsm-test.txt >>> >>> >>> hojji@hojji-laptop ~/Desktop $ >>> >>> ============================================ >>> >>> Should have been >>> >>> $ sudo lsmod | grep 'agr*' >>> >>> >>> hojji@hojji-laptop ~/Desktop $ sudo lsmod /grep 'agr*' >>> Usage: lsmod >>> hojji@hojji-laptop ~/Desktop $ sudo lsmod >>> Module Size Used by >>> nls_iso8859_1 12032 2 >>> nls_cp437 13696 2 >>> vfat 18816 2 >>> fat 58272 1 vfat >>> binfmt_misc 16776 1 >>> radeon 342816 2 >>> drm 96296 3 radeon >>> ppdev 15620 0 >>> bridge 56340 0 >>> stp 10500 1 bridge >>> bnep 20224 2 >>> lp 17156 0 >>> parport 42220 2 ppdev,lp >>> snd_hda_intel 435636 3 >>> snd_pcm_oss 46336 0 >>> snd_mixer_oss 22656 1 snd_pcm_oss >>> arc4 9856 2 >>> snd_pcm 82948 2 snd_hda_intel,snd_pcm_oss >>> ecb 10752 2 >>> snd_seq_dummy 10756 0 >>> snd_seq_oss 37760 0 >>> snd_seq_midi 14336 0 >>> snd_rawmidi 29696 1 snd_seq_midi >>> iwlagn 100228 0 >>> iwlcore 93184 1 iwlagn >>> uvcvideo 63240 0 >>> snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi >>> snd_seq 56880 6 >>> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event >>> led_class 12036 1 iwlcore >>> psmouse 61972 0 >>> intel_agp 34108 0 >>> compat_ioctl32 9344 1 uvcvideo >>> snd_timer 29704 2 snd_pcm,snd_seq >>> snd_seq_device 14988 5 >>> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq >>> joydev 18368 0 >>> iTCO_wdt 19108 0 >>> mac80211 217208 2 iwlagn,iwlcore >>> video 25360 0 >>> videodev 41600 1 uvcvideo >>> snd 62628 15 >>> snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device >>> soundcore 15200 1 snd >>> sdhci_pci 15232 0 >>> sdhci 23940 1 sdhci_pci >>> serio_raw 13316 0 >>> pcspkr 10496 0 >>> agpgart 42696 2 drm,intel_agp >>> output 11008 1 video >>> iTCO_vendor_support 11652 1 iTCO_wdt >>> v4l1_compat 21764 2 uvcvideo,videodev >>> usbhid 42336 0 >>> input_polldev 11912 0 >>> snd_page_alloc 16904 2 snd_hda_intel,snd_pcm >>> cfg80211 38032 3 iwlagn,iwlcore,mac80211 >>> usb_storage 82880 2 >>> ohci1394 38576 0 >>> ieee1394 94660 1 ohci1394 >>> r8169 40836 0 >>> mii 13312 1 r8169 >>> fbcon 46112 0 >>> tileblit 10752 1 fbcon >>> font 16384 1 fbcon >>> bitblit 13824 1 fbcon >>> softcursor 9984 1 bitblit >>> hojji@hojji-laptop ~/Desktop $ >>> >>> ============================================ >>> The drivers were apparently cranked out/compiled for the kernel, but >>> there was hda_write? error: >>> >>> Apr 20 09:20:03 hojji-laptop kernel: [ 134.519948] agrmodem: Unknown >>> symbol snd_hda_codec_read >>> Apr 20 09:20:03 hojji-laptop kernel: [ 134.520173] agrmodem: Unknown >>> symbol snd_hda_codec_write >>> >>> That is positive, but maybe that is not correct? >>> >>> ============================================ >>> >>> Apr 20 09:18:46 hojji-laptop kernel: [ 56.936010] hda_intel: >>> azx_get_response timeout, switching to polling mode: last >>> cmd=0x006f000a >>> Apr 20 09:19:11 hojji-laptop sudo: pam_sm_authenticate: Called >>> Apr 20 09:19:11 hojji-laptop sudo: pam_sm_authenticate: username = [hojji] >>> Apr 20 09:19:11 hojji-laptop sudo: Warning: Using default salt value >>> (undefined in ~/.ecryptfsrc) >>> Apr 20 09:20:02 hojji-laptop sudo: pam_sm_authenticate: Called >>> Apr 20 09:20:02 hojji-laptop sudo: pam_sm_authenticate: username = [hojji] >>> Apr 20 09:20:02 hojji-laptop sudo: Warning: Using default salt value >>> (undefined in ~/.ecryptfsrc) >>> Apr 20 09:20:03 hojji-laptop kernel: [ 134.519948] agrmodem: Unknown >>> symbol snd_hda_codec_read >>> Apr 20 09:20:03 hojji-laptop kernel: [ 134.520173] agrmodem: Unknown >>> symbol snd_hda_codec_write >>> >>> Marv, >>> >>> Does this mean that the package did not write the agrmodem/agrserial >>> kernel modules correctly? >>> ============================================ >>> >>> $ sudo wvdialconf /etc/wvdial.conf >>> >>> did not find modem port. Did you reboot? >>> and see if it is enabled? >>> >>> ============================================ >>> >>> hojji@hojji-laptop ~/Desktop $ sudo wvdialconf /etc/wvdial.conf >>> Editing `/etc/wvdial.conf'. >>> >>> Scanning your serial ports for a modem. >>> >>> Modem Port Scan<*1>: S0 S1 S2 S3 SAGR >>> >>> >>> Sorry, no modem was detected! Is it in use by another program? >>> Did you configure it properly with setserial? >>> >>> Please read the FAQ at http://open.nit.ca/wiki/?WvDial >>> >>> If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>. >>> hojji@hojji-laptop ~/Desktop $ >>> >>> ============================================ >>> >>> Hojjat, if you reboot and apply same test and all returns same thing, >>> please send it back to list (discuss@xxxxxxxxxxxxx) and we'll try to >>> help. Hope that this time everything works. >>> >>> Regards, >>> >>> Antonio >>> >>> >>> On 4/19/10, hojjat nazari <dr.hojjatnazari@xxxxxxxxx> wrote: >>>> I am waiting for reply. Thank you. >>>> >>>> On 4/19/10, Antonio Olivares <olivares14031@xxxxxxxxx> wrote: >>>>> Hojjat, >>>>> >>>>> I apologize but I was busy at work. I will try to get back as soon as >>>>> I can. Please forgive me or send to list(discuss@xxxxxxxxxxxxx), >>>>> maybe someone can help faster? >>>>> >>>>> Apologies. I will get back as soon as I can. >>>>> >>>>> Regards, >>>>> >>>>> Antonio >>>>> >>>>> On Mon, Apr 19, 2010 at 1:32 PM, hojjat nazari >>>>> <dr.hojjatnazari@xxxxxxxxx> wrote: >>>>>> Hello Antonio i am hojjat . i I am entered your order. But not >>>>>> >>>>>> detect my modem.my sen attachments for you. I hope to help me. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 4/18/10, hojjat nazari <dr.hojjatnazari@xxxxxxxxx> wrote: >>>>>>> hello Antonio. >>>>>>> >>>>>>> On 4/18/10, Antonio Olivares <olivares14031@xxxxxxxxx> wrote: >>>>>>>> Hojjat, >>>>>>>> >>>>>>>> Install dkms-agrsm_2.1.80-7_i386.deb package first then install >>>>>>>> agrsm-11c11040, followed by agrsm-tools. Antony another user has >>>>>>>> reported success using those steps. After installing and rebooting, >>>>>>>> run ./agrsm-tools and its output should be like: >>>>>>>> >>>>>>>> Found drivers for boot kernel 2.6.31-20-generic at: >>>>>>>> /lib/modules/2.6.31-20-generic/updates/dkms/agrserial.ko >>>>>>>> /lib/modules/2.6.31-20-generic/updates/dkms/agrmodem.ko >>>>>>>> /lib/modules/2.6.31-20-generic/extra/agrserial.ko >>>>>>>> /lib/modules/2.6.31-20-generic/extra/agrmodem.ko >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Loading drivers: >>>>>>>> >>>>>>>> Drivers loaded: >>>>>>>> agrserial 12032 0 >>>>>>>> agrmodem 1250948 1 >>>>>>>> snd_hda_codec 75708 4 >>>>>>>> agrmodem,snd_hda_codec_intelhdmi,snd_hda_codec_analog,snd_hda_intel >>>>>>>> snd 59204 18 >>>>>>>> agrmodem,snd_hda_codec_intelhdmi,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device >>>>>>>> >>>>>>>> and symbolic link created: >>>>>>>> lrwxrwxrwx 1 root root 12 2010-04-18 14:07 /dev/ttySAGR -> >>>>>>>> /dev/ttyAGS3 >>>>>>>> >>>>>>>> Checking for utility wvdialconf >>>>>>>> Found /usr/bin/wvdialconf, preparing to run: >>>>>>>> wvdialconf /etc/wvdial.conf >>>>>>>> A file /etc/wvdial.conf already exists, first renaming to >>>>>>>> /etc/wvdial.201004180704 >>>>>>>> >>>>>>>> Modem Port Scan<*1>: S0 S1 S2 S3 >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 -- OK >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 Z -- OK >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 -- OK >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK >>>>>>>> ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK >>>>>>>> ttySAGR<*1>: Modem Identifier: ATI -- Agere SoftModem Version >>>>>>>> 2.1.80.0 >>>>>>>> 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 >>>>>>>> /etc/wvdial.conf<Warn>: Can't open '/etc/wvdial.conf' for reading: >>>>>>>> No >>>>>>>> such file or directory >>>>>>>> /etc/wvdial.conf<Warn>: ...starting with blank configuration. >>>>>>>> ttySAGR<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 >>>>>>>> +FCLASS=0" >>>>>>>> Found a modem on /dev/ttySAGR. >>>>>>>> >>>>>>>> Modem detection successful >>>>>>>> Read wdial.txt >>>>>>>> Then edit /etc/wvdial.conf with: >>>>>>>> sudo gedit /etc/wvdial.conf >>>>>>>> at the lines beginning with ; and deleting the ; < > " >>>>>>>> Then try a dialout with: >>>>>>>> sudo wvdial >>>>>>>> >>>>>>>> Itf that fails, send us what you get on the terminal with out put >>>>>>>> from >>>>>>>> ./agrsm-test and >>>>>>>> or >>>>>>>> $ sudo lsmod | grep 'agr*' >>>>>>>> and >>>>>>>> $ tail -f /var/log/messages >>>>>>>> when attempting to query the modem via >>>>>>>> $ sudo wvdialconf /etc/wvdial.conf >>>>>>>> >>>>>>>> Let us know(mail back to list (discuss@xxxxxxxxxxxxx)) how that goes >>>>>>>> and hopefully you get the modem working. >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Antonio >>>>>>>> >>>>>>>> On 4/18/10, hojjat nazari <dr.hojjatnazari@xxxxxxxxx> wrote: >>>>>>>>> hello antonio i am hojjat.tanks for help me. >>>>>>>>> I am install agrsm-11c11040_20091225_i386.deb >>>>>>>>> ,agrsm-tools-0.0.1_all.deb >>>>>>>>> dkms-agrsm_2.1.80-7_i386.deb. >>>>>>>>> But i run wvdial.conf my modem is not detect. >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >