USB Camera

Kendric Beachey ak at kc.rr.com
Fri Dec 13 05:19:29 CST 2002


On Thursday 12 December 2002 12:26 am, Jim Herrmann wrote:
> [snip]
> I don't really want to automatically move all the pictures.  I would like
> to be able to give her an icon on the desktop that she can click, and the
> camera is mounted, and up pops konqueror into the proper directory with the
> proper privledges on the mounted camera directory.  Then she can move the
> pictures she wants to the directory she wants to save in.  Then when she
> closes konqueror, the camera is unmounted and all is as it was.

What a coincidence!  That's what I want to do for my wife!

No luck here yet either.  I've built a script kind of like Jim's, but it stops 
at mounting the directory.  I set the script suid root, but still, whenever 
it's run by someone other than root, modprobe poops out with "only root can 
do that".  Any tips there?

-- 
Kendric Beachey
ak at kc.rr.com

DVD decryption in seven lines of Perl code:
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=( 
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72, at z=(64,72,$a^=12*($_%16 
-2?0:$m&17)),$b^=$_%64?12:0, at z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h 
=5;$_=unxb24,join"", at b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$ 
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d8^($f=$t&($d12^$d4^ 
$d^$d/8))<<17,$e=$e8^($t&($g=($q=$e14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^ 
(($h=8)+=$f+(~$g&$t))for at a[128..$#a]}print+x"C*", at a}';s/x/pack+/g;eval




More information about the Kclug mailing list