Re: [gentoo-user] Amarok segfault

2011-10-23 Thread Yohan Pereira
On Monday 24 Oct 2011 08:36:07 András Csányi wrote:
> Thank you very much! I'm going to do this way.
> If I make a file under /etc/portage/env/ directory, for example Amarok
> than in this file 

Under /etc/portage/env/ you need to make a directory with the category name 
and in that directory a file with the same name as the package that contains 
your custom stuff.ie /etc/portage// 

So for amarok(media-sound/amarok) your file would be /etc/portage/env/media-
sound/amarok
for kde-base/kdelibs it would be /etc/portage/env/kde-base/kdelibs

>I can redefine the compile options and features for
> a particular package?

yes just put your custom stuff in the appropriate file.


ps.
Also note theres another(probably more) way to do this, remeber seeing it 
mentioned in an old thread here. 




-- 

- Yohan Pereira

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

Re: [gentoo-user] Amarok segfault

2011-10-23 Thread András Csányi
On 24 October 2011 07:57, Yohan Pereira  wrote:

> Also if you dont want to do thos globbaly for all your packages you can make
> use of /etc/portage/env/.
>
> For example this is what i have for amarok in
>
> /etc/portage/env/media-sound/amarok
>
> CFLAGS="-march=core2 -O1 -g"
>
> CXXFLAGS="${CFLAGS}"
>
> FEATURES="splitdebug"
>
> also note when doing it this way, you will also have to do this for a few
> dependencies that amarok uses. The way i did it was, When dr konqi pops up
> after amarok crashes, it displays a list of files needed for a more usefull
> backtrace (in the developer information tab).Use equery to find out which
> packages those files belong to and add an entry in /etc/portage/env for
> them. After thats done rebuild those pacakges.

Thank you very much! I'm going to do this way.
If I make a file under /etc/portage/env/ directory, for example Amarok
than in this file I can redefine the compile options and features for
a particular package? Do I understand correctly?

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell



[gentoo-user] /etc/portage files and dirs?

2011-10-23 Thread Pandu Poluan
Anyone knows of an exhaustive documentation (with examples) for the files
and directories under /etc/portage ?

Rgds,


Re: [gentoo-user] Amarok segfault

2011-10-23 Thread Yohan Pereira
On Monday 24 Oct 2011 00:06:21 Alex Schuster wrote:
> András Csányi writes:
> > I'm an average Amarok user and experiencing a random segfault I
> > decided that I would like to report it. I know I have to recompile
> > Amarok with debug flag but I'm not sure it is enough. Can you tell me
> > what is needed more?
> 
> No, I think the debug USE flag has another purpose.
> You need to add '-gddb' to you CFLAGS in make.conf, and make sure that
> 'nostrip' or better 'splitdebug' is in your FEATURES list (the debug
> code added by -gddb would be stripped away if not). This will get you a
> useful backtrace in DrKonqui, if you are using KDE.
> 
> > By the way, these reports should be send for the
> > Amarok developers not gentoo guys, shouldn't they?
> 
> I would say so, but I'm not entirely sure. It's easier this way, but
> there's a slight chance that the problem is Gentoo-specific.
> 
>   Wonko

Also if you dont want to do thos globbaly for all your packages you can make 
use of /etc/portage/env/. 
For example this is what i have for amarok in 
/etc/portage/env/media-sound/amarok

CFLAGS="-march=core2 -O1 -g"
CXXFLAGS="${CFLAGS}"

FEATURES="splitdebug"

also note when doing it this way, you will also have to do this for a few 
dependencies that amarok uses. The way i did it was, When dr konqi pops up 
after amarok crashes, it displays a list of files needed for a more usefull 
backtrace (in the developer information tab).Use equery to find out which 
packages those files belong to and add an entry in /etc/portage/env for them. 
After thats done rebuild those pacakges. 


-- 

- Yohan Pereira

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

Re: [gentoo-user] Re: Can't enable effects in kde

2011-10-23 Thread Vishnupradeep
Mother Board : ASUS M2A-MX
Graphics Card: ATI 4350
Sound card: using on board audio

Help needed

On Sat, Oct 22, 2011 at 10:16 AM, Nikos Chantziaras  wrote:

> On 10/20/2011 12:20 PM, Vishnupradeep wrote:
>
>> I am new to gentoo.
>> Installed kde in gentoo. But i am unable to enable effects like. blur,
>> woobly etc.. why ?
>>
>
> We need to know what graphics card you have and what sound card.  You might
> also want to tell us what your computer's mainboard is (exact brand and
> model).  We can help you from there to configure your kernel and install the
> correct graphics drivers.
>
>
>


Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 06:45 PM, Neil Bothwick wrote:
> On Sun, 23 Oct 2011 17:35:45 -0400, Valmor de Almeida wrote:
>
>> I don't have net.eth0 (I deleted it per wicd installation instructions).
>> My other machines that use wicd do not have it either and they all work.
>> Don't seem to find the difference between what I have working and this
>> MacBook Pro I put Gentoo on wherein wicd will not work out of the box.
>
> Have you tried diffing /etc/wicd/wired-settings.conf from the working and
> non-working systems.
>
> Is eth0 actually present at this time?
>
>

On my wired machine that works out of the box I have:

[wired-default]
afterscript = None
use_static_dns = False
dhcphostname = lpt1
dns3 = None
postdisconnectscript = None
dns1 = None
search_domain = None
dns_domain = None
lastused = True
broadcast = None
default = 1
netmask = None
dns2 = None
beforescript = None
profilename = wired-default
predisconnectscript = None
ip = None
gateway = None
use_global_dns = False

On the machine I have to issue a manual dhcpcd eth0 I have:

[wired-default]
ip
broadcast
netmask
gateway
search_domain
dns_domain
dns1
dns2
dns3
beforescript
afterscript
predisconnectscript
postdisconnectscript
default = True
dhcphostname = mac1

Don't know whether the missing values make a difference. As far as
eth0,  at the moment after dhcpcd eth0 is issued,  it is:

mac1 wicd # ifconfig -a
eth0  Link encap:Ethernet  HWaddr xx
  inet addr:192.168.10.7  Bcast:192.168.10.255  Mask:255.255.255.0
  inet6 addr:  Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:4565 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3102 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:5285197 (5.0 MiB)  TX bytes:420643 (410.7 KiB)
  Interrupt:16

Before dhcpcd eth0 is issued eth0 is there, I think, but it does not
have an inet addr: assigned to it. I will need to reboot to confirm
it.

Thanks,

--
Valmor



Re: [gentoo-user] Need help with pvrusb2 [SOLVED]

2011-10-23 Thread Michael Sullivan
On 10/23/11 18:15, Neil Bothwick wrote:
> On Sun, 23 Oct 2011 18:00:52 -0500, Michael Sullivan wrote:
> 
 pvrusb2: request_firmware unable to locate fx2 controller file
 v4l-pvrusb2-73xxx-01.fw  
>>>
>>> Is this file present in /lib/firmware?
> 
>> Nope:
> 
> It should be obvious that this needs to be addressed before anything
> else.
> 
>> How do I get that file?
> 
> Putting the filename into Google gave me those instructions in the first
> link.
> 
> 

I downloaded that file and rebooted and dmesg griped about another file
and I found it and downloaded it and rebooted and now my output looks
like this, which I'm happy with:


michael@carter ~ $ dmesg | grep -i pvrusb2
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: Binding ir_rx_z8f0811_haup to i2c address 0x71.
pvrusb2: Binding ir_tx_z8f0811_haup to i2c address 0x70.
cx25840 2-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
pvrusb2: Attached sub-driver cx25840
pvrusb2: Attached sub-driver tuner
pvrusb2: Supported video standard(s) reported available in hardware:
PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB
pvrusb2: Mapping standards mask=0x300b700
(PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB)
pvrusb2: Setting up 6 unique standard(s)
pvrusb2: Set up standard idx=0 name=PAL-M
pvrusb2: Set up standard idx=1 name=PAL-N
pvrusb2: Set up standard idx=2 name=PAL-Nc
pvrusb2: Set up standard idx=3 name=NTSC-M
pvrusb2: Set up standard idx=4 name=NTSC-Mj
pvrusb2: Set up standard idx=5 name=NTSC-Mk
pvrusb2: Initial video standard (determined by device type): NTSC-M
pvrusb2: Device initialization completed successfully.
pvrusb2: registered device video0 [mpeg]
DVB: registering new adapter (pvrusb2-dvb)


Speaking of which, isn't there an easier way to reload modules than
rebooting?  When I started using Gentoo in 2004, there was an
/etc/init.d/hotplug, which was replaced by /etc/init.d/coldplug, but
neither one seems to be present anymore on the system.  What service
loads modules on bootup now?



[gentoo-user] Re: emerge --sync failed

2011-10-23 Thread Hartmut Figge
Albert W. Hopkins:

>You should be able to delete /usr/portage/profiles/updates/4Q-2011 (or
>edit the file and fix it... it's pretty straighforward) and continue
>from there.

Done the edit. Works. Thanks.

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] emerge --sync failed

2011-10-23 Thread Albert W. Hopkins
On Mon, 2011-10-24 at 01:40 +0200, Hartmut Figge wrote:
> Greetings,
> 
> emerge --sync was successfull till 'Performing Global Updates' which
> leaded to an error. After waiting for perhaps 1 to 2 hours i tried
> another 'emerge --sync' in the hope that would fix the issue. No luck.
> 
> ---
> i5 hafi # emerge --sync
> 
> Performing Global Updates:
> (Could take a couple of minutes if you have a lot of binary packages.)
>   .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
>   s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
>   p='update /etc/portage/package.*'
> /usr/portage/profiles/updates/3Q-2011..
> /usr/portage/profiles/updates/4Q-2011..
> ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 
> dev-php/dev-php5/pecl-ssh2'
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 43, in 
> retval = emerge_main()
>   File "/usr/lib/portage/pym/_emerge/main.py", line 1531, in emerge_main
> _global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
>   File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in 
> _global_updates
> moves = vardb.move_ent(update_cmd, repo_match=repo_match)
>   File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
> origmatches = self.match(origcp, use_cache=0)
>   File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
> origdep, mydb=self, use_cache=use_cache, settings=self.settings)
>   File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in 
> dep_expand
> mydep = Atom(mydep, allow_repo=True)
>   File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1097, in __init__
> raise InvalidAtom(self)
> InvalidAtom: dev-php5/dev-php5/pecl-ssh2
> ---

I'm seeing this chatter now.  It looks like someone made a typo.  And
some mirrors are still picking it up.

You should be able to delete /usr/portage/profiles/updates/4Q-2011 (or
edit the file and fix it... it's pretty straighforward) and continue
from there.

-a





[gentoo-user] emerge --sync failed

2011-10-23 Thread Hartmut Figge
Greetings,

emerge --sync was successfull till 'Performing Global Updates' which
leaded to an error. After waiting for perhaps 1 to 2 hours i tried
another 'emerge --sync' in the hope that would fix the issue. No luck.

---
i5 hafi # emerge --sync

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/3Q-2011..
/usr/portage/profiles/updates/4Q-2011..
ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 
dev-php/dev-php5/pecl-ssh2'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in 
retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1531, in emerge_main
_global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
  File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in 
_global_updates
moves = vardb.move_ent(update_cmd, repo_match=repo_match)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
origmatches = self.match(origcp, use_cache=0)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
origdep, mydb=self, use_cache=use_cache, settings=self.settings)
  File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in 
dep_expand
mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1097, in __init__
raise InvalidAtom(self)
InvalidAtom: dev-php5/dev-php5/pecl-ssh2
---

Now what? :)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 18:15, Neil Bothwick wrote:
> On Sun, 23 Oct 2011 18:00:52 -0500, Michael Sullivan wrote:
> 
 pvrusb2: request_firmware unable to locate fx2 controller file
 v4l-pvrusb2-73xxx-01.fw  
>>>
>>> Is this file present in /lib/firmware?
> 
>> Nope:
> 
> It should be obvious that this needs to be addressed before anything
> else.
> 
>> How do I get that file?
> 
> Putting the filename into Google gave me those instructions in the first
> link.
> 
> 


OK I've got the file:

michael@carter /lib/firmware $ ls v4l-pvrusb2-73xxx-01.fw
v4l-pvrusb2-73xxx-01.fw

It's still giving me the same errors though:

michael@carter /lib/firmware $ dmesg | grep pvrusb
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.





Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Neil Bothwick
On Sun, 23 Oct 2011 18:00:52 -0500, Michael Sullivan wrote:

> >> pvrusb2: request_firmware unable to locate fx2 controller file
> >> v4l-pvrusb2-73xxx-01.fw  
> > 
> > Is this file present in /lib/firmware?

> Nope:

It should be obvious that this needs to be addressed before anything
else.

> How do I get that file?

Putting the filename into Google gave me those instructions in the first
link.


-- 
Neil Bothwick

Rainbows are just to look at, not to really understand.


signature.asc
Description: PGP signature


Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 17:48, Neil Bothwick wrote:
> On Sun, 23 Oct 2011 16:36:41 -0500, Michael Sullivan wrote:
> 
>> pvrusb2: request_firmware unable to locate fx2 controller file
>> v4l-pvrusb2-73xxx-01.fw
> 
> Is this file present in /lib/firmware?
> 
> 

Nope:

michael@carter ~ $ ls /lib/firmware
3com cpia2 ess  mts_gsm.fw  ti_3410.fwvicam
acenic   cxgb3 kaweth   ositech ti_5052.fw
whiteheat.fw
adaptec  dabusbkeyspan_pda  qlogic  tigon
whiteheat_loader.fw
advansys e100  korg r128tr_smctr.bin  yamaha
atmsar11.fw  edgeport  matrox   radeon  ttusb-budget
bnx2 emi26 mts_cdma.fw  sun v4l-cx25840.fw
cis  emi62 mts_edge.fw  tehuti  v4l-cx25840.fw.1

How do I get that file?



Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Neil Bothwick
On Sun, 23 Oct 2011 16:36:41 -0500, Michael Sullivan wrote:

> pvrusb2: request_firmware unable to locate fx2 controller file
> v4l-pvrusb2-73xxx-01.fw

Is this file present in /lib/firmware?


-- 
Neil Bothwick

UNILINGUAL: American.


signature.asc
Description: PGP signature


Re: [gentoo-user] Which desktop antivirus?

2011-10-23 Thread Dale

Mick wrote:
Is there an overlay that offers AVG or bitdefender? 


I found these:

root@fireball / # eix avast
* app-antivirus/avast4workstation
 Available versions:  ~1.3.0-r2!m[1] ~1.3.0-r2!m[2]
 Homepage:
http://www.avast.com/eng/avast-for-linux-workstation.html

 Description: avast! Linux Home Edition

[1] "gentoo-china" layman/gentoo-china
[2] "gentoo-zh" layman/gentoo-zh
root@fireball / # eix avg
* media-libs/shivavg
 Available versions:  [M]~0.2.1
 Homepage:http://shivavg.sourceforge.net
 Description: open-source implementation of the Khronos' 
OpenVG specification


* www-apache/mod_loadavg
 Available versions:  ~0.0.1
 Homepage:http://defunced.de/
 Description: Apache module executing CGI-Requests 
depending on the load of the server


Found 2 matches.
root@fireball / # eix bitdefend
* app-antivirus/bitdefender-scanner
 Available versions:  ~7.6.4-r1!f[1] ~7.6.4-r1!f[2] 
{bash-completion examples gtk}
 Homepage:
http://www.bitdefender.com/PRODUCT-80-en--BitDefender-Antivirus-Scanner-for-Unices.html
 Description: Antivirus and antispyware scanner for both 
UNIX-based and Windows-based partitions


[1] "gentoo-china" layman/gentoo-china
[2] "gentoo-zh" layman/gentoo-zh
root@fireball / #


So, avast is in gentoo-zh overlay, no AVG, and bitdefender-scanner is 
in, drum roll please, gentoo-zh overlay.  The guy keeping up with 
gentoo-zh is busy on virus tools.  lol


Oh, how did I get that you ask?  This little command is neat.

eix-remote update

Note that gets cleared the next time you sync.  At least it did here.

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Neil Bothwick
On Sun, 23 Oct 2011 17:35:45 -0400, Valmor de Almeida wrote:

> I don't have net.eth0 (I deleted it per wicd installation instructions).
> My other machines that use wicd do not have it either and they all work.
> Don't seem to find the difference between what I have working and this
> MacBook Pro I put Gentoo on wherein wicd will not work out of the box.

Have you tried diffing /etc/wicd/wired-settings.conf from the working and
non-working systems.

Is eth0 actually present at this time?


-- 
Neil Bothwick

I get enough exercise just pushing my luck.


signature.asc
Description: PGP signature


Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 16:52, Florian Philipp wrote:
> Am 23.10.2011 23:36, schrieb Michael Sullivan:
>> Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
>> I'm trying to get it to work with Gentoo Linux.  I think I've followed
>> the steps found at
>> http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
>> but I'm still getting errors.  When I plug the TV card into the USB slot
>> in the back of the computer and search dmesg, it says:
>>
> [...]
>>
>>
>> I've emerged linuxtv-dvb-firmware and reissued the above command with no
>> change.  How do I get Gentoo to recognize this card?
>> -Michael Sullivan-
>>
> 
> Try media-tv/ivtv-firmware. For some reason, that works better for me.
> And also media-tv/ivtv-utils.
> 
> BTW: If your HVR behaves the same as my old PVR2, it can sometimes help
> to suspend and wake the system to get it working.
> 


OK.  I restarted the computer.  (I have never suspended that computer
before and was unsure of what would happen, but I did not realize at the
time that my the game running on my wife's computer was using a samba
share that would be disrupted.)  I had no luck with ivtv-firmware, so I
have reinstalled linuxtv-dvb-firmware-2009.09.19.  Now the output of
dmesg has changed somewhat:

michael@carter ~ $ dmesg | grep -i pvr
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.

Does this help?




Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 16:52, Florian Philipp wrote:
> Am 23.10.2011 23:36, schrieb Michael Sullivan:
>> Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
>> I'm trying to get it to work with Gentoo Linux.  I think I've followed
>> the steps found at
>> http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
>> but I'm still getting errors.  When I plug the TV card into the USB slot
>> in the back of the computer and search dmesg, it says:
>>
> [...]
>>
>>
>> I've emerged linuxtv-dvb-firmware and reissued the above command with no
>> change.  How do I get Gentoo to recognize this card?
>> -Michael Sullivan-
>>
> 
> Try media-tv/ivtv-firmware. For some reason, that works better for me.
> And also media-tv/ivtv-utils.
> 
> BTW: If your HVR behaves the same as my old PVR2, it can sometimes help
> to suspend and wake the system to get it working.
> 

I suspended the system, but now I can't wake it up again!  I hit the
power button, and I heard a sound through the speakers similar to an
error sound.  I would say a barb sound, but I doubt any of you would be
able to make sense of it.  The only visual output of that computer is a
video output component going to the TV set.  I work on that computer
through ssh from another one in another room.  Should I just restart it
manually?  If not, how do I wake it up?



Re: [gentoo-user] Amarok segfault

2011-10-23 Thread Alex Schuster
András Csányi writes:

> I'm an average Amarok user and experiencing a random segfault I
> decided that I would like to report it. I know I have to recompile
> Amarok with debug flag but I'm not sure it is enough. Can you tell me
> what is needed more?

No, I think the debug USE flag has another purpose.
You need to add '-gddb' to you CFLAGS in make.conf, and make sure that
'nostrip' or better 'splitdebug' is in your FEATURES list (the debug
code added by -gddb would be stripped away if not). This will get you a
useful backtrace in DrKonqui, if you are using KDE.

> By the way, these reports should be send for the
> Amarok developers not gentoo guys, shouldn't they?

I would say so, but I'm not entirely sure. It's easier this way, but
there's a slight chance that the problem is Gentoo-specific.

Wonko



Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Florian Philipp
Am 23.10.2011 23:36, schrieb Michael Sullivan:
> Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
> I'm trying to get it to work with Gentoo Linux.  I think I've followed
> the steps found at
> http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
> but I'm still getting errors.  When I plug the TV card into the USB slot
> in the back of the computer and search dmesg, it says:
> 
[...]
> 
> 
> I've emerged linuxtv-dvb-firmware and reissued the above command with no
> change.  How do I get Gentoo to recognize this card?
> -Michael Sullivan-
> 

Try media-tv/ivtv-firmware. For some reason, that works better for me.
And also media-tv/ivtv-utils.

BTW: If your HVR behaves the same as my old PVR2, it can sometimes help
to suspend and wake the system to get it working.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 05:19 PM, Mick wrote:
> On Sunday 23 Oct 2011 21:01:23 Valmor de Almeida wrote:
>> On 10/23/2011 03:21 PM, Neil Bothwick wrote:
>>> On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:
 for this particular install. The ethernet card is Broadcom NetXtreme
 BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
 kernel. All works but as I said, wicd does work from boot. After logging
 in I need to get an IP address manually.
>>>
>>> What happens if you try to connect from the Wicd client after booting?
>>
>> I tried
>>
>>  -> wicd-cli --wired
>>  No operation peformed.
>>
>> So no luck there.
>>
>> As soon as I do a manual
>>
>>  dhcpcd eth0
>>
>> I get an IP address and all work.
> 
> I assume you have no ifplugd installed - but from what I undestand wicd works 
> in a similar fashion (i.e. it runs dhcpcd) - so I can't really explain this.

Correct. I don't have ifplugd.

> 
> What do you get in /var/log/messages when you run /etc/init.d/net.eth0 start. 
>  
> It should start dhcpcd by default (even without a /etc/conf.d/net).

I don't have net.eth0 (I deleted it per wicd installation instructions).
My other machines that use wicd do not have it either and they all work.
Don't seem to find the difference between what I have working and this
MacBook Pro I put Gentoo on wherein wicd will not work out of the box.

> 
>> I don't have wireless working yet; need to check on the driver (wireless
>> is also broadcom). So
>>
>>   wicd-client -n
>>
>> finds no wireless network.
> 
> You'll probably need to install b43-fwcutter and follow the instructions here 
> (depending on your wireless NIC):
> 
>   http://linuxwireless.org/en/users/Drivers/b43

Thanks,

--
Valmor

> 




[gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
I'm trying to get it to work with Gentoo Linux.  I think I've followed
the steps found at
http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
but I'm still getting errors.  When I plug the TV card into the USB slot
in the back of the computer and search dmesg, it says:

michael@carter /lib/firmware $ dmesg | grep pvrusb2
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.
pvrusb2: Device being rendered inoperable
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.


I've emerged linuxtv-dvb-firmware and reissued the above command with no
change.  How do I get Gentoo to recognize this card?
-Michael Sullivan-



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Mick
On Sunday 23 Oct 2011 21:01:23 Valmor de Almeida wrote:
> On 10/23/2011 03:21 PM, Neil Bothwick wrote:
> > On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:
> >> for this particular install. The ethernet card is Broadcom NetXtreme
> >> BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
> >> kernel. All works but as I said, wicd does work from boot. After logging
> >> in I need to get an IP address manually.
> > 
> > What happens if you try to connect from the Wicd client after booting?
> 
> I tried
> 
>  -> wicd-cli --wired
>  No operation peformed.
> 
> So no luck there.
> 
> As soon as I do a manual
> 
>  dhcpcd eth0
> 
> I get an IP address and all work.

I assume you have no ifplugd installed - but from what I undestand wicd works 
in a similar fashion (i.e. it runs dhcpcd) - so I can't really explain this.

What do you get in /var/log/messages when you run /etc/init.d/net.eth0 start.  
It should start dhcpcd by default (even without a /etc/conf.d/net).

> I don't have wireless working yet; need to check on the driver (wireless
> is also broadcom). So
> 
>   wicd-client -n
> 
> finds no wireless network.

You'll probably need to install b43-fwcutter and follow the instructions here 
(depending on your wireless NIC):

  http://linuxwireless.org/en/users/Drivers/b43

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user]

2011-10-23 Thread Vishnupradeep
Mother Board : ASUS M2A-MX
Graphics Card: ATI 4350
Sound card: using on board audio

Help needed

On Sat, Oct 22, 2011 at 10:16 AM, Nikos Chantziaras  wrote:
> On 10/20/2011 12:20 PM, Vishnupradeep wrote:
>>
>> I am new to gentoo.
>> Installed kde in gentoo. But i am unable to enable effects like. blur,
>> woobly etc.. why ?
>
> We need to know what graphics card you have and what sound card.  You might
> also want to tell us what your computer's mainboard is (exact brand and
> model).  We can help you from there to configure your kernel and install the
> correct graphics drivers.
>
>
>



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 03:21 PM, Neil Bothwick wrote:
> On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:
> 
>> for this particular install. The ethernet card is Broadcom NetXtreme
>> BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
>> kernel. All works but as I said, wicd does work from boot. After logging
>> in I need to get an IP address manually.
> 
> What happens if you try to connect from the Wicd client after booting?
> 
> 
I tried

 -> wicd-cli --wired
 No operation peformed.

So no luck there.

As soon as I do a manual

 dhcpcd eth0

I get an IP address and all work.

I don't have wireless working yet; need to check on the driver (wireless
is also broadcom). So

  wicd-client -n

finds no wireless network.

Thanks,

--
Valmor



Re: [gentoo-user] Amarok segfault

2011-10-23 Thread Andrey Moshbear
On Sun, Oct 23, 2011 at 15:09, András Csányi  wrote:
> Dear All,
>
> I'm an average Amarok user and experiencing a random segfault I
> decided that I would like to report it. I know I have to recompile
> Amarok with debug flag but I'm not sure it is enough. Can you tell me
> what is needed more? By the way, these reports should be send for the
> Amarok developers not gentoo guys, shouldn't they?
>

Backtrace! Backtrace, backtrace, backtrace, backtrace, backtrace!

Also, core file, if possible.



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Neil Bothwick
On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:

> for this particular install. The ethernet card is Broadcom NetXtreme
> BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
> kernel. All works but as I said, wicd does work from boot. After logging
> in I need to get an IP address manually.

What happens if you try to connect from the Wicd client after booting?


-- 
Neil Bothwick

Q-Tip: When an omnipotent alien gives you advice.


signature.asc
Description: PGP signature


[gentoo-user] Amarok segfault

2011-10-23 Thread András Csányi
Dear All,

I'm an average Amarok user and experiencing a random segfault I
decided that I would like to report it. I know I have to recompile
Amarok with debug flag but I'm not sure it is enough. Can you tell me
what is needed more? By the way, these reports should be send for the
Amarok developers not gentoo guys, shouldn't they?

Thanks any advice in advance!

András

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell



Re: [gentoo-user] Re: How to install music player without graphic ?

2011-10-23 Thread Jesús J . Guerrero Botella
You really need to find out what you need/want.

If you want a nice GUI media player then you either need X or some
kind of solution that works on framebuffer (they exist, but they are
not straightforward to get working). Some web based players exist as
well.

Secondly, mplayer does work on command line. You don't need to do
anything special for that. However, its capabilities come limited by
the graphics capabilities of your environment. If you ware in
framebuffer and you have correctly set up it using kms, uvesafb or
something like that, then you can probably play videos and show
graphics in your ttys, if not, then you'll need X for that. In any
case, don't expect a great performance when playing high resolution
videos in a framebuffer device.

As for music, there are some very good players for command line, some
of them are strictly command-based, others (like moc) offer a nice
ncurses-based interface where you can navigate your collections and
playlists.
-- 
Jesús Guerrero Botella



Re: [gentoo-user] Heads up: gtk-doc-1.18 build failure...

2011-10-23 Thread Michael Orlitzky
On 10/23/2011 10:28 AM, pk wrote:
> Hi,
> 
> If anyone encounters issues with building gtk-doc-1.18 (needed for gimp
> "doc" USE flag, amongst others) you need to have the "python" flag
> enabled for the libxml2 package in order to build gtk-doc (the gtk-doc
> fails to build due to not finding libxml2 module [which I assume is a
> python one]). I guess this is related to the "python" USE flag removal
> in the profiles...

You should probably file a bug and post the build failure, your emerge
--info, emerge -pv gtk-doc, etc.

I tried to reproduce it here but couldn't. If gtk-doc does need libxml2
compiled with python support under some circumstances, it could be added
as a use-flag dependency.



Re: [gentoo-user] Heads up: gtk-doc-1.18 build failure...

2011-10-23 Thread Michael Mol
On Sun, Oct 23, 2011 at 10:28 AM, pk  wrote:
> Hi,
>
> If anyone encounters issues with building gtk-doc-1.18 (needed for gimp
> "doc" USE flag, amongst others) you need to have the "python" flag
> enabled for the libxml2 package in order to build gtk-doc (the gtk-doc
> fails to build due to not finding libxml2 module [which I assume is a
> python one]). I guess this is related to the "python" USE flag removal
> in the profiles...

File a bug report; it sounds like gtk-doc's ebuild isn't declaring a
dependency on libxml2 having the 'python' USE flag. emerge should have
told you, "hey, the following USE flag changes are needed..."

-- 
:wq



[gentoo-user] Heads up: gtk-doc-1.18 build failure...

2011-10-23 Thread pk
Hi,

If anyone encounters issues with building gtk-doc-1.18 (needed for gimp
"doc" USE flag, amongst others) you need to have the "python" flag
enabled for the libxml2 package in order to build gtk-doc (the gtk-doc
fails to build due to not finding libxml2 module [which I assume is a
python one]). I guess this is related to the "python" USE flag removal
in the profiles...

Best regards

Peter K



Re: [gentoo-user] TCP Advanced Congestion Control -- any difference?

2011-10-23 Thread Pandu Poluan
On Oct 23, 2011 7:07 PM, "Florian Philipp"  wrote:
>
> Am 20.10.2011 18:11, schrieb Florian Philipp:
> > Am 20.10.2011 15:10, schrieb Pandu Poluan:
> >> Like the subject said: I am wondering if using a non-default TCP
> >> Advanced Congestion Control makes any difference.
> >>
> >> (The default is "cubic", but there are alternatives such as "htcp",
> >> "hybla", and "yeah")
> >>
> >> Any experiences?
> >>
> >
> > I tested it on the only situation I had where it was even remotely worth
> > the effort to try it: NFS over TCP via an old and overutilized router:
> > No measurable effect. I guess a web or mail server (read: something that
> > is not primarily bandwidth constrained and where latency matters) might
> > benefit more. But then again, how do you measure that reliably?
> >
> > You also have to consider where the client might be. A long distance,
> > high bandwidth connection will benefit from different congestion control
> > mechanisms than a local low bandwidth connection.
> >
> > Regards,
> > Florian Philipp
> >
>
> This paper and its references could be interesting.
> http://research.google.com/pubs/archive/37486.pdf
>

Thanks! I'll sure to study them tomorrow. Productive time at the office ;-)

Rgds,


Re: [gentoo-user] TCP Advanced Congestion Control -- any difference?

2011-10-23 Thread Florian Philipp
Am 20.10.2011 18:11, schrieb Florian Philipp:
> Am 20.10.2011 15:10, schrieb Pandu Poluan:
>> Like the subject said: I am wondering if using a non-default TCP
>> Advanced Congestion Control makes any difference.
>>
>> (The default is "cubic", but there are alternatives such as "htcp",
>> "hybla", and "yeah")
>>
>> Any experiences?
>>
> 
> I tested it on the only situation I had where it was even remotely worth
> the effort to try it: NFS over TCP via an old and overutilized router:
> No measurable effect. I guess a web or mail server (read: something that
> is not primarily bandwidth constrained and where latency matters) might
> benefit more. But then again, how do you measure that reliably?
> 
> You also have to consider where the client might be. A long distance,
> high bandwidth connection will benefit from different congestion control
> mechanisms than a local low bandwidth connection.
> 
> Regards,
> Florian Philipp
> 

This paper and its references could be interesting.
http://research.google.com/pubs/archive/37486.pdf



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [SOLVED] Balky mounting of external devices

2011-10-23 Thread Neil Bothwick
On Sat, 22 Oct 2011 23:38:45 -0400, Walter Dnes wrote:

> On Sat, Oct 22, 2011 at 09:21:50PM +0100, Neil Bothwick wrote
> 
> > This came up recently with a different subject. Your device does not
> > have a partition table, instead the filesystem occupies the whole
> > device (sometimes referred to as a "superfloppy" format). There's
> > nothing wrong with this, I have a couple of USB sticks like it, and
> > my Nexus S is the same.
> > 
> > Your automounter should still pick it up.
> 
>   I don't use an automounter.  I like to be in control of what gets
> mounted when.

Then use an intelligent automounter, that only mounts things you want it
to and lets you make choices about the rest :)

> Thanks for the explanation. With it in mind I've finally 
> come up with a plan that works.
> In /etc/sudoers.d/001 I've included...
> 
> waltdnesi3 = (root) NOPASSWD: /sbin/fdisk -l /dev/sdc
> 
>   And there's an entry for a vfat device in /etc/fstab for directory
> /mnt/extc.  The command "/sbin/fdisk -l /dev/sdc" seems to read in the
> partition table into the system and things work from there on in.  fdisk
> only works as root, hence the sudo command.  Here's a sample session...
> 
> ===
> waltdnes@i3 ~ $ mount /mnt/extc
> mount: special device /dev/sdc1 does not exist
> waltdnes@i3 ~ $ sudo /sbin/fdisk -l /dev/sdc
> 
> Disk /dev/sdc: 16.0 GB, 16012804096 bytes
> 256 heads, 63 sectors/track, 1939 cylinders, total 31275008 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sdc1   *20483127500715636480c  W95 FAT32 (LBA)
> waltdnes@i3 ~ $ mount /mnt/extc
> waltdnes@i3 ~ $
> ===

In that case, you have a different situation since there is clearly a
partition on the disk. The partition table may be slightly faulty, hence
the need for fdisk. Recreating the partition table with fdisk should fix
that permanently.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.


signature.asc
Description: PGP signature


Re: [gentoo-user] Which desktop antivirus?

2011-10-23 Thread Volker Armin Hemmann
Am Samstag 22 Oktober 2011, 19:46:59 schrieb Mick:
> On Saturday 22 Oct 2011 18:27:02 Dale wrote:
> > Mick wrote:
> > > Hi All,
> > > 
> > > I'm asked for a desktop antivirus (the box is running KDE) but I
> > > have
> > > never used an antivirus on Linux.  This page that I googled up shows
> > > a
> > > number of
> > > 
> > > them:
> > >http://www.makeuseof.com/tag/free-linux-antivirus-programs/
> > > 
> > > Meanwhile, portage only lists clamav under app-antivirus/.
> > > 
> > > The machine in question is running kmail to receive/send messages
> > > from
> > > ISP mail servers and ssmtp to send log messages for relaying via
> > > said
> > > ISP.
> > > 
> > > What have you tried and what would you recommend for such a desktop
> > > setup?
> > 
> > I have to agree with most everyone else on this one.  You don't really
> > need a anit-virus software to protect yourself.  I do think it is good
> > that you want to protect others by catching them while on your machine
> > and then you know not to spread them around to others who can be
> > infected.  I used to do this a long time ago but I have policies here
> > about sending messages to others.  Mostly, I don't do it unless I know
> > it is virus free.  If I get a video that is funny or something, I find
> > it on youtube and just forward a link to that.  I'm sure youtube checks
> > its stuff to be sure it is clean.
> > 
> > If you set up a process like this, you shouldn't spread anything but you
> > do have to think before hitting forward too.  I think people have
> > figured out I don't forward just anything so I don't get a lot of "junk"
> > anymore.
> > 
> > I do agree on using AVG as someone else posted.  I have that on my
> > brothers XP box.  He likes it better than Norton that he used to pay
> > for.  If you can get that running on Linux, then that would be great.
> > Another pretty good one that I used to use was f-prot but I think AVG
> > would be better still.
> > 
> > Dale
> 
> Is there an overlay that offers AVG or bitdefender?

looks like - but I just run the bitdefender script to extract, than used dpkg 
--force-all to install. Works well so far.

You can get a free personal use licence on their web site.
-- 
#163933



Re: [gentoo-user] Re: Which desktop antivirus?

2011-10-23 Thread Florian Philipp
Am 23.10.2011 09:49, schrieb Mick:
> On Saturday 22 Oct 2011 22:30:45 Volker Armin Hemmann wrote:
>> Am Samstag 22 Oktober 2011, 18:14:32 schrieb Nikos Chantziaras:
>>> On 10/22/2011 05:07 PM, Adam Carter wrote:
> there aren't any Linux viruses,

 Except for the ones listed on the page below, which is probably
 incomplete. http://en.wikipedia.org/wiki/Linux_malware

 But yeah, on a linux desktop (especially a Gentoo one) you don't need
 a virus scanner. Yet.
>>>
>>> There are literally *millions* of Windows viruses.  The Wikipedia page
>>> just proves Linux has virtually no viruses, and those listed don't even
>>> work anymore (exploits have been patched long ago.)  Most existing Linux
>>> malware targets servers (like PHP software exploits in forums, wikis,
>>> etc) and desktop users don't need to worry.
>>>
>>> Furthermore, even if there were enough Linux viruses to worry about,
>>> there isn't a good way of getting infected.  On Windows, you download
>>> random executables from the net.  On Gentoo, you install your stuff
>>> through portage.  It's nearly impossible to get infected.
>>
>> except when someone puts up or takes over a rsync server and starts
>> providing malicious ebuilds.
>>
>>
>> Hilarious.
> 
> Isn't that what happened back in 2003/04?  I can't recall exactly but there 
> was some discussion where it was suggested that clients should rsync against 
> two different mirrors and diff the portage contents (or hashes thereof?), 
> before 
> accepting the sync result.

That still doesn't protect you against man-in-the-middle attacks or an
attack against the CVS tree (like the recent kernel.org disaster).

Signing the manifest files is really the only reasonable solution. Good
thing there seems to be some progress in that direction:
https://bugs.gentoo.org/show_bug.cgi?id=360363

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Which desktop antivirus?

2011-10-23 Thread Pandu Poluan
On Oct 23, 2011 2:23 PM, "du yang"  wrote:
>
> On Sunday 10/23/11 03:17:10 CST, Pandu Poluan wrote:
> > I prefer Avast to AVG. It has versions for both Windows and Linux.
Here's the
> > link for the Linux version:
> >
> > http://www.avast.com/linux-home-edition#tab1
> >
>
> overlay gentoo-zh offer it.
>  app-antivirus/avast4workstation
>

Whoa, COOL!

Thanks for the info!

Rgds,


Re: [gentoo-user] Recommended printer?

2011-10-23 Thread Pandu Poluan
On Oct 23, 2011 6:59 AM, "Dale"  wrote:
>
> Grant wrote:
>>>
>>> Cheapest laser you can find at Office Depot tends to be a Brother.  I've
got
>>> two...an HL-2040 and an HL-2140. Both work perfectly with CUPS.
>>
>> +1.  Every Brother laser printer I've tried works perfectly.  I don't
>> even bother with linuxprinting.org any more.  When I wear one laser
>> printer out, I just buy the latest Brother.
>>
>> - Grant
>>
>>
>
> I used to work for a computer place and we sold and serviced Brother
stuff.  They were well made back then.  I haven't used one in a long while
but it sounds like they still make good stuff.  I always liked that they had
metal gears and stuff when everyone else had went to plastic.  Epsons were
good at going with plastic, even on their higher end stuff.  They would
strip out regular too. Get a good paper jam, you need a set of gears.
>
> My fav was the Genicom line printer tho.  We had several 4440s and they
were blazingly fast.  A case of paper was like pouring water out of a jug.
 o_O
>

Although some metal gears have given way to plastic stuffs, I can still
vouch for their reliability. My office had one, and it's generally abused,
yet it still chugs along merrily.

Truly gave my boss a mid-life crisis: He's a champion of a two-letter brand,
and his worldview came crashing to the ground when the Brother proved itself
to be more reliable than his preferred brand ;-)

Rgds,


Re:Re: [gentoo-user] Why I can't play music?

2011-10-23 Thread Lavender
>First use modules. This post [1] from the forum is about the mic but
>it walks you through the process of setting up sound pretty well.
>HTH David
>
>[1] http://forums.gentoo.org/viewtopic-t-869451-start-0.html
>

Thanks , I hope I can listen music when I finish reading this article.

Re: [gentoo-user] Why I can't play music?

2011-10-23 Thread David Abbott
2011/10/23 Lavender :
[snip]
> The sound card driver I have built into kernel . When I used lspci,
> I can see that "hda_intel" is the driver for sound card.
> So what's wrong with it ?
>
>
First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David

[1] http://forums.gentoo.org/viewtopic-t-869451-start-0.html



[gentoo-user] Why I can't play music?

2011-10-23 Thread Lavender
When I modifed USE to USE="-X -gnome -kde -gtk" ,
I finally successed in installing mplayer without graphical
desktop. But I got another problem.
 
# mplayer  christmas\ in\ my\ heart.mp3
 
It printed some error messages though mplayer could played mp3 file
without sound.
 
Error Message:
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat 
returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer 
returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) Evaluate error: No such 
file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat 
returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer 
returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand)
Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
 
The sound card driver I have built into kernel . When I used lspci,
I can see that "hda_intel" is the driver for sound card.
So what's wrong with it ?

Re: [gentoo-user] Re: Which desktop antivirus?

2011-10-23 Thread Mick
On Saturday 22 Oct 2011 22:30:45 Volker Armin Hemmann wrote:
> Am Samstag 22 Oktober 2011, 18:14:32 schrieb Nikos Chantziaras:
> > On 10/22/2011 05:07 PM, Adam Carter wrote:
> > >> there aren't any Linux viruses,
> > > 
> > > Except for the ones listed on the page below, which is probably
> > > incomplete. http://en.wikipedia.org/wiki/Linux_malware
> > > 
> > > But yeah, on a linux desktop (especially a Gentoo one) you don't need
> > > a virus scanner. Yet.
> > 
> > There are literally *millions* of Windows viruses.  The Wikipedia page
> > just proves Linux has virtually no viruses, and those listed don't even
> > work anymore (exploits have been patched long ago.)  Most existing Linux
> > malware targets servers (like PHP software exploits in forums, wikis,
> > etc) and desktop users don't need to worry.
> > 
> > Furthermore, even if there were enough Linux viruses to worry about,
> > there isn't a good way of getting infected.  On Windows, you download
> > random executables from the net.  On Gentoo, you install your stuff
> > through portage.  It's nearly impossible to get infected.
> 
> except when someone puts up or takes over a rsync server and starts
> providing malicious ebuilds.
> 
> 
> Hilarious.

Isn't that what happened back in 2003/04?  I can't recall exactly but there 
was some discussion where it was suggested that clients should rsync against 
two different mirrors and diff the portage contents (or hashes thereof?), 
before 
accepting the sync result.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Which desktop antivirus?

2011-10-23 Thread du yang
On Sunday 10/23/11 03:17:10 CST, Pandu Poluan wrote:
> I prefer Avast to AVG. It has versions for both Windows and Linux. Here's the
> link for the Linux version:
> 
> http://www.avast.com/linux-home-edition#tab1
> 

overlay gentoo-zh offer it.
  app-antivirus/avast4workstation


-- 
Best Regads
du yang

oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature