[hsflinux] latest hsfmodem (7.80.02.04) breaks snd-hda-intel from latest alsa-driver-linuxant (1.0.20.3)

Jasmine jasmine.aura at yahoo.com
Thu Jul 30 04:08:08 EDT 2009


Hello,

Ok!! A little progress, hopefully this might provide a useful clue to the hsfmodem driver's developers

I was able to get hsfmodem driver installed to work properly and to detect the modem, but with a little "temporary" hack :)

I replaced /usr/lib/hsfmodem/modules/imported directory with that of Dell's old OEM release for ubuntu hardy/intrepid, and reinstalled with hsfconfig

Now....

My modem gets detected, SND-HDA-INTEL from alsa-driver-linuxant works, the modem responds to all commands just fine, as simulated by wvdial and manually with minicom/cutecom app, but it doesn't dial... :(
The modem just picks up the line and sits there and does nothing.. I had to confirm this by opening speakerphone on a telephone hooked up on the same line soon after the ATDT command is sent to the modem just to see if it actually tries to dial.. there's no dialout number or anything special, the modem just doesnt dial, even when I configure wvdialconf to not wait for dialtone..

# hsfconfig -i
Conexant HSF softmodem driver, version 7.80.02.04full

If you need license keys, assistance or more information, please go to:
    http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati

Current parameters: ("hsfconfig --info")

Config for modem unit 0: /dev/ttySHSF0
    Device instance: 0-HDA-14f12bfa:14f10001-1
    HW revision    : SSD=31 LSD=0x11
    HW profile name: hsfhda
    Current region : USA (T.35 code: 00B5)

The /dev/modem alias (symlink) points to ttySHSF0


# wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: AT &F
AT &F
OK
--> Sending: ATL2M1
ATL2M1
OK
--> Sending: ATW1
ATW1
OK
--> Modem initialized.
--> Sending: ATDT1234567
--> Waiting for carrier.
ATDT1234567
--> Timed out while dialing.  Trying again.
--> Maximum Attempts Exceeded..Aborting!!
--> Disconnecting at Thu Jul 30 10:37:29 2009

(I replaced my real dialup number above in the ATDT statement with 1234567)

I also upgraded my kernel from 2.6.28-13-generic by manually compiling from source to kernel 2.6.30 from ubuntu kernel ppa, after stripping down the config as much as possible for a leaner kernel and for making sure there are no possible conflicting options built-in the kernel that would cause the hsfmodem driver to not work properly...
Also reinstalled alsa-driver-linuxant 1.0.20.3 source deb of course after the manual kernel upgrade, but still to no avail...
Modem just won't dial out :(

The modem, however, works just fine under Windows on the same phone line...

Windows calls it "Soft Data Fax Modem with SmartCP" if that matters at all..

I attached in the inf file of the modem driver in windows, I tried using
the init command from it in wvdial, but it doesn't help, the modem
still doesn't dial :(


Any help/suggestins or clue would be greatly appreciated..

Thanks,
Jasmine

--- On Mon, 7/20/09, Jasmine <jasmine.aura at yahoo.com> wrote:
From: Jasmine <jasmine.aura at yahoo.com>
Subject: [hsflinux] latest hsfmodem (7.80.02.04) breaks snd-hda-intel from latest alsa-driver-linuxant (1.0.20.3)
To: hsflinux at lists.linuxant.com
Date: Monday, July 20, 2009, 6:03 AM

Attached is ModemData.txt generated by scanModem tool pre-everything (on clean Ubuntu Jaunty 9.04 Install)

# uname -a
Linux jas-everex 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux

Default Ubuntu Jaunty 9.04 comes with alsa 1.0.18 installed:

# alsactl -v
alsactl version 1.0.18

************* SOUND WORKING *************
*********** with snd-hda-intel **********

***** alsa-driver-linuxant install ******

# dpkg -i alsa-driver-linuxant_1.0.20.3_all.deb
Selecting previously deselected package alsa-driver-linuxant.
(Reading database ... 128906 files and directories currently installed.)
Unpacking alsa-driver-linuxant (from alsa-driver-linuxant_1.0.20.3_all.deb) ...
Setting up alsa-driver-linuxant (1.0.20.3) ...
Building modules for the 2.6.28-13-generic kernel, please
 wait... done.


# ls -l /lib/modules/2.6.28-13-generic/kernel/sound/pci/hda/
total 828
-rw-r--r-- 1 root root  93048 2009-07-20 02:37 snd-hda-codec-analog.ko
-rw-r--r-- 1 root root  14576 2009-07-20 02:37 snd-hda-codec-atihdmi.ko
-rw-r--r-- 1 root root  23005 2009-07-20 02:37 snd-hda-codec-cmedia.ko
-rw-r--r-- 1 root root  49520 2009-07-20 02:37 snd-hda-codec-conexant.ko
-rw-r--r-- 1 root root  83599 2009-07-20 02:37 snd-hda-codec-idt.ko
-rw-r--r-- 1 root root  26235 2009-07-20 02:37 snd-hda-codec-intelhdmi.ko
-rw-r--r-- 1 root root 102976 2009-07-20 02:37 snd-hda-codec.ko
-rw-r--r-- 1 root root  14068 2009-07-20 02:37 snd-hda-codec-nvhdmi.ko
-rw-r--r-- 1 root root 271234 2009-07-20 02:37 snd-hda-codec-realtek.ko
-rw-r--r-- 1 root root  16727 2009-07-20 02:37 snd-hda-codec-si3054.ko
-rw-r--r-- 1 root root  46486 2009-07-20 02:37 snd-hda-codec-via.ko
-rw-r--r-- 1
 root root  50886 2009-07-20 02:37 snd-hda-intel.ko


# modprobe snd-hda-intel


# lsmod | grep hda
snd_hda_codec_conexant    36868  1 
snd_hda_codec_realtek   205188  1 
snd_hda_intel          34376  0 
snd_hda_codec          84224  3 snd_hda_codec_conexant,snd_hda_codec_realtek,snd_hda_intel
snd_pcm                82948  4 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_page_alloc         17032  2 snd_hda_intel,snd_pcm
snd_hwdep              15364  1
 snd_hda_codec
snd                    66724  14 snd_hda_codec_conexant,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device


# cat /proc/asound/cards 
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xc0000000 irq 18

# cat /proc/asound/card0/codec#0 | head -7
Codec: Realtek ALC889A
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0885
Subsystem Id: 0x15098405
Revision Id: 0x100101
No Modem Function Group found

# cat /proc/asound/card0/codec#1
Codec: Conexant HSF
Address: 1
Function Id: 0x2
Vendor Id:
 0x14f12bfa
Subsystem Id: 0x14f10001
Revision Id: 0x90000
Modem Function Group: 0x2


***** hsfmodem generic pkg install ******

# tar xzf hsfmodem-7.80.02.04full.tar.gz


# cd hsfmodem-7.80.02.04full/


# make install
[..snip..]
To complete the installation and configuration of your modem,
please run "hsfconfig" (or "/usr/sbin/hsfconfig")


# hsfconfig
Conexant HSF softmodem driver, version 7.80.02.04full

If you need license keys, assistance or more information, please go to:
    http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

No pre-built modules for: Ubuntu-9.04 linux-2.6.28-13-generic i686-SMP

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build
 directory that matches your running kernel?
[/lib/modules/2.6.28-13-generic/build] 

Building modules for kernel 2.6.28-13-generic, using source directory
/lib/modules/2.6.28-13-generic/build. Please wait...
done.

Warning: no device detected by hsf driver - HDA modems may require reboot

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati


# lsmod | egrep "^hsf|^snd_hda"
hsfhda                116032  1 
snd_hda_codec_conexant    36868  1 
snd_hda_codec_realtek   205188  1 
snd_hda_intel          34401  1 
snd_hda_codec          84224  3
 snd_hda_codec_conexant,snd_hda_codec_realtek,snd_hda_intel
hsfusbcd2              69696  0 
hsfmc97sis             72000  0 
hsfmc97ati             70952  0 
hsfmc97ali             77496  0 
hsfmc97via             73528  0 
hsfmc97ich             75324  0 
hsfpcibasic3          113672  0 
hsfpcibasic2           71728  0 
hsfserial              29092  9
 hsfhda,hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic3,hsfpcibasic2
hsfsoar               101720  7 hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic2
hsfengine            1307744  10 hsfhda,hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic3,hsfpcibasic2,hsfserial
hsfosspec             116428  12 hsfhda,hsfusbcd2,hsfmc97sis,hsfmc97ati,hsfmc97ali,hsfmc97via,hsfmc97ich,hsfpcibasic3,hsfpcibasic2,hsfserial,hsfengine


# ls /proc/asound/card0/
pcm0c  pcm0p  pcm1c  pcm1p  pcm2c  pcm6c  pcm6p
# cat /proc/asound/cards 
--- no soundcards ---


************* SOUND NOW BROKEN *************

*****************
 REBOOTED *****************


# lsmod | egrep "^hsf|^snd_hda"
hsfhda                116032  1 
hsfserial              29092  1 hsfhda
hsfengine            1307744  2 hsfhda,hsfserial
hsfosspec             116428  4 hsfhda,hsfserial,hsfengine
snd_hda_codec_conexant    36868  1 
snd_hda_codec_realtek   205188  1 
snd_hda_intel          34401  1 
snd_hda_codec          84224  3 snd_hda_codec_conexant,snd_hda_codec_realtek,snd_hda_intel


# wvdialconf 
Editing `/etc/wvdial.conf'.
Scanning your serial ports
 for a modem.
Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
Modem Port Scan<*1>: SHSF0 S0   S1   S2   S3   SHSF1 SHSF2 SHSF3 
Modem Port Scan<*1>: SHSF4 SHSF5 SHSF6 SHSF7 
Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?


************ SOUND STILL BROKEN ************


# dmesg | less
..snip..
[   15.578126] HDA Intel 0000:00:10.1: PCI INT B -> Link[LAZA] -> GSI 18 (level, low) -> IRQ 18
[   15.578179] HDA Intel 0000:00:10.1: setting latency timer to 64
[   16.071363] input: PS/2 Mouse as /devices/platform/i8042/serio4/input/input8
[   16.090292] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio4/input/input9
[   16.149890] input: HDA Digital PCBeep as
 /devices/pci0000:00/0000:00:10.1/input/input10
[   16.826466] BUG: unable to handle kernel paging request at 7ff6b000
[   16.826470] IP: [<f820ad61>] hsfengine1273_+0x9a5/0x2704 [hsfengine]
[   16.826509] *pde = 00000000 
[   16.826511] Oops: 0000 [#1] SMP 
[   16.826513] last sysfs file: /sys/devices/virtual/tty/ttySHSF6/dev
[   16.826515] Dumping ftrace buffer:
[   16.826516]    (ftrace buffer empty)
..snip..


# dmesg | grep -i apic
[    0.000000] ACPI: APIC BFF69F7A, 005E (r1 PTLTD       APIC    6040000  LTP        0)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] Detected use of extended apic ids on hypertransport bus
[    0.000000] ACPI: Local APIC address
 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.728479] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.812002] Booting processor 1 APIC 0x1 ip 0x6000
[    0.921569] ACPI: Using IOAPIC for interrupt routing


***************** REBOOTED *****************

Rebooted (6 different times), kernel command
 lines:
---------------------------------------------------
1. noapic
2. acpi=off
3. pnpbios=off
4. acpi=off noapic
5. pnpbios=off noapic
6. pnpbios=off acpi=off


During startup and during shutdown/restart, ALWAYS see the following messages:
(simulated manually with hsfstop)

# hsfstop 
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by
 hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
ERROR: Can't stop the Conexant HSF softmodem driver!


# lsmod | egrep '^hsf|^snd_hda'
hsfhda                116032  1
 
hsfserial              29092  1 hsfhda
hsfengine            1307744  2 hsfhda,hsfserial
hsfosspec             116428  4 hsfhda,hsfserial,hsfengine
snd_hda_codec_conexant    36868  1 
snd_hda_codec_realtek   205188  1 
snd_hda_intel          34401  1 
snd_hda_codec          84224  3 snd_hda_codec_conexant,snd_hda_codec_realtek,snd_hda_intel


***************** UNINSTALL *****************

hsfmodem-7.80.02.04full# make uninstall
if [ -x /usr/sbin/hsfconfig ]; then \
        /usr/sbin/hsfconfig -remove; \
    else \
   
     true; \
    fi

Removing hsf driver from /lib/modules/2.6.28-13-generic/
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by
 hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
Warning: Module hsfhda is in use
Warning: Module hsfserial is in use by hsfhda
Warning: Module hsfengine is in use by hsfhda,hsfserial
Warning: Module hsfosspec is in use by hsfhda,hsfserial,hsfengine
ERROR: Can't stop the Conexant HSF softmodem driver!
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/nvm'
rm -rf  "/etc/hsfmodem/nvm/hsfpcibasic2"  "/etc/hsfmodem/nvm/hsfpcibasic2smart"  "/etc/hsfmodem/nvm/hsfpcibasic2hsfi"  "/etc/hsfmodem/nvm/hsfpcibasic2bry"  "/etc/hsfmodem/nvm/hsfpcibasic3"  "/etc/hsfmodem/nvm/hsfmc97"  "/etc/hsfmodem/nvm/hsfmc97ali"  "/etc/hsfmodem/nvm/hsfmc97ati" 
 "/etc/hsfmodem/nvm/hsfmc97ich"  "/etc/hsfmodem/nvm/hsfmc97sis"  "/etc/hsfmodem/nvm/hsfmc97via"  "/etc/hsfmodem/nvm/hsfcadmus2"  "/etc/hsfmodem/nvm/hsfcadmus2smart"  "/etc/hsfmodem/nvm/hsfhda"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/nvm'
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/scripts'
rm -f  "/usr/sbin/hsfconfig"  "/usr/sbin/hsfstop"  "/usr/sbin/hsfmodconflicts"  "/usr/sbin/hsfdcpd"
rm -f  "/usr/lib/hsfmodem/rchsf"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/scripts'

****************** HANGS *******************
(Pressed CTRL+C to end it, as it hangs forever)

^Cmake: *** [uninstall] Interrupt

***************** REBOOTED *****************


************* SOUND WORKS AGAIN ************

# cat /proc/asound/cards 
 0
 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xc0000000 irq 18

# cat /proc/asound/card0/codec#0 | head -7
Codec: Realtek ALC889A
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0885
Subsystem Id: 0x15098405
Revision Id: 0x100101
No Modem Function Group found

# cat /proc/asound/card0/codec#1
Codec: Conexant HSF
Address: 1
Function Id: 0x2
Vendor Id: 0x14f12bfa
Subsystem Id: 0x14f10001
Revision Id: 0x90000
Modem Function Group: 0x2


************* Complete Uninstall ************

# make uninstall
if [ -x /usr/sbin/hsfconfig ]; then \
        /usr/sbin/hsfconfig -remove; \
    else \
        true; \
   
 fi
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/nvm'
rm -rf  "/etc/hsfmodem/nvm/hsfpcibasic2"  "/etc/hsfmodem/nvm/hsfpcibasic2smart"  "/etc/hsfmodem/nvm/hsfpcibasic2hsfi"  "/etc/hsfmodem/nvm/hsfpcibasic2bry"  "/etc/hsfmodem/nvm/hsfpcibasic3"  "/etc/hsfmodem/nvm/hsfmc97"  "/etc/hsfmodem/nvm/hsfmc97ali"  "/etc/hsfmodem/nvm/hsfmc97ati"  "/etc/hsfmodem/nvm/hsfmc97ich"  "/etc/hsfmodem/nvm/hsfmc97sis"  "/etc/hsfmodem/nvm/hsfmc97via"  "/etc/hsfmodem/nvm/hsfcadmus2"  "/etc/hsfmodem/nvm/hsfcadmus2smart"  "/etc/hsfmodem/nvm/hsfhda"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/nvm'
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/scripts'
rm -f  "/usr/sbin/hsfconfig"  "/usr/sbin/hsfstop"  "/usr/sbin/hsfmodconflicts"  "/usr/sbin/hsfdcpd"
rm
 -f  "/usr/lib/hsfmodem/rchsf"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/scripts'
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/modules'
rm -rf "/usr/lib/hsfmodem/config.mak" "/usr/lib/hsfmodem/modules/imported" "/usr/lib/hsfmodem/modules"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/modules'
make[1]: Entering directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/diag'
rm -f "/usr/sbin/hsfdiag" "/usr/sbin/hsfscr" "/usr/sbin/hsfdmp"
make[1]: Leaving directory `/home/jas/Documents/drivers/modem/hsfmodem-7.80.02.04full/diag'
rm -f /usr/lib/hsfmodem/LICENSE
rm -f /etc/hsfmodem/package






      
-----Inline Attachment Follows-----

_______________________________________________
hsflinux mailing list
hsflinux at lists.linuxant.com
https://www.linuxant.com/mailman/listinfo/hsflinux


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxant.com/pipermail/hsflinux/attachments/20090730/c3d0f3b4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oem4.inf
Type: application/octet-stream
Size: 38170 bytes
Desc: not available
Url : http://www.linuxant.com/pipermail/hsflinux/attachments/20090730/c3d0f3b4/attachment-0001.obj 


More information about the hsflinux mailing list