Module toshiba_acpi

For the last month I have been searching for a way to control my Toshiba laptop. Recently I found out that toshset can do this for me. However, I had to load some modules like "toshiba_acpi."
At first, I tried to do this manually and the result was the following:
user@hostname ~ $ sudo modprobe toshiba_acpi
modprobe: ERROR: could not insert 'toshiba_acpi': No such device
Then I tried to do this installing the application from AUR: toshiba_acpi-modules-dkms
The result was following
Building module:
cleaning build area....
make KERNELRELEASE=3.19.0-1-ARCH....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.19.0-1-ARCH (x86_64)
Consult /var/lib/dkms/toshiba_acpi-modules-dkms/1/build/make.log for more information.
and the /var/lib/dkms/toshiba_acpi-modules-dkms/1/build/make.log is the following
DKMS make.log for toshiba_acpi-modules-dkms-1 for kernel 3.19.0-1-ARCH (x86_64)
Fri Feb 20 17:47:14 EET 2015
make -C /usr/lib/modules/3.19.0-1-ARCH/build M=/var/lib/dkms/toshiba_acpi-modules-dkms/1/build modules
make[1]: Entering directory '/usr/lib/modules/3.19.0-1-ARCH/build'
CC [M] /var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.o
In file included from /var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:57:0:
include/acpi/acpi_drivers.h:86:32: error: unknown type name ‘acpi_handle’
int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
^
include/acpi/acpi_drivers.h:88:28: error: unknown type name ‘acpi_handle’
int acpi_pci_link_free_irq(acpi_handle handle);
^
include/acpi/acpi_drivers.h:94:8: warning: parameter names (without types) in function declaration
struct pci_dev *acpi_get_pci_dev(acpi_handle);
^
include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ declared inside parameter list
struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
^
include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘is_valid_acpi_path’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:177:2: error: unknown type name ‘acpi_handle’
acpi_handle handle;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:178:2: error: unknown type name ‘acpi_status’
acpi_status status;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:180:2: error: implicit declaration of function ‘acpi_get_handle’ [-Werror=implicit-function-declaration]
status = acpi_get_handle(NULL, (char *)methodName, &handle);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:181:2: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
return !ACPI_FAILURE(status);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘write_acpi_int’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:186:26: error: storage size of ‘params’ isn’t known
struct acpi_object_list params;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:187:20: error: array type has incomplete element type
union acpi_object in_objs[1];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:188:2: error: unknown type name ‘acpi_status’
acpi_status status;
^
In file included from include/linux/thread_info.h:11:0,
from ./arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:44:
include/linux/bug.h:33:45: error: bit-field ‘<anonymous>’ width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/compiler-gcc.h:47:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^
include/linux/kernel.h:54:59: note: in expansion of macro ‘__must_be_array’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:190:17: note: in expansion of macro ‘ARRAY_SIZE’
params.count = ARRAY_SIZE(in_objs);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:192:20: error: ‘ACPI_TYPE_INTEGER’ undeclared (first use in this function)
in_objs[0].type = ACPI_TYPE_INTEGER;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:192:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:195:2: error: implicit declaration of function ‘acpi_evaluate_object’ [-Werror=implicit-function-declaration]
status = acpi_evaluate_object(NULL, (char *)methodName, &params, NULL);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:196:20: error: ‘AE_OK’ undeclared (first use in this function)
return (status == AE_OK);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:187:20: warning: unused variable ‘in_objs’ [-Wunused-variable]
union acpi_object in_objs[1];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:186:26: warning: unused variable ‘params’ [-Wunused-variable]
struct acpi_object_list params;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:221:8: error: unknown type name ‘acpi_status’
static acpi_status hci_raw(const u32 in[HCI_WORDS], u32 out[HCI_WORDS])
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘hci_raw’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:223:26: error: storage size of ‘params’ isn’t known
struct acpi_object_list params;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:224:20: error: array type has incomplete element type
union acpi_object in_objs[HCI_WORDS];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:225:21: error: storage size of ‘results’ isn’t known
struct acpi_buffer results;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:226:20: error: array type has incomplete element type
union acpi_object out_objs[HCI_WORDS + 1];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:227:2: error: unknown type name ‘acpi_status’
acpi_status status;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:233:21: error: ‘ACPI_TYPE_INTEGER’ undeclared (first use in this function)
in_objs[i].type = ACPI_TYPE_INTEGER;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:242:17: error: ‘AE_OK’ undeclared (first use in this function)
if ((status == AE_OK) && (out_objs->package.count <= HCI_WORDS)) {
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:226:20: warning: unused variable ‘out_objs’ [-Wunused-variable]
union acpi_object out_objs[HCI_WORDS + 1];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:225:21: warning: unused variable ‘results’ [-Wunused-variable]
struct acpi_buffer results;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:224:20: warning: unused variable ‘in_objs’ [-Wunused-variable]
union acpi_object in_objs[HCI_WORDS];
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:223:26: warning: unused variable ‘params’ [-Wunused-variable]
struct acpi_object_list params;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:257:8: error: unknown type name ‘acpi_status’
static acpi_status hci_write1(u32 reg, u32 in1, u32 * result)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘hci_write1’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:261:2: error: unknown type name ‘acpi_status’
acpi_status status = hci_raw(in, out);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:262:23: error: ‘AE_OK’ undeclared (first use in this function)
*result = (status == AE_OK) ? out[0] : HCI_FAILURE;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:266:8: error: unknown type name ‘acpi_status’
static acpi_status hci_read1(u32 reg, u32 * out1, u32 * result)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘hci_read1’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:270:2: error: unknown type name ‘acpi_status’
acpi_status status = hci_raw(in, out);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:272:23: error: ‘AE_OK’ undeclared (first use in this function)
*result = (status == AE_OK) ? out[0] : HCI_FAILURE;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:276:8: error: unknown type name ‘acpi_status’
static acpi_status hci_write2(u32 reg, u32 in1, u32 in2, u32 *result)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘hci_write2’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:280:2: error: unknown type name ‘acpi_status’
acpi_status status = hci_raw(in, out);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:281:23: error: ‘AE_OK’ undeclared (first use in this function)
*result = (status == AE_OK) ? out[0] : HCI_FAILURE;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:285:8: error: unknown type name ‘acpi_status’
static acpi_status hci_read2(u32 reg, u32 *out1, u32 *out2, u32 *result)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘hci_read2’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:289:2: error: unknown type name ‘acpi_status’
acpi_status status = hci_raw(in, out);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:292:23: error: ‘AE_OK’ undeclared (first use in this function)
*result = (status == AE_OK) ? out[0] : HCI_FAILURE;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: At top level:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:301:2: error: unknown type name ‘acpi_handle’
acpi_handle handle;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:820:8: error: type defaults to ‘int’ in declaration of ‘acpi_status’ [-Werror=implicit-int]
static acpi_status __init add_device(void)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:820:1: warning: ‘__cold__’ attribute ignored [-Wattributes]
static acpi_status __init add_device(void)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:820:8: error: ‘no_instrument_function’ attribute applies only to functions
static acpi_status __init add_device(void)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:820:27: error: expected ‘,’ or ‘;’ before ‘add_device’
static acpi_status __init add_device(void)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:831:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘remove_device’
static acpi_status remove_device(void)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:900:33: error: unknown type name ‘acpi_handle’
static void toshiba_acpi_notify(acpi_handle handle, u32 event, void *context)
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘toshiba_acpi_setup_keyboard’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:941:2: warning: statement with no effect [-Wunused-value]
acpi_status status;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:941:14: error: expected ‘;’ before ‘status’
acpi_status status;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:942:2: error: unknown type name ‘acpi_handle’
acpi_handle handle;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:942:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:946:2: error: ‘status’ undeclared (first use in this function)
status = acpi_get_handle(NULL, device, &handle);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:960:2: error: implicit declaration of function ‘acpi_install_notify_handler’ [-Werror=implicit-function-declaration]
status = acpi_install_notify_handler(handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:960:47: error: ‘ACPI_DEVICE_NOTIFY’ undeclared (first use in this function)
status = acpi_install_notify_handler(handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:961:12: error: ‘toshiba_acpi_notify’ undeclared (first use in this function)
toshiba_acpi_notify, NULL);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:976:38: warning: assignment from incompatible pointer type
toshiba_acpi.hotkey_dev->getkeycode = toshiba_acpi_getkeycode;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:977:38: warning: assignment from incompatible pointer type
toshiba_acpi.hotkey_dev->setkeycode = toshiba_acpi_setkeycode;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘toshiba_acpi_exit’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1011:2: error: implicit declaration of function ‘remove_device’ [-Werror=implicit-function-declaration]
remove_device();
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1014:35: error: ‘acpi_root_dir’ undeclared (first use in this function)
remove_proc_entry(PROC_TOSHIBA, acpi_root_dir);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1016:2: error: implicit declaration of function ‘acpi_remove_notify_handler’ [-Werror=implicit-function-declaration]
acpi_remove_notify_handler(toshiba_acpi.handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1016:50: error: ‘ACPI_DEVICE_NOTIFY’ undeclared (first use in this function)
acpi_remove_notify_handler(toshiba_acpi.handle, ACPI_DEVICE_NOTIFY,
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1017:8: error: ‘toshiba_acpi_notify’ undeclared (first use in this function)
toshiba_acpi_notify);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c: In function ‘toshiba_acpi_init’:
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1026:2: warning: statement with no effect [-Wunused-value]
acpi_status status = AE_OK;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1026:14: error: expected ‘;’ before ‘status’
acpi_status status = AE_OK;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1027:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
u32 hci_result;
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1070:46: error: ‘acpi_root_dir’ undeclared (first use in this function)
toshiba_proc_dir = proc_mkdir(PROC_TOSHIBA, acpi_root_dir);
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1075:3: error: ‘status’ undeclared (first use in this function)
status = add_device();
^
/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.c:1075:3: error: implicit declaration of function ‘add_device’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
scripts/Makefile.build:263: recipe for target '/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.o' failed
make[2]: *** [/var/lib/dkms/toshiba_acpi-modules-dkms/1/build/toshiba_acpi.o] Error 1
Makefile:1382: recipe for target '_module_/var/lib/dkms/toshiba_acpi-modules-dkms/1/build' failed
make[1]: *** [_module_/var/lib/dkms/toshiba_acpi-modules-dkms/1/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.19.0-1-ARCH/build'
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2
Can someone help me fix this error(s) and am I actually able to control the fan on my Laptop?
Thank you in advance!!!

Hi mate,
unfortunately the machine is not an original toshiba machine. Its a compal machine with a phoenix bios, so you will have to search for another solution.
I read in a Unix forum that not the CPU might be the problem (since the fan can be controlled via ACPI fan) but the vga card is making some trouble since the timings from the linux drivers are not right.
You should try NVclock but firstly you should find out which clocks are the right one for your mobile vga-card.
Greets

Similar Messages

  • [solved] could not load module 'processor'

    Since the recent upgrade to kernel 2.6.20.7-1 the acpi kernel modules have to be loaded manually. Thats all good, i don't have a problem with that. On my desktop I load  'button', 'processor'.
    But since the upgrade to 2.6.20.7-2 the module 'processor' disappeared.
    > /lib/modules/2.6.20-ARCH/kernel/drivers/acpi$ ls
    ac.ko asus_acpi.ko battery.ko button.ko dock.ko fan.ko hotkey.ko i2c_ec.ko ibm_acpi.ko sbs.ko toshiba_acpi.ko video.ko
    and
    modprobe processor gives me:
    FATAL: Module processor not found.
    Is that normal or what happened here?
    Last edited by mcover (2007-04-21 09:53:32)

    I see you are from Germany, so have a look at this:
    http://www.laber-land.de/?page=Postings … hread=5973
    Translation:
    Since kernel 2.6.20.7-2 the modules thermal and processor are directly integrated into the kernel and must/could not be loaded separatly.

  • Mixing memory modules on Westmere

    Dear Hardware gurus,
    I have a 12-Cores Westmere. Do you know is it possible to mix different memory modules on it, namely:
    6x1 Gb 1330Mhz
    +
    2x4 Gb 1066Mhz
    and if yes, in which configuration?
    Thanks a lot for any comment!

    Kappy, thanks for the note.
    I am actually going to order some more 1333 modules, but just for the short time I have to work with what I have currently (see my original post).
    As I posted above, I tried a bit already to combine the modules and Mac doesn't boot
    Can you suggest a configuration, which will work?

  • Adobe Bridge CS6 for mac: export modules, facebook export module gives an error every time i try to sign in

    in the export module for facebook every time i click "sign in to facebook" it gives the following error: "An error occurred while request facebook connection"

    "An error occurred while request facebook connection"
    The export module has been discontinued in Bridge CC and as long as it has been there the option for social media has worked only for FB in a few countries. Due to rights management (as we where told) there where restrictions for most other countries. But if it did work for you in the past you should try click on FB in export module or use the tiny menu icon in the export panel for preferences and try to set up a new connection.

  • FileName in Sender File Adapter Module

    Hi Folks,
    In my sender file adapter have written a module to read the picked file name. The protocol used is NFS.
    Notice that the file name read in the module has the absolute path, including the directory path. E.g The file name xyz has to be picked from source directory
    XIServer\Outbound. In the module when I retrieve the file name, it comes up as
    XIServer\Outbound\xyz. Is this expected behaviour?
    I was expecting just the file name<xyz> to be retrieved.
    Thanks,
    Anand

    HI,
    Create an UDF and write this code.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =
    DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    in Adapter u will have Adapter specific parameters check the file name check box.
    Using this UDF u will get the file name at target side.
    Regards,
    Phani.

  • How do I use the Web module to upload video to my website?

    I'm using the Lightroom HTML gallery to upload my photos, fine and dandy, very happy with it. I also have some videos trimmed in Lightroom that I want incorporated into the gallery. This doesn't seem to be happening, instead I just get thumbnails. What/how do I incorporate my video clips into my web gallery? I moved over from jAlbum so I could have a simple one-tool workflow, so I'm really hoping that this is possible.

    You can combine stills and video for output to h.264 (mp4 file) for example to upload to Youtube or Vimeo.
    FTP upload will be subject to the limitations of your host. The web module within Lightroom creates all resources to link to the file index.html
    The forthcoming LR6 is anticipated to have HTML5 galleries.

  • Code returns "null" and "0"s in main module - why?

    I am coding a program that is in two modules. The main module serves it's standard function. The inventory class/module has three functions - 1) request stock input on 4 data points (1 String and 3 integers, one of which is a double) - 2) calculate the value of the inventory, and - 3) return string which reads out the 4 data points and the calculation showing the total value of the inventory. I've created the 3 functions in the inventory class/module, but obviously don't have them referring to each other correctly because when we come to the end of the program the output is null for the String and "0"s for the int/doubles. The code is below - any ideas about how to overcome the empty output? The code compiles fine and acts like it is going to work, but when it comes to the final command line it outputs
    "null, which is item number 0, has 0 currently in stock at a price of 0.00 each. The total value of inventory in stock is 0.00"
    Main module:
    public class Main {
        @SuppressWarnings("static-access")
        public static void main(String[] args) {
            Inventory inventory = new Inventory(); //call Inventory class
            inventory.inventoryInput();
            Inventory results = new Inventory();
            results.inventoryResults(); //call for inventoryResults in Inventory class
    }Inventory module:
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory
      //declare and initialize variables
       int itemNumber = 0;
       String productName;
       int stockAmount = 0;
       double productCost = 0;
       double totalValue = 0;
       String inventoryResults;
       //initialize scanner
       Scanner input = new Scanner(System.in);
       public void inventoryInput ()
       out.println("Please enter item number: "); //prompt for item number
          itemNumber = input.nextInt();
       out.println( "Enter product name/description: "); //prompt for product name
          productName = input.next();
       out.println("Quantity in stock: ");
          stockAmount = input.nextInt(); // prompt for stock quantity
       out.println("What is the product cost for each unit? ");
          productCost = input.nextDouble(); // prompt for product cost
        } // end inventoryInput
        public double totalValue( double stockAmount, double productCost )
          totalValue = stockAmount * productCost;
          return totalValue; // return stock value
        } // end totalValue
        public void inventoryResults()
        out.printf("%s, which is item number %d, has %d currently in stock at a " +
         "price of %.2f each. The total value of inventory in stock is " +
         "%.2f\n.", productName, itemNumber, stockAmount, productCost, totalValue);
        } // end inventoryResult
    }// end method

    justStartingOut wrote:
    Actually my final solution was quite simple - I moved the calculation and final formated print text statements into the body of Inventory's class code. It now works. "Works" scares me a bit.
    Someone cooking dinner might rummage about in the fridge and the cupboards to see what's there. Do imaginative things with what they come up with. And, with a bit of luck come up with something tasty or, at any rate edible.
    A physician deciding on a medical treatment would do well to try a more cautious approach. A specific aim would be a good thing. And a calculated appreciation of the documented effects of each medicine. And how they interact.
    It's up to you to determine which approach your coding should resemble. But it seems to me that your original Main class had a perfectly good reason to exist. It was a driver class whose purpose seemed to be to create and use an Inventory. (And using an Inventory is a very different thing from being an Inventory, so it made perfect sense to have two different classes.) To me it works or not, depending on whether it fufills that purpose. And what you have done is not so much solve the problem of it not working, as avoid that problem.
    (If by "moved" you mean that the outputting now occurs as part of - or is called from - inventoryInput() then that is not a good thing. The input method should input: just input.)
    I think that is because once the original input was loaded into the program (when I entered product number, name, price and value), the entries were dropped when the code switched to the next step. I think your intuition is entirely correct. In particular look at what your original main() method does (my comments replacing yours):
    Inventory inventory = new Inventory(); // (A) Create an inventory...
    inventory.inventoryInput(); // ... and put stuff into it
        // (B) Create some new entirely different (and empty) inventory...
    Inventory results = new Inventory();
    results.inventoryResults(); // ... and print its contentsInstead of creating a second inventory, try printing the results of the first one.
    Edited by: pbrockway2 on Apr 22, 2008 12:37 PM
    Whoops ... just read reply 2.
    It might sense, though to call totalValue() at the end your input method (because at that point the total value has changed). Or do away with that method - which you worked on getting right in your other thread ;)

  • More text options in Print Module

    It's frustrating to be able to do just about everything in LR - but not quite.  I'd like more text options for the printing module.  For example, when I'm printing a limited edition print, I put the edition number in the bottom left corner, under the image, within the border of the print.  The title goes in the middle, slighty larger font, and then possibly a watermark.
    I can use the Identity Plate to create a nice looking title, but the Photo Info will only print in the middle with no options for positioning it anywhere else, or no options for other fonts.

    I would second this proposal..... with a serious passion.  I think it is unbelievable that Adobe will not provide us with the option to print the metadata with our images.
    The current metadata print options are in the dark ages, a joke and an insult to anyone trying to put a proper caption on a printed image.  For example, one cannot currently control the postion or font of a basic caption, never mind a considered template which might incorporate copyright, date, author, etc..   I also make folios (ala Lenswork).  Unfortunately, a detour to PS also means that this must be done manually, rather than using a template.  Adobe have all the tools to make this work, many of them are in the Slideshow module, so already the code is inside Lightroom.   It is so sad that a company like Blurb can provide these tools free of charge in free software, but Adobe seem incapable of providing these basic features.  I was disappointed they were not in version 1, frustrated when missing from version 2 and  apoplectic when not in version 3. I might excuse the omission if I could build a template in PS which allowed me to place text from the metadata into a formattted page layout, but this is not possible either. So despite the fact I have purchased both Lightroom and Photoshop, and paid for upgrade after upgrade of both products, this basic facility is still missing.
    I can only deduce that people in Adobe print images in two modes.
    1) a lonely image in approx middle of the page with no text formatting or
    2) an image in draft mode with a caption and a name plate and uncontolled other text in ad hoc placements (totally unsuitable for presenting to a client).
    I would put this requirement ahead of so many other popular requests (even ahead of requests such as networked storage, soft proofing, etc).  I can mention other software products who do a really good job of printing meta data with images, do serious work on sharpening, etc. for a fraction of the cost of the Lightroom / Photoshop combination. Becasue I am on an Adobe site I will not mention the names of these non Adobe products. If these small companies can solve this problem, surely Adobe can do so as well.
    I also find that I cannot trust the page setup templates that I do create. It seems to me that many of the properties (ie page size, orientation, matt / gloss options) disappear without warning.  I suspect this happens when I have problems printing to networked Epson printers (maybe others, but I only use Epson ...with Windows 7.)  This is very frustrating when my template changes from Matt in to Gloss, with subsequent wasted of ink and frustration and lost time in correcting and re-updating the template.
    Adobe, please finish the Print Module.  I do not want any more glitzy updates to publishing to the most recent social media exchange medium. Can we not get basic printing working first.
    (..... thanks for listening.....end of rant).

  • Mixing RAM Modules

    Several weeks ago, I replaced my 256 MB RAMs with 2 1 GB modules in a late 2005 G5. They seemed to work fine, though my GPU seemed to be running a bit hotter. I just installed an additional 2 GB bought from OWC, and also added back the 2 original 256 MBs to bring my total to 4.5.
    Looking in System Profiler, I see that my original 256s and the latest 1 GB modules are PC2-4200U-444, as specified in the online compatibility guide. I see the I GB modules from my first upgrade are PC2-3200U-288.
    I bought them at a local shop- for way too much money, by the way - and was told that the number printed on them was wrong and they were compatible with my model. Is that right, or this a problem?
    Thanks

    Hi! The PC2-4200 modules are the correct ones and you shouldn't run anything slower. You can run faster ones but you shouldn't run slower ones or mix speeds. And if the computer sees them as the slower ones then most likely they are! Tom
    Message was edited by: Thomas Bryant

  • Mixing RAM Modules (1gig + 2gig = 3gig)

    Hello,
    I am about to buy a Mac Mini and I am on a tight budget. The one thing I want to do for sure is upgrade the memory, but I'm in a quandary of sorts given my budget. The retailer where I want to buy the Mini from only sells the appropriate RAM for the Mini in 2gig modules. So here's my question: I know it is possible to mix the stock 1gig stick with a 2gig stick to get 3 gig of RAM total, but will it be worth it to me? I realize that the best configuration would be to slap in 2 2gig modules in and just be done with it, but with 3gig, would I be appreciatively shooting myself in the foot and killing the machine's performance, or wouldn't I notice? I need to have the memory installed at purchase because I am physically handicapped and adding the memory myself is out of the question. And after researching how to replace memory on the Mini, I wouldn't have the courage to ask anybody I know to attempt to do it after buying it. Is mixing RAM modules a good idea?
    Thanks in advance.
    Malcolm

    Nope, I am not confused, There does have generation between Mac mini model. Maybe not official, but we all know. Check About This Mac ---> More Info ---> Model Identifier : Macmini2,1 (That means, 2nd generation)
    Macmini 3,x (means 3rd generation I supposed)
    And the 3rd generation doesn't support Dual Channel, referred to Crucial.com
    http://www.crucial.com/store/listparts.aspx?model=Mac%20mini%20%28Intel%20Core%2 02%20Duo%202.0GHz%20DDR3%29%20MB463LL/A&pl=Apple&cat=RAM

  • Memory modules

    Why is the Samsung module a quarter the price compared with the one from the Apple Store?
    http://store.apple.com/jp_edu_1460/memorymodel/ME_2_66_MACMINI
    compared with
    http://www.dospara.co.jp/5shopping/detail_parts.php?bg=1&br=30&sbr=471&ic=154499 &ft=mac+mini&lf=0
    Quality? Not quite the same specs? The Samsung is on old product? Apple product specifically made for Mac? Other?
    I'm not up with the technology, etcetera, and basically want to know if they will work exactly the same or if they may not be quite the same?
    I have read many posts relating to different maker's modules but am still not quite sure. Any advice would be greatly appreciated. Thanks.

    For what ever reason, Apple simply charges way to much for
    RAM.  If you want to add RAM to your system, purchase from
    OWC or Newegg.  At OWC, they actually have a selector so
    you chose the correct RAM for your machine.  At Newegg,
    you need to know exactly the RAM module you need.  Both
    are pretty good at returns for bad or incorrect devices.

  • Memory modules and hard drive not recognized

    I removed and reinserted the factory installed Satellite L505D-LS5007 laptop hard drive and memory modules just as practice for installing a hard drive upgrade and an 8GB memory upgrade. The problem is obviously with the memory and not with the hard drive.
    After the first practice try, one memory module was recognized. Also for a few seconds after the first practice try, I ran the PC with the battery installed, but no memory installed. I did not look in the User's Guide first to see that I should have removed the battery before removing the memory.
    Now the System Indicator Lights for the HDD Activity and Memory Card Reader do not light up. The PC turns on and the display is solid black with no messages.
    Before buying new memory modules, what possible ways might there be to get the PC to recognize the factory installed memory modules and hard drive again?
    Solved!
    Go to Solution.

    When troubleshooting, I always change one variable at a time. I would hate to miss a solution by being in a hurry. In this case, you may have damaged either the RAM or the RAM slot. I would stick with the Toshiba specifications for the RAM, making sure it is the correct size, speed and type recommended. I also recommend that when you replace the RAM that both modules be from the same manufacturer, size, and specification. Try one RAM module in one slot and then the other. And then try both RAM modules in both slots. After the testing you should be able to figure if this is a RAM problem or a RAM slot problem.
    In the case of hard drives, the real test is whether or not the Bios sees the hard drive. If the Bios doesn't see the hard drive, it's not going to work. The Bios should see the hard drive whether or not the hard drive is partitioned, formatted or has data on it. My experience has been that many Toshiba laptops will work fine with larger capacity hard drives provided they are the same speed in RPMs, have the same interfacing connection and physically the same size.
    Again, prior to doing any work on your computer, make sure that both the AC power has been disconnected and the battery has been removed. Be careful out there. A blown repair job by a non-Toshiba tech is NOT covered under warranty.

  • Memory modules for Msi Big Bang trinergy

    Hey forum,
    i want to buy some memory modules for my trinergy mobo because the ones i had earlier also proved to be incompatible. I would like to ask you if there are any memory modules besides the ones recommended from the MSI site concerning my mobo. I am looking for a 2x2 gb ram kit with a heat dispenser so it can work around 1600mHz. Thank you in advance 
    P.S Is the list on the site the only one? i mean are there any updated versions of it with more high end memory modules tested?

    Ideally you would provide us with your fullsystem specs first >>Posting Guide<<
    From a memory perspective, the reason these modules have heatspreaders is mostly due to marketing and to impress the potential buyers. The secondary reason is that most manufacturers sell you overvolted and overclocked 1066 or 1333 chips on a 1600 marketed module that needs 1,65V instead of the standard 1,5V. Your memory controller is part of the CPU and natively only supports 1333 at 1,5V.
    If you really insist, then at least get yourself a 1600 kit that does this speed at 1,5V. One of the modules that seem to work well are the CMZ4GX3M2A1600C9 from Corsair. From a user perspective, the mem modules from Crucial that you see in my signature come highly recommended as they have been proven to work on the P55 platform whenever used.

  • Mixing memory module of different sizes in G5-8 slot machine

    is there a problem with Mixing memory module of different sizes in G5-8 slot machine
    I have 2gb on four slots with 512 memory chips
    Can I upgrade my memory with 1gb chips in the remaining four slots.

    Hi epospiech-
    Yes you can.
    Instructions here: Memory (DIMMs) Replacement Instructions
    Luck-
    -DaddyPaycheck

  • Memory modules not working on HP Touchsmart 600-1050sc desktop - update BIOS ?

    Hi
    I just bought 2 x 4GB DDR3 PC3 12800 memory modules from Cruical (see http://eu.crucial.com/eur/en/touchsmart-600-1050sc/CT5311446)
    The modules does not work on my HP Touchsmart 600-1050 sc desktop. Acc to HP specs it should support 2 x 4GB (max 8 GB in total).
    But the computer does not start (I have installed the modules correct). The manufacturer advises me to update my BIOS.
    I wanna ask you guys, before I try suhc a thing, is there any chance this could help?
    Thanks

    Hi,
    Its specs:
    Memory upgrade information
    Dual channel memory architecture
    Two DDR3 SO-DIMMs (200-pin) sockets
    SO-DIMM type-PC3-10600 (DDR3-1333)
    Non-ECC memory only, unbuffered
    Supports 2 GB DDR3 SO-DIMMs
    Maximum memory only if using 2GB DDR3 DIMM modules.
    Supports up to 8 GB on 64-bit PCs
    Supports up to 4 GB* on 32-bit PCs
    Please try PC-10600 RAM
    Regards,
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • Are there any connection settings for using rtsp:...

    In my effort to get access in 'YouTube" steaming videos, I tried to find the scope available  in Nokia 3110C handset. After going through the Menu icons, I identified one Menu Item in the path : MAIN MANU>MEDIA>MEDIA PLAYER>GO TO ADDRESS. It is...rts

  • Data Execution Prevention stops quicktime playing.

    I can't get quicktime to play at all, every time I try Data Execution Prevention stops it. I have tried to turn off DEP for quicktime but it won't let me. I have uninstalled and reinstalled both quicktime and i tunes, also removed any Codec Packs I h

  • How do I convert a .pdf with columns into a word doc?

    I know how to convert a regular .pdf to a word doc but when I try and convert one with columns it combines the columns as if it thinks it is all straight across lines with a big space in it.

  • Problem with N8

    I am facing one problem with Nokia N8. I brought this New Nokia N8 phone from US to India so it is not at all functioning nor responding anything. When I tried to Switch ON this phone it is not responding anything.  Can anybody suggest me what should

  • How do I open a PSA file type in Photoshop Elements 12

    How do I open a PSA file type in Photoshop Elements 12