Re: Out of 3 modems... only one works (and badly)!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

to complete Marvin explanation about /dev/modem and udev, the HSF driver adds an udev rule for the automatic creation of that symlink. Since you have more than one modem, you might want to modify that rule which should be in the /etc/udev/rules.d/00-hsf.rules file.

The licensing of the driver is per modem, if you have more than one modem, even if they are in the same machine, you will need to purchase a license for each of them.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support@xxxxxxxxxxxx



Marvin Stodolsky wrote:
Alessandro,

Jonathan can best answer you questions below, on hsfmodem issues.

But the /dev/modem issue is related to the fact that /dev/ space is
dynamic, created new upon each bootup upon  /dev/.udev/ in response to
the actual hardware present and rules in /etc/udev/ .  LIkely you can
change a spec in /etc/udev/ to fix
  /dev/modem -> /dev/ttySHSF1
   This scheme of creating device nodes only as needed GREATLY
dinimishes the amount of disk & RAM which must be devoted to device
control issues, as contrasted to the original scheme of having all
possibly needed node specs written in /dev/

MarvS

On Jan 6, 2008 5:39 AM, Alessandro Pian <ale@xxxxxxxxxxxxxxxxx> wrote:
Marvin,

Thank you so much... I just didn't realize that having ALSA finally
working after my last installation also has allowed the HDA modem control.
I switched the modem symb.link to ttySHSF1 and, as for now, it works fine.
Just a couple of details:
1. I rm-ed the old modem link to ttySHSF0 ($ rm /dev/modem) and ln-ed a
new one to ttySHSF1 ($ ln /dev/ttySHSF1 /dev/modem), but, after restart,
it was restored to ttyHSFS0. How to change it permanently? (sorry if
this is not the right place to ask)
2. Can I also permanently switch the Linuxant license from one modem to
the other by re-recording, or am I supposed to start another one?

Thank you again!


Marvin Stodolsky ha scritto:

Alessandro,
   Support by Linuxant for their software is good.
Run the
# hsfconfig --diagnose
whose log file is written to /tmp
and send it to "Support (Jonathan)" <support@xxxxxxxxxxxx>

One issue may be the ALSA version.
The hsfmodem drivers do rely on the ALSA snd-hda-intel.  If there is a
version mismatch, that could contribute to problems.

TO show the dependencies, run
# lsmod | grep hsf

Also read Jacques PostInstall Howto at:
http://linmodems.technion.ac.il

Marv


On Jan 5, 2008 6:57 AM, Alessandro Pian <ale@xxxxxxxxxxxxxxxxx> wrote:

Hi All,

I am here posting my ModemData.txt output, after running scanModem. My
fairly odd situation is that I had to make experiment with 3 (sic)
different modems on my Asus laptop to get some some results (i.e. to
access internet via Linux):
1. the integrated modem of the HDA soundcard (no way)
2. a PCMCIA card modem (no way)
3. an external USB modem by Trust (which works, but...)

The thing is (apart from the not-so-smart final solution), the USB modem
is able to be mounted as /ttySHSF0 and connect, but, after a random time
on-line, the system crashes, getting "frozen" all of a sudden. So, what
I would like to please ask you all to give some help is:
    i. have you ever been aware of such problems with external USB
modems? Please note I have suffered from the same problem with various
kernel versions (and distros), always updated with their respectively
appropriate HSF drivers.
    ii. in case, has anybody any idea how one of the other two modems
should be set up so as to work? Actually, this should prevent me from
the other problem, and I obviously would like to have the more
integrated modems work...

Thank you in advance. This is my ModemData.txt output (please note the
USB2.0 device is the webcam...) :
------------------------------------------------------------------------------------------------------------------------
 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List
Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry PCLinuxOS release 2007 (PCLinuxOS) for i586
Kernel 2.6.18.8.tex5 on an i686 /  kernel 2.6.18.8.tex5
 With this Subject Line cogent experts will be alerted, and useful case
names left in the Archive.
 YourCountry will enable Country specific guidance. Your contry's local
Linux experts
 can be found through: http://www.linux.org/groups/index.html
 Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an
Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org
--------------------------  System information ----------------------------
CPU=i686,  PCLinuxOS release 2007 (PCLinuxOS) for i586
Kernel 2.6.18.8.tex5 on an i686 /
Linux version 2.6.18.8.tex5 (vaughan@localhost) (gcc version 4.1.1
20060724 (prerelease) (4.1.1-4pclos2007)) #1 SMP Thu May 10 11:36:58 WST
2007
 scanModem update of:  2008_03_01
The modem symbolic link is /dev/modem -> ttySHSF0

 There are no blacklisted modem drivers in /etc/modprobe*  files

 Potentially useful modem drivers now loaded are:
 hsfhda
hsfusbcd2
hsfserial
hsfengine
hsfosspec
hsfsoar

 PCI slot 00:1b.0 has a High Definition Audio Card

The Advanced Linux Sound Architecture (ALSA) packages providing audio
support,
also includes drivers for some modems. The ALSA diagnostics are written
during
bootup to /proc/asound/ folders.


The ALSA verion is 1.0.14
The modem cards detected by "aplay -l"  are:
card 0: Intel [HDA Intel], device 6: Conexant HSF Modem [Conexant HSF Modem]


The /proc/asound/pcm file reports:
-----------------------
00-06: Conexant HSF Modem : Conexant HSF Modem : playback 1 : capture 1
00-02: ALC880 Analog : ALC880 Analog : capture 2
00-01: ALC880 Digital : ALC880 Digital : playback 1
00-00: ALC880 Analog : ALC880 Analog : playback 1 : capture 2
01-00: USB Audio : USB Audio : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfebf8000 irq 16
 1 [default        ]: USB-Audio - USB2.0 Video
                      Syntek Semicon.     USB2.0 Video        at
usb-0000:00:1d.7-5, high speed

USB modem not detected by lsusb

For candidate card in slot 00:1b.0, firmware information and bootup
diagnostics are:
 PCI slot    PCI ID        SubsystemID    Name
 ----------    ---------    ---------    --------------
 00:1b.0    8086:2668    1043:1173    Audio device: Intel Corporation
82801FB/FBM/FR/FW/FRW

 Modem interrupt assignment and sharing:
 16:    2701767   IO-APIC-level  uhci_hcd:usb4, HDA Intel,
radeon@pci:0000:03:00.0
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64


 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===



 For candidate modem in PCI bus:

      Primary PCI_id
 Support type needed or chipset:    hsfmodem



Writing Intel.txt

For owners of a Dell PCs with Conexant HSF modems, a driver source
package with full speed enabled is available, but requires driver
compiling. Read Conexant.txt

 The hsfmodem package serves a great variety of Conexant chipset modems.
 Start at  http://www.linuxant.com/drivers/hsf for
 eventually download of a hsfmodem-SomeVersion.zip  package with
 SomeVersion containing your kernel_version 2.6.18.8.tex5  in the
filename if possible.
 These packages have compiled drivers. Otherwise download the generic
 hsfmodem-Version.tar.gz  package. Its usage will require compiling.

 Read Conexant.txt

Writing Conexant.txt


 For candidate modem in PCI bus:

      Primary PCI_id
 Support type needed or chipset:    hsfmodem



For owners of a Dell PCs with Conexant HSF modems, a driver source
package with full speed enabled is available, but requires driver
compiling. Read Conexant.txt

 The hsfmodem package serves a great variety of Conexant chipset modems.
 Start at  http://www.linuxant.com/drivers/hsf for
 eventually download of a hsfmodem-SomeVersion.zip  package with
 SomeVersion containing your kernel_version 2.6.18.8.tex5  in the
filename if possible.
 These packages have compiled drivers. Otherwise download the generic
 hsfmodem-Version.tar.gz  package. Its usage will require compiling.

 Read Conexant.txt

Writing Conexant.txt


 For candidate modem in PCI bus:  0

      Primary PCI_id
 Support type needed or chipset:    hsfmodem



For owners of a Dell PCs with Conexant HSF modems, a driver source
package with full speed enabled is available, but requires driver
compiling. Read Conexant.txt

 The hsfmodem package serves a great variety of Conexant chipset modems.
 Start at  http://www.linuxant.com/drivers/hsf for
 eventually download of a hsfmodem-SomeVersion.zip  package with
 SomeVersion containing your kernel_version 2.6.18.8.tex5  in the
filename if possible.
 These packages have compiled drivers. Otherwise download the generic
 hsfmodem-Version.tar.gz  package. Its usage will require compiling.

 Read Conexant.txt

Writing Conexant.txt


 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev
/dev/.udevdb

 Versions adequately match for the compiler installed: 4.1.1
             and the compiler used in kernel assembly: 4.1.1



 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.18.8.tex5/build

 However some compilations and executable functions may need additional
files,
 in the FileNames.h (so called kernel "h"eaders) collection installed
in  /usr/include/ .
 For martian_modem, additional required packages are libc6-dev (and for
Debian/Ubuntu,  linux-libc-dev). The also required headers of package
libc6 are commonly installed by default.



If a driver compilation fails, with message including some lack of some
FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include.
The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed package
For Debian/Ubuntu related distributions, run the following command to
display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
    -rwsr-xr-t 1 root root 304536 Nov  7  2006 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
    $ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
     chmod a+x /usr/sbin/pppd

Checking settings of:    /etc/ppp/options
lock
noauth
noipdefault
usepeerdns

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

Read Modem/YourSystem.txt concerning other COMM channels: eth1
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the experts
 should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 8 Jan  5
11:44 /dev/modem -> ttySHSF0
slmodemd created symbolic link /dev/ttySL0:
     Within /etc/udev/ files:
/etc/udev/rules.d/00-hsf.rules:KERNEL=="ttySHSF0", SYMLINK="modem"
     Within /etc/modprobe.conf files:
/etc/modprobe.conf:install snd-via82xx-modem /bin/true
/etc/modprobe.conf:install snd-atiixp-modem /bin/true
/etc/modprobe.conf:alias /dev/modem /dev/ttySHSF
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:alias /dev/modem /dev/ttySHSF
--------- end modem support lines --------






[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux