Re: [gentoo-user] Hal mount .iso

2009-08-25 Thread Vasya Volkov
В Пнд, 24/08/2009 в 12:07 +0200, Ward Poelmans пишет:
 On Mon, Aug 24, 2009 at 11:26, Daniel Troederdan...@admin-box.com wrote:
  On Mon, 2009-08-24 at 10:03 +0400, Top Point wrote:
  Hi.
  Can hal mount .iso 9660 by loop device? I can mount .iso manually but
  I
  want to do it automatically by hal.
  Do you want to mount it by right-clicking it in a graphical
  environment like GNOME or KDE?
 
  If that is what you want, in GNOME you could just drop a shell script in
  ~/.gnome2/nautilus-scripts that does mount $@. I don't know about KDE,
  but I'm sure there is something similar.
 
 
 try 
 http://g-scripts.sourceforge.net/nautilus-scripts/File%20System%20Management/Mount_Image
 

Thanks for all! I've started with cdEMU, but it's very extreme. Does
fuseiso better? Nautilus script very interesting, but not works fine. In
my topic under hal I meant smthing authentic linux wich can mount .iso
by right-clicking. But then I really thought that Hal can mount .iso.
Sorry for my incompetence. It's randomly.)


-- 
vasya my.pipes.b...@gmail.com




Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 11:30 +0200, Alan McKinnon пишет:
 On Monday 29 June 2009 11:29:22 Marco wrote:
  Hi all,
 
  after some updating (emerge --sync and emerge --update --deep world,
  etc.) my wirelss card does not work anymore.
 
  In the boot messagesI have:
  [...]
   * Starting wlan0
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
   *   Starting wpa_supplicant on wlan0 ...
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
  Could not set interface 'wlan0' UP
  [ ok ] *   Starting wpa_cli on wlan0 ...
  [ ok ] * Backgrounding ...
  [...]
 
  And dmesg shows:
  [...]
  iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
  iwl3945 :03:00.0: restoring config space at offset 0x1 (was
  0x100102, writing 0x100106)
  firmware: requesting iwlwifi-3945-1.ucode
  iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
  iwl3945: Could not read microcode: -2
 
 Did you install the microcode?
 
 
Same problem after install microcode.




Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
After read this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...





Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 14:15 -0300, Alejandro пишет:
 
 
 2009/6/29 Fabio Palladino palladino.fa...@gmail.com
  Read this warning:
 
  *
  * Due to ucode API change this version of ucode works only
 with kernels
  * =2.6.29-rc1. If you have to use older kernels please
 install ucode
  * with older API:
  * emerge net-wireless/iwl3945-ucode:0
  * For more information take a look at bugs.gentoo.org/246045
  *
 
 
 That seams clear dont't instal the latest ucode if you are not running
 the latest stable gentoo kernel. Sounds good. Did you only update
 ucode, but not the kernel? Time to do it.
   I have the same chip in my notebook, never a problem with this.
 
 Cheers!
After reading this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...
-- 
Vasya Volkov




Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Vasya Volkov
В Птн, 19/06/2009 в 10:12 +0200, Massimiliano Ziccardi пишет:
 Hi James, Ward, Adam!
 
 Thanks for your help!
 
 To James: Yes, I've an intel card. I followed many guides.
 My card is :
 Identifier  Card0
 Driver  intel
 VendorName  Intel Corporation
 BoardName   Mobile 4 Series Chipset Integrated Graphics
 Controller
 BusID   PCI:0:2:0
 
 To Ward : attached you'll find Xorg.0.log, xorg.conf and lspci.out
 
 To Adam: I tried 'eselect opengl list', but the only answer has been
  [1] xorg-x11 *
 
 I'm going to try exa.
 
 Thanks a lot,
 Massimiliano
 
 
 
 
 
Hi. What driver are you using with your graphic cart? Try
x11-drivers/xf86-video-intel-2.1.1, but this driver works bad with
compiz. But you get better performance. 
Intel developers rework their driver and provoke this problems with
performance. Soon there will be all good.




Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Vasya Volkov
В Птн, 19/06/2009 в 10:59 +0200, Massimiliano Ziccardi пишет:
 Hi Vasya! Thank for your help!!
 xf86-video-intel-2.1.1 is an older version: what do I have to do to
 switch to that?
 And, after I've switched, how will I switch back to the latest one?
 
 Thank you,
 Massimiliano
 
 
 On Fri, Jun 19, 2009 at 10:50 AM, Vasya Volkov
 my.pipes.b...@gmail.com wrote:
 В Птн, 19/06/2009 в 10:12 +0200, Massimiliano Ziccardi пишет:
 
  Hi James, Ward, Adam!
 
  Thanks for your help!
 
  To James: Yes, I've an intel card. I followed many guides.
  My card is :
  Identifier  Card0
  Driver  intel
  VendorName  Intel Corporation
  BoardName   Mobile 4 Series Chipset Integrated
 Graphics
  Controller
  BusID   PCI:0:2:0
 
  To Ward : attached you'll find Xorg.0.log, xorg.conf and
 lspci.out
 
  To Adam: I tried 'eselect opengl list', but the only answer
 has been
   [1] xorg-x11 *
 
  I'm going to try exa.
 
  Thanks a lot,
  Massimiliano
 
 
 
 
 
 
 Hi. What driver are you using with your graphic cart? Try
 x11-drivers/xf86-video-intel-2.1.1, but this driver works bad
 with
 compiz. But you get better performance.
 Intel developers rework their driver and provoke this problems
 with
 performance. Soon there will be all good.

 
 
Well, add to /etc/portage/package.mask
x11-drivers/xf86-video-intel-2.1.1 and then emerge
x11-drivers/xf86-video-intel. Of course you need to update (downgrade)
your xorg-server to 1.3.0.0-r6 (same operations:mask every version which
later than 1.3.0.0-r6 x11-base/xorg-server-1.3.0.0-r6) and don't
forget that you can't using evdev afaik with this xorg but
x11-drivers/xf86-input-keyboard and x11-drivers/xf86-input-mice will
replace it. And configure your xorg.conf

For swithcing back just erase strings that you add to package.mask and
then reemerge packets. Don't forget that xorg-1.5* and 1.3* are
different. Read upgrade guide.




Re: [gentoo-user] Problem with the graphic card

2009-06-19 Thread Vasya Volkov
В Птн, 19/06/2009 в 13:37 +0200, Ward Poelmans пишет:
 On Fri, Jun 19, 2009 at 13:32, Vasya Volkovmy.pipes.b...@gmail.com wrote:
 
  For swithcing back just erase strings that you add to package.mask and
  then reemerge packets. Don't forget that xorg-1.5* and 1.3* are
  different. Read upgrade guide.
 
 Are you sure that's a good idea? He has an GM45 which was only
 released last year. Isn't this driver older than that?
 
 Ward
 

I don't understand which older driver do you mean...
Intel rewrite their driver. And there isn't any good support for linux
by their driver at now. As I know they start rewrite thier driver from
version 2.1.1 or so. Version 2.1.1 not good but with it I have reached
best performance.

Wait until they finish work is a good idea.


-- 
Vasya my.pipes.b...@gmail.com




Re: [gentoo-user] Re: Problem with Thinkpad lenovo 3500

2009-06-18 Thread Vasya Volkov
В Срд, 17/06/2009 в 16:43 +0200, Massimiliano Ziccardi пишет:
 Do someone know which test can I do to understand what do I miss ?
 
 Thanks,
 Massimiliano
 
 On Wed, Jun 17, 2009 at 12:35 PM, Massimiliano Ziccardi
 massimiliano.zicca...@gmail.com wrote:
 Hi all.
 
 I have a ThinkPad lenovo R500 running the latest GENTOO.
 
 Everything works, but I have 2 problems:
 1) OpenGL screen saver do not works 
 2) Graphic is not very fast.
 
 I think the first problem is related to the second one.
 
 I think (but I'm not sure) that the source of my problem is
 this:
 
 x...@localhost ~ $ glxinfo | grep renderer
 OpenGL renderer string: Software Rasterizer
 
 However, 
 
 x...@localhost ~ $ glxinfo | grep direct  
 direct rendering: Yes
 
 x...@localhost ~ $ dmesg | grep -i agp
 [1.708652] Linux agpgart interface v0.103
 [1.708775] agpgart-intel :00:00.0: Intel Mobile
 Intel�� GM45 Express Chipset
 [1.709925] agpgart-intel :00:00.0: detected 32764K
 stolen memory
 [1.713030] agpgart-intel :00:00.0: AGP aperture is
 256M @ 0xd000
 
 Do you have any idea about what can I do to solve this
 problem?
 
 Thank you in advance,
 Massimiliano
 

Hi. What driver are you using with your graphic cart? Try
x11-drivers/xf86-video-intel-2.1.1, but this driver works bad with
compiz. But you get better performance. 
Intel developers rework their driver and provoke this problems with
performance. Soon there will be all good.




Re: [gentoo-user] audio convert splitter etc...

2009-04-19 Thread Vasya Volkov

Liviu Andronic пишет:

On Mon, Mar 30, 2009 at 10:40 PM, Vasya Volkov my.pipes.b...@gmail.com wrote:
  

Hello.
Can you suggest some simple program which can make these functions:
1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 3)cutting
parts of audio files? Please with overlay if one there is.




There are:
media-sound/soundconverter
media-sound/audacity

Liviu

  
Audacity doesn't support .wav file format. I mean it doesn't convert 
.wav to mp3, ogg, etc... Soundconverter strange programm. I tried to 
convert my wav files to mp3 with it and size of files that I get was 20 
Mb and more (same with wav files).

Any other?



Re: [gentoo-user] audio convert splitter etc...

2009-04-19 Thread Vasya Volkov

Liviu Andronic пишет:

On Sun, Apr 19, 2009 at 12:09 PM, Vasya Volkov my.pipes.b...@gmail.com wrote:
  

Audacity doesn't support .wav file format. I mean it doesn't convert .wav to
mp3, ogg, etc... Soundconverter strange programm. I tried to convert my wav
files to mp3 with it and size of files that I get was 20 Mb and more (same
with wav files).



Cannot confirm all this here.
Soundconverter inputs:
Item: /tmp/temp/Brigada-orig.mp3
Type: Audio file with ID3 version 24.0 tag, MP3 encoding
Mime: audio/mpeg
Size: 3,313,924 bytes

converted to
Item: /tmp/temp/Brigada.wav
Type: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit,
stereo 44100 Hz
Mime: audio/x-wav
Size: 73,036,844 bytes

Then
Item: /tmp/temp/Brigada.wav
Type: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit,
stereo 44100 Hz
Mime: audio/x-wav
Size: 73,036,844 bytes

converted to
Item: /tmp/temp/Brigada.mp3
Type: Audio file with ID3 version 24.0 tag, MP3 encoding
Mime: audio/mpeg
Size: 3,381,240 bytes

I suggest that you check your quality options.

Audacity opens:
Item: /tmp/temp/Brigada.wav
Type: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit,
stereo 44100 Hz
Mime: audio/x-wav
Size: 73,036,844 bytes

then *exports* (do not use save project as)
Item: /tmp/temp/Brigada.ogg
Type: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created
by: Xiph.Org libVorbis I
Mime: application/ogg
Size: 4,600,477 bytes

Liviu




  
Well maybe I have got some different .wav form? I really have same size 
mp3 with wav.




Re: [gentoo-user] audio convert splitter etc...

2009-04-19 Thread Vasya Volkov

Marc Joliet пишет:

Am Sun, 19 Apr 2009 14:09:00 +0400
schrieb Vasya Volkov my.pipes.b...@gmail.com:

  

Liviu Andronic пишет:


On Mon, Mar 30, 2009 at 10:40 PM, Vasya Volkov my.pipes.b...@gmail.com wrote:
  
  

Hello.
Can you suggest some simple program which can make these functions:
1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 3)cutting
parts of audio files? Please with overlay if one there is.





There are:
media-sound/soundconverter
media-sound/audacity

Liviu

  
  
Audacity doesn't support .wav file format. I mean it doesn't convert 
.wav to mp3, ogg, etc...



Yes it does. Audacity can convert Wav to... *looks at export window*

  - Ogg
  - MP3
  - WMA
  - M4A (AAC)
  - GSM WAV
  - FLAC
  - AC3

and whatever else ffmpeg supports. You can even specify external programs to do
the encoding. Maybe you don't have the correct use flags set? Here's what I
have:

mar...@marcec ~ % equery uses audacity
[ Searching for packages matching audacity... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf  ]
[: Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-sound/audacity-1.3.7 ]
 U I
 + + alsa  : Adds support for media-libs/alsa-lib (Advanced Linux Sound 
Architecture)
 + + ffmpeg: Enable ffmpeg-based audio/video codec support
 + + flac  : Adds support for FLAC: Free Lossless Audio Codec
 + + id3tag: Enables ID3 tagging with id3tag library
 + + jack  : Adds support for the JACK Audio Connection Kit
 + + ladspa: Enables the ability to support ladspa plugins
 + + libsamplerate : Build with support for converting sample rates using 
libsamplerate
 + + midi  : Enables MIDI support
 + + mp3   : Add support for reading mp3 files
 + + soundtouch: Enables soundtouch library support
 - - twolame   : Enables twolame support (MPEG Audio Layer 2 encoder)
 + + vamp  : Enables vamp plugins support (Audio analysing plugins)
 + + vorbis: Adds support for the OggVorbis audio codec

  
Soundconverter strange programm. I tried to 
convert my wav files to mp3 with it and size of files that I get was 20 
Mb and more (same with wav files).

Any other?



I don't know about soundconverter, sorry.

HTH
  
Thanks. But audacity writes to me that it doesn't recognize my wav 
format. Maybe I have really different form of this format? How can I get 
informatin about format of my files?




Re: [gentoo-user] audio convert splitter etc...

2009-04-19 Thread Vasya Volkov

Liviu Andronic пишет:

On Sun, Apr 19, 2009 at 10:52 PM, Vasya Volkov my.pipes.b...@gmail.com wrote:
  

Thanks. But audacity writes to me that it doesn't recognize my wav format.
Maybe I have really different form of this format? How can I get informatin
about format of my files?



`file music.wav'


  

Here:
01.wav: RIFF (little-endian) data, WAVE audio, MPEG Layer 3, stereo 48000 Hz



Re: [gentoo-user] audio convert splitter etc...

2009-04-18 Thread Vasya Volkov

Mike Kazantsev пишет:

On Tue, 31 Mar 2009 00:40:17 +0400
Vasya Volkov my.pipes.b...@gmail.com wrote:

  

Hello.
Can you suggest some simple program which can make these functions: 
1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 
3)cutting parts of audio files? Please with overlay if one there is.





I use following simple script for flac-mp3 conversion:
=
#!/bin/bash

lame_opts=--vbr-new -V 2 -B 256

for FLAC in $@; do

MP3=`basename ${FLAC%.flac}.mp3`

TAGS=TITLE TRACKNUMBER GENRE DATE COMMENT ARTIST ALBUM\
Title Tracknumber Genre Date Comment Artist Album
for VAR in $TAGS; do eval $VAR=''; done

eval $(metaflac --export-tags-to=- $FLAC | sed 's/=\(.*\)/=\1/')

[ -z $TITLE ]  TITLE=$Title
[ -z $TRACKNUMBER ]  TRACKNUMBER=$Tracknumber
[ -z $GENRE ]  GENRE=$Genre
[ -z $DATE ]  DATE=$Date
[ -z $COMMENT ]  COMMENT=$Comment
[ -z $ARTIST ]  ARTIST=$Artist
[ -z $ALBUM ]  ALBUM=$Album

echo Converting $FLAC to mp3: $MP3

flac -c -d $FLAC | lame $lame_opts - $MP3

id3tag \
--artist=$ARTIST \
--album=$ALBUM \
--song=$TITLE \
--track=$TRACKNUMBER \
--genre=$GENRE \
--year=$DATE \
--comment=$COMMENT \
$MP3

done
=

Script actually depends on following packages (main tree):
  media-libs/flac
  media-libs/id3lib
  media-sound/lame



I'm sorry for posting following on the list, since it's non-english.
Just disregard the rest of the message, please :)

Concerning ape, there were some suggestions in (quite recent) ape 2
wav (flac) thread on gentoo-user-ru mailing list:
http://archives.gentoo.org/gentoo-user-ru/msg_060cfe116536e31d0b823d7d5117e999.xml
Also, check out this link (if you haven't stumbled upon it already):
http://engraver.wordpress.com/2009/01/03/monkeys-audio-ape-cue-%D0%B2-gentoo/

  

Thanks. That's good. But can you suggest programm to convert wav to mp3?



Re: [gentoo-user] thinkpad x60s: intel 945gm+compiz

2009-04-07 Thread Vasya Volkov

Albert Hopkins пишет:

On Tue, 2009-04-07 at 23:05 +0400, Vasya Volkov wrote:
  

Hi.
Does anybody know that how to get compiz works fast on this laptop with 
xf86-video-intel-2.6.3-r1? So mesa-7.3-r1 xorg-server-1.5.3-r5 and other 
have latest stable versions. Kernel 2.6.29-gentoo. Here part of my 
xorg.conf:



I have a T61 and R61 with intel drivers no xorg.conf at all and
Xorg/compiz just works.

Same for my desktop with integrated graphics, though at HD resolution
some effects were a tad too slow so I ended up popping in an old nVidia
card.
 




  


There are very different chips in T61 R61 and x60s. And there is no HD 
resolution on my laptop.:)




[gentoo-user] thinkpad x60s: intel 945gm+compiz

2009-04-07 Thread Vasya Volkov

Hi.
Does anybody know that how to get compiz works fast on this laptop with 
xf86-video-intel-2.6.3-r1? So mesa-7.3-r1 xorg-server-1.5.3-r5 and other 
have latest stable versions. Kernel 2.6.29-gentoo. Here part of my 
xorg.conf:



Section Device
Identifier  Card0
Driver  intel
Option  RenderAccel true
Option  AllowGLXWithComposite true
#Option AccelMethod   UXA
VendorName  Intel Corporation
BoardName   Mobile 945GM/GMS
Option  AccelMethod   EXA
Option  EnablePageFlip true
Option  MigrationHeuristic greedy
Option  ExaNoComposite false
EndSection



Section DRI
Mode   0666
EndSection

Section Extensions
Option  Composite  Enable
Option RENDER Enable
EndSection

Section ServerFlags
   Option  AIGLX True
EndSection


With previous version intel driver compiz don't work good but it was 
fast. I mean that I haven't got pretty effects but compiz works fast 
(there is fast scrolling text in open window). And some 3d applications 
(quake arena) work fast too. Now I have got beautiful compiz effects but 
it too slow.
I have no ideas...maybe problem with just intel drivers which now (i 
read somewhere) completely rewrited in this version (2.6.*).

Glxgears measure: 1615 frames in 5.0 seconds = 322.860 FPS



[gentoo-user] audio convert splitter etc...

2009-03-30 Thread Vasya Volkov

Hello.
Can you suggest some simple program which can make these functions: 
1).ape,.cue splitting 2)converting flac/ape/wav to ogg mp3 etc. 
3)cutting parts of audio files? Please with overlay if one there is.