[ltp] Thinkpad T60 - LinuxMint - no sound...

zed linux-thinkpad@linux-thinkpad.org
Sat, 19 Jul 2008 17:35:51 +1200


Richard Neill <rn214@hermes.cam.ac.uk> wrote:

> 
> 
> zed wrote:
> > I have an IBM Thinkpad T60 on which I run LinuxMint v5.0.  Everything
> > works except sound.
> 
> That's odd - it's pretty rare for onboard sound not to work.

Yeah! that's what I thought.  I bought the Thinkpad because of its
reputation as being very good with Linux.
 
> 1. Are you sure it isn't anything trivial? Often the volume is simply
> turned down - try using a mixer such as gnome-alsamixer, or kmix to fix
> it. There are several volume controls "in series": the application itself,
> the  "PCM" control, the "master volume" and the hardware buttons. Any of
> these can kill the sound. Also, what are you trying to play?

gnome-alsamixer wasn't installed.  Installed and ran it and found all volume
controls (other than Mic) were at maximum.

Am trying to play audio CDs and various video files etc on youtube.com.


> 2. Try
>      speaker-test

--------------------------------------------------------------------------------------
zed@zed-laptop ~ $ speaker-test  

speaker-test  1.0.15

Playback device is default
Stream parameters are 48000Hz, S16_LE 1 channels
Using 16 octaves of pink noise
Rate set to 48000HZ (rewuested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 1024
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 Front Left
Time per period = 2.66494

Note: the last two lines just keep repeating themselves until I close the
terminal window,.
------------------------------------------------------------------------------------------
>      hwinfo --sound  		(run as root)

zed@zed-laptop ~ $  hwinfo --sound  
27: PCI 1b.0: 0403 Audio device                                 
  [Created at pci.296]
  UDI: /org/freedesktop/Hal/devices/pci_8086_27d8
  Unique ID: u1Nb.pC0kUcwQ4PA
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Lenovo 82801G (ICH7 Family) High Definition Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x27d8 "82801G (ICH7 Family) High Definition Audio Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x2010 
  Revision: 0x02
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xee400000-0xee403fff (rw,non-prefetchable)
  IRQ: 21 (17422 events)
  Module Alias: "pci:v00008086d000027D8sv000017AAsd00002010bc04sc03i00"
  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
---------------------------------------------------------------------------------------------------------
>      play -n -c1 synth sin %-12 sin %-9 sin %-5 sin %-2

zed@zed-laptop ~ $  play -n -c1 synth sin %-12 sin %-9 sin %-5 sin %-2
play soxio: Failed reading '-n': unknown file type 'null'
------------------------------------------------------------------------------------------------------------
zed@zed-laptop ~ $ ~ $ lsmod
Module                  Size  Used by
nls_iso8859_1           4992  1 
nls_cp437               6656  1 
vfat                   14464  1 
fat                    54556  1 vfat
usb_storage            73664  1 
libusual               19108  1 usb_storage
af_packet              23812  2 
rfcomm                 41744  2 
l2cap                  25728  13 rfcomm
bluetooth              61156  4 rfcomm,l2cap
uinput                 10240  1 
ppdev                  10372  0 
acpi_cpufreq           10796  2 
cpufreq_powersave       2688  0 
cpufreq_userspace       5284  0 
cpufreq_conservative     8712  0 
cpufreq_ondemand        9740  1 
cpufreq_stats           7104  0 
freq_table              5536  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
container               5632  0 
bay                     6912  0 
sbs                    15112  0 
sbshc                   7680  1 sbs
dock                   11280  1 bay
iptable_filter          3840  0 
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
parport_pc             36260  0 
lp                     12324  0 
parport                37832  3 ppdev,parport_pc,lp
joydev                 13120  0 
pcmcia                 40876  0 
snd_hda_intel         344728  3 
snd_pcm_oss            42144  0 
snd_mixer_oss          17920  1 snd_pcm_oss
snd_pcm                78596  2 snd_hda_intel,snd_pcm_oss
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
lmpcm_usb               7168  0 
snd_hwdep              10500  1 snd_hda_intel
fglrx                1555468  23 
battery                14212  0 
iwl3945                89844  0 
snd_seq_dummy           4868  0 
ac                      6916  0 
iwlwifi_mac80211      219108  1 iwl3945
snd_seq_oss            35584  0 
snd_seq_midi            9376  0 
cfg80211               15112  1 iwlwifi_mac80211
snd_rawmidi            25760  1 snd_seq_midi
psmouse                40336  0 
yenta_socket           27276  1 
rsrc_nonstatic         13696  1 yenta_socket
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
snd_seq                54224  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
video                  19856  0 
pcmcia_core            40596  3 pcmcia,yenta_socket,rsrc_nonstatic
output                  4736  1 video
serio_raw               7940  0 
irtty_sir               9728  0 
snd_timer              24836  2 snd_pcm,snd_seq
snd_seq_device          9612  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
thinkpad_acpi          51836  0 
sir_dev                17412  1 irtty_sir
nsc_ircc               24208  0 
intel_agp              25492  0 
iTCO_wdt               13092  0 
iTCO_vendor_support     4868  1 iTCO_wdt
button                  9232  0 
irda                  203068  3 irtty_sir,sir_dev,nsc_ircc
snd                    56996  17
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nvram                   9992  2 thinkpad_acpi
agpgart                34760  2 fglrx,intel_agp
shpchp                 34452  0 
pci_hotplug            30880  1 shpchp
crc_ccitt               3072  1 irda
evdev                  13056  9 
soundcore               8800  1 snd
pcspkr                  4224  0 
ext3                  136712  2 
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
sg                     36880  0 
sr_mod                 17956  0 
cdrom                  37408  1 sr_mod
sd_mod                 30720  6 
ata_generic             8324  0 
usbhid                 31872  0 
hid                    38784  1 usbhid
pata_acpi               8320  0 
ata_piix               19588  0 
ahci                   28420  3 
libata                159344  4 ata_generic,pata_acpi,ata_piix,ahci
scsi_mod              151436  5 usb_storage,sg,sr_mod,sd_mod,libata
ehci_hcd               37900  0 
uhci_hcd               27024  0 
usbcore               146028  7
usb_storage,libusual,lmpcm_usb,usbhid,ehci_hcd,uhci_hcd
e1000                 126016  0 
thermal                16796  0 
processor              36872  4 acpi_cpufreq,thermal
fan                     5636  0 
fbcon                  42912  0 
tileblit                3456  1 fbcon
font                    9472  1 fbcon
bitblit                 6784  1 fbcon
softcursor              3072  1 bitblit
fuse                   50580  3 
-------------------------------------------------------------------------------------------------------
> (you may need to install the packages, speaker-tes, hwinfo, and sox).
> 
> If that doesn't work, ask again - but tell us what you get from
>    hwinfo --sound, and lsmod

See above

> P.S. You almost certainly want to use ALSA as your sound system.
> PulseAudio isn't ready yet, and OSS is obsolete.

Noted.  Willl use ALSA.

Regards from New Zealand on a very wet Saturday evening.

Zed
-- 
zed