Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-12 Thread Yohan Pereira
On Sunday 13 Feb 2011 05:15:35 AM Walter Dnes wrote:
>   Has anybody gotten an internal microphone on any Acer laptop working?
> My Google searches have found a couple of references to "it works out of
> the box" under some versions of Ubuntu, but no technical details, which
> doesn't really help.  Here are a few snippets from alsa-info...

did you add alsasound to the boot process?

i went 6 months trying to figure out what was wrong with my microphone until i 
realised that i forgot to do that!

also unmute the microphones using alsamixer (in alsa-utils) like Hung 
sugested.

-- 

- Yohan Pereira

"A man can do as he will, but not will as he will" - Schopenhauer


[gentoo-user] TS (transport stream) files: how to strip anything unwanted?

2011-02-12 Thread meino . cramer
Hi,

from recording from my dvbt-card I have some ts-files (transport
stream). 

To save space AND quality, I want to strip anything from those files,
which is not wanted: anything, which is neither audio nor video. But
I dont want to reencode audio and video for that.

How can I do that? 

Thank you very much for any help in advance!
Have a nice weekend!
Best regards,
mcc





Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-12 Thread Hung Dang
I guest you may need to play around with the mixer (KDE,GNOME) or
alsamixer to enable internal microphone. I have to enable
recording/capture in GNOME volume applet to make the internal microphone
worked on my D630.

Hope this help,
Hung

On 02/12/11 18:45, Walter Dnes wrote:
>   I got an Acer Aspire 4551-2728 earlier this year, and now I have some
> spare time on my hands, and I've got it almost 100% functional under 64
> bit Gentoo linux.  The networking was dead easy, as was the video (once
> I was pointed to the instructions).  The webcam took some digging, but
> I figured it out, with "Mr. Google's" help.  The last item that doesn't
> work yet is the internal microphone.
>
>   Has anybody gotten an internal microphone on any Acer laptop working?
> My Google searches have found a couple of references to "it works out of
> the box" under some versions of Ubuntu, but no technical details, which
> doesn't really help.  Here are a few snippets from alsa-info...
>
> !!DMI Information
> !!---
> Manufacturer:  Acer
> Product Name:  Aspire 4551
>
>
> !!Kernel Information
> !!--
> Kernel release:2.6.36-gentoo-r5
> Operating System:  GNU/Linux
> Architecture:  x86_64
> Processor: AMD Athlon(tm) II P320 Dual-Core Processor
> SMP Enabled:   Yes
>
> !!Soundcards recognised by ALSA
> !!-
>  0 [SB ]: HDA-Intel - HDA ATI SB
>   HDA ATI SB at 0xd040 irq 16
>  1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
>   HDA ATI HDMI at 0xd011 irq 19
>
>
> !!PCI Soundcards installed in the system
> !!--
> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
> 01:05.1 Audio device: ATI Technologies Inc Device 970f
>
>
> !!Advanced information - PCI Vendor/Device/Susbsystem ID's
> !!
> 00:14.2 0403: 1002:4383 (rev 40)
>   Subsystem: 1025:0372
> --
> 01:05.1 0403: 1002:970f
>   Subsystem: 1025:0372
>
> !!HDA-Intel Codec information
> !!---
> --startcollapse--
> Codec: Realtek ALC272X
> Address: 0
> AFG Function Id: 0x1 (unsol 1)
> Vendor Id: 0x10ec0272
> Subsystem Id: 0x10250372
> Revision Id: 0x11
>
> !!Aplay/Arecord output
> !!
>
> APLAY
>
>  List of PLAYBACK Hardware Devices 
> card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>
> ARECORD
>
>  List of CAPTURE Hardware Devices 
> card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>




[gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-12 Thread Walter Dnes
  I got an Acer Aspire 4551-2728 earlier this year, and now I have some
spare time on my hands, and I've got it almost 100% functional under 64
bit Gentoo linux.  The networking was dead easy, as was the video (once
I was pointed to the instructions).  The webcam took some digging, but
I figured it out, with "Mr. Google's" help.  The last item that doesn't
work yet is the internal microphone.

  Has anybody gotten an internal microphone on any Acer laptop working?
My Google searches have found a couple of references to "it works out of
the box" under some versions of Ubuntu, but no technical details, which
doesn't really help.  Here are a few snippets from alsa-info...

!!DMI Information
!!---
Manufacturer:  Acer
Product Name:  Aspire 4551


!!Kernel Information
!!--
Kernel release:2.6.36-gentoo-r5
Operating System:  GNU/Linux
Architecture:  x86_64
Processor: AMD Athlon(tm) II P320 Dual-Core Processor
SMP Enabled:   Yes

!!Soundcards recognised by ALSA
!!-
 0 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xd040 irq 16
 1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
  HDA ATI HDMI at 0xd011 irq 19


!!PCI Soundcards installed in the system
!!--
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
01:05.1 Audio device: ATI Technologies Inc Device 970f


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!
00:14.2 0403: 1002:4383 (rev 40)
  Subsystem: 1025:0372
--
01:05.1 0403: 1002:970f
  Subsystem: 1025:0372

!!HDA-Intel Codec information
!!---
--startcollapse--
Codec: Realtek ALC272X
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0272
Subsystem Id: 0x10250372
Revision Id: 0x11

!!Aplay/Arecord output
!!

APLAY

 List of PLAYBACK Hardware Devices 
card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

 List of CAPTURE Hardware Devices 
card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-- 
Walter Dnes 



Re: [OT] Re: [gentoo-user] Avoiding HAL

2011-02-12 Thread Peter Humphrey
On Saturday 12 February 2011 21:53:36 Keith Dart wrote:

> Well then, I would use this as an excuse to get a nice new system. ;-)

Nice idea. It's only a year old though, and I could hardly justify the 
expense then.

Thanks anyway.


-- 
Rgds
Peter



Re: [OT] Re: [gentoo-user] Avoiding HAL

2011-02-12 Thread Keith Dart
=== On Sat, 02/12, Peter Humphrey wrote: ===
> That was the obvious first step.

===

Well then, I would use this as an excuse to get a nice new system. ;-)


-- Keith Dart

-- 

-- ~
   Keith Dart 
   public key: ID: 19017044
   
   =



Re: [gentoo-user] Re: For net-print/hplip users

2011-02-12 Thread Daniel Pielmeier
walt schrieb am 12.02.2011 19:47:
> On 02/11/2011 06:47 PM, Daniel Pielmeier wrote:
>>
>>  From the hplip ebuild:
>>
>> elog "You should run hp-setup as root if you are installing hplip for
>> the first time,"
>> elog "and may also need to run it if you are upgrading from an earlier
>> version."
> 
> Yes, I saw that, and I *did* re-run hp-setup.  But I didn't delete the
> existing cups printers, thinking it wouldn't be necessary.  But it was :/

Well this is the purpose of hp-setup, adding or deleting printers.

Run "hp-setup -r" then you can select the printer you want to delete.
Afterwards run "hp-setup" without options to add them again.

But you are right the message should be more verbose.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: For net-print/hplip users

2011-02-12 Thread walt

On 02/11/2011 06:47 PM, Daniel Pielmeier wrote:

walt schrieb am 12.02.2011 00:15:

I've just spent an annoying two days trying to un-break my HP
multifunction printer/fax/scanner, and I hope I can spare some of
you the same trouble.

My symptoms were that I couldn't send a fax using hp-sendfax, which
has been working very well for years -- until now.

After much floundering I finally tried deleting my existing cups
printers and allowing hp-setup to create new ones.  All better now
:)

There may be more than one way to delete cups printers, I dunno, but
I used the cups http interface by typing 'http://localhost:631' in my
firefox URL bar (cupsd must be running for this to work).


 From the hplip ebuild:

elog "You should run hp-setup as root if you are installing hplip for
the first time,"
elog "and may also need to run it if you are upgrading from an earlier
version."


Yes, I saw that, and I *did* re-run hp-setup.  But I didn't delete the
existing cups printers, thinking it wouldn't be necessary.  But it was :/





Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer
Etaoin Shrdlu  [11-02-12 14:36]:
> On Sat, 12 Feb 2011 14:11:20 +0100
> meino.cra...@gmx.de wrote:
> 
> > Alan McKinnon  [11-02-12 13:44]:
> > > Apparently, though unproven, at 13:25 on Saturday 12 February 2011, 
> > > meino.cra...@gmx.de did opine thusly:
> > > 
> > > > Hi,
> > > > 
> > > >  I am trying to instruct sed to insert a line of text before
> > > >  a matched line. The whole command should fit into one
> > > >  physical (command) line.
> > > > 
> > > >  Is it possible? And how is it possible?
> > > > 
> > > >  Thank you very much for any hint in advance!
> > > >  Best regards,
> > > >  mcc
> > > 
> > > 
> > > There's nothing special about a line, it's just a bunch of characters
> > > that end with a newline (itself just a character).
> > > 
> > > But you can't insert stuff at arbitrary points, you can only replace
> > > stuff with other stuff. You can replace the start of line marker (^),
> > > so do this:
> > > 
> > > $ cat sed.txt 
> > > 1
> > > 2
> > > $ cat sed.txt | sed -e 's/^/a\n/g'
> > > a
> > > 1
> > > a
> > > 2
> > > 
> > > I replaced "start of line" with "a and a newline". Modify the regex to
> > > suit your needs. This gets awkward though, as you can search with a
> > > regex but only replace a literal. If you need to insert some line
> > > before any line containing say a "z" for example, then that is way
> > > beyond sed's capabilities and you are into awk|perl territory.
> > > 
> > > You didn't clearly state what you are trying to do with examples, so
> > > the above vague wishy-washy goop is the best I can do for you.
> > > 
> > > 
> > > -- 
> > > alan dot mckinnon at gmail dot com
> > > 
> > 
> > Hi,
> > 
> > I update my MakeHuman svn source and the Blender svn source on a daily
> > basis. Currently the Blender folks did a change in the registration
> > code for Blender scripts. The MakeHuman folks provide a script, which
> > is needed to load the putput of MakeHuman into Blender. This script
> > isn't "new registration ready".
> > 
> > I have to do the following the changes to the Makehuman script (a
> > handfull):
> > 
> > change this: ===
> > def registration()
> > 

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
On Sat, 12 Feb 2011 14:11:20 +0100
meino.cra...@gmx.de wrote:

> Alan McKinnon  [11-02-12 13:44]:
> > Apparently, though unproven, at 13:25 on Saturday 12 February 2011, 
> > meino.cra...@gmx.de did opine thusly:
> > 
> > > Hi,
> > > 
> > >  I am trying to instruct sed to insert a line of text before
> > >  a matched line. The whole command should fit into one
> > >  physical (command) line.
> > > 
> > >  Is it possible? And how is it possible?
> > > 
> > >  Thank you very much for any hint in advance!
> > >  Best regards,
> > >  mcc
> > 
> > 
> > There's nothing special about a line, it's just a bunch of characters
> > that end with a newline (itself just a character).
> > 
> > But you can't insert stuff at arbitrary points, you can only replace
> > stuff with other stuff. You can replace the start of line marker (^),
> > so do this:
> > 
> > $ cat sed.txt 
> > 1
> > 2
> > $ cat sed.txt | sed -e 's/^/a\n/g'
> > a
> > 1
> > a
> > 2
> > 
> > I replaced "start of line" with "a and a newline". Modify the regex to
> > suit your needs. This gets awkward though, as you can search with a
> > regex but only replace a literal. If you need to insert some line
> > before any line containing say a "z" for example, then that is way
> > beyond sed's capabilities and you are into awk|perl territory.
> > 
> > You didn't clearly state what you are trying to do with examples, so
> > the above vague wishy-washy goop is the best I can do for you.
> > 
> > 
> > -- 
> > alan dot mckinnon at gmail dot com
> > 
> 
> Hi,
> 
> I update my MakeHuman svn source and the Blender svn source on a daily
> basis. Currently the Blender folks did a change in the registration
> code for Blender scripts. The MakeHuman folks provide a script, which
> is needed to load the putput of MakeHuman into Blender. This script
> isn't "new registration ready".
> 
> I have to do the following the changes to the Makehuman script (a
> handfull):
> 
> change this: ===
> def registration()
> 

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer
Alan McKinnon  [11-02-12 13:44]:
> Apparently, though unproven, at 13:25 on Saturday 12 February 2011, 
> meino.cra...@gmx.de did opine thusly:
> 
> > Hi,
> > 
> >  I am trying to instruct sed to insert a line of text before
> >  a matched line. The whole command should fit into one
> >  physical (command) line.
> > 
> >  Is it possible? And how is it possible?
> > 
> >  Thank you very much for any hint in advance!
> >  Best regards,
> >  mcc
> 
> 
> There's nothing special about a line, it's just a bunch of characters that 
> end 
> with a newline (itself just a character).
> 
> But you can't insert stuff at arbitrary points, you can only replace stuff 
> with other stuff. You can replace the start of line marker (^), so do this:
> 
> $ cat sed.txt 
> 1
> 2
> $ cat sed.txt | sed -e 's/^/a\n/g'
> a
> 1
> a
> 2
> 
> I replaced "start of line" with "a and a newline". Modify the regex to suit 
> your needs. This gets awkward though, as you can search with a regex but only 
> replace a literal. If you need to insert some line before any line containing 
> say a "z" for example, then that is way beyond sed's capabilities and you are 
> into awk|perl territory.
> 
> You didn't clearly state what you are trying to do with examples, so the 
> above 
> vague wishy-washy goop is the best I can do for you.
> 
> 
> -- 
> alan dot mckinnon at gmail dot com
> 

Hi,

I update my MakeHuman svn source and the Blender svn source on a daily
basis. Currently the Blender folks did a change in the registration
code for Blender scripts. The MakeHuman folks provide a script, which
is needed to load the putput of MakeHuman into Blender. This script
isn't "new registration ready".

I have to do the following the changes to the Makehuman script (a
handfull):

change this: ===
def registration()

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
On Sat, 12 Feb 2011 12:25:20 +0100 meino.cra...@gmx.de wrote:

> Hi,
> 
>  I am trying to instruct sed to insert a line of text before 
>  a matched line. The whole command should fit into one 
>  physical (command) line.
> 
>  Is it possible? And how is it possible?

sed 's/matchingline/insertedline\n&/'



Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread dhk
On 02/12/2011 06:25 AM, meino.cra...@gmx.de wrote:
> 
> Hi,
> 
>  I am trying to instruct sed to insert a line of text before 
>  a matched line. The whole command should fit into one 
>  physical (command) line.
> 
>  Is it possible? And how is it possible?
> 
>  Thank you very much for any hint in advance!
>  Best regards,
>  mcc
> 
> 
> 

Try the ampersand "&" like the example below.

Make a file of phone numbers.
$ cat phone.txt
555-1212
555-1234
555-

Then run the following command to prefix the number with 212 and a dash.
$ sed 's/555/212-&/' phone.txt
212-555-1212
212-555-1234
212-555-

Try moving the ampersand around the replacement string.  If moved to the
beginning it transposes the numbers.  Note:  The dash was moved to make
the result look better, it has nothing to do with the command.
$ sed 's/555/&-212/' phone.txt
555-212-1212
555-212-1234
555-212-






Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Alan McKinnon
Apparently, though unproven, at 13:25 on Saturday 12 February 2011, 
meino.cra...@gmx.de did opine thusly:

> Hi,
> 
>  I am trying to instruct sed to insert a line of text before
>  a matched line. The whole command should fit into one
>  physical (command) line.
> 
>  Is it possible? And how is it possible?
> 
>  Thank you very much for any hint in advance!
>  Best regards,
>  mcc


There's nothing special about a line, it's just a bunch of characters that end 
with a newline (itself just a character).

But you can't insert stuff at arbitrary points, you can only replace stuff 
with other stuff. You can replace the start of line marker (^), so do this:

$ cat sed.txt 
1
2
$ cat sed.txt | sed -e 's/^/a\n/g'
a
1
a
2

I replaced "start of line" with "a and a newline". Modify the regex to suit 
your needs. This gets awkward though, as you can search with a regex but only 
replace a literal. If you need to insert some line before any line containing 
say a "z" for example, then that is way beyond sed's capabilities and you are 
into awk|perl territory.

You didn't clearly state what you are trying to do with examples, so the above 
vague wishy-washy goop is the best I can do for you.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer

Hi,

 I am trying to instruct sed to insert a line of text before 
 a matched line. The whole command should fit into one 
 physical (command) line.

 Is it possible? And how is it possible?

 Thank you very much for any hint in advance!
 Best regards,
 mcc




Re: [OT] Re: [gentoo-user] Avoiding HAL

2011-02-12 Thread Peter Humphrey
On Saturday 12 February 2011 01:39:44 Keith Dart wrote:

> Start by resetting to all defaults.. ;-)

That was the obvious first step.

> Many motherboards these days support "unsafe" settings (overclocking,
> etc.)

Yes, this one does, but I've never used them.

> if you haven't already.

I have, as you see.