Navitron Renewable Energy and Sustainability Forum

General Renewable Topics => Off-Topic => Topic started by: lightfoot on July 16, 2008, 01:45:39 PM



Title: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 01:45:39 PM
Hi Martin and any other Linux/Ubuntu users,

Sorry this post has nothing to do with renewables, but I know some of the forum members are into Linux based operating systems etc..........

For one reason or another I am on my third laptop in two years and this latest one actually belongs to the Mrs.  I must admit to being a bit of a Luddite when it comes to computers, especially when it comes to trying to fix the poxy things  wackoold

For the last couple of laptops (both of which are old Toshiba Tecra T9100's), I have ditched MS Windows in favour of Ubuntu 8.04 which dose everything I/we need from a computer and more.  However after loading it onto the latest Tecra, there appears to be no sound, even though it worked fine before (with Windows) and it worked ok with my other identical Tecra  ???

I have tried reinstalling/upgrading and following the various Ubuntu help files etc, but I can't get to the bottom of it and I just seem to reach a dead end all the time.  I have even tried posting the following details on a number of Ubuntu/Linux forums, but still didn't get much help.  So I gave up and have been limping by without sound for some months now, but there are times when it could be really handy and I was wondering if any of you guys & girls knew what the problem may be and how to fix it, as I am sure (hope) it must be something straight forwards, but I can't seem to see the wood for the trees....  help:

Anyway here's a copy of what I posted on the Ubuntu/Linux forums....sorry for the long post, but any help will be much appreciated.....coz it's driving me crazy   banghead:



I've just loaded Ubuntu 8.04 onto a Toshiba Tecra T9100 and have no sound. My volume icon has a red warning sign over it, clicking the icon gives me an error window that says "No volume control Gstreamer plugins and/or devices found(I also have another identical laptop on which the sound works ok ....but has other problems).

So I started following the instructions on the Comprehensive Sound Problem Solutions Guide thread....

http://ubuntuforums.org/showthread.php?t=205449

Step 1....

rachel@rachel-laptop:~$ aplay -l
aplay: device_list:205: no soundcards found...

Step 2....

rachel@rachel-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 05)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
02:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)

Am I right in saying that no sound card is listed and should there be something like this be listed....

00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)

I checked to see if it was disabled in the systems BIOS, but found no mention of a sound card?...So what do I do next, can I reinstall it from somewhere ?



Sorry this is all very new to me and as I've said, I haven't got much of clue when it comes to computers....I'm more your old school pencil and paper kind of guy and water and wood is more my thing, so go gentle  :P

Cheer's

Lightfoot.



Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: martin on July 16, 2008, 02:08:10 PM
tried system - prefs - sound? :)


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 02:16:18 PM
Yes, I've had a good look in there....not so much as a system beep !

Everything is set to Autodetect apart from Audio conferencing sound capture, which is set to ASLA

When I click on the Music and Movies test button,  I get the following message....

"audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink profile=music: Failed to connect stream: Invalid argument"


....poxy thing, where's my abacus  ::)


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: rhys on July 16, 2008, 02:28:20 PM
In step 2 did you type     lspci -v    presumably the -v switch does something, maybe just lists sound cards?


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 02:32:31 PM
rachel@rachel-laptop:~$ lspci-v
bash: lspci-v: command not found
rachel@rachel-laptop:~$


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 02:35:17 PM
Sorry I didn't leave a space after the lspci bit, so now this is what I get....


rachel@rachel-laptop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, fast devsel, latency 0
   Memory at e0000000 (32-bit, prefetchable) [size=256M]
   Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
   Flags: bus master, 66MHz, fast devsel, latency 64
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
   Memory behind bridge: ffe00000-ffefffff
   Prefetchable memory behind bridge: d6000000-dfffffff

00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02) (prog-if 00 [UHCI])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at efe0 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02) (prog-if 00 [UHCI])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at ef80 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02) (prog-if 00 [UHCI])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at 1000 [size=32]

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=02, subordinate=0c, sec-latency=64
   I/O behind bridge: 0000d000-0000dfff
   Memory behind bridge: ff900000-ff9fffff

00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
   Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02) (prog-if 8a [Master SecP PriP])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at 01f0
   I/O ports at 03f4
   I/O ports at 0170
   I/O ports at 0374
   I/O ports at cfa0 [size=16]
   Memory at 30000000 (32-bit, non-prefetchable) [size=1K]

01:00.0 VGA compatible controller: S3 Inc. SuperSavage IX/C SDR (rev 05) (prog-if 00 [VGA controller])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 11
   Memory at ffe80000 (32-bit, non-prefetchable) [size=512K]
   Memory at dc000000 (32-bit, prefetchable) [size=64M]
   Memory at d8000000 (32-bit, prefetchable) [size=64M]
   Memory at d6000000 (32-bit, prefetchable) [size=32M]
   Expansion ROM at ffe00000 [disabled] [size=64K]
   Capabilities: <access denied>

02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, medium devsel, latency 64, IRQ 11
   Memory at ff907000 (32-bit, non-prefetchable) [size=2K]
   Memory at ff900000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>

02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
   Subsystem: Toshiba America Info Systems EtherExpress PRO/100 VE
   Flags: bus master, medium devsel, latency 64, IRQ 11
   Memory at ff9ff000 (32-bit, non-prefetchable) [size=4K]
   I/O ports at df40 [size=64]
   Capabilities: <access denied>

02:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
   Subsystem: Lucent Technologies Unknown device ab01
   Flags: bus master, medium devsel, latency 168, IRQ 11
   Memory at ff904000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=02, secondary=03, subordinate=04, sec-latency=176
   Memory window 0: 34000000-37fff000 (prefetchable)
   Memory window 1: 38000000-3bfff000
   I/O window 0: 0000d000-0000d0ff
   I/O window 1: 0000d400-0000d4ff
   16-bit legacy interface ports at 0001

02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, slow devsel, latency 168, IRQ 11
   Memory at ff905000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=02, secondary=05, subordinate=08, sec-latency=0
   Memory window 0: 3c000000-3ffff000 (prefetchable)
   Memory window 1: 40000000-43fff000
   I/O window 0: 0000d800-0000d8ff
   I/O window 1: 0000dc00-0000dcff
   16-bit legacy interface ports at 0001

02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: bus master, slow devsel, latency 168, IRQ 11
   Memory at ff906000 (32-bit, non-prefetchable) [size=4K]
   Bus: primary=02, secondary=09, subordinate=0c, sec-latency=0
   Memory window 0: 44000000-47fff000 (prefetchable)
   Memory window 1: 48000000-4bfff000
   I/O window 0: 00001400-000014ff
   I/O window 1: 00001800-000018ff
   16-bit legacy interface ports at 0001

02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
   Subsystem: Toshiba America Info Systems Unknown device 0001
   Flags: medium devsel, IRQ 255
   Memory at ff907800 (32-bit, non-prefetchable) [disabled] [size=512]
   Capabilities: <access denied>

rachel@rachel-laptop:~$



Emmm....not sure what that lot means, but obviously the fonts don't change size in the terminal output as displayed here ?


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: martin on July 16, 2008, 02:40:30 PM
hope you don't mind my going through the "obvious" - I've got a little speaker logo top right on my apps bar, if I click it once, I get a  volume control, double click, and you get a "multiple" volume control - I've found that from time to time you can have the main "volume" set to "max", and one of the "minor" volume controls has been set to low or off............ :)
Of similar ilk, I presume you've tried the "fn" and volume on/off keys?


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 02:48:48 PM
Please feel free to point out any obvious cock-ups I may be making, but as mentioned the speaker icon has a red warning sign over it and when I click on it I get the following error message....

"The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plug-ins installed, or that you don't have a sound card configured.
You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu."

Or

"No volume control GStreamer plugins and/or devices found"


I have also just tried the "fn" and volume on/off keys and nothing appears to have changed  ???


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: rhys on July 16, 2008, 02:57:54 PM
I can't see a sound card listed there. What do you get listed on the working Tosh? Did you ever have it working under windows? Sorry yes you said it did!!
Are both laptops running the exact same version of UBUNTU?


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 03:18:45 PM
Yes at the point of death of the first (identical) laptop, they were both running the same version of Ubuntu, which has now been upgraded on the remaining laptop.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: dhaslam on July 16, 2008, 03:25:14 PM
It is a regular problem with Linux that some things don't work but that applies to XP and Vista  just as much if not more.   The network card on the motherboard of my Linux Server doesn't work so it just means adding another one.  Sound cards are more difficult but you could use an external USB card.  If you do a search on "external USB sound card Linux"  you should find something that doesnt cost the earth.    You might also find an updated driver for the sound card. 

http://www.linux.com/articles/43494


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: rhys on July 16, 2008, 03:33:12 PM
Some things to try
Open System -> Administration -> Update Manager
I think this will pull in the latest build.
Also you could try disabling the autodetect bit you mentsioned earlier, and changing to ASLA if it'll let you


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: mespilus on July 16, 2008, 05:51:15 PM
If all else fails,
might one of these help?

http://www.morgancomputers.co.uk/shop/detail.asp?ProductID=3508&CategoryID=99&SubCategoryID=100


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: wyleu on July 16, 2008, 06:45:44 PM
lsmod is your friend.
You'll probably need to be running as root to use it but it will show you loaded modules on the system, and also whats using them.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 16, 2008, 07:02:40 PM
lsmod is your friend.
You'll probably need to be running as root to use it but it will show you loaded modules on the system, and also whats using them.



Hi Wyleu,

Is there any chance that you could you talk me through it, as I'm not sure what you're on about......Sorry I did say I'm pant's at all this.

Cheer's,

Lightfoot.


PS, is this what you are on about.....if so what dose it all mean  ???

rachel@rachel-laptop:~$ lsmod
Module                  Size  Used by
isofs                  36388  1
udf                    88612  0
ipv6                  267780  8
savage                 33920  2
drm                    82452  3 savage
af_packet              23812  2
rfcomm                 41744  2
l2cap                  25728  13 rfcomm
bluetooth              61156  4 rfcomm,l2cap
ppdev                  10372  0
speedstep_ich           6288  0
speedstep_lib           6532  1 speedstep_ich
cpufreq_powersave       2688  0
cpufreq_userspace       5284  0
cpufreq_stats           7104  0
cpufreq_conservative     8712  0
cpufreq_ondemand        9740  1
freq_table              5536  3 speedstep_ich,cpufreq_stats,cpufreq_ondemand
bay                     6912  0
toshiba_acpi           12100  0
sbs                    15112  0
sbshc                   7680  1 sbs
dock                   11280  1 bay
container               5632  0
iptable_filter          3840  0
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
sbp2                   24072  0
lp                     12324  0
orinoco_cs             16396  1
orinoco                42772  1 orinoco_cs
hermes                  8448  2 orinoco_cs,orinoco
pcmcia                 40876  1 orinoco_cs
parport_pc             36260  0
parport                37832  3 ppdev,lp,parport_pc
irda                  203068  0
evdev                  13056  4
crc_ccitt               3072  1 irda
serio_raw               7940  0
video                  19856  0
output                  4736  1 video
yenta_socket           27276  5
rsrc_nonstatic         13696  1 yenta_socket
pcmcia_core            40596  4 orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic
battery                14212  0
ac                      6916  0
button                  9232  0
intel_agp              25492  1
agpgart                34760  2 drm,intel_agp
shpchp                 34452  0
pci_hotplug            30880  1 shpchp
iTCO_wdt               13092  0
iTCO_vendor_support     4868  1 iTCO_wdt
psmouse                40336  0
pcspkr                  4224  0
ext3                  136712  1
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
sg                     36880  0
sr_mod                 17956  1
cdrom                  37408  1 sr_mod
sd_mod                 30720  3
ata_piix               19588  3
ata_generic             8324  0
pata_acpi               8320  0
ohci1394               33584  0
e100                   37388  0
mii                     6400  1 e100
ieee1394               93752  2 sbp2,ohci1394
libata                159344  3 ata_piix,ata_generic,pata_acpi
scsi_mod              151436  5 sbp2,sg,sr_mod,sd_mod,libata
uhci_hcd               27024  0
usbcore               146028  2 uhci_hcd
thermal                16796  0
processor              36872  2 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
rachel@rachel-laptop:~$


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: batat on July 17, 2008, 02:04:21 PM
A quick Google found me this:

"..running "alsaconf" from a root shell did the trick."

Ubuntu should have a short cut to a root shell but you can simply type sudo alsaconf <your password when prompted> in a 'normal' console/terminal window. Alternatively, open a 'normal' console (xterm) & type sudo -i  <your password when prompted> & then alsaconf. Means to the same end.
It's best to work a 'user' & sudo only when you need POWER! ;) [laughing like Doctor Evil]...

Presumably Ubuntu (as opposed to Kubuntu) has the 'System Settings' program?
Type this in a console (xterm) window:
whereis systemsettings

To get an answer like this (hopefully):
systemsettings: /usr/bin/systemsettings /usr/share/man/man1/systemsettings.1.gz

Google also fetched this:

You might also want to make sure your user is a member of the audio group. A common gotcha is that if you create a new user using useradd and don't specify group membership - your new account wont be a member of the audio group and thus sound probably wont work.

You can check this quickly from the command line whilst logged in as your user account (not root). Just run the command: groups

You should see a list of group memberships as the result, and audio should be one of them.

Hope this helps.

Rgds,
Mark.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: batat on July 17, 2008, 02:06:52 PM
Forgot:
Google also found this which suggests that your lappie should be fine with K/Ubuntu.

http://alicious.com/2008/opensong-on-kubuntu-from-scratch/


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 17, 2008, 02:24:22 PM
Hi Mark,

I followed your suggestions and this is what I got..... ???

rachel@rachel-laptop:~$ groups
rachel adm dialout cdrom floppy audio dip video plugdev fuse lpadmin admin
rachel@rachel-laptop:~$ sudo -i
root@rachel-laptop:~# alsaconf
-bash: alsaconf: command not found
root@rachel-laptop:~# whereis systemsettings
systemsettings:
root@rachel-laptop:~#



I will have a look at the link you posted

Cheer's

Lightfoot.


PS, No it's defiantly not my volume control that's turned down, as mention it has a red warning sign over the speaker icon and I get a error message when I click on it.  I just can't understand why the sound worked ok on my other identical laptop   banghead:


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: batat on July 17, 2008, 02:48:34 PM
OK, so 'groups' confirms your in the audio group, good.
alsaconf not found - I've learnt that Ubuntu no longer uses it, sorry.
And, systemsettings is a KDE Kubuntu program, sorry again.

Try this in your console:
 aplay -l

Result:
**** List of PLAYBACK Hardware Devices ****
card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: default [C-Media USB Headphone Set  ], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

And this so we can see what programs you have access to:

apropos sound

Results like -
QSound (3qt)         - Access to the platform audio facilities
alsactl (1)          - advanced controls for ALSA soundcard driver
alsamixer (1)        - soundcard mixer for ALSA soundcard driver, with ncurses interface
amixer (1)           - command-line mixer for ALSA soundcard driver
aplay (1)            - command-line sound recorder and player for ALSA soundcard driver
arecord (1)          - command-line sound recorder and player for ALSA soundcard driver
artscat (1)          - pipe data to sound device
asoundconf (1)       - utility to read and change the user's ALSA library configuration
gnome-sound-recorder (1) - simple sound recorder
icedax (1)           - a sampling utility that dumps CD audio data into wav sound files
pitchplay (1)        - wrapper script to play audio tracks with cdda2wav with different pitches through a soundcard (cdda2wav...
play (1)             - Sound eXchange, the Swiss Army knife of audio manipulation
qsound (3qt)         - Access to the platform audio facilities
rec (1)              - Sound eXchange, the Swiss Army knife of audio manipulation
sox (1)              - Sound eXchange, the Swiss Army knife of audio manipulation
soxeffect (7)        - Sound eXchange, the Swiss Army knife of audio manipulation
soxexam (7)          - Sound eXchange, the Swiss Army knife of audio manipulation
soxformat (7)        - Sound eXchange, the Swiss Army knife of audio manipulation

Got to leave the rest to later...


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 17, 2008, 02:51:47 PM
Thanks Mark, here's what I got......

rachel@rachel-laptop:~$ aplay -l
aplay: device_list:205: no soundcards found...
rachel@rachel-laptop:~$ apropos sound
alsactl (1)          - advanced controls for ALSA soundcard driver
alsamixer (1)        - soundcard mixer for ALSA soundcard driver, with ncurse...
amixer (1)           - command-line mixer for ALSA soundcard driver
aplay (1)            - command-line sound recorder and player for ALSA soundc...
arecord (1)          - command-line sound recorder and player for ALSA soundc...
asoundconf (1)       - utility to read and change the user's ALSA library con...
gnome-sound-recorder (1) - simple sound recorder
Gnome2::Sound (3pm)  - (unknown subject)
pabrowse (1)         - List PulseAudio sound servers on the network
pacat (1)            - Play back or record raw audio streams on a PulseAudio ...
pacmd (1)            - Reconfigure a PulseAudio sound server during runtime
pactl (1)            - Control a running PulseAudio sound server
paplay (1)           - Play back audio files on a PulseAudio sound server
sound-juicer (1)     - GNOME-desktop CD ripper and player using GStreamer
sound-monitor_applet (1) - Sound Monitor applet for the GNOME panel.
rachel@rachel-laptop:~$


Cheer's

Lightfoot.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: rhys on July 17, 2008, 03:33:52 PM
afaik ASLA drivers are still used. I think aslaconf is replace by asoundconf
There is now however Pulseaudio new to 8.04 there are references to there being probs with this on Xbuntu, so should be OK on Ubuntu
"aplay" is clearly saying no sound card so maybe its a hardware problem.
It might I suppose be a problem with the upgrade from v7, not picking up the sound card but then you said it never worked.
Unless you can do a complete new install - I'm stuck


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: wyleu on July 17, 2008, 03:58:42 PM
aaah the simple joys of the unix sound system....

First a little bit of history the original linux sound system was oss which was replaced in most, maybe all modern distributions by alsa http://www.alsa-project.org/main/index.php/Main_Page (http://www.alsa-project.org/main/index.php/Main_Page). Now it's important to realise quite what your trying to do with sound to possibly explain why you might be having problems.
To a linux system everything is a file, which is chucked around by a lump of code called the kernel. Now if your used to windows you generally don't see all this but in the linux world it's all on show, which may or may not be what you expect.

Now a kernel is a wonderful thing because you can trim it down to just enough to do the things you want to do, and leave out all the rest. You want to log one-wire data to a teeny weeny little box, run a minimal kernel on dumb little processor and that's all it will do and  no buggy graphical display adapter to support just to find out that your panels are overheating. If you want the kernel to handle something a little more diverse, sound for instance then it is necessary to add some bits to the kernel to allow it to do this because there are requirements about how that particular kind of data is handled. On one side you have  sound card, which you can almost gaurentee will have drivers written for windows and impersonates the very old ISA bus in someway or another. This is all historic and dates back to a time when audio on the PC was restricted to key press noises and such like and not much thought was given to streaming audio or anything professional.
Now you have to make the kernel aware that it has a sound card connected, and that is the first difficultly is is actually visible to the system?. Now sadly this is not down to the kernel this is the sort of thing that the distribution ( which particular bunch of itinerant programmes the bundler of your particular distribution has chosen to give you). In mandriva it's called harddrake, I don't know what it is in Ubutnu ( which I understand is Debian based ), but there should be some programme that allows you to view hardware. Make sure you can see the card their and you do at least know that you have some communication with it.
But that doesn't mean you can use it, all that confirms is that it takes up a bit of address space that the processor can see. This is where you go back to the kernel. The kernel needs code to talk to the card and that is a driver. Now finding out which card can be addressed by which chunk of software can be quite fun, and don't expect to get a direct answer. I have a couple of  really rocking sound cards from the early days of computer audio that will never see a linux implementation and I really don't want to put the effort in to writing one either. The driver can be permenantly bolted into the kernel, which is done by recompiling the kernel itself, which means you need a system with the source code for the linux kernel ( probably not the case)  and the correct compiler ( more likely). IT's nor such a hard thing to do but the windows approach of just loading everything that looks relevent wont help you much as you'll end up with a large bloated kernel which has a lot of code that doesn't actually do much most of the time.  But you don't need to do that anyway because there are loadable modules which can bolt themselves into the kernel when required and sit around doing handy bits and pieces when required. This is what lsmod shows you. The numbers next to the names are the number of connections using that module at the time. Now a you have probably realised lsmod tell you everything about everything, which since most unix command lines are aimed more at being included in programmes than typed by humans kind of makes sense so you need to learn a couple of handy tricks to trim it all down.

from my debian machine:

chris@dellap:~$ lsmod
Module                  Size  Used by
nls_iso8859_1           4256  1
nls_cp437               5920  1
vfat                   11872  1
fat                    46652  1 vfat
rfcomm                 34712  0
l2cap                  21760  5 rfcomm
bluetooth              46020  4 rfcomm,l2cap

...and on and on....

here's where you use pipes, a wonderful concept that gets to use all those keys that you have often wondered what they are there for.


you pipe lsmod into grep and filter on snd.

Got that?   It's pure linux and it's bloody inpenatrable to those outside the linux world.

lsmod puts out a list of modules.
grep is a programme that looks for the occurance of a line of text and if it sees it it prints it otherwise ignores it.

a pipe is a clever file based linux trick that takes the output of one programme and stuffs it into another.

So....

lsmod | grep snd   

will take the output of lsmod and stick it into grep which will print all the snd bits.

chris@dellap:~$ lsmod | grep snd
snd_intel8x0m          15980  0
snd_pcm_oss            38368  0
snd_mixer_oss          15200  1 snd_pcm_oss
snd_intel8x0           30332  1
snd_ac97_codec         83104  2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus            2400  1 snd_ac97_codec
snd_pcm                68676  4 snd_intel8x0m,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              20996  1 snd_pcm
snd                    47012  9 snd_intel8x0m,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9248  1 snd
snd_page_alloc         10184  3 snd_intel8x0m,snd_intel8x0,snd_pcm

So you can see that soundcore has one connection from snd which has nine other connections to it from varius other modules which do various other bit's and pieces with my sound system. Now please note that this is kernel stuff and kernels are stupid for very specific reasons. They just do simple things on behalf of applications outside of the kernel and they don't know a whole lot abot what those programmes want them to do. They either do it and stop or don't do it and winge.

From your lsmod listing it looks as thou' you don't have any sound components loaded and until you do all will be silent.

Start by checking with the http://www.alsa-project.org/main/index.php/Matrix:Main (http://www.alsa-project.org/main/index.php/Matrix:Main) alsa sound card page to see what it says about your sound card. Make sure that is working first and then try using the alsa tools to see what is does. For very sensible reasons alsa initializes as mute so you will need some form of mixer component to turn up the level. ( ooh the fun I had with that one and a roland UA-100 USB sound module). But once an appropriate driver loads that will probably be taken care of for you.

The other element to be aware of is that the desktop environment you are running ( probably kde or Gnome) has sound related components that can seem like they are setting up the sound system but are really just tying noises to actions. (Some people still believe it's hilarious to have a flushing toilet sound when you delete a file when every educated individual kno's it should be a crumpling paper sound for example).

In praise of Windows it's sound system is pretty rock solid. You can for instance open up several sound playing browser windows and it will mix the outputs seamlessly and still allow you to scroll a word document in the background. I work on dell laptops and I have to say the linux sound support is ... indifferent, yes I can listen to the BBC for some period of time but if I turn the javascript console on in firefox ( just type javascript: into the address bar) it constantly reports errors, and it does bomb out occasionally, and firefox get's into a right old tizzy if I try to watch from youtube at the same time. I have seen some wonderful things done with linux sound but it tends to be very specific to the sound card involved and strangely often written by musicians who have literaly started from scratch and just writtten code till it works.

Most linux distro's nowadays support most sound cards farily well but you have to know a little bit about it all before you start and be prepared to end up knowing far more about the sound system of a PC than you ever cared to....










Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on July 21, 2008, 08:41:17 AM
Thanks everybody for your input so far......and I must say, it's more than I got from Ubuntu/Linux forums !

I'm a bit pushed for time at the moment, but when I get around to taking a proper look, how do I know what sound card to look for at http://www.alsa-project.org/main/index.php/Matrix:Main ......or is that a silly question  wackoold

Cheer's

Lightfoot the laptop Luddite.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: rhys on July 21, 2008, 08:49:34 AM
I think you'll have to do a Google search if you haven't got your original specs. I think the Tecra had Yamaha cards. But the model will vary depending on the date of you 9100.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on November 05, 2008, 07:31:00 AM
ARRRGGGHHHH...maybe it's just time for a new laptop...or maybe I should give them up for good  surrender:

Added to the fact that I still haven't resolved the sound issue on my poxy laptop (and now some youtube/video clips won't display at all)  ???....I'm now also having problems viewing and sending emails via the so called new and improved Hotmail   :lovefirefox  chocpot: banghead:

I'm running the latest/updated version of both Ubuntu and Firefox, I have also just installed the Firefox add-on: User Agent Switcher....but it doesn't seem to make much difference  ???

So any advice from all you Ubuntu/Firefox Gurus would be much appreciated...else my laptop may just take a impromptu flying lesson out the window  help:


Cheer's

Lightfoot the livid laptop Luddite.




Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: damnager on November 05, 2008, 07:56:23 AM
Hi lightfoot,
                Have you tried this link http://www.leunk.com/index.php?option=com_content&task=view&id=43&Itemid=55 it seems that you are not alone with Tecra problems.

As to the youtube freeze, try loading the new version 10 Flash player http://get.adobe.com/flashplayer/otherversions/ it resolved odd problems for me.

Keith


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on November 05, 2008, 10:28:29 AM
Thanks for that Keith,

I downloaded Flash player as you suggested (I think I may of already had it?) but it doesn't seem to have made any difference.  Apart from the audio side of things, it seems to be only a problem playing some embodied (if thats the word) youtube/video clips etc, like in some of the posts on this forum.  However it works just fine direct from the youtube website  ???

I'm not sure what the problem is with the new version of Hotmail, as all was well up until this recent upgrade, which when ever I log in, keeps prompting me to upgrade my Firefox browser....but it is already the latest version.....and I can't seem to write emails anymore  banghead:

As for the other link you posted, I've had a quick look, but I must admit that I'm happy taking anything mechanical apart, however I would be a bit wary as I'm not sure I know what I'm doing when tackling the likes of my laptop....but I guess I'm always up for learning new tricks....and I don't think I have much to lose, as it's not far from being a door stop as it is and maybe Santa will bring me a new one if I'm a good boy  whistle


Thanks again,

Lightfoot.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: damnager on November 05, 2008, 11:49:44 AM
Lightfoot,
             found this which may help with the Hotmail problem, just watch out for the Dragons  :lovefirefox

Q:
I can't use Firefox to check my Hotmail account—must be Microsoft up to their old tricks. Anyway, is there a way to fix it?

A:
Of course the BMSF (Blame Microsoft First) reflex kicks in during a situation like this. But it most likely is due to a User Agent problem.

What's a Web User Agent? Well it can refer to a web browser, search engine spider or screen reader for people with disabilities. This information can be used by the server of the page you are accessing to tailor information that is browser specific or to exclude search engine crawlers (spiders) from gathering data on the site.

In the case of Hotmail, it is likely that your User Agent is set to Googlebot or some other web crawler. This would explain why you can't access some pages and why Javascripts and DHTML (Dynamic HTML) won't work. I don't know of any way Googlebot can end up as your "cloaked" agent, usually it is a deliberate modification made by the Firefox user.

In any case, here's how to check for a modified user and fix Firefox so you can access your Hotmail.

In the Firefox address bar type in "about:config" (without the quotes). You'll get a list of all your settings. Customizations should be in bold type.

Look for "general.useragen.override". If it's there, right click then select "Reset".

If it isn't, then make sure that "general.useragent.vendor" is set to "Firefox" and click "Reset" if not.

Close out Firefox then bring it back up. See if you can get into Hotmail now.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on November 05, 2008, 12:36:26 PM
Hi Keith,

I've just checked the "about:config" page and there are a number customized lines in bold, but "general.useragen.override" doesn't appear to exist and "general.useragent.vendor" (which is not in bold) is set to "Ubuntu"....and so doesn't have the option to "Reset" when you right click on it.

Any other ideas  ???


Cheers

Lightfoot.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: stephend on November 05, 2008, 04:05:31 PM
You mention that you've installed the user-agent switcher...  I believe that you still have to actively set it to an alternative user agent (such as Internet Explorer), it won't automatically do this for you.  The option should be somewhere in the "Tools" menu.


Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on November 05, 2008, 04:16:57 PM
Keith,

After much searching I think I have found the problem....

I thought I was having a bit of a senior moment, as when I modified "general.useragent.vendor" from Ubuntu to Firefox and then restarted the browser and checked, it had been reset back to Ubuntu  ???  However it turns out that this is something to do with the Firefox add-on: "User Agent Switcher" that I had installed and setup to try and fix the problem in the first place  banghead:  .....So I removed it and re-modified the "general.useragent.vendor" back to Firefox like you said and hey presto, Hotmail now seems to work OK (fingers crossed).....Thanks, your a gem.

One down two to go...unless I bu99er something else up along the way  ;D


Many thanks,

Lightfoot.




Title: Re: Ubuntu 8.04 (Linux) problems.....
Post by: lightfoot on November 05, 2008, 04:21:04 PM
Hi stephend, I did try setting the user-agent switcher as you mention, but it didn't seem to work for me and then I found some other info as outlined above...which seems to of done the trick.


Cheer's,

Lightfoot.