Jump to content

Current Sensitivity


Guest Harness

Recommended Posts

Guest Harness

How do I see what my sensitivity is set at? I don't know how to read the contents of /sys/devices/.../0-005c/sensitivity but I know if I use echo sensitivity=* $echo sensitivity /sys.../sensitivity (without the dots obviously, just truncated it) it'll set it to sensitivity.

How do I read from the file?

Harness.

Link to comment
Share on other sites

Guest sigsegv0x0b
How do I see what my sensitivity is set at? I don't know how to read the contents of /sys/devices/.../0-005c/sensitivity but I know if I use echo sensitivity=* $echo sensitivity /sys.../sensitivity (without the dots obviously, just truncated it) it'll set it to sensitivity.

How do I read from the file?

Harness.

cat /filename/whatever

?

or less /filename/whatever or

more /filename

and if you really have no tools (like you often would without busybox and such) you can have bash do it

$ while read in; do echo $in; done < /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 6

model : 30

model name : IntelĀ® Core i7 CPU Q 720 @ 1.60GHz

stepping : 5

cpu MHz : 1596

cache size : 256 KB

fpu : yes

fpu_exception : yes

cpuid level : 11

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm

TLB size : 0 4K pages

clflush size : 64

cache_alignment : 64

address sizes : 36 bits physical, 48 bits virtual

power management:

Link to comment
Share on other sites

Guest Harness

Thanks a lot. My laptop died so I'm stopping my dev work for the night (Or I'd never sleep...) but I can't believe I didn't think about cat.

I'll try it sometime in the morning tomorrow.

Harness.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.