PDA

View Full Version : Strange ?!? path is lost when su root


steph291
6th April 2004, 04:23 AM
I'm using Fedora Core 1 on a Dell Dimension
20gig hd
400 mb ram
and voodoo5 agp
all the hardware is working fine, the
problem is more about tunning ...
first
when I start xterm and su root
the new console env. is missing something
(like lsmod, lspci, lsusb)
"File or Directory not found"
but if I do ctrl+alt+f1, going out of KDE
into console mode, everythings is fine...
(as root)
any idea ?

Another Question :
I have 2 video device :
usb logitech quickcam express and
bt848 (Wintv_go pci)

I got the usb cam working in FC1, finally
but now that the quickcam is using video0
How can I automate bttv to use video1 ?
I know there's some "options" that I can
put in modules.conf but there's no
speficications that I can find googling like

I need to do a modprobe on both :(

please reply
thanks

SuperNu
6th April 2004, 04:33 AM
When you type "su" from a console, you are using the current user's environment. If you want to use root's environment, you have to type "su -" (without the quotes) from the console. When you press ctrl+alt+f1, you actually log into the system, so you automatically get root's environment.

For your second question, I am not really sure how to help you out. You might need to use something like "alias video1 module name" (without the quotes) or something along those lines in /etc/modules.conf.

--SN