VectorLinux
October 23, 2014, 12:13:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: DVB. Am I being stupid  (Read 1140 times)
Chuggly
Member
*
Posts: 10


« on: September 22, 2009, 01:48:35 pm »


Hi all

I am trying to copy the following file into the /sys/firmware directory.
dvb-usb-dib0700-1.10.fw

I copy and paste, but get the message

Failed to copy "/media/Iomega HDD/shytehawk/Linux/Linux tech/dvb_usb_file/dvb-usb-dib0700-1.10.fw" to "/sys/firmware/dvb-usb-dib0700-1.10.fw".

Failed to open "/sys/firmware/dvb-usb-dib0700-1.10.fw" for writing (No such file or directory).

Do you want to skip it?

I have even downloaded it again and copied it from the desktop, but still get the same message.
I have tried changing permissions and owner.

Regards to all
Tim

Am I doing something stupid??

/sys/firmware is a directory and dvb-usb-dib0700-1.10.fw is a file on my external HDD
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: September 22, 2009, 02:33:04 pm »

I assume you are doing this with a filemanager (thunar/pcmanfm) that you opened as root.  You will not have the ability to paste anything into the /sys/ directory unless you are a super aka root user at the time.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Chuggly
Member
*
Posts: 10


« Reply #2 on: September 22, 2009, 02:57:24 pm »


Hi Stretchedthin

I am using Thunar logged in as root

I have also tried opening the icon on the desktop and dragging it to the directory with the same result.

Thanks
Tim

Logged
newt
Vectorian
****
Posts: 1132



« Reply #3 on: September 22, 2009, 03:11:12 pm »

edit:
I do not think you can actually write to the /sys directory; I believe it's for system/kernel user only. Perhaps that should be '/lib/firmware' rather than '/sys/firmware'?
endedit:

how about:su - root -c "cp /media/Iomega\ HDD/shytehawk/Linux/Linux\ tech/dvb_usb_file/dvb-usb-dib0700-1.10.fw /lib/firmware/"
su - root -c "cp /media/Iomega\ HDD/shytehawk/Linux/Linux\ tech/dvb_usb_file/dvb-usb-dib0700-1.10.fw /sys/firmware/"
you'll need to supply the root password when prompted
does this work?

« Last Edit: September 22, 2009, 03:27:14 pm by newt » Logged
Chuggly
Member
*
Posts: 10


« Reply #4 on: September 23, 2009, 09:20:51 am »

Well.

1st, Thanks to Newt and stretchedthin.

2nd I am a nob head!

Of course you cannot write to the /sys/firmware file.
But you can write to the /lib/firmware file.
So that's what I have now done successfully.

Many thanks again guys

Servere case of Muppetry

So the answer to my question at the beginning is a resounding YES............

Regards
Tim
« Last Edit: September 23, 2009, 09:28:26 am by Chuggly » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!