Scanning PCMCIA card - error -

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

 



Hi

Have been trying to see if a PCMCIA fax modem card would work under linux.

Initially the pcmcia card showed up as alloted to /dev/ttyS0 but now for some (unknown to me) reason it no longer shows up as being mounted ! anywhere.

Its a Motorola Montana 33.6 Modem / Fax

*This was when something seemed to work**

The following is the contents of "wvdial conf wvtest"

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
ISDN = 0
; Password = <Your Password>
; Username = <Your Login Name>
Modem = /dev/ttyS0


The current result of hal-device

0: udi = '/org/freedesktop/Hal/devices/pcmcia__1__1'
   pcmcia.card_id = 1285  (0x505)  (int)
   info.bus = 'pcmcia'  (string)
   pcmcia.prod_id1 = 'Motorola'  (string)
   pcmcia.manf_id = 265  (0x109)  (int)
   pcmcia.func_id = 2  (0x2)  (int)
   pcmcia.vendor = 'Motorola'  (string)
   info.udi = '/org/freedesktop/Hal/devices/pcmcia__1__1'  (string)
   pcmcia.prod_id2 = 'MONTANA 33.6 FAX/MODEM'  (string)
   linux.subsystem = 'pcmcia'  (string)
   pcmcia.prod_id3 = 'V2.0'  (string)
   info.vendor = 'Motorola'  (string)
   info.subsystem = 'pcmcia'  (string)
   info.product = 'MONTANA 33.6 FAX/MODEM'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0.0'  (string)
   pcmcia.product = 'Motorola'  (string)
   pcmcia.socket_number = 0  (0x0)  (int)
   info.parent = '/org/freedesktop/Hal/devices/pci_104c_ac56'  (string)
   info.linux.driver = 'serial_cs'  (string)

but now when i try wvdialconf wvtest i get the following

laptop:~$ sudo wvdialconf wvtest
Password:
Editing `wvtest'.

Scanning your serial ports for a modem.

ttyS0<Info>: Device or resource busy
Modem Port Scan<*1>: S0   S1   S2   S3

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>.


****
Am also attaching modemdata.txt - but this again does not show the
pcmcia card Modem. There is another winmodem possibly working with the
hfs conexant driver but that is a separate issue.

Any suggestions / help

would be appreciated.

thanks

 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry Ubuntu 7.04  kernel 2.6.20-16-generic 
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 7.04 
Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Thu Jun 7 20:19:32 UTC 2007
 scanModem update of:  2007_August_04
The modem symbolic link is /dev/modem -> ttySL0

ALSAversion 1.0.13
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:27d8	17aa:2010	Audio device: Intel Corporation 82801G 

 Modem interrupt assignment and sharing: 
 21:        852          0   IO-APIC-fasteoi   uhci_hcd:usb2, ipw3945, HDA Intel

 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[   16.704000] ACPI: PCI Interrupt 0000:00:1b.0[B] -> GSI 17 (level, low) -> IRQ 21
[   16.704000] PCI: Setting latency timer of device 0000:00:1b.0 to 64

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

8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.
Bootup diagnostics lack ALSA data.

 The HDA modem codec file is: /proc/asound/card0/codec#1
-----------------------------------
Codec: Conexant ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x17aa201b
Revision Id: 0x90000

 The audio card hosts a softmodem chip with Vendor ID:  0x14f12bfa

 14f1 is the Conexant Vendor ID, and 0x14f12bfa a softmodem chipset.
 Get a hsfmodem package through http://www.linuxant.com

 For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
    Subsystem PCI_id  17aa:2010 
    Softmodem codec or Vendor from diagnostics: ID
                              from    Archives: 14f1, a Conexant type,
                        

 Lacking a dsp (digital signal processing) chip, the modem is a software 
 intensive or "softmodem" type. Its primary controller manages the traffic 
 with the CPU. But the software needed is specified in the Subsystem.
 -----------------------------------------
Support type needed or chipset:	hsfmodem


The diagnostic outputs for this softmodem section have their raw information in
folders and text files under /proc/asound/ which you can browse. The information
is from files:
	/proc/asound/pcm
-------------------------------
00-01: AD198x Digital : AD198x Digital : playback 1
00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1

	/proc/asound/modules
-------------------------------
 0 snd_hda_intel
	14f12bfa
-------------------------------

-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker     Support type 
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x14f12c06  Conexant      hsfmodem , not slmodemd compatible
  0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
  0x11c11040  AgereSystems      "             "     support not yet available.
  0x11c13055  AgereSystems      "             "    ,      "
  0x163c3055  Smartlink         "             "    ,      "
  0x163c3155    "               "             "    ,      "
  0x10573055  Motorola          "             "    ,      "
  0x10573155     "              "             "    ,      ""
as of October 2006.

	/proc/asound/card0/codec#1
-------------------------------


and from the command:
	aplay -l | grep -i modem


----------------end Softmodem section --------------

Writing Intel.txt

 Freeware support may be available for a few Conexant chipset modems 
 with support confirmed only for the PCI_id chipset  14f1:2f00.
 See  http://ubuntuforums.org/showthread.php?t=180632

 Otherwise formal support for Conexant chipset modems are available ONLY through 
 http://www.linuxant.com/drivers.  Read Conexant.txt for details.
 and Modem/YourSystem.txt for follow through guidance.  Driver speed is limited to
 14,400 until a key is purchased.  There is NO freeware alternative.
 There are two support package types: hsfmodem  and hcflinmodem.
 http://www.lorenzobettini.it/linux/LinuxSonyVaioVGN-S5VP_B reports a
 problem and solution in stalling a key, after testing of the free low
 speed download.

 The hsfmodem package serves a great variety of Conexant chipset modems. 
 From  http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
 download hsfmodem_VersionSpec_k2.6.20_16_generic_ubuntu_i386.deb.zip 
                           with 2.6.20_16_generic equivalent to 2.6.20-16-generic, your kernel version.
 Under Linux unpack with:
 $ unzip hsfmodem*.zip
 Then install with:
 $ sudo dpkg -i hsfmodem*.deb
 Subsequently, the modem should be found with
 $ sudo wvdialconf /etc/wvdial.conf
 Edit in your personal information with:
 $ sudo gedit /etc/wvdial.conf
 and try dialing out with:
 $ sudo wvdial.
 See Testing.txt  for details.
 
 Read Conexant.txt

Writing Conexant.txt


 Completed candidate modem analyses.

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

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


 
 Compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   kernel_headers base folder /lib/modules/2.6.20-16-generic/build
Compressed files at: /usr/src/cdfs.tar.bz2


If a driver compilation files with message including some lack of some FileName.h (stdio.h for example. 
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubunut feisty, additional packages required were:
 build-essential curl debhelper dpkg-dev g++ g++-4.1 gettext git-core gitk
 html2text intltool-debian kernel-package kernel-wedge libc6-dev
 libcurl3-gnutls libdigest-sha1-perl liberror-perl libstdc++6-4.1-dev
 linux-libc-dev po-debconf rcs tcl8.4 tk8.4


Checking pppd properties:
	-rwsr-xr-- 1 root dip 269224 2007-04-05 09:11 /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)
        sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	sudo chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

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: eth0 eth0:avah
Which can interfere with Browser naviagation.

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

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 6 2007-09-04 11:37 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ;  modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0) 
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------



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

  Powered by Linux