Martin, On your System, the troublesome code segment is indeed "read" as: grep -v '#' with ' flanking the # However the code as written in scanModem line: BL1=$(grep -rs modem /etc/modprobe* | grep blacklist | grep -v "#" 2>/dev/null) actually has the double quote: grep -v "#" Would you try to figure out this problem on your System and/or the bypass to keep scanModem from hanging. Your Gentoo system is our first encounter with this problem. With regard to the VOICE issues, it is common that VOICE is not implemented in the software for many of the winmodems. The modem chipset manufacturers do not make any money off of Linux code, and we are grateful when we get even bare modem functionality. Conexant bought our the PCTEL modem sector. We don't expect any service from them. Robert Thornburrow is our expert on the PCtel software and may comment further. MarvS On Tue, Jun 17, 2008 at 7:31 PM, Martin Cyr <spooles@xxxxxxxxx> wrote: > Seems that the grep -v '#' is to blame. > I've attached the output. > > I installed linmodem + pctel 0.9.7-9-rht-9, but I'm still having problems > with the voice part of the voice modem, even tho AT+FCLASS=? outputs 0,1,8. > From what I understand, FCLASS 8 is for voice operation, but vgetty dies out > on me trying to send the voice message to the modem. > What I'm ultimately trying to do is to be able to record the phone line when > I try to call my local cable, DSL, TV, sat provider that overcharged me, > says that I'm on plan A but charges plan B and that kind of thing. I'm tired > of them saying anything to me and then not having any proof or trace of what > they told me. > Btw, how can I "talk" with the modem, I know I can echo to and cat from it, > but is there a way to open some sort of terminal with /dev/ttyS_PCTEL0? I'm > currently using screen to do that, but I'm wondering if it's the way to go. > > Also, I just felt like I'd try to help make your nice script even better. > > Marvin Stodolsky wrote: >> >> Martin, >> >> We don't get many Gentoo users. >> If scanModem doesn't output a ModemData.txt for you, run in the folder >> with scanModem >> # bash -x scanModem 2>&1 | tee martin.txt >> and send me the martin.txt when it completes. >> This will enable easy bugfixing >> >> MarvS >> scanModem maintainer >> >> PS your modem is supported. >> >> >> On Tue, Jun 17, 2008 at 3:31 PM, Jacques Goldberg >> <Jacques.Goldberg@xxxxxxx> wrote: >> >>> >>> Martin, >>> A bug may indeed have crept in. >>> I just downloaded the last version (2008_06_16) so I suggest that you run >>> scanModem again using that last version from >>> http://linmodems.technion.ac.il >>> Also remember that you are supposed to be root when you run scanModem. >>> >>> Jacques >>> >>> Martin Cyr wrote: >>> >>>> >>>> Hi, >>>> I've tried scanModem on my Gentoo box with a crappy winmodem (got it >>>> from >>>> an old Compaq computer just to tell you... how crappier does it get) >>>> that >>>> lspci lists it as Modem: PCTel Inc HSP MicroModem 56 (rev 02). My >>>> problem is >>>> that scanModem seems to stall or go into an endless loop, because it >>>> fails >>>> to produce anything else than my configuration and scanModem version. >>>> >>>> I'd be gratefull for any help. >>>> >>>> Cheers, >>>> Martin >>>> >>>> Here is the output of scanModem: >>>> >>>> [...] >>>> This is kernel 2.6.23-gentoo-r8 >>>> [...] >>>> -------------------------- System information >>>> ---------------------------- >>>> CPU=i686, >>>> This is >>>> Linux version 2.6.23-gentoo-r8 (root@localhost) (gcc version 4.1.1 >>>> (Gentoo >>>> 4.1.1)) #7 Wed Apr 16 20:03:38 EDT 2008 >>>> scanModem update of: 2008_06_14 >>>> [Yes, it is all that comes out] >>>> >> >> > > > + SETDATE=SETDATE=2008_06_16,week_24 > + cat > + PATH=/usr/sbin:/usr/bin:/sbin:/bin > + CMD_PATH='/bin /usr/bin /sbin /usr/sbin' > + test '' = up > + test '' = skip > + test '' = fake > ++ echo SETDATE=2008_06_16,week_24 > ++ cut -b9-18 > + UPDATE=2008_06_16 > + echo UPDATE=2008_06_16 > UPDATE=2008_06_16 > ++ echo SETDATE=2008_06_16,week_24 > ++ awk -F_ '{ print $4 }' > ++ sed 's/0*//' > + wk=24 > + SETDATE= > +++ date +%U > ++ sed 's/0*//' > ++ echo 24 > + WeekDiff=0 > + test 0 -ge 4 > + cat > Continuing as this update is only 0 weeks old, > but the current Update is always at: http://linmodems.technion.ac.il > > + sleep 2 > + wk= > + WeekDiff= > + test -z '' > ++ uname -r > + SYS=2.6.23-gentoo-r8 > ++ uname -r > ++ sed -e s/-/_/g > + KRPM=2.6.23_gentoo_r8 > ++ uname -r > ++ cut -d- -f1 > ++ cut -d+ -f1 > ++ cut -d. -f1-3 > + KVER=2.6.23 > ++ echo 2.6.23-gentoo-r8 > ++ cut -d. -f1-2 > + KMAJOR=2.6 > ++ echo 2.6.23 > ++ cut -d. -f3 > + KRELEASE=23 > ++ echo 2.6.23-gentoo-r8 > ++ sed -e s/2.6.23//g > + KEXT=-gentoo-r8 > + rm > + test -z '' > + TMPM=0tmpfile > + test -d /dev/shm > ++ ls -dl /dev/shm > ++ cut '-d ' -f1 > + SHM=drwxrwxrwt > + test drwxrwxrwt = drwxrwxrwt > + TMPM=/dev/shm/0tmpfile > + SHM= > + test -z '' > ++ basename scanModem > + BN=scanModem > + test scanModem '!=' scanModem > + test -d Modem > + test -z '' > + /bin/rm -r Modem > + mkdir -p Modem > + RECORD=Modem/ModemData.txt > + DOCs=Modem/DOCs > + mkdir -p Modem/DOCs > + RECORD2=Modem/DOCs/YourSystem.txt > + cat > ++ ls /usr/bin/dpkg /usr/sbin/dpkg > + DPKG= > + test -z '' > ++ ls /usr/bin/rpm /usr/sbin/rpm > + RPM= > ++ pwd > + test /root = / -a -z '' > + test -z '' > + test -f /etc/issue > + grep buntu /etc/issue > + grep SuSE /etc/issue > ++ cut '-d\' -f1 /etc/issue > + ISSUE=' > This is ' > ++ cut '-d ' -f1 /etc/issue > ++ cut -d_ -f1 > ++ cut -d- -f1 > + ISSUER=' > This' > + echo > + test -L /dev/modem > ++ ls -l /dev/modem > ++ cut -d/ -f2- > + link=' The modem symbolic link is /dev/modem -> ttyS_PCTEL0' > + echo The modem symbolic link is /dev/modem '->' ttyS_PCTEL0 > + test -L /dev/ttySL0 > + link= > + link2= > ++ uname -m > + CPU=i686 > + cat > ++ uname -r > ++ cat /proc/version > ++ cat /dev/shm/0tmpfile > + grep -i slack /etc/issue > + test i686 = x86_64 > ++ lsmod > ++ grep Module > + LSMOD='Module Size Used by' > + test -z 'Module Size Used by' > + test -f /boot/config-2.6.23-gentoo-r8 > + CONFIG=/boot/config-2.6.23-gentoo-r8 > ++ cat /proc/version > ++ sed -e 's/)/ /g' > ++ sed -e 's/(/ /g' > + GCC_INPUT='Linux version 2.6.23-gentoo-r8 root@localhost gcc version > 4.1.1 Gentoo 4.1.1 #7 Wed Apr 16 20:03:38 EDT 2008' > + test -z '' > ++ grep -A2 gcc > ++ grep -A1 ersion > ++ for i in '$GCC_INPUT' > ++ echo Linux > ++ for i in '$GCC_INPUT' > ++ echo version > ++ for i in '$GCC_INPUT' > ++ echo 2.6.23-gentoo-r8 > ++ for i in '$GCC_INPUT' > ++ echo root@localhost > ++ for i in '$GCC_INPUT' > ++ echo gcc > ++ for i in '$GCC_INPUT' > ++ echo version > ++ for i in '$GCC_INPUT' > ++ echo 4.1.1 > ++ for i in '$GCC_INPUT' > ++ echo Gentoo > ++ for i in '$GCC_INPUT' > ++ echo 4.1.1 > ++ for i in '$GCC_INPUT' > ++ echo '#7' > ++ for i in '$GCC_INPUT' > ++ echo Wed > ++ for i in '$GCC_INPUT' > ++ echo Apr > ++ for i in '$GCC_INPUT' > ++ echo 16 > ++ for i in '$GCC_INPUT' > ++ echo 20:03:38 > ++ for i in '$GCC_INPUT' > ++ echo EDT > ++ for i in '$GCC_INPUT' > ++ echo 2008 > ++ grep -v ersion > + GCC123=4.1.1 > ++ echo 4.1.1 > ++ cut -d. -f1-2 > ++ cut -d- -f2 > + GCC12=4.1 > ++ echo 4.1 > ++ cut -d. -f1 > + GCC1=4 > ++ echo 4.1 > ++ cut -d. -f2 > + GCC2=1 > + SLMODEMD=SLMODEMD.gcc4.1.tar.gz > ++ ls /usr/bin/gcc '/usr/bin/gcc-?.?' > + GCCtests=/usr/bin/gcc > + test -z '' -a -n /usr/bin/gcc > + for i in '$GCCtests' > ++ /usr/bin/gcc -dumpversion > ++ grep 4.1 > + GCCt=4.1.1 > + test -n 4.1.1 > + GCC=4.1.1 > ++ echo 4.1.1 > ++ cut -d. -f1-2 > + GCCs=4.1 > + GCCt= > + test -z 4.1.1 > + GCCtests= > ++ grep -rs modem /etc/modprobe.conf /etc/modprobe.d /etc/modprobe.devfs > ++ grep blacklist > ++ grep -v '#' > >