[gentoo-user] sane cant find my scanner

2011-10-30 Thread Adam Carter
I have an HP PSC 950, hplip installed and printing works. hplip online
docs show that scanning is supported and that Scan supported means
that PC initiated scan using a SANE compatible software application is
supported over parallel, USB, or network (depending on I/O
connection). 

sane-find-scanner reports no USB scanners found

# lsusb | grep 950
Bus 004 Device 003: ID 03f0:1e11 Hewlett-Packard PSC-950

# hp-check
--
| SANE CONFIGURATION |
--

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/PSC_950?serial=MY27GE2065WP' is a Hewlett-Packard
PSC_950 all-in-one

and scanimage works.

What am i missing?



[gentoo-user] Re: Unable to install the ffi gem.

2011-10-30 Thread Hans de Graaff
On Sat, 29 Oct 2011 16:36:31 +0530, Vishnupradeep wrote:

 Gem files will remain installed in
 /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9 for inspection.
 Results logged to
 /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out

The gem is broken. Install dev-ruby/ffi instead.

Hans




Re: [gentoo-user] DVD-mp4 - handbrake vs something else

2011-10-30 Thread Andrey Moshbear
On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote:
 I'm getting a Kindle Fire in a few days. While I didn't get it
 specifically to watch movies looking at the specs it does apparently
 handle mp4 as a video format and they state online that you can watch
 streaming movies  TV shows from Amazon's servers. I do a lot of blood
 donations - roughly 20-25 times/year - that take 2-3 hours each so
 either being able to read or watch a movie would be a pleasant way to
 pass the time. Being able to hold it comfortably in one hand is
 important to me.

 I started looking around in Google for something to encode a few DVDs
 so that I could see how well it works. A program called handbrake was
 showing up in a lot of links, but it requires an overlay. While I have
 no problem adding yet another overlay (which on is best?) I wondered
 what might be in the normal portage database that others here use for
 this purpose?


I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n)
then 2-pass ffmpeg the vob to transcode to mkv.

Makes batch transcoding rather fast and painless.



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

2011-10-30 Thread Mick
On Saturday 22 Oct 2011 21:31:32 Neil Bothwick wrote:
 On Sat, 22 Oct 2011 20:03:44 +0300, Nikos Chantziaras wrote:
  ClamVM has poor detection rates.  You might want to look into AVG Free
  for Linux.
 
 Do you have any documentation for this?
 
 I'm not saying you're wrong, rather that I'd like to know more.

This is not current, but if it is to be believed (and without details on the 
methodology I'd be reluctant to believe it) clamav came 2nd after Karspersky:

  http://www.builderau.com.au/blogs/byteclub/viewblogpost.htm?p=339270831


This on the other hand is both current and more meaningful, because it 
includes zero day attacks:

  http://www.shadowserver.org/wiki/pmwiki.php/AV/VirusDailyStats

ClamAV on linux comes 3rd for zero day attacks and 16th on retries.
-- 
Regards,
Mick


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


Re: [gentoo-user] Which desktop antivirus?

2011-10-30 Thread Mick
On Saturday 29 Oct 2011 19:40:49 Mick wrote:
 On Saturday 29 Oct 2011 19:25:00 Pandu Poluan wrote:
  On Oct 30, 2011 1:15 AM, Mick michaelkintz...@gmail.com wrote:
   pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO.
  
  If pagefile.sys is detected as a malware, most likely the actual malware
  was once loaded into (Windows XP's) memory got swapped, and avast! picked
  up its remnant. Loaded into memory doesn't mean that the malware was
  active, if the Windows XP was equipped with a good antivirus.
 
 Interesting!  The WinXP has Microsoft Security Essentials on it.  I'll ask
 my wife if it picked up anything lately.

She can't recall any MSE reports of malware.  I did check the WinXP fs for all 
the files and registry entries that this trojan is meant to create and none 
were present.  Then I've zero'ed the pagefile and a second scan did not flag 
anything up.

I also checked for a reported trojan in a Windows 7 vdi file (in virtualbox).  
Nothing found there either.  I am tempted to think that avast! is rather 
super-sensitive.  However, avast! also picked up some php files from a backed 
up website - so this may be a worthwhile find.

Anyway, I can't make it integrate with kmail which was the original user 
requirement.  Tried this script but the kmail Antivirus Wizard will not pick 
it up:

   http://forum.avast.com/index.php?topic=17898.0

So I am now heading for clamav to see how that works with a Linux desktop.

-- 
Regards,
Mick


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


Re: [gentoo-user] Which desktop antivirus?

2011-10-30 Thread James Broadhead
I'm surprised that no one has mentioned rkhunter yet - loads of lib
exploits allow system access, and there's a pretty solid argument that says
that compromising a user account on the average *nix system allows enough
resourses to do a lot of malicious activity without even needing privilege
escalation.
On Oct 30, 2011 1:06 p.m., Mick michaelkintz...@gmail.com wrote:

 On Saturday 29 Oct 2011 19:40:49 Mick wrote:
  On Saturday 29 Oct 2011 19:25:00 Pandu Poluan wrote:
   On Oct 30, 2011 1:15 AM, Mick michaelkintz...@gmail.com wrote:
pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO.
  
   If pagefile.sys is detected as a malware, most likely the actual
 malware
   was once loaded into (Windows XP's) memory got swapped, and avast!
 picked
   up its remnant. Loaded into memory doesn't mean that the malware was
   active, if the Windows XP was equipped with a good antivirus.
 
  Interesting!  The WinXP has Microsoft Security Essentials on it.  I'll
 ask
  my wife if it picked up anything lately.

 She can't recall any MSE reports of malware.  I did check the WinXP fs for
 all
 the files and registry entries that this trojan is meant to create and none
 were present.  Then I've zero'ed the pagefile and a second scan did not
 flag
 anything up.

 I also checked for a reported trojan in a Windows 7 vdi file (in
 virtualbox).
 Nothing found there either.  I am tempted to think that avast! is rather
 super-sensitive.  However, avast! also picked up some php files from a
 backed
 up website - so this may be a worthwhile find.

 Anyway, I can't make it integrate with kmail which was the original user
 requirement.  Tried this script but the kmail Antivirus Wizard will not
 pick
 it up:

   http://forum.avast.com/index.php?topic=17898.0

 So I am now heading for clamav to see how that works with a Linux desktop.

 --
 Regards,
 Mick



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

2011-10-30 Thread James Broadhead
2011/10/23 Lavender lavender_mat...@163.com:
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

My reading of those errors implies that you might have an alsa config
file left over which is confusing mplayer. Make sure that you don't
have .asoundrc or .alsa*  in your ${HOME}. You probably don't need one
(not for most setups).

Is your card in `cat /proc/asound/cards` or alsamixer ? (can't check
correct location, in Windows atm).



Re: [gentoo-user] DVD-mp4 - handbrake vs something else

2011-10-30 Thread Mark Knecht
On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear andrey@gmail.com wrote:
 On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote:
 I'm getting a Kindle Fire in a few days. While I didn't get it
 specifically to watch movies looking at the specs it does apparently
 handle mp4 as a video format and they state online that you can watch
 streaming movies  TV shows from Amazon's servers. I do a lot of blood
 donations - roughly 20-25 times/year - that take 2-3 hours each so
 either being able to read or watch a movie would be a pleasant way to
 pass the time. Being able to hold it comfortably in one hand is
 important to me.

 I started looking around in Google for something to encode a few DVDs
 so that I could see how well it works. A program called handbrake was
 showing up in a lot of links, but it requires an overlay. While I have
 no problem adding yet another overlay (which on is best?) I wondered
 what might be in the normal portage database that others here use for
 this purpose?


 I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n)
 then 2-pass ffmpeg the vob to transcode to mkv.

 Makes batch transcoding rather fast and painless.



Thanks. Here's my progress so far using a Casablanca DVD as a test case.

Again, my goal by the middle of next month is to run videos on the
Kindle Fire. The spec sheets for the Fire says it's supports mp4. I
don't see any other obvious video formats.

1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next
step but didn't easily Google how to run it in this specific case so I
set it aside for the moment.

2) Tried dvd::rip because it was in portage. It got through the rip
portion of the job but then apparently couldn't find it's own files to
do the encoding. I tried joining the dvd:rip email list but I'm still
waiting for the moderator to accept me 3 days later so there's no
where appropriate for me to ask questions on using dvd::rip.

3) I tried handbrake which requires using an overlay.

3a) Tried the sabayon overlay but it wants to change too many files on
my system so I dropped that.
3b) Tried the multimedia overlay because it had the most up to date
version of handbrake. Unfortunately that didn't build
3c) Tried the init6 overlay with provided handbrake-0.9.5 which built
correctly and runs fine.

Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v
file. That file plays fine in xine and looks very good. Being that the
Kindle Fire only has about 6GB available for user content that gives
me 4 movies at a time which is fine for me but I suspect I can do
better.

My issue now (I think) is to learn to use ffmpeg to convert from m4v
to mp4. I'd like to see about reducing the file size a bit if
possible. At the same time the native resolution of the Fire is
1024x600 so I'm wondering about whether I can make the movies look
better by making the mp4 file somehow know about that size.

Anyway, I'v made reasonable progress for a few days of sporadic
effort. Hopefully I'll be able to make more by Nov. 15th.

Cheers,
Mark



Re: [gentoo-user] Which desktop antivirus?

2011-10-30 Thread Mick
On Sunday 30 Oct 2011 13:32:26 James Broadhead wrote:
 I'm surprised that no one has mentioned rkhunter yet - loads of lib
 exploits allow system access, and there's a pretty solid argument that says
 that compromising a user account on the average *nix system allows enough
 resourses to do a lot of malicious activity without even needing privilege
 escalation.

I have ...

All I use on my boxen is chkrootkit and rkhunter.

rkhunter-1.3.8 is currently giving me false positives:
==
File properties checks...
Required commands check failed
Files checked: 138
Suspect files: 1

Rootkit checks...
Rootkits checked : 245
Possible rootkits: 2
Rootkit names: Xzibit Rootkit, Knark Rootkit

Applications checks...
Applications checked: 3
Suspect applications: 0
==

This is known and I believe fixed in later versions.
-- 
Regards,
Mick


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


Re: [gentoo-user] DVD-mp4 - handbrake vs something else

2011-10-30 Thread Mark Knecht
On Sun, Oct 30, 2011 at 8:28 AM, Mark Knecht markkne...@gmail.com wrote:
SNIP

 Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v
 file. That file plays fine in xine and looks very good. Being that the
 Kindle Fire only has about 6GB available for user content that gives
 me 4 movies at a time which is fine for me but I suspect I can do
 better.

Handbrake had some settings that allowed me to target different file
sizes. I tried both 700MB and 300MB. Both worked. The 300MB version
was noticeably splotchy on backgrounds when displayed full screen on a
1920x1280 monitor, but not so much when sized to about the size of the
Kindle Fire.

- Mark



Re: [gentoo-user] DVD-mp4 - handbrake vs something else

2011-10-30 Thread Mark Knecht
On Sun, Oct 30, 2011 at 9:39 AM, Mark Knecht markkne...@gmail.com wrote:
 On Sun, Oct 30, 2011 at 8:28 AM, Mark Knecht markkne...@gmail.com wrote:
 SNIP

 Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v
 file. That file plays fine in xine and looks very good. Being that the
 Kindle Fire only has about 6GB available for user content that gives
 me 4 movies at a time which is fine for me but I suspect I can do
 better.

 Handbrake had some settings that allowed me to target different file
 sizes. I tried both 700MB and 300MB. Both worked. The 300MB version
 was noticeably splotchy on backgrounds when displayed full screen on a
 1920x1280 monitor, but not so much when sized to about the size of the
 Kindle Fire.

 - Mark


And the m4v vs mp4 item is like a non-issue for me. From the Handbrake manual:

[quote]
MP4 vs M4v

They are the exact same file, the only difference is the extension. MP4 vs M4v.

For MP4 files, HandBrake will automatically use the extension M4V when
you pass-through audio (AC3), use SRT subtitles or have chapter
markers enabled.

You can simply change the file extension between .mp4 and .m4v as the
file is exactly the same. There are no differences in the content or
container itself.

You can disable the option to automatically set this in HandBrakes preferences.
[/quote]



[gentoo-user] Re: DVD-mp4 - handbrake vs something else

2011-10-30 Thread Grant Edwards
On 2011-10-30, Mark Knecht markkne...@gmail.com wrote:

 3) I tried handbrake which requires using an overlay.

No, it doesn't.  You can just grab the ebuild file and use it locally.

 Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v
 file. That file plays fine in xine and looks very good. Being that the
 Kindle Fire only has about 6GB available for user content that gives
 me 4 movies at a time which is fine for me but I suspect I can do
 better.

Smaller will generally mean worse looking and longer encoding time.

 My issue now (I think) is to learn to use ffmpeg to convert from m4v
 to mp4.

You don't need ffmpeg.  You just need mv:

 mv foo.m4v foo.mp4

 I'd like to see about reducing the file size a bit if
 possible. At the same time the native resolution of the Fire is
 1024x600 so I'm wondering about whether I can make the movies look
 better by making the mp4 file somehow know about that size.

If you mean you want the files encoded at a resolution of 1024x600,
you can tell handbrake what output resolution you want.  You'll get
far better results by encoding to the desired resolution, format and
bit-rate you want the first time than you will re-encoding a second
time.

You can create your own presets with whatever encoding settings you
want.

-- 
Grant Edwards   grant.b.edwardsYow! World War III?
  at   No thanks!
  gmail.com




Re: [gentoo-user] Which desktop antivirus?

2011-10-30 Thread James Broadhead
I'm surprised that no one has mentioned rkhunter yet - loads of lib
exploits allow system access, and there's a pretty solid argument that says
that compromising a user account on the average *nix system allows enough
resourses to do a lot of malicious activity without even needing privilege
escalation.
On Oct 30, 2011 1:06 p.m., Mick michaelkintz...@gmail.com wrote:


Re: [gentoo-user] DVD-mp4 - handbrake vs something else

2011-10-30 Thread Andrey Moshbear
On Sun, Oct 30, 2011 at 11:28, Mark Knecht markkne...@gmail.com wrote:
 On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear andrey@gmail.com wrote:
 On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote:
 I'm getting a Kindle Fire in a few days. While I didn't get it
 specifically to watch movies looking at the specs it does apparently
 handle mp4 as a video format and they state online that you can watch
 streaming movies  TV shows from Amazon's servers. I do a lot of blood
 donations - roughly 20-25 times/year - that take 2-3 hours each so
 either being able to read or watch a movie would be a pleasant way to
 pass the time. Being able to hold it comfortably in one hand is
 important to me.

 I started looking around in Google for something to encode a few DVDs
 so that I could see how well it works. A program called handbrake was
 showing up in a lot of links, but it requires an overlay. While I have
 no problem adding yet another overlay (which on is best?) I wondered
 what might be in the normal portage database that others here use for
 this purpose?


 I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n)
 then 2-pass ffmpeg the vob to transcode to mkv.

 Makes batch transcoding rather fast and painless.



 Thanks. Here's my progress so far using a Casablanca DVD as a test case.

 Again, my goal by the middle of next month is to run videos on the
 Kindle Fire. The spec sheets for the Fire says it's supports mp4. I
 don't see any other obvious video formats.

 1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next
 step but didn't easily Google how to run it in this specific case so I
 set it aside for the moment.

Was your vobcopy line $vobcopy -i /path/to/mountpoint -n ${TITLE_NO}
-l -O ${MOVIE}_${TITLENO}.vob ?

My ffmpeg lines for dvd to mkv:

2.0 audio:
for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $file.vob
-pass $a -vcodec libx264 -b 800k -deinterlace -acodec libfaac -ac 2
-ab 192k -y $file.mkv ;done

5.1:
for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $1.vob
-pass $a -vcodec libx264 -x264opts preset=slower -b 800k -deinterlace
-acodec libfaac -ac 6 -ab 440k -y $1.mkv ;done

I use schedtool and nice to keep ffmpeg from hogging the cpu.


 My issue now (I think) is to learn to use ffmpeg to convert from m4v
 to mp4. I'd like to see about reducing the file size a bit if
 possible. At the same time the native resolution of the Fire is
 1024x600 so I'm wondering about whether I can make the movies look
 better by making the mp4 file somehow know about that size.

Downscale hd to 480p and de-interlace DVDs and other 480i content.
720x480 will look pretty good on a 1024x600 (WSVGA) screen.