Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI

2015-03-24 Thread Eric Sharkey
On Tue, Mar 24, 2015 at 11:57 AM, James Allsopp
 wrote:
> How would I go about checking those?

On the command line, "alsamixer" will give you an ncurses based mixer
panel.  If your outputs are muted or have 0% volume, you won't get
sound.

You can uninstall pulseaudio with:

sudo dpkg --remove pulseaudio

(You can always install it again if you want to.)  If your audio works
with pulseaudio uninstalled, but fails with it installed, then you'll
know you have a pulseaudio problem.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac73ar0wb_11rpftphcw6qhg3p1ozd8nb6sthyxtlaqj189...@mail.gmail.com



Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI

2015-03-24 Thread Eric Sharkey
On Mon, Mar 23, 2015 at 6:31 PM, James Allsopp
 wrote:
> Sorry, didn't make myself clear, the sound card is an intel hda onboard and
> there's a small cable which takes this from the motherboard to the nvidia
> graphics card, which then connects to the HDMI cable.
[]
>
> I've installed the nvidia drivers

With cards like that, the drivers aren't involved and there is no
software configuration required for the graphics card.  The hardware
takes any signal it receives on the SPDIF input and sends it to the
HDMI output.  If your hardware is working, whatever problem you're
having is getting sound out of your SPDIF output on the Intel sound
card and not related to anything nvidia or hdmi.

Have you checked your mixer settings?  Does it work without pulse audio?

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR1TvYV85SKmz6N-NCkZG_jLvnDY7sjOY=bipsnf4q1...@mail.gmail.com



Re: No sound in Wheezy; Pulse audio through Nvidia graphics card to HDMI

2015-03-23 Thread Eric Sharkey
On Mon, Mar 23, 2015 at 9:41 AM, James Allsopp
 wrote:
> Hi,
> Just reinstalled debian and are having lots of problems getting the sound to
> work through HDMI. I had it working but now it has just stopped. I'm
> watching the screen through the same HDMI so I presume hardware is good.

What kind of hardware is it?  You've said "nvidia" but not which model.


> Here's my setup as described by aplay;
> james@Hawaiian:~$ aplay -L

The fact that aplay -L never mentions "NVidia" in the CARD= sections
should tell you that you have a problem.

Does your kernel see an audio device associated with your card?  It
should look something like this in lspci:

eddie% lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce
GT 640] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)

Whatever you have for your PCI IDs for your graphics card, there
should be a .1 device for the Audio Controller portion.

If you don't see that, you may have an older card that doesn't support
directing audio to HDMI with software.  The older cards typically
require a wire to connect the SPDIF output from the motherboard (or
other) sound card to an SPDIF input on the graphics card.  If you have
that kind of card, check your cabling.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR2ST7vFcYB6gt19QNST+z8+aC7sREF=hbjrdpgn98e...@mail.gmail.com



Re: Bash

2014-11-14 Thread Eric Sharkey
On Fri, Nov 14, 2014 at 3:45 PM, Gokan Atmaca  wrote:
> I want to conditionally output from the bash command. for example
>
> telnet localhost 25
> 220 localhost.localdomain ESMTP Postfix
>
> #! / bin / bash
> COMMAND = `telnet localhost 25`
> if ["$ COMMAND" == "220 localhost.localdomain ESMTP Postfix"]
> echo "postfix ok"
> else
> echo "postfix error"
>

You might have better luck with netcat (nc).  Something like:

COMMAND=`nc localhost 25 | head -1l`

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac73ar16zzgs5ur6jbhq0+rduiqjg5opdelgnczvi11u0zr...@mail.gmail.com



Re: Multiple desktops in lightdm?

2014-11-07 Thread Eric Sharkey
On Fri, Nov 7, 2014 at 5:34 AM, Brian  wrote:
> On Thu 06 Nov 2014 at 12:49:45 -0500, Eric Sharkey wrote:
>
>> On Thu, Nov 6, 2014 at 4:14 AM, Andrei POPESCU  
>> wrote:
>> >
>> > A different method to achieve the same thing would be to use Ctrl-Alt-Fx
>> > to switch to a console, login and start another X instance with
>> >
>> > startx -- :1
>>
>> You don't even need the "-- :1" any more.  startx is now smart enough
>> to find an unused display on its own.
>
> Nowadays (testing/unstable) a simple 'startx' doesn't even have to hunt
> around for an unused display because it will always bring X up on the
> tty it is started from.

A display and a tty aren't quite the same thing.  It still has to
figure out what display (what you see when you run "echo $DISPLAY") to
use.

And starting up X on the text tty is really awful in my opinion.  I
liked it much better when 1-6 was reserved for text and 7-12 for
graphics.  How do you even see console messages now?

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR1AsD4hbNUOYew9-zdW2HgG93=5mekfbfo2phacayo...@mail.gmail.com



Re: Multiple desktops in lightdm?

2014-11-06 Thread Eric Sharkey
On Thu, Nov 6, 2014 at 4:14 AM, Andrei POPESCU  wrote:
> On Jo, 06 nov 14, 03:58:13, Hendrik Boom wrote:
>>
>> I want to be able to log on multiple times, simultaneously, to the same
>> machine, with the same physical keyboard and boutse and screen, but with
>> different user ids.  So that when I'm logged in as myself, and my friend
>> comes by who wants to use the machine for a minute, I can let him log in
>> as another, independent user, without me having to log out first.
>
> This is usually called "switch user". A quick web search seems to
> indicate lightdm might be able to support it, but can't help any
> further. As far as I understand gdm+Gnome should be able to do it.
>
> A different method to achieve the same thing would be to use Ctrl-Alt-Fx
> to switch to a console, login and start another X instance with
>
> startx -- :1

You don't even need the "-- :1" any more.  startx is now smart enough
to find an unused display on its own.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR2wgcGmMZ+C0V5x-2a8Yzc2tqbRsf+FgFKXGpKKPA=g...@mail.gmail.com



Re: Camera SD card mounting problems (defined by systemd)

2014-11-03 Thread Eric Sharkey
On Mon, Nov 3, 2014 at 1:32 PM, Charles Kroeger
 wrote:
> On Mon, 03 Nov 2014 17:30:02 +0100
> Peter Nieman  wrote:
>
>> no one has mentioned autofs in this thread
>
> No, but I will put it in my list of options for /etc/fstab entry.

autofs isn't an option for /etc/fstab, it's a completely separate way
to specify mounts.  For something like an sd card, you would add it to
something like /etc/auto.misc instead of /etc/fstab.  autofs
filesystems are not mounted at boot time, but dynamically, when an
application tries to access the contents of the mount point.

For example, I have this in /etc/autofs.misc:

sdcard  -fstype=vfat,gid=video,umask=002
:/dev/disk/by-id/usb-Generic-_SD_MMC_2006041309210-0\:2-part1

and my sdcards are automatically mounted by attempting to read the
contents of /var/autofs/misc/sdcard/.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR25cvUia7r52Uyq5Z11r3gfhTkHfCpBu_r4sF=qfpf...@mail.gmail.com



Re: Jessie: Weekly or Beta?

2014-10-27 Thread Eric Sharkey
On Mon, Oct 27, 2014 at 2:25 PM, softwatt  wrote:
> On 10/27/2014 07:53 PM, Jochen Spieker wrote:> I'd just try the most
> current daily build. I expect it to work
>> for most cases.
>
> On 10/27/2014 07:56 PM, Eric Sharkey wrote:
>> If you want to try it out, the latest named
>> beta release is probably the next best.
>
>
> Those are two conflicting opinions, and that's exactly my dilemma. Both
> claims have a reasonable rationale behind them, but which one is right
> in practice?

It's kind of like asking which size shirt should you buy: small,
medium, or large?  Which one is right depends a lot on who you are.

I run unstable at home, but I've been using Debian for 19 years and
feel confident in my abilities to handle any breakage, at least well
enough to get the machine to hobble along, and if not, it's not the
end of the world.  It's not an enterprise production environment.
What's right for me in my environment might not be right for you in
yours.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cac73ar0wcov48wuzgk3sgr66_qagnomdyop9bmmj-kwqpy_...@mail.gmail.com



Re: Jessie: Weekly or Beta?

2014-10-27 Thread Eric Sharkey
On Mon, Oct 27, 2014 at 1:53 PM, Jochen Spieker  wrote:
> | If you read only one document before installing, read our Installation
> | Howto, a quick walkthrough of the installation process.
> http://d-i.debian.org/manual/en.i386/apa.html
>
> It mentions four installation methods.

That's four different methods to boot the normal Debian installer, not
four different installers.

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR2jybApkohh3cz2Suo9Q53pG6VP=zexcjsgr3hyzib...@mail.gmail.com



Re: Jessie: Weekly or Beta?

2014-10-27 Thread Eric Sharkey
On Mon, Oct 27, 2014 at 1:24 PM, softwatt  wrote:
> I am interesting in using Jessie.
> The Debian page at https://www.debian.org/devel/debian-installer/
> presents me with 4 ISO's: Beta 1, Beta 2, Weekly, Daily.
>
> When it comes to stability, which one is the best?

If you're concerned about stability, you may be best off sticking with
the official releases.  If you want to try it out, the latest named
beta release is probably the next best.  You should only use the
snapshot releases if you're confident you can fix any problems you may
encounter.  (Probably the same applies to the beta releases as well.)

> Also, a sub question: the following line confuses me: "Installing with
> the Debian-Installer". I am assuming the "installer" is the bootable ISO
> file. The title seems to imply there are other ways to install Debian.
> are there?

Sure.  There are things like debootstrap which don't use the installer.

https://wiki.debian.org/Debootstrap

Eric


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAC73aR27YciS1XoW_o0j1nd=q3pu9z5ozwnsyzk7s_mxiks...@mail.gmail.com



Re: X screen shifts right !!.

2003-04-01 Thread Eric Sharkey
> Sounds like it's the monitor being too clever for it's own good.
> 
> Some monitors store positional settings per refresh rate.  It might be doing
> this and getting stuck between modes.
> 
> Try shifting the refresh higher or lower and see if it makes a difference.

No, this isn't the case.  Monitors have no idea where the cursor is.
They display the whole screen image.  It's impossible for the monitor
to cause a relative shift of the cursor to the windows/background.

Eric


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: I don't want sshd

2002-02-21 Thread Eric Sharkey
> Hi
> 
> On one of my Debian boxes, I need ssh, but no sshd. I especially don't want 
> to RUN sshd. I achieve this by stopping the daemon and removing all symlinks 
> to /etc/init.d/ssh in /etc/rc?.d/. However, every time ssh package gets 
> upgraded, I get those symlinks back and sshd restarted. To me, it is a 
> security concern, since unintended net services are run. Wouldn't it be 
> better to break ssh and sshd into two separate packages? Right know, at least 
> in Woody, sshd is part of ssh.

Why not configure sshd not to run the normal way?

dpkg-reconfigure ssh

When it asks "Do you want to run the sshd server" answer "no" instead of
"yes".

Eric



Re: Dual Processor machine

2001-12-11 Thread Eric Sharkey
> I have just install the Debian GNU/Linux 3.0 (testing/unstable)
> on a dual processor machine
> --I installed Debian GNU/Linux 2.2 on my laptop a few months ago.
> To have a nice login I have installed the `linuxlogo' package:
> according to the printed message, only one processor is identified.
> 
> How can we check that the two processor are detected ?

cat /proc/cpuinfo | grep "^processor" | wc -l


> Futhermore, I have created a swap file four times greater
> than the RAM of the machine (1Gb):
> my actual swap (checked with free) is half of my request (2Gb).
> 
> Do I miss something ?

 Compare with /proc/meminfo?

Eric