OESF Portables Forum

General Forums => General Discussion => Topic started by: Harlequin on May 26, 2004, 01:27:14 pm

Title: chmod on /proc tree
Post by: Harlequin on May 26, 2004, 01:27:14 pm
Hello,
I hope you can help me.  This is very frustrating.  I\'m trying to change the permissions on a sub-dir of /proc under cacko 64-0 on a 5500.  It runs the command without issues, but ls -al shows no change.  

I\'m trying this as root.  It wont let me create a file, so I thought it might be permissions on the dir.

H.
Title: chmod on /proc tree
Post by: tecknobabble on May 26, 2004, 03:35:26 pm
Why?  

/proc is not a normal filesystem, its a mechanism through which parts of the kernel are exposed to allow easy access to information that it contains aswell as providing tuning options for certain modules.   As a consequence the filesystem attributes are typically fixed....
Title: chmod on /proc tree
Post by: Stubear on May 26, 2004, 09:15:53 pm
AFAIK you can NOT create files under /proc - that is the kernels job. you can only change the values of files laready there.

What are you trying to do?

Stu
Title: chmod on /proc tree
Post by: Harlequin on May 27, 2004, 07:46:46 am
I\'m trying to apply the params for irda connections to a sony-ericsson mobile:

echo 1 ] /proc/sys/net/irda/max_tx_window
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time

I was able to make them when using tkr with a cacko kernel.  Now I just get:

cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.

Any ideas?

H.
Title: chmod on /proc tree
Post by: tecknobabble on May 27, 2004, 04:41:51 pm
Quote
echo 1 ] /proc/sys/net/irda/max_tx_window  
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time  

I was able to make them when using tkr with a cacko kernel.  Now I just get:
cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.  
If it worked with the tkr (theKompany rom I guess) and not cacko then the cacko kernel doesn\'t have the irda patch that lets you do what you are trying to do.

If you look at this page (http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/IrDA.html) and search for min_tx_turn_time you\'ll get to this:
Code: [Select]
Note that the patch adding max_tx_window to the IrDA stack is included only in kernel 2.4.22, for earlier kernel to fetch a patch up hereYou\'d have to see if the cacko guys could put this on their to-include list if this is the case...
Title: chmod on /proc tree
Post by: kuijer001 on June 04, 2004, 08:29:57 am
Hi Harlequin

I\'m using my C700 (latest Cacko-ROM) together with my SonyEricsson, and I\'m not having trouble at all connecting them both using Irda! Transmitting appointments from KO/PI to my mobile and JAVA-applits  or pictures work fine on the C700 \"as is\". I don\'t see the problem