Re: Firefox/facebook broke

2009-09-20 Thread Robert Wuest
After much messing around, turns out things straighten themselves out if 
I just rm * the contents of the cache directory.


Now if I could only get google earth to work again (getting the no 
driver message).


Robert

On 09/19/2009 06:45 AM, Robert Wuest wrote:

After I updated yesterday (about 500 M worth), 2 things have broken:

When using facebook with firefox, several of the icon/button thingies 
at the bottom of the window (facebook icons, not firefox) no longer 
contain a visible icon.  If I mouse over where they should be, the 
label (Photos, Groups, Events, etc.) does appear above them and the 
button space changes color.  Clicking in them does function 
correctly.  That's on the lower left side of the facebook page.


On the right side, there is are chat and notifications buttons.  The 
chat button is completely non-functional and the notification button 
will only take me to the full notifications page, not to the pop-up 
that used to be there (which had a button to take you to the full 
page).  One other thing: The chat button is showing me Offline, but I 
can open facebook with konquerer and go online then close konquerer 
and refresh the page in firefox and it shows me online with the number 
of friends that are also online, but I still cannot access the chat 
popup to either chat or go offline (and of course reversing the 
process using konquerer works to go offline).


I have keepcache=1 in my yum.conf file, so I was able to revert the 
firefox/xulrunner/yelp updates back to the previous (functioning) 
version with 'sudo rpm -U --oldpackage 
xulrunner-1.9.1.2-1.fc11.x86_64.rpm 
xulrunner-devel-1.9.1.2-1.fc11.x86_64.rpm 
yelp-2.26.0-6.fc11.x86_64.rpm' to no avail.  So it's not firefox.  And 
I haven't a clue what else could be causing it.  Anyone got any hints?


Robert



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Firefox/facebook broke

2009-09-19 Thread Robert Wuest

After I updated yesterday (about 500 M worth), 2 things have broken:

When using facebook with firefox, several of the icon/button thingies at 
the bottom of the window (facebook icons, not firefox) no longer contain 
a visible icon.  If I mouse over where they should be, the label 
(Photos, Groups, Events, etc.) does appear above them and the button 
space changes color.  Clicking in them does function correctly.  That's 
on the lower left side of the facebook page.


On the right side, there is are chat and notifications buttons.  The 
chat button is completely non-functional and the notification button 
will only take me to the full notifications page, not to the pop-up that 
used to be there (which had a button to take you to the full page).  One 
other thing: The chat button is showing me Offline, but I can open 
facebook with konquerer and go online then close konquerer and refresh 
the page in firefox and it shows me online with the number of friends 
that are also online, but I still cannot access the chat popup to either 
chat or go offline (and of course reversing the process using konquerer 
works to go offline).


I have keepcache=1 in my yum.conf file, so I was able to revert the 
firefox/xulrunner/yelp updates back to the previous (functioning) 
version with 'sudo rpm -U --oldpackage 
xulrunner-1.9.1.2-1.fc11.x86_64.rpm 
xulrunner-devel-1.9.1.2-1.fc11.x86_64.rpm yelp-2.26.0-6.fc11.x86_64.rpm' 
to no avail.  So it's not firefox.  And I haven't a clue what else could 
be causing it.  Anyone got any hints?


Robert

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: f11 - missing font?

2009-07-01 Thread Robert Wuest

On 07/01/2009 12:41 PM, Frank Cox wrote:

On Wed, 01 Jul 2009 19:15:37 +0100
Sharpe, Sam J wrote:

   

As such, it's probably not installed and X is sourcing the fonts from
their directories and not via a font server.
 


I wonder if that's the issue.  Perhaps xscreensaver requires xfs.

   

I don't think so. I did a test:
stop xfs,
run an xterm
select -*-courier-bold-r-*-*-*-960-*-*-m-*-*-*
and then use ctrl-right_click to select the font in the clipboard.

That worked.

Also, with xfs stopped, I ran

$ fc-match -- '-*-courier-bold-r-*-*-*-960-*-*-m-*-*-*'
DejaVuSans.ttf: DejaVu Sans Book
$ locate DejaVuSans.ttf
/usr/share/fonts/dejavu/DejaVuSans.ttf
$ rpm -qf /usr/share/fonts/dejavu/DejaVuSans.ttf
dejavu-sans-fonts-2.29-2.fc11.noarch

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: f11 - missing font?

2009-06-30 Thread Robert Wuest

On 06/30/2009 05:34 PM, Tom Horsley wrote:

On Tue, 30 Jun 2009 16:00:45 -0600
Frank Cox wrote:

   

I hadn't, in fact.  But installing them didn't solve the problem.  (I logged
out and logged back in to make sure, no joy...)
 


I've found a lot of stuff where logging in and out isn't good enough.
I wouldn't be too sure they aren't installed until you reboot and
they still aren't there.

   

These things seem to get the fonts squared away:

$ fc-cache

(I don't know if there is some way this needs to be run as root)

If you're running xfs (I am):

# service xfs restart

At least that has seemed to work for me in the past.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Skype is a CPU hog on Fedora 11

2009-06-29 Thread Robert Wuest

On 06/27/2009 01:38 PM, Jerry Feldman wrote:

On 06/22/2009 06:03 PM, Robert Wuest wrote:
   

Skype was working fine on Fedora 10, but on 11 it consumes 100% of a
CPU (running on a Q6600 system).  On Fedora 10, it's CPU usage was in
the noise.  After a while (a couple of minutes), the lag time
increases to where it is essentially unusable.  I just did an strace
of a call to the skype testing service thing and I don't really see
anything interesting in there.  Anybody have any ideas what could be
wrong?  Something wrong with my audio maybe?

Robert

 

Is there a more recent version of Skype for F11 (x86_64) than this:
  skype-2.0.0.72-fc5.i586.rpm


   


That's the latest.  It's old, but it did work like a champ for me on F10 
and I'm thinking seriously about reverting back to F10, not just for 
skype but numerous little gotchas I've run into.  A month into this and 
I'm still not really solid.   I've got credit on skype that I can't use.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Documentation references sha1sum

2009-06-28 Thread Robert Wuest
I just got an email from a friend trying to install F11.  He points out 
that the documentation tells you to run sha1sum instead of the correct 
sha256 sum. (Actually he didn't say it quite that nicely :).


I can only find this one page: 
http://docs.fedoraproject.org/install-guide/f11/en-US/html/sn-expert-download.html


He says he followed directions for using a windows sha1sum.exe, but I 
can't find that page.


Anyway, the documentation needs to be corrected.

Robert

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Skype is a CPU hog on Fedora 11

2009-06-22 Thread Robert Wuest
Skype was working fine on Fedora 10, but on 11 it consumes 100% of a CPU 
(running on a Q6600 system).  On Fedora 10, it's CPU usage was in the 
noise.  After a while (a couple of minutes), the lag time increases to 
where it is essentially unusable.  I just did an strace of a call to the 
skype testing service thing and I don't really see anything interesting 
in there.  Anybody have any ideas what could be wrong?  Something wrong 
with my audio maybe?


Robert

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Skype is a CPU hog on Fedora 11

2009-06-22 Thread Robert Wuest

On 06/22/2009 04:42 PM, stan wrote:

On Mon, 22 Jun 2009 16:03:00 -0600
Robert Wuestrwues...@wuest.org  wrote:

   

Skype was working fine on Fedora 10, but on 11 it consumes 100% of a
CPU (running on a Q6600 system).  On Fedora 10, it's CPU usage was in
the noise.  After a while (a couple of minutes), the lag time
increases to where it is essentially unusable.  I just did an strace
of a call to the skype testing service thing and I don't really see
anything interesting in there.  Anybody have any ideas what could be
wrong?  Something wrong with my audio maybe?

Robert

 

I don't know about skype, but the flash on some sites is so demanding
(ill-formed?) that it can use all the resources in the machine unless it
is curtailed.  Is it possible you have your browser on one of those
sites, and it only appears to be skype?  One that went hog wild for me
was yahoo finance.  I ended up using noscript and turning it off. End
of problem.

   
I have that problem with flash, too (in F9, F10 and F11), but this is 
definitely skype.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Skype is a CPU hog on Fedora 11

2009-06-22 Thread Robert Wuest

On 06/22/2009 05:25 PM, Brian Mury wrote:

On Mon, Jun 22, 2009 at 15:03, Robert Wuestrwues...@wuest.org  wrote:
   

Skype was working fine on Fedora 10, but on 11 it consumes 100% of a CPU
 


Is the CPU at 100% all of the time, or only when Skype is in use?
Is Skype configured to use PulseAudio?

If I set Skype to use PulseAudio for the ringing device, it uses 100%
CPU when it plays sounds, and for several seconds afterwards. This
doesn't always happen the first few times it plays sounds, but will
start happening after it has been in use for a while (it doesn't take
long). Setting it to the ALSA device works.

Strangely enough, I had this problem on a previous Fedora version (9?
10? I forget), but it eventually went away - after some software
updates, if I recall correctly, but my memory is pretty hazy on this.
Seems it's back in F11... :-(

BTW, I haven't tried using PulseAudio for the sound in/sound out
devices, so I don't know how that would behave. I have a USB headset
that is used only for Skype.

Brian

   
I am using pulse. To be honest, audio has become a freakin' mystery to 
me on Linux -  I feel lucky if anything plays at all anymore.
(I've been trying to decipher this in hopes of getting a clue to my 
audio problems : 
http://insanecoding.blogspot.com/2009/06/state-of-sound-in-linux-not-so-sorry.html)


I had a real hard time getting the microphone input to work.  So I have 
the input set to pulse and the output set to HDA Intel.  That is the 
only thing I could ever get to work at all.  I tried every combination, 
calling that skype testing service thing each time to see if it was 
working.  A _lot_ of time doing trial and error.  I do not see an ALSA 
option.  Only the default (no workie), several HDA Intel options (no 
workie), HDMI (no workie), and Pulse (works).  I think I even installed 
the static version of skype to get it work, then the regular version has 
worked since.  This is a real mess.


So, this might be interesting: what would happen if I just rpm -e'd 
everything pulse?   Can I just remove pulse completely and expect 
anything to work?  All I really care about working would be three 
things: mplayer (for mp3s and oggs and an occasional mpg/avi), flash 
(for hulu.com) and skype.  If everything else was broken, it might be a 
long time before I even noticed.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: This ought to have worked

2009-06-11 Thread Robert Wuest
On Thu, 2009-06-11 at 09:54 +0530, Rahul Sundaram wrote:
 On 06/11/2009 09:50 AM, Robert Wuest wrote:
  I just installed F11 on my laptop and fired up firefox, and for grins
  went to the Red Hat magazine link, clicked on a video on the right side
  there and it said I needed a plugin. So I clicked get the plugin and it
  came back with no plugin found.  I didn't look into it any further and I
  don't really need/or want help on this - I'll figure it out sometime
  when I care/have time, but this really should have just worked ( a new
  install, not an upgrade of Fedora desktop/development install watching a
  Red Hat video). A new/inexperienced user is gonna have an unpleasant
  HUH? experience with it.
 
 Click on the Ogg Video link and Firefox in Fedora 11 can play it out of
 the box directly. For Flash, refer
 
 http://fedoraproject.org/wiki/Flash
 
 Rahul
 

That worked.  And it really demonstrated to me that I need more
bandwidth :)

Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


This ought to have worked

2009-06-10 Thread Robert Wuest
I just installed F11 on my laptop and fired up firefox, and for grins
went to the Red Hat magazine link, clicked on a video on the right side
there and it said I needed a plugin. So I clicked get the plugin and it
came back with no plugin found.  I didn't look into it any further and I
don't really need/or want help on this - I'll figure it out sometime
when I care/have time, but this really should have just worked ( a new
install, not an upgrade of Fedora desktop/development install watching a
Red Hat video). A new/inexperienced user is gonna have an unpleasant
HUH? experience with it.

Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: For Loops and Space in Names

2008-12-10 Thread Robert Wuest
On Tue, 2008-12-09 at 18:53 -0600, Dave Ihnat wrote:
 On Wed, Dec 10, 2008 at 11:17:05AM +1100, Cameron Simpson wrote:
  is totally reliable and does not need $IFS hacking (which amounts to
  guess a char I might not see in a filename).
 
 Hmm...I don't have as much problem with it, but that may be because
 since I started using Unix around 1980, using IFS to parse records has
 been a useful tool.  Something like:
 
   SAVIFS=$IFS
   IFS=:
   
   while read INLINE /etc/passwd
   do
   set $INLINE
   (process fields)
   done;
   IFS=$SAVIFS
 
 (Yeah, if it gets too complicated, shift to awk.)

Spaces have always been one of my pet peeves and I find this discussion
rather interesting.  Spaces don't belong in filenames and they make
script writing a pain.  I'm going to include a script I wrote a long
time ago to handle the problem of junk characters in music files.  Even
buying music online from Amazon will get you spaces in filenames :(

I remember messing with this little script quite a bit before it worked.
One lesson I learned writing this was to use lot's of double quotes.
The script replaces spaces (and other things) in filenames.  I just put
it up here as an example since it's pretty short.  I seem to use it a
lot.  

The main for loop is:

for i in *; do 
fixname $i
done

Notice the quotes around $i.  They're important.

Robert


#!/bin/bash
#
# fixmp3names
# Copyright (c) 2000, by Robert Wuest
# Permission is granted to use, modify and, distribute according
# to the terms of the GPL
#
# This script fixes a lot of the anomalies in file names
# usually weird stuff from mp3 files, but it's really generic 
#
# if called with no args it processes all files in the current directory
# or works on the names passed on the command line
# probably doesn't work across directories
#
# just writes the mv commands to standard out
# if you want it to actually do something, pipe the output to sh, as in:
#   fixmp3names | sh
#

IFS=$'\n'

function fixname() 
{
newname=`echo $1 | \
sed -r \
-e s/[ ]+/_/g \
-e s/[_]+/_/g \
-e s/'//g \
-e s/[+]//g \
-e s/,//g \
-e s/_-_/-/g \
-e s/\/and/g`;
# only do rename if the name is changed
if [ \$1\ != \${newname}\ ]; then
echo mv \$1\ \${newname}\
else
echo # \$1\ and \${newname}\ are the same file
fi
}

if [ $# == 0 ]; then
for i in *; do 
fixname $i
done
else
while [ z$1 != z ]; do
fixname $1
shift
done
fi

exit




-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: For Loops and Space in Names, take 2

2008-12-10 Thread Robert Wuest
 wrong (it can only get
better).


#!/bin/bash
# 
# fixmp3names
# Copyright (c) 2000, 2008 Robert Wuest
# Permission is granted to use, modify and, distribute according
# to the terms of the GPL
#
# With thanks to Cameron Simpson from the Fedora users list!
#
# This script fixes a lot of the anomalies in file names
# usually weird stuff from mp3 files, but it's really generic 
#
# if called with no args it processes all files in the current directory
# or works on the names passed on the command line
# probably doesn't work across directories
#
# default just writes the mv commands to standard out
# if you want it to actually do something, pipe the output to sh, as in:
#   fixmp3names | sh
# or use -x as:
#   fixnames -x
#
# Version 2

IFS=$'\n'


oper=f_echo

function f_mv()
{   ( set -x
mv $1 $2
)
}

function f_echo()
{
echo mv \'$1\' \'$2\'
}

function fixname() 
{   ( set -f
newname=`echo $1 | \
sed -r \
-e s/$//g \
-e s/\\o140//g \
-e s/,//g \
-e s/[+]//g \
-e s/'//g \
-e s/%//g \
-e s/\\*//g \
-e s/[ ]/_/g \
-e s/[_]+/_/g \
-e s/_-_/-/g \
-e s/\/and/g`;

# only do rename if the name is changed
if [ $1 != ${newname} ]; then
# leave, with message, if destination name exists
if [ -a ${newname} ]; then
echo # '${newname}' exists, skipping '$1'
return
fi
${oper} $1 ${newname}
else
echo # '$1' and '${newname}' are the same file
fi
)
}

# handle leading -x option
if [ x$1 = x-x ]; then
shift
oper=f_mv
fi

if [ $# = 0 ]; then
for i in *; do 
fixname $i
done
else
for i; do
fixname $i
done
fi

exit


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: For Loops and Space in Names, take 2

2008-12-10 Thread Robert Wuest
  the $1 is still unsafe, and cannot easily be made safe. (Actually,
  bash's printf %q formatter may do the trick for you, and since you're
  already in nonportable GNU sed land, you may as well step right in with
  nonportable bash too:-)
 
 I'm not sure what %q does.  It's not in the info or man documentation.


I was looking in all the wrong places. Found it in man bash.  I'm going
to play with that some.

Robert



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Fedora 10, Kernel without xen

2008-12-07 Thread Robert Wuest
Can someone please tell me how to get a kernel for fedora 10 without
xen. I don't use it and don't plan to don't have any need for it.  I
have an nvidia graphics card and want to use their driver (because it is
much faster).  I've been using Nvidia's installer for quite a while, and
everything was fine until 2.6.27 on Fedora 9.  I stayed on 2.6.26 there
because of this.  I've poked around RPM fusion, but don't see a kernel
there, either.  I haven't tried their version of the nvidia driver.  I
had a system that was working just fine for me and now it's broken :(.

Would I be better off just building the latest from kernel.org?

Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 10, Kernel without xen

2008-12-07 Thread Robert Wuest
On Mon, 2008-12-08 at 05:28 +0100, Kevin Kofler wrote:
 Robert Wuest wrote:
  Can someone please tell me how to get a kernel for fedora 10 without
  xen.
 
 There isn't any. Xen DomU support is now built in by default.
 
  I don't use it and don't plan to don't have any need for it.  I 
  have an nvidia graphics card and want to use their driver (because it is
  much faster).  I've been using Nvidia's installer for quite a while, and
 
 Their installer is broken.
 
  everything was fine until 2.6.27 on Fedora 9.  I stayed on 2.6.26 there
  because of this.  I've poked around RPM fusion, but don't see a kernel
  there, either.  I haven't tried their version of the nvidia driver.
 
 Then do so, because they fixed it to actually build. (At least this bug can
 be fixed because it is in the glue code for which source code is provided.)
 And the RPMs will also properly override the system libraries instead of
 braindeadly overwriting them like NVidia's installer does. Overwriting is
 going to break as soon as libGL gets updated in Fedora.
 
  I had a system that was working just fine for me and now it's broken :(.
 
 Because you used a broken installer.
 
  Would I be better off just building the latest from kernel.org?
 
 No, you would be better off using properly-packaged drivers. (You would be
 even better off buying hardware supported by drivers which are actually
 Free Software and part of Fedora instead of buying NVidia's crap and using
 their crappy proprietary drivers, but if you must use those drivers, at
 least use proper packages for them!)
 
 Kevin Kofler
 

The world's not quite so black and white as that.  Sometimes you got to
work with what you got.  But for the record, when I bought this PC, I
set out to NOT buy nvidia, but ended up with one anyway (leave it at
that).

Took your advice and tried the RPM fusion packaged driver.  It failed on
me (as it had on my previous attempt to use it back on fedora 8 or 9, I
forget which I tried it on, but I wasn't going to chase down this trail
again).

So I pondered it all a bit more and...

... realizing I'm on my own ...
... and sticking to what I know ...
... I built the kernel without xen, then installed the Nvidia driver.

Maybe this will help someone else, so here's a synopsis:

I first built the kernel from the src.rpm, then went in and ran make
xconfig and disabled xen. Compiled and manually installed that kernel
and modules after backing up the old one and making a grub entry for it
just in case. (I should have changed the kernel version number. Grrr!)
Rebooted to runlevel 3, and voila, no xen.  Ran Nvidia's 173 driver
script, it didn't build. Lot's of errors.  Fixed a couple, realized I
was getting in deeper than I wanted.  Finally, I checked Nvidia's site;
they have a new version 177 (which I have no idea now whether that would
have worked on the xen kernel or not). That built fine. Then a telinit 5
and I have their driver loaded and running.

Things are much much faster now.  Next time there's a kernel update, I
get to have all this fun again. :) But first, I'll try the 177 driver
with the xen kernel.  But not now.  It's running.  If need be, I'll add
myself a '--without xen' to the kernel.spec and just patch the spec and
configs next release.

What a tangled web I am weaving.  Sure would be easier if Nvidia would
just release their driver under the GPL.

Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Force monaural audio out both channels?

2008-11-24 Thread Robert Wuest
Hi,

I'm in Gnome on Fedora 9.

Is it possible to force a one channel mono source (in particular, Skype)
to come out both the left and right channels?  There doesn't seem to be
an obvious way to do this in the mixer, but it also seems like something
that would be that common.

Thanks,
Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Help me mount this drive

2008-11-16 Thread Robert Wuest
On Tue, 2008-11-11 at 12:47 -0600, Mikkel L. Ellertson wrote:
 Robert Wuest wrote:
  I bought a Cables-to-go USB to IDE/SATA Adapter (Model # 30504) to read
  some old drives sitting around.  I hook it up and it seems to connect
  and tell the host that it's there.  But it doesn't mount automatically,
  and I can't mount it manually.  In fact, I can't seem to read it at all.
  
 [ SNIP ]-
  
 Does this adapter have its own power supply for the drive, or does
 it gets its power from the USB bus? One thing I have found with the
 ones that have their own power supply is that you need to turn on
 the drive power before plugging in the USB cable. This gives the
 drive time to spin up before the computer asks for the drive
 information. (External cases do not seen to have this problem.)
 
 On the other hand, if it uses the USB bus for power, they usually
 have double USB plugs, one of witch is power only. It tends to work
 better if you plug in the power plug first, let the drive spin up,
 and then plug in the data connector.
 
 Mikkel
 -- 

It has a separate power supply.

This seems to do it.

1. Disconnect everything.
2. Connect adapter to drive.
3. Connect power to drive.
4. Wait a few seconds.
5. Plug adapter USB into computer.

When I do it just like that, it works fine.  Auto mounts. Perfect.

Many Thanks,
Robert



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Help me mount this drive

2008-11-11 Thread Robert Wuest
I bought a Cables-to-go USB to IDE/SATA Adapter (Model # 30504) to read
some old drives sitting around.  I hook it up and it seems to connect
and tell the host that it's there.  But it doesn't mount automatically,
and I can't mount it manually.  In fact, I can't seem to read it at all.

When I connect, I get the following from dmesg:

usb 2-4.4: new high speed USB device using ehci_hcd and address 13
usb 2-4.4: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb 2-4.4: New USB device found, idVendor=152d, idProduct=2338
usb 2-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
usb 2-4.4: Product: USB to ATA/ATAPI Bridge
usb 2-4.4: Manufacturer: JMicron
usb 2-4.4: SerialNumber: 152D203380B6
usb-storage: device scan complete
scsi 6:0:0:0: Direct-AccessPQ: 0
ANSI: 2 CCS
sd 6:0:0:0: [sdh] Attached SCSI disk
sd 6:0:0:0: Attached scsi generic sg8 type 0

Same stuff is in /var/log/messages

I have a /dev/sdh, but no partition devices (No /dev/sdh{1,2,3,etc}).

When I try to read the raw device with dd, I get 0 blocks:

# dd if=/dev/sdh of=/dev/null
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3.1811e-05 s, 0.0 kB/s

Does anyone know how to use this thing?

I've tried with several different drives,  one out of my system that I
know is working right.  Both IDE and SATA.  I've googled around a bit
for help, but nothing seems to be this problem. I'm just missing
something basic, aren't I?


Thanks,
Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Installing a RPM

2008-10-30 Thread Robert Wuest
On Wed, 2008-10-29 at 18:26 -0400, Jim wrote:
 I tryed to install openoffice.org-pdfimport-3.0.0-9.6.fc10.i386.rpm and 
 it needs a number dependencies like libuno_*,
   these dependcies are in /opt/openoffice.org/ure/lib/ but they can't be 
 found by rpm -ivh.
 

If you are absolutely sure that all of the dependencies are there and
that they will work correctly, you can tell rpm to ignore dependencies
with -nodeps.  This is normally not recommended, but it is sometimes
necessary.  I've used it with good results hundreds of times.  Then
sometimes the results aren't so good. YMMV.

rpm -ivh -nodeps openoffice.org-pdfimport-3.0.0-9.6.fc10.i386.rpm

You can always undo it with 'rpm -e openoffice.org-pdfimport' when it
doesn't work the way you expect :).

Robert

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: C++ and FTP

2008-10-28 Thread Robert Wuest
On Tue, 2008-10-28 at 19:10 +0100, [EMAIL PROTECTED] wrote:
 Hello,
 
 I have to use FTP connection in C++ applications.
 
 I found some tutorials, but nothing interesting.
 
 Has anybody been doing with FTP functions?
 
 I will need some tutorials about it.
 
 Thank you.

I would use libcurl, myself.

yum install libcurl libcurl-devel

Look at the examples in /usr/share/doc/libcurl-devel-7.18.2,
particularly ftpget.c and ftpupload.c.

They are in C, but the headers have al the functions wrapped
appropriately with #ifdef  __cplusplus stuff.


Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Problem building kernel

2008-10-17 Thread Robert Wuest
Hi,

I'm trying to rebuild my kernel before I do some patching to it, and I'm
running into an error.

I've downloaded the src.rpm and installed it

$ rpm -i kernel-2.6.26.5-45.fc9.src.rpm

cd to my SPECS and run 

$ rpmbuild -bb --target=`uname -m` kernel.spec

(in my case, uname -m is x86_64)

After a few secs, it bombs witht the following:

+ Arch=x86_64
+ echo USING ARCH=x86_64
USING ARCH=x86_64
+ make -s ARCH=x86_64 nonint_oldconfig
scripts/kconfig/lex.zconf.c:1628: warning: 'input' defined but not used
+ make -s ARCH=x86_64 -j3 bzImage 'cmd_objcopy=$(if $(filter -S,
$(OBJCOPYFLAGS)),sh -xc /usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR
-d /usr/src/debug -i $;)$(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_
$(@F)) $ $@'
  SYMLINK include/asm - include/asm-x86
cc1: error: unrecognized command line option -mno-red-zone
cc1: error: unrecognized command line option -mcmodel=kernel
cc1: error: unrecognized command line option
-maccumulate-outgoing-args
scripts/mod/empty.c:1: error: -m64 not supported in this configuration
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs
make: *** [scripts] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56204 (%build)


Does anyone have any ideas what's wrong?

Thanks,
Robert


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


OOPS - fixed Re: Problem building kernel

2008-10-17 Thread Robert Wuest
I had CROSS_COMPILE=powerpc-750-linux-gnu- in my environment.  Grrr.

It's building fine now.

Robert

On Fri, 2008-10-17 at 13:04 -0600, Robert Wuest wrote:
 Hi,
 
 I'm trying to rebuild my kernel before I do some patching to it, and I'm
 running into an error.
 
 I've downloaded the src.rpm and installed it
 
 $ rpm -i kernel-2.6.26.5-45.fc9.src.rpm
 
 cd to my SPECS and run 
 
 $ rpmbuild -bb --target=`uname -m` kernel.spec
 
 (in my case, uname -m is x86_64)
 
 After a few secs, it bombs witht the following:
 
 + Arch=x86_64
 + echo USING ARCH=x86_64
 USING ARCH=x86_64
 + make -s ARCH=x86_64 nonint_oldconfig
 scripts/kconfig/lex.zconf.c:1628: warning: 'input' defined but not used
 + make -s ARCH=x86_64 -j3 bzImage 'cmd_objcopy=$(if $(filter -S,
 $(OBJCOPYFLAGS)),sh -xc /usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR
 -d /usr/src/debug -i $;)$(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_
 $(@F)) $ $@'
   SYMLINK include/asm - include/asm-x86
 cc1: error: unrecognized command line option -mno-red-zone
 cc1: error: unrecognized command line option -mcmodel=kernel
 cc1: error: unrecognized command line option
 -maccumulate-outgoing-args
 scripts/mod/empty.c:1: error: -m64 not supported in this configuration
 make[2]: *** [scripts/mod/empty.o] Error 1
 make[1]: *** [scripts/mod] Error 2
 make[1]: *** Waiting for unfinished jobs
 make: *** [scripts] Error 2
 error: Bad exit status from /var/tmp/rpm-tmp.56204 (%build)
 
 
 Does anyone have any ideas what's wrong?
 
 Thanks,
 Robert
 
 

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines