Fischer, Germany, kernel 2.6.24-16-generic

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

 



Dear Ladies and Gentlemen,

currently, I have two problems:
1)my computer does not gives any sound from it
2)my modem seems to work not properly (attached is the ModemData.txt file)

-------------------------------------------------------------------
At first I tried to get the modem running:
a) scanModem

b) http://linmodems.technion.ac.il/packages/smartlink/ 
$ tar zxf slmodemd.gcc4.2.tar.gz

c) folder slmodemd.gcc4.2 containing slmodemd
sudo cp slmodemd /usr/sbin/
sudo g+x /usr/sbin/slmodemd
sudo o+x /usr/sbin/slmodemd

d) sudo slmodemd -c GERMANY --alsa modem:1
results in:
error: mixer setup: attach hw:1 error: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '1'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.phoneline:CARD=1,DEV=0
error: alsa setup: cannot open playback device 'modem:1': No such file or
directory
error: cannot setup device `modem:1'

Then I tried,
e) sudo modprobe -r snd-intel8x0m
sudo modprobe snd-intel8x0m

f) sudo  alsamixer

g) sudo gedit /etc/modules 
and I put snd-intel8x0m at the end of the list (later I removed it because
there was still no sound)

h) then I have found a useful hint in the 1stRead.txt document belonging to
the slmodemd: "There are RARE instances that the ALSA audio sound driver is
absent, though the modem driver is present.  In these cases the device name
"modem:1" may fail but "hw:0" may be successful. It is the usually the
device name dynamically assigned to the audio card."

sudo slmodemd -c GERMANY --alsa hw:0
produced:
[sudo] password for marigold7: 
error: mixer setup: Off-hook switch not found for card hw:0
SmartLink Soft Modem: version 2.9.11 Feb 25 2008 18:25:57
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

It seems that the modem is running. BUT I HAVE THE FOLLOWING PROBLEM WITH
IT: WHY THE MODEM IS NOT USING modem1? IS THERE REALLY NO ALSA AUDIO SOUND
DRIVER???

Then, using wvdial there was some failure:
marigold7@lenovo:/$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+GCI=<hexadecimal modem code>
AT+GCI=<hexadecimal modem code>
ERROR
--> Bad init string.


remark to g): 
in /etc/modprobe.d/alsa-base I read:
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2

What means index=-2 ?
------------------------------------------------------------------------
I am more dependent from the sound on my machine. Here, I tried the
following:
a) $ sudo modprobe snd-hda-intel
seems to be OK

b) $ alsamixer
alsamixer appears, it is possible to change the parameters

c) $ sudo gedit /etc/modules
I put 
snd-hda-intel model=lenovo index=0
at the end of the list

d) $ sudo gedit /etc/modprobe.d/alsa-base 
I put 
options snd-hda-intel model=lenovo
at the end of the list

e) I installed pulseaudio, libasound2-plugins, pavucontrol, paprefs
and made
$ asoundconf set-pulseaudio

PulseAudio Volume Control shows:
Playback: "No Streams Available" 
Output Devices: ALSA PCM on front:0 (ALC861VD Analog) via DMA 
Input Devices: ALSA PCM on front:0 (ALC861VD Analog) via DMA 

All attemps to get sound out of my laptop failed? Please, can you help me.

With best wishes, 

Robert Fischer
(marigold7)


------------------------------------------------------------------------
To provide you with some details concerning my laptop I have done:

marigold7@lenovo:~$ hwinfo --sound
28: PCI 1b.0: 0403 Audio device                                 
  [Created at pci.296]
  UDI: /org/freedesktop/Hal/devices/pci_8086_284b
  Unique ID: u1Nb.cOzUFd_gaWF
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Lenovo HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x284b "HD Audio Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x384e 
  Revision: 0x03
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfc300000-0xfc303fff (rw,non-prefetchable)
  IRQ: 22 (944 events)
  Module Alias: "pci:v00008086d0000284Bsv000017AAsd0000384Ebc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

marigold7@lenovo:~$ lspci -vvxxx
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
	Subsystem: Lenovo Unknown device 384e
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at fc300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
00: 86 80 4b 28 06 01 10 00 03 00 03 04 10 00 00 00
10: 04 00 30 fc 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 4e 38
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 0


 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  kernel 2.6.24-16-generic 
 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. 
They will know your Country's modem code, which may be essential for dialup service.
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,  
Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008
 scanModem update of:  2008_05_02

 There are no blacklisted modem drivers in /etc/modprobe*  files 
Attached USB devices are:
 ID 08ff:2580 AuthenTec, Inc. 

USB modems not recognized
For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:284b	17aa:384e	Audio device: Intel Corporation 82801H 

 Modem interrupt assignment and sharing: 
 22:        383        376   IO-APIC-fasteoi   ohci1394, HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[   34.199261] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[   34.199287] PCI: Setting latency timer of device 0000:00:1b.0 to 64


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.
 PCI slot 00:1b.0 has a High Definition Audio Card

The ALSA verion is 1.0.15
The modem cards detected by "aplay -l"  are:


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc300000 irq 22
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 00:1b.0:
	Modem chipset  detected on
CLASS="Class 0403: 8086:284b"
NAME="Audio device: Intel Corporation 82801H "
SUBSYS=17aa:384e
PCIDEV=8086:284b
IRQ=22
HDA=8086:284b
SOFT=8086:284b.HDA
CodecArchived=10573055
ArchivedChip=0x10573055
IDENT=slmodemd

 For candidate modem in:  00:1b.0
   Class 0403: 8086:284b Audio device: Intel Corporation 82801H 
      Primary device ID:  8086:284b
    Subsystem PCI_id  17aa:384e 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 0x10573055, residing on a HDA Subsystem with support by slmodemd and driver snd-hda-intel
                        
      

Support type needed or chipset:	slmodemd

 An ALSA (Advanced Linux Sound Architecture) modem driver:  
 provides Low Level support enabling contact with the modem hardware.
 For all BUT Conexant chip soft modems (using hsfmodem software)
 complementary High Level support is through a Smartlink utility:  slmodemd

 Download from http://linmodems.technion.ac.il/packages/smartlink/ 
 the package SLMODEMD.gcc4.2.tar.gz having a compiled slmodemd. Unpack under Linux with:
 	$ tar zxf SLMODEMD.gcc4.2.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,1_or_hw:0,6
 reporting dynamic creation of ports:
	/dev/ttySL0 --> /dev/pts/N   , with N some number
 Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

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

Writing Intel.txt
Writing Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

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

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


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.2
   linuc_headers base folder /lib/modules/2.6.24-16-generic/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. When compiling ALSA drivers, the utility "patch" will also be needed.



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-- 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.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
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:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:

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