Re: [ubuntu-uk] technical question

2007-05-24 Thread Andy
On 23/05/07, norman [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED]:~$ lsmod | grep -i 'snd_hda_intel'
 snd_hda_intel  20116  1
 snd_hda_codec 164608  1 snd_hda_intel
 snd_pcm84612  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
 snd58372  12
 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
 snd_page_alloc 11400  2 snd_hda_intel,snd_pcm
 [EMAIL PROTECTED]:~$

The problem is it won't let you remove snd-hda-intel because it's
being used by other stuff. There is a command to remove it and remove
other stuff with it as well.

The only problem is getting all the stuff it pulled out back again (of
course rebooting will put everything back luckily).

So type the following (and cross your fingers):

sudo -i
modprobe -r snd-hda-intel
modprobe snd-hda-intel probe_mask=8 model=auto
modprobe snd
exit

(the exit gets you out of the root terminal)

Tell me what happens.

I am basing this on Matthews email. It may or may not work.

Andy

-- 
First they ignore you
then they laugh at you
then they fight you
then you win.
- Mohandas Gandhi

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-24 Thread norman

 The problem is it won't let you remove snd-hda-intel because it's
 being used by other stuff. There is a command to remove it and remove
 other stuff with it as well.
 
 The only problem is getting all the stuff it pulled out back again (of
 course rebooting will put everything back luckily).
 
 So type the following (and cross your fingers):
 
 sudo -i
 modprobe -r snd-hda-intel
 modprobe snd-hda-intel probe_mask=8 model=auto
 modprobe snd
 exit
 
 (the exit gets you out of the root terminal)
 
 Tell me what happens.

This sounds awfully risky. After all, I can solve my difficulty by
running normally using 2.6.20, batch the scanning that I need to do and
use 2.6.17. The way Ubuntu is it takes only a very short time to press
the button and wait for a reboot.

Norman


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


[ubuntu-uk] technical question

2007-05-23 Thread norman
What would I expect to have to be aware of, if I changed the kernel from
2.6.20 to 2.6.17, when working with Ubuntu 7.04?

Norman


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Alec Wright
On Wed, 2007-05-23 at 17:42 +0100, norman wrote:
 What would I expect to have to be aware of, if I changed the kernel from
 2.6.20 to 2.6.17, when working with Ubuntu 7.04?
Nothing, as far as I know, except that you might need to do something to
make the nVidia binary drivers work again (if you use them).
I'm using 2.6.20 on Ubuntu gutsy (7.10) here.
-- 
Alec Wright


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman
On Wed, 2007-05-23 at 17:49 +0100, Alec Wright wrote:
 On Wed, 2007-05-23 at 17:42 +0100, norman wrote:
  What would I expect to have to be aware of, if I changed the kernel from
  2.6.20 to 2.6.17, when working with Ubuntu 7.04?
 Nothing, as far as I know, except that you might need to do something to
 make the nVidia binary drivers work again (if you use them).
 I'm using 2.6.20 on Ubuntu gutsy (7.10) here.

Thanks for that. Now I may be able to solve a problem I have been
having. If it works I'll let you know.

Norman


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman

 Thanks for that. Now I may be able to solve a problem I have been
 having. If it works I'll let you know.

I am very ignorant in these matters hence my question. There has been a
lot of correspondence relating to the non-working of scanners in
Ubuntu7.04. So, non techie me having read that the fault lies in the
kernel thought 'why not change the kernel to one which is known to
work'? So I did and it does the trick. Furthermore, the only thing I
can't do, so far, is play a sound. My sound is on the motherboard.
Suggestions would be very welcome.

Norman


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Matthew Macdonald-Wallace
Quoting norman [EMAIL PROTECTED]:


 Thanks for that. Now I may be able to solve a problem I have been
 having. If it works I'll let you know.

 I am very ignorant in these matters hence my question. There has been a
 lot of correspondence relating to the non-working of scanners in
 Ubuntu7.04. So, non techie me having read that the fault lies in the
 kernel thought 'why not change the kernel to one which is known to
 work'? So I did and it does the trick. Furthermore, the only thing I
 can't do, so far, is play a sound. My sound is on the motherboard.
 Suggestions would be very welcome.

 Norman

Norman,

Please can you open a terminal and type the following:

lspci | grep Audio

and post the output of the line you get in return to the list?

Thanks,

Matt

-- 
Matthew Macdonald-Wallace
Group Co-Ordinator
Thanet Linux User Group
http://www.thanet.lug.org.uk/
[EMAIL PROTECTED]
GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xFEA1BC16


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman
On Wed, 2007-05-23 at 19:05 +0100, Matthew Macdonald-Wallace wrote:
 Quoting norman [EMAIL PROTECTED]:
 
 
  Thanks for that. Now I may be able to solve a problem I have been
  having. If it works I'll let you know.
 
  I am very ignorant in these matters hence my question. There has been a
  lot of correspondence relating to the non-working of scanners in
  Ubuntu7.04. So, non techie me having read that the fault lies in the
  kernel thought 'why not change the kernel to one which is known to
  work'? So I did and it does the trick. Furthermore, the only thing I
  can't do, so far, is play a sound. My sound is on the motherboard.
  Suggestions would be very welcome.

 Please can you open a terminal and type the following:
 
 lspci | grep Audio
 
 and post the output of the line you get in return to the list?

[EMAIL PROTECTED]:~$ lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
[EMAIL PROTECTED]:~$ 

Norman




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Matthew Macdonald-Wallace
Quoting norman [EMAIL PROTECTED]:

 On Wed, 2007-05-23 at 19:05 +0100, Matthew Macdonald-Wallace wrote:
 Quoting norman [EMAIL PROTECTED]:

 
  Thanks for that. Now I may be able to solve a problem I have been
  having. If it works I'll let you know.
 
  I am very ignorant in these matters hence my question. There has been a
  lot of correspondence relating to the non-working of scanners in
  Ubuntu7.04. So, non techie me having read that the fault lies in the
  kernel thought 'why not change the kernel to one which is known to
  work'? So I did and it does the trick. Furthermore, the only thing I
  can't do, so far, is play a sound. My sound is on the motherboard.
  Suggestions would be very welcome.

 Please can you open a terminal and type the following:

 lspci | grep Audio

 and post the output of the line you get in return to the list?

 [EMAIL PROTECTED]:~$ lspci | grep Audio
 00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
 [EMAIL PROTECTED]:~$

A quick google of the output from that command and ubuntu came up  
with the following:

===

  Re: Audio (SB450) stopped working after upgrading to 7.04
Quote:
Originally Posted by djails View Post
To all of you with a ATI SB450 sound problem in feisty:
If your sound card is an ATI SB450 in a toshiba laptop like mine which  
used to work in edgy but not in feisty anymore, here is the solution  
given to me on the alsa-devel ML:
Code:

sudo rmmod snd-hda-intel
sudo modprobe snd-hda-intel probe_mask=8 model=auto

It worked for me. The probe_mask param allows the correct discovery of  
the sound codec, which otherwise is masked by the modem.
if it does the job for you, make it permanent by adding options  
snd-hda-intel probe_mask=8 model=auto at the end of  
/etc/modprobe.d/alsa-base
Let me know if it works for you.

For reference:
Code:

lspci -nnv -s 00:14.2
00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio  
[1002:437b] (rev 01)
 Subsystem: Toshiba America Info Systems Unknown device [1179:ff10]
 Flags: bus master, slow devsel, latency 64, IRQ 19
 Memory at d050 (64-bit, non-prefetchable) [size=16K]
 Capabilities: access denied

geez manyou're a genius got it working in no timenow I can  
listen to my Sasha and Digweed as much as I want ) Thanksowe u one

===

The full post is here:  
http://ubuntuforums.org/showthread.php?t=415821page=3 so give it a  
whirl and see what happens.

You will need to be root to execute the modprobe and rmmod commands,  
so open a command line and type

sudo su -

followed by your normal user password.

Hope this helps,

Matt

-- 
Matthew Macdonald-Wallace
Group Co-Ordinator
Thanet Linux User Group
http://www.thanet.lug.org.uk/
[EMAIL PROTECTED]
GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xFEA1BC16


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman
 snip 

 
  Please can you open a terminal and type the following:
 
  lspci | grep Audio
 
  and post the output of the line you get in return to the list?
 
  [EMAIL PROTECTED]:~$ lspci | grep Audio
  00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
  [EMAIL PROTECTED]:~$
 
 A quick google of the output from that command and ubuntu came up  
 with the following:
 
 ===
 
   Re: Audio (SB450) stopped working after upgrading to 7.04
 Quote:
 Originally Posted by djails View Post
 To all of you with a ATI SB450 sound problem in feisty:
 If your sound card is an ATI SB450 in a toshiba laptop like mine which  
 used to work in edgy but not in feisty anymore, here is the solution  
 given to me on the alsa-devel ML:
 Code:
 
 sudo rmmod snd-hda-intel
 sudo modprobe snd-hda-intel probe_mask=8 model=auto
 
 It worked for me. The probe_mask param allows the correct discovery of  
 the sound codec, which otherwise is masked by the modem.
 if it does the job for you, make it permanent by adding options  
 snd-hda-intel probe_mask=8 model=auto at the end of  
 /etc/modprobe.d/alsa-base
 Let me know if it works for you.
 
 For reference:
 Code:
 
 lspci -nnv -s 00:14.2
 00:14.2 Audio device [0403]: ATI Technologies Inc SB450 HDA Audio  
 [1002:437b] (rev 01)
  Subsystem: Toshiba America Info Systems Unknown device [1179:ff10]
  Flags: bus master, slow devsel, latency 64, IRQ 19
  Memory at d050 (64-bit, non-prefetchable) [size=16K]
  Capabilities: access denied
 
 geez manyou're a genius got it working in no timenow I can  
 listen to my Sasha and Digweed as much as I want ) Thanksowe u one
 
 ===
 
Thank you I will try it and see. The point is my audio was working in
7.04. It stopped when I changed the kernel from 2.6.20 to 2.6 17.

Norman


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman
 big snip 

 You will need to be root to execute the modprobe and rmmod commands,  
 so open a command line and type
 
 sudo su -
 
 followed by your normal user password.

Why sudo su - I thought that sudo by itself was root. I did what I
thought was right and got this:-

[EMAIL PROTECTED]:~$ sudo rmmod snd-hda-intel
Password:
ERROR: Module snd_hda_intel is in use
[EMAIL PROTECTED]:~$ sudo modprobe snd-hda-intel probe_mask=8 model=auto
[EMAIL PROTECTED]:~$ 

However, there was still no audio.

Norman






-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Andy
On 23/05/07, norman [EMAIL PROTECTED] wrote:
 Why sudo su - I thought that sudo by itself was root.
The su puts you in a super user shell.
You can execute that command first and then execute a several commands
without the need to prefix the others with sudo.

I think sudo is more advisable for some reason though.

 I did what I
 thought was right and got this:-

 [EMAIL PROTECTED]:~$ sudo rmmod snd-hda-intel
 Password:
 ERROR: Module snd_hda_intel is in use

That would be a problem
There's probably a better way of doing this but could you type:
lsmod | grep -i 'snd-hda-intel'

should be able to see what is using it.
Modprobe doesn't seem to want to let it be unloaded for some reason.

Andy

-- 
First they ignore you
then they laugh at you
then they fight you
then you win.
- Mohandas Gandhi

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman

 That would be a problem
 There's probably a better way of doing this but could you type:
 lsmod | grep -i 'snd-hda-intel'
 
 should be able to see what is using it.
 Modprobe doesn't seem to want to let it be unloaded for some reason.

Did that and got this:-

[EMAIL PROTECTED]:~$ lsmod | grep -i 'snd-hda-intel'
[EMAIL PROTECTED]:~$ 

Norman




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Robert McWilliam
On Wed, 23 May 2007 20:04:51 +0100
Andy [EMAIL PROTECTED] wrote:

 On 23/05/07, norman [EMAIL PROTECTED] wrote:
  Why sudo su - I thought that sudo by itself was root.
 The su puts you in a super user shell.
 You can execute that command first and then execute a several commands
 without the need to prefix the others with sudo.
 
 I think sudo is more advisable for some reason though.
 

sudo has better security and logging features than su (though these
don't matter as much on a desktop system where there is only 1 admin
and they have complete access). If you want an interactive session
using sudo you can use 'sudo -i'. The commands still go through sudo so
you get the finer grained security model and improved logging but don't
need the sudo in front of everything that needs escalated privileges.
Remember to exit when you're done :)

Robert


Robert McWilliam [EMAIL PROTECTED]www.ormiret.com

Who is General Failure? And why is he reading my hard disk?

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread Andy
On 23/05/07, norman [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED]:~$ lsmod | grep -i 'snd-hda-intel'
 [EMAIL PROTECTED]:~$

That means there where no matches in lsmod, probably due to me being a
bit stupid and forgetting that it should be _ not -, oops sorry.

try:
lsmod | grep -i 'snd_hda_intel'

failing that try:
lsmod | grep -i 'snd'
(may be somewhat longer

Andy

-- 
First they ignore you
then they laugh at you
then they fight you
then you win.
- Mohandas Gandhi

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] technical question

2007-05-23 Thread norman

 lsmod | grep -i 'snd_hda_intel'
 
 failing that try:
 lsmod | grep -i 'snd'
 (may be somewhat longer

Is this enough?

[EMAIL PROTECTED]:~$ lsmod | grep -i 'snd_hda_intel'
snd_hda_intel  20116  1 
snd_hda_codec 164608  1 snd_hda_intel
snd_pcm84612  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd58372  12
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 11400  2 snd_hda_intel,snd_pcm
[EMAIL PROTECTED]:~$ 




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/