Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Using Wine to update Sony NEX camera firmware

  1. #11

    Default Re: Using Wine to update Sony NEX camera firmware

    I guess at this junction in development, I will be installing Windows 7 with openSUSE on my netbook as dual-boot. I posted my question to WineHQ and the response was that Wine currently only supports direct communications to USB serial devices:

    WineHQ Forums View topic - Firmware update via USB to Sony NEX camera

    I just wanted to close out this thread with a firm answer (at least for now).

    Thanks all!

  2. #12

    Default Re: Using Wine to update Sony NEX camera firmware

    For my netbook, an Acer 1410, the Windows 7 upgrade came on two DVD's. The first was an Acer Upgrade Kit DVD that included an "upgrade wizard" that needed to be executed before the Windows 7 DVD "could be" install (according to the instructions). My first struggles were to copy the contents of the DVD's onto USB sticks, as the Acer 1410 doesn't have an optical drive. It was here that I learned a lot about cluster sizes and how formatting the NTFS with a large cluster size (similar size to a hard drive, 4096 bytes) would make the 4 GB contents of a DVD into something larger than 8 GB! Once I set the cluster size to 512 bytes, I finally managed to fit the 4 GB's into 6 GB's. All this was done in preparation to set up my netbook as a dual-boot openSUSE and Windows 7 system. The next hassles would be to reduce the openSUSE partition to free up space for Windows 7. After that, I would need to re-install GRUB and configure it for the dual-boot. However, in the midst of this research, I stumbled upon VirtualBox, formerly from Sun, now an Oracle product. The commercial version of VirtualBox (free for personal use), unlike the open source version that comes with openSUSE, has full USB support, which is what I need for the Sony NEX camera firmware update.

    What I discovered was that once I got VirtualBox installed, I could use the second DVD (with Windows 7 and no Acer specific drivers) to create a functioning Windows 7 system in VirtualBox. The second DVD needed to be an .iso file first, so I created one after searching for "DVD to iso linux" for instructions. (This involves a very simple dd command.) With Windows 7 installed, I created another .iso with just the Sony firmware upgrade program. I executed it and my camera successfully upgraded to the new firmware! (The Sony upgrade process involves mounting the camera as a mass storage device, verifying the firmware version, having the user unmount the camera (in Windows speak "safely disconnect the device" but leave the cable connected), and downloading the firmware to the camera (which took about 5 minutes, so make sure the battery is charged!).

    Lessons I learned:

    1. Cluster sizes will determine whether the contents of one drive will fit on another.
    2. VirtualBox is a great alternative to a dual-booting system. (Actually, I think it's better because you can still access the GNU/Linux side at the same time!)
    3. Make sure the company you buy hardware from has GNU/Linux firmware upgrade support or you're going to lose your weekend!

    One question for those of you familiar with Windows 7 licenses: It says I must register the copy within 30 days. If I do this for running it in VirtualBox, would this prevent me from installing/registering it as the primary OS later on? (If one day I should sell this netbook, I may need to install Windows 7 on it as the primary OS. The copy will still be running on the same machine, just virtually now and on real hardware later.)

    Thanks!

  3. #13
    Carlos E. R. NNTP User

    Default Re: Using Wine to update Sony NEX camera firmware

    On 2010-10-18 11:06, linuxvinh wrote:

    ....

    > Lessons I learned:
    >
    > 1. Cluster sizes will determine whether the contents of one drive will
    > fit on another.


    Yep.

    I knew of one tar archive, relatively small, that when expanded took many gigabytes, to the point of
    filling partitions. It had thousands of many small files. Worse, it took hours to expand. But, if
    the tar archive was expanded to a reiserfs, it used a small size and copied in minutes.

    > 2. VirtualBox is a great alternative to a dual-booting system.
    > (Actually, I think it's better because you can still access the
    > GNU/Linux side at the same time!)


    Correct. I use vmware, but it is the same principle.

    > 3. Make sure the company you buy hardware from has GNU/Linux firmware
    > upgrade support or you're going to lose your weekend!


    Often there is no choice.

    Me, I have a Nokia cellular phone and a Tom-Tom car navigator. Both require windows for updates,
    although Linux sees both devices and can read/write to them (files). And the worst is that the
    tom-tom is a Linux embedded machine.

    > One question for those of you familiar with Windows 7 licenses: It
    > says I must register the copy within 30 days. If I do this for running
    > it in VirtualBox, would this prevent me from installing/registering it
    > as the primary OS later on? (If one day I should sell this netbook, I
    > may need to install Windows 7 on it as the primary OS. The copy will
    > still be running on the same machine, just virtually now and on real
    > hardware later.)


    It might work registering the same license, uninstalling the virtual machine. It would register as a
    hardware change. I'm unsure about legalities.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #14
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,816

    Default Re: Using Wine to update Sony NEX camera firmware

    If it is an OEM disk legally you can not install on a different machine. VM's are kinda of a no mans land and various MS agreements differ depending on versions. I'm pretty sure the home editions are not legal on VM's. But you really need an army of lawyers to even have an idea and they won't all agree

  5. #15

    Default Re: Using Wine to update Sony NEX camera firmware

    Quote Originally Posted by Carlos E. R. View Post
    On 2010-10-18 11:06

    Often there is no choice.

    Me, I have a Nokia cellular phone and a Tom-Tom car navigator. Both require windows for updates, although Linux sees both devices and can read/write to them (files). And the worst is that the tom-tom is a Linux embedded machine.
    The Sony NEX cameras run on embedded GNU/Linux too! Source:

    Sony Global - Linux Source Code Download page

    Quote Originally Posted by Carlos E. R. View Post
    It might work registering the same license, uninstalling the virtual machine. It would register as a hardware change. I'm unsure about legalities.
    How do people normally move a license? Is there an unregistering then re-registering process?

  6. #16

    Default Re: Using Wine to update Sony NEX camera firmware

    Quote Originally Posted by gogalthorp View Post
    If it is an OEM disk legally you can not install on a different machine. VM's are kinda of a no mans land and various MS agreements differ depending on versions. I'm pretty sure the home editions are not legal on VM's. But you really need an army of lawyers to even have an idea and they won't all agree
    The Acer Upgrade Kit seemed to have the bulk of the files (BIOS, device drivers, etc.), taking up about 4 GB's on the DVD. The Windows 7 DVD weighed in at a mere 2.5 GB's, which had enough to install Windows 7 onto VirtualBox. Of course, I'm just running a firmware update tool, so I have no idea what other Windows 7 bits and bobs I may be missing for a fully functioning Windows 7 system.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •