You are not logged in.

#1 2015-02-13 19:03:23

porphyry5
Member
Registered: 2014-06-04
Posts: 88

[SOLVED] Virus on linux? Actually a sound card problem

I have 2 acer c720 chromebooks, and keep my home directory on a usb stick so that I can conveniently switch from one laptop to the other.  A few days ago I updated one of them to the current arch.  On completion I found that I had no sound.

In alsamixer I found that my sound card was no longer the default selection, but was shown by <F6> to be at index number 2.  So I changed /etc/modprobe.d/alsa.conf to

options snd_hda_intel index=2

and all was well.

Except... the next time I started the machine, again the sound did not work, and alsamixer now showed my soundcard at index 1.  So I changed /etc/modprobe.d/alsa.conf back again and all was well, until I restarted the machine and found that again the sound was out.  So every time I start the machine I must chage /etc/modprobe.d/alsa.conf.

That's bad enough, but I soon found that the problem had spread to the other laptop.  The only connection between them is the usb stick containing my home directory.  I have not updated the system on the 2nd laptop.

The only time I use the internet as root is when I use pacman.

Has anyone else experienced this andor have any suggestions as to how to deal with it

Last edited by porphyry5 (2015-02-14 17:36:14)

Offline

#2 2015-02-13 19:13:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

Look at the pacman log for both machines. I would be surprised if a virus was targetting your alsa.conf...


Not a Sysadmin issue, moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-02-13 19:15:00

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] Virus on linux? Actually a sound card problem

Can you try and boot your chromebooks without the usb stick? It could be that the stick registers itself as a soundcard, maybe because of the BADusb hack.
Edit: It is a very unlikely scenario, though.

Last edited by progandy (2015-02-13 19:20:31)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2015-02-13 19:22:42

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: [SOLVED] Virus on linux? Actually a sound card problem

USB sticks wear down after so many writes, so this isn't really a good idea.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2015-02-13 20:48:24

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

porphyry5 wrote:

In alsamixer I found that my sound card was no longer the default selection, but was shown by <F6> to be at index number 2.  So I changed /etc/modprobe.d/alsa.conf to

options snd_hda_intel index=2

and all was well.

Except... the next time I started the machine, again the sound did not work, and alsamixer now showed my soundcard at index 1.  So I changed /etc/modprobe.d/alsa.conf back again and all was well, until I restarted the machine and found that again the sound was out.  So every time I start the machine I must chage /etc/modprobe.d/alsa.conf.

You are supposed to set the desired card to "index=0" -- the indices can change from boot to boot (as you have found): this is entirely normal.
https://wiki.archlinux.org/index.php/Ad … sound_card


Jin, Jîyan, Azadî

Offline

#6 2015-02-13 20:56:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

porphyry5, as Head_on_a_Stick points out this is well covered in our wiki as well as much more in depth on the alsa project's wiki.  It is fine to ask about something  covered in the wiki's if your search didn't lead you to what you needed - but in the future, keep your thread titles focused on the actual problem not your flailing-for-explanation interpretation.  If for no other reason you will look much less foolish when the suspected virus is just one major PEBKAC.

A more important reason, however, is that the current title of this thread is less than useless.  No one with a similar problem would be attracted to this thread.  No one particularly versed in alsa configuration would be attracted to this thread.  People who know security and about actual potential viruses *might* be attracted to this thread ... and you'll have wasted their time.  The only other people attracted to the current title would be FUD spreaders and trolls.  (Oh, and mods and admins looking for a reason to Bin it.  I'm still tempted).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2015-02-13 20:57:58

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

...also, I'd recommend changing the title of your thread (by clicking the "Edit" button on your original post) from "Virus on linux?" to something a little more related to the actual problem. tongue

(Edit: Oops! Sorry, I didn't realize Trilby mentioned the same thing. I didn't mean to repeat it!)

Last edited by drcouzelis (2015-02-13 20:58:50)

Offline

#8 2015-02-14 17:16:40

porphyry5
Member
Registered: 2014-06-04
Posts: 88

Re: [SOLVED] Virus on linux? Actually a sound card problem

Head_on_a_Stick wrote:

You are supposed to set the desired card to "index=0" -- the indices can change from boot to boot (as you have found): this is entirely normal.
https://wiki.archlinux.org/index.php/Ad … sound_card

Many thanks, this is working through 3 reboots.  And a double thank-you, I believe this is the second time you have dug me out of a hole.

Offline

#9 2015-02-14 17:22:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

You're welcome (twice) smile

Please mark the thread as [SOLVED] for the benefit of other users.


Jin, Jîyan, Azadî

Offline

#10 2015-02-14 17:32:58

porphyry5
Member
Registered: 2014-06-04
Posts: 88

Re: [SOLVED] Virus on linux? Actually a sound card problem

Trilby wrote:

porphyry5, as Head_on_a_Stick points out this is well covered in our wiki as well as much more in depth on the alsa project's wiki.  It is fine to ask about something  covered in the wiki's if your search didn't lead you to what you needed - but in the future, keep your thread titles focused on the actual problem not your flailing-for-explanation interpretation.  If for no other reason you will look much less foolish when the suspected virus is just one major PEBKAC.

A more important reason, however, is that the current title of this thread is less than useless.  No one with a similar problem would be attracted to this thread.  No one particularly versed in alsa configuration would be attracted to this thread.  People who know security and about actual potential viruses *might* be attracted to this thread ... and you'll have wasted their time.  The only other people attracted to the current title would be FUD spreaders and trolls.  (Oh, and mods and admins looking for a reason to Bin it.  I'm still tempted).

Perhaps a little more information would show that my choice of title is not as inappropriate as it may seem.  I followed it with a '?' to indicate I was guessing it to be a virus.  I did not state it as a sound card error as I found it incredible that a setup that had been working quite uneventfully for almost a year should suddenly fail without my having made any change to the system.

But I do take your point, the title should pertain to whatever is involved with the problem, for the sake of those who come after.

Offline

#11 2015-02-14 21:42:37

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: [SOLVED] Virus on linux? Actually a sound card problem

If everyone with sound problems on Linux would have a virus, the total would exceed that of all infected Windows users wink


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#12 2015-02-14 22:20:03

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [SOLVED] Virus on linux? Actually a sound card problem

The title is inappropriate.  It doesn't describe the issue, attract the right resources to help, and it doesn't help index the problem/solution in this thread for the next person.  A guess can be appropriate as long as you satisfy those conditions.  This is the same reason why we don't see titles like "Global warming???" for a cpu temp related issue.

Offline

Board footer

Powered by FluxBB