"Region Code" in DVD player?

topic posted Mon, June 20, 2005 - 1:48 PM by  Ariana
Share/Save/Bookmark
Advertisement
Heyya kiddos - so I tried watching a DVD on my computer for the first time yesterday (Yellow Submarine, from the local video store, in honor of my psychadelic-hippie dad's birthday ;-) I got a message that told me I needed to change the "Region Code." It said the current region code was 6, but that's for China! It also told me that I could only change the region code 4 times and then it would be set forever - what kind of weird quirk is this?!!

So I changed the region code to 1, but it still wouldn't let me view the disc. I was wary of changing it again, so didn't try messing with it. (Also, it only offered me region codes 1-4 as my options, so I don't know where the 6 was coming from). Needless to say, we didn't get to watch the movie on my computer. It played fine on our other option, so there's nothing wrong with the disk.

Anybody else encounter this? How obnoxious!

Thanks for any help
posted by:
Ariana
Colorado
Advertisement
Advertisement
  • Re: "Region Code" in DVD player?

    Mon, June 20, 2005 - 3:33 PM
    Welcome to Big Studio Greed.

    From an earlier post of mine:

    Blame the DVD Forum. They are the standards organization (based upon MPAA members) that decide how the DVD spec works.

    So, they are the ones who implemented the greed-induced Region Code system in the first place and they are the ones who license the DVD-Video technology to DVD player and DVD-ROM manufacturers.

    When DVD-ROMs first were built, the user could change the Region Code 5 times before the drive was locked. Then, the manufacturer could perform a reset, allowing another 5 changes. Manufacturer resets were unlimited. This is known as RPC-1

    Since this allowed for unprecedented freedom and Fair Use, the DVD Forum changed the rules and required DVD-ROM manufacturers to limit the number of Manufacturer Resets to 4. So, that's 5 changes times 4 resets, equaling 20 total region changes. This is known as RPC-2.

    Seeing as manufacturers want to limit costs, it was nearly market wide that drives that shipped as RPC-1 were changed to RPC-2 in firmware (special software that controls the DVD-ROM from within the unit itself). This meant that a knowledgeable user could actually slightly alter the firmware to change the drive back to RPC-1.

    At this point, most drives have been hacked to go back to RPC-1, but not all are capable. Some drives, like the UJ-815, come with encrypted firmware, making it difficult to obtain for patching, although it was finally done.

    If you post the drive model you have, I'll look for a patched firmware for you. You can find the model & firmware revision in the System Profiler. Do the following:

    * Go to the Apple menu.
    * Choose "About this Mac"
    * Click "More Info..."
    * Click on "ATA", under the Hardware heading.
    * Look for something that says DVD-R or CD-RW or something like that. Click on it and copy the info about it.
    * Post it here!
    • Re: "Region Code" in DVD player?

      Mon, June 20, 2005 - 3:44 PM
      MATSHITA DVD-R UJ-835E
      for powerbook 15" aluminum

      now i've heard you could use VLC as ur player and somehow bypass the region code thing -- is this even true?
      • Re: "Region Code" in DVD player?

        Fri, August 8, 2008 - 4:56 PM
        The actual video/audio data on the DVD is encrypted using what's called the title key (which obviously is different for each DVD title that you buy). The title key is also stored on the disk in encrypted form, and to get it, a DVD player application is supposed to peform a multi-stage authentication/key-exchange dance with the DVD drive. Apparently, the drive only checks the region code of the disk at the stage where the player app requests the title key (and will refuse to cough it up if the disk's region doesn't match the drive's currently selected region). Once encountering this error, officially sanctioned players such as Apple's will just display and error message and give up.

        Unofficial DVD rippers or players like Mac The Ripper, VLC and MPlayer go a step further: they too will try to do the authentication dance with the drive, but if it fails, they will go ahead and crack the title key themselves. As part of earlier steps in the dance, the player app has already gotten access to the area where the encrypted title key is stored, and there's a simplified attack that can be used to crack the title keys stored there in a very short time.

        And if the DVD firmware is extra smart and the simplified decryption attack doesn't work, it's also possible to apply a more brute force attach to crack the disk key too.

        Long story short, the region code protection is basically just enforced using encryption, but since everybody knows how to crack the encryption keys, the region coding becomes moot.

        -Bill
    • Re: "Region Code" in DVD player?

      Tue, June 21, 2005 - 2:51 PM
      "Welcome to Big Studio Greed." - indeed!

      here's mine: MATSHITADVD-R UJ-845E

      I checked the warranty with Apple, and it was indeed brand-spanking new, although purchased thru a third party. It did not appear to have ever been opened. I'm not sure about the "region code 6" thing.

      I tried putting in another disc today with no problem, no mention of any region code needed. Leads me to believe maybe there was just something odd about the disc.
      • Re: "Region Code" in DVD player?

        Tue, June 21, 2005 - 2:56 PM
        The UJ-845 hasn't been hacked yet, either. Sorry!
        • Re: "Region Code" in DVD player?

          Tue, June 21, 2005 - 3:14 PM
          no worries, but keep us posted when it is ;-)

          thanks!

          A
          • Re: "Region Code" in DVD player?

            Tue, November 29, 2005 - 12:58 PM
            Ariana,

            I too, have the Matshita UJ-845E drive in my 17" 1.67ghz PowerBook. I looked at that site (again) and it (still) says:

            "I am no longer working on the Matshita firmwares as I no longer have access to these drives. Please do not email me asking for 825, 835, 845, etc firmware, as I simply am not able to help you."

            I'm quite frustrated because living in Europe, I have DVDs from many regions in my collection. I did the firmware updates on previous PBs and they worked beautifully, but now things look bleak. Sheesh, there must be many thousands of us out there looking for this stuff. Seems like there would be at least one other genius engineer who could work on it.
    • Re: "Region Code" in DVD player?

      Tue, June 21, 2005 - 3:30 PM
      how about this one:

      MATSHITA CD-RW CW-8121 (Version: AA21)

      ;-)
      • Re: "Region Code" in DVD player?

        Tue, June 21, 2005 - 4:36 PM
        I had to switch over once so far when i watched a dvd in Korea.
        It switched back without a problem but it was indeed weird to be warned
        that I only had a certain number of times b4 it would set permanently.

        I look forward to the hack.
      • Re: "Region Code" in DVD player?

        Tue, June 21, 2005 - 5:32 PM
        Here's the patched firmware for the Matshita CW-8121. This will take it to revision AX21, which is the same as AA21, except for the region code restriction. :-)

        forum.rpc1.org/dl_file.php
        • Re: "Region Code" in DVD player?

          Wed, June 22, 2005 - 12:24 AM
          How about MATSHITA DVD-R UJ-815?

          And, where do you find this out?
          • Re: "Region Code" in DVD player?

            Wed, June 22, 2005 - 12:31 AM
            That one is definitely hacked. :-)

            You can find that one on this page:

            superdrive.cynikal.net/

            Find the one that is your current firmware, but hacked. For example, if your current firmware is DWDB, get XWDB.

            How do I find this out? I researched DVD-ROM/DVD-R region code hacking for a week back in 2000, when I bought my first DVD from the UK.

            The best two resources for hacked (as well as not-hacked firmware) currently online are the following:

            superdrive.cynikal.net/ for the PowerBook/iBook SuperDrives
            forum.rpc1.org/dl_all.php for everything else
            • Re: "Region Code" in DVD player?

              Wed, June 22, 2005 - 3:56 PM
              Just a note:

              This whole region code thing has actually forced me to buy illegal DVDs. living between Korea, China, and the US - with no time to go to the movies, but pleanty of time to watch DVDs - has made this region code thing a pain in my arse. I hate the pirate DVDs because they rarely function well and I can't be switching regions all the time or i'm stuck with not being able to use 1/3 of legally purchased DVDs. So, I stick it on US, region 1 - and then buy pirates in Korea and China. This system is pure stupidity since Korea and China, among other places I imagine, have DVDs of the biggest movies before they come out on DVD in the US - sometimes before they even come out in the theaters.
              • Re: "Region Code" in DVD player?

                Wed, June 22, 2005 - 4:06 PM
                Which DVD-ROM do you have?
                • Re: "Region Code" in DVD player?

                  Wed, June 22, 2005 - 9:25 PM
                  SONY CD-RW CRX800E:

                  Is that right?
                  • This is the maximum depth. Additional responses will not be threaded.

                    Re: "Region Code" in DVD player?

                    Wed, June 22, 2005 - 9:30 PM
                    There appears to be a hack, although it is only available for PC.

                    Look here:

                    forum.rpc1.org/dl_firmware.php

                    You _could_ pull the drive and put it into a PC, but it's a lot of work. :-)
                    • Re: "Region Code" in DVD player?

                      Wed, June 22, 2005 - 9:37 PM
                      Thanks for the help Jory~

                      I'll just continue to buy US copies of the ones that I really love (Big Lebowski, etc.) and buy pirates of the ones that I just want to test out.

                      Screw the big wigs - they want to force me to buy pirates, the so be it.

                      -P
                      • Re: "Region Code" in DVD player?

                        Tue, October 4, 2005 - 9:16 PM
                        thanks for the tips ( made long ago )
                        finally decided to take the plunge when VLC didnt cut the mustard on some other region DVDs...
                        thankfully a firmware updater and region X combined work smoothly and can now watch any dvds...

                        so ridiculous to have to do this.. . hopefully it's not a sign of things to come with DRM and the apple intel machines...
                        • Re: "Region Code" in DVD player?

                          Tue, October 4, 2005 - 10:35 PM
                          It'll be worse if Blu-Ray takes hold. The spec allows for permanently disabling any machine that is "tampered with".

                          I could have sworn that We The People pay for these things...
                          • Unsu...
                             

                            Blu-Ray

                            Tue, October 4, 2005 - 11:19 PM
                            Wow! That's a fresh perspective. All I've been hearing is how Blu-Ray is the promised land because Apple is behind it unlike wicked Microsoft that is trying to foist off some other standard. But you say it is Blu-Ray that is the wicked one.

                            This is the same sort of corporate nonsense that prevents my from having inexpensive lossless digital multichannel audio. These sorts of games will yet again wipe out consumer multichannel audio since only the big players can afford it and all they produce is junk. Until the little guys can afford it, there won't be cool enough content to justify it. Same goes for HD TV - we should have had it 20 years ago, but the big players are so obsessed with every last penny of profit that they completely miss the greater opportunity to rake in the dough by selling cool stuff.
                            • Re: Blu-Ray

                              Tue, October 4, 2005 - 11:36 PM
                              Actually, Apple is behind HD-DVD. DVD Studio Pro 4 supports HD-DVD, not Blu-Ray. At NAB in April, Apple even had a Toshiba HD-DVD unit in their kiosks.

                              So far, it's really only Sony who is pushing Blu-Ray, primarily using their forthcoming PS3.

                              Here's the article on /. regarding the Blu-Ray self-destruct crap:

                              yro.slashdot.org/article.pl
                              • Unsu...
                                 

                                Re: Blu-Ray

                                Tue, October 4, 2005 - 11:52 PM
                                Ack, it's all so confusing. But I guess that's the point of a Confusopoly.
                                • Unsu...
                                   

                                  Re: Blu-Ray

                                  Wed, October 5, 2005 - 12:01 AM
                                  WOW. Read the article and the one it came from. So check this out, this new HD DVD player *won't work* unless I connect it to the internet so that it can phone home and report to its masters how many times I watch each DVD and what I watch. And THAT is the Blu-Ray standard.

                                  Ha ha.

                                  What a piece of garbage. Like I am really going to spend money on a piece of junk that does that. I wouldn't even accept such a thing if they mailed it to me free, unless it has some parts I could salvage for tinkering.

                                  Seriously, anybody foolish enough to buy a BluRay device gets what's coming to them.
                                  • Re: Blu-Ray

                                    Wed, October 5, 2005 - 7:27 AM
                                    Basically, that's how I feel. And I'm certainly not going to re-buy every DVD I've got, either. I waited to buy movies until a disc format came along, avoiding VHS all the while. Now I've got near 500 movies and that library will serve me for quite some time.

                                    And is not like I'm going to run out and buy a HiDef TV anytime soon, either.

                                    My reaction really becomes "Who cares about a new DVD format?" When I can burn 45 GB discs to use for archive, I'll use it.
            • Re: "Region Code" in DVD player?

              Wed, December 7, 2005 - 5:04 AM
              MATSHITA CD-RW CW-8123:

              Manufacturer: MATSHITA
              Model: MATSHITA CD-RW CW-8123
              Revision: CA0T
              Serial Number:
              Drive Type: CD-RW/DVD-ROM
              Disc Burning: Apple Supported/Shipped
              Removable Media: Yes
              Detachable Drive: No
              Protocol: ATAPI
              Unit Number: 0
              Socket Type: Internal

              MATSHITA CD-RW CW-8123:

              Manufacturer: MATSHITA
              Model: MATSHITA CD-RW CW-8123
              Revision: CA0T
              Serial Number:
              Drive Type: CD-RW/DVD-ROM
              Disc Burning: Apple Supported/Shipped
              Removable Media: Yes
              Detachable Drive: No
              Protocol: ATAPI
              Unit Number: 0
              Socket Type: Internal

              ATA-6 Bus:

              Vendor ID: 0x106b
              Device ID: 0x003b
              Revision ID: 0x0000

              TOSHIBA MK3025GAS:

              Capacity: 27.94 GB
              Model: TOSHIBA MK3025GAS
              Revision: KA300B
              Serial Number: 74AD0909T
              Removable Media: No
              Detachable Drive: No
              BSD Name: disk0
              Protocol: ATA
              Unit Number: 0
              Socket Type: Internal
              OS9 Drivers: No

              is mine hacked? and if yes how do i proceed? sorry i am a little dummy when it come to computers, so i need detailed descriptions :-)
              thanks Sina
    • Re: "Region Code" in DVD player?

      Tue, December 6, 2005 - 11:00 AM
      i have the same problem. since i am european it is much more known here than in the uSA? i need a decoder:
      heres my stuff :-))

      ATA-3 Bus:

      MATSHITA CD-RW CW-8123:

      Capacity: 807.16 MB
      Manufacturer: MATSHITA
      Model: MATSHITA CD-RW CW-8123
      Revision: CA0T
      Serial Number:
      Drive Type: CD-RW/DVD-ROM
      Disc Burning: Apple Supported/Shipped
      Removable Media: Yes
      Detachable Drive: No
      BSD Name: disk1
      Protocol: ATAPI
      Unit Number: 0
      Socket Type: Internal
      OS9 Drivers: No
    • Re: "Region Code" in DVD player?

      Sun, August 27, 2006 - 1:30 PM
      Has this drive been hacked yet?
      MATSHITA DVD-R UJ-835E:

      Firmware Revision: GAND
      Interconnect: ATAPI
      Burn Support: Yes (Apple Shipped/Supported)
      Cache: 2048 KB
      Reads DVD: Yes
      CD-Write: -R, -RW
      DVD-Write: -R, -RW, +R, +RW
      Burn Underrun Protection CD: Yes
      Burn Underrun Protection DVD: Yes
      Write Strategies: CD-TAO, CD-SAO, DVD-DAO
      Media:
      Media Type: DVD-R
      Blank: No
      Erasable: No
      Overwritable: No
      Appendable: No
      • Re: "Region Code" in DVD player?

        Sun, August 27, 2006 - 1:52 PM
        Nope. Unfortunately the 825, 835, and 845 have not been hacked yet. I'm stuck, on my MBP, with locked firmware, which sucks. Instead, I've been copying my region 2 DVDs (on a hacked drive) and burning them without region codes, so I can still play them.
  • Re: "Region Code" in DVD player?

    Tue, October 4, 2005 - 11:45 PM
    I find the best way to circumvent this is to use a program called Mac The Ripper. It extracts (rips) the DVD invformation from ANY dvd and removes the region coding. It takes from 5-10 minutes on my newish (bought in May) Power Book.

    You can then play the DVD file through DVD Player. It has the added benefit of not using DVD drive when playing a movie which can save battery life. You could rip some movies to your hard drive when you travel! Then just delete the file when you are done.

    So I set the region of my DVD drive to the most common region I will use and rip all the rest.

    www.versiontracker.com/dyn/mo...x/22715
    • Re: "Region Code" in DVD player?

      Tue, November 29, 2005 - 6:15 AM
      Pink:
      > I find the best way to circumvent this is to use a program called Mac The Ripper.

      Pink, or anyone else. What is the best way to compress DVDs after extracting them? I've looked at some 700 Meg avi's and they look good enough for me. Any recommendations for software to create avi's from mac the ripper rips?

      -Adam
    • Re: "Region Code" in DVD player?

      Tue, November 29, 2005 - 9:48 AM
      > I find the best way to circumvent this is to use a program called Mac The Ripper.

      This may actually not be a full solution, since many of the newer drives will simply refuse to even _read_ the disc if the region code is not correct.
  • Re: "Region Code" in DVD player?

    Thu, December 8, 2005 - 3:56 AM
    Okay, I have never played a DVD on this particular machine yet, so it has never had a region set.

    Since there's not firmware patch available for my particular SuperDrive, am I in a better position somehow than if a region has already been set?
  • Re: "Region Code" in DVD player?

    Thu, August 14, 2008 - 9:44 AM
    Not only obnoxious but...anti-competition basically. The big media companies who invested in DVD and the studios wanted to control seperate markets around the world to control profits in each market. It sucks big time and really puts the lie to all the "free borders" economic theories touted by "free market" capitalisms supporters. The folks who believe in "Region Coding" aren't about having free markets at all...they're into controlling markets for their own profit at the expense of consumers. On top of that, the world's elite can use this system to control general information. For example, educational DVDs created in one region of the world won't automatically work in another unless you have special hardware. What is really scary is this may begin to be implemented in other consumer products and, ultimately, in our operating systems, browser, etc? It really is about greed and power and has nothing to do with free markets at all.
  • Re: "Region Code" in DVD player?

    Thu, August 28, 2008 - 3:48 AM
    ahm here in europe you can buy "region free" DVD players. I know that in the USA it is a bit more difficult, but i assume that there are also region free dvd programms to find either to buy or to "hack" then into.
    Hacking though is more difficult yxou can ruin your whole harddrive .i recommend buying a region free player.
    sina
  • Re: "Region Code" in DVD player?

    Thu, August 28, 2008 - 3:53 AM
    you can buy region free players, also for your computer. it does not cost more than 100 dollars, and for me - i am european - it is absolutely worth it. this hacking stuff and ripping DVD stuff is not so mine, because one time i fucked up my whole harddrive downloading the "wrong" product to hack this and that..
    never do that again ;-)
    sina
    • Re: "Region Code" in DVD player?

      Thu, August 28, 2008 - 12:11 PM
      Every single DVD player I have (both computer & set-top) is region free. And every player I come in contact with that I know how to hack, becomes region free, too. :-p
      • Re: "Region Code" in DVD player?

        Thu, August 28, 2008 - 3:16 PM
        "Every single DVD player I have (both computer & set-top) is region free. And every player I come in contact with that I know how to hack, becomes region free, too. :-p"

        Likewise for me, with the exception of my latest MacBook Pro.

        (Speaking of, it seems that in 10.5 they removed my ability to change my MAC address for my interfaces, anyone know how to fix this? This really screws up my network testing.)
        • Re: "Region Code" in DVD player?

          Fri, August 29, 2008 - 12:48 AM
          Can't you still change the MAC address using ifconfig in the Terminal?
          • Re: "Region Code" in DVD player?

            Fri, August 29, 2008 - 6:01 PM
            "Can't you still change the MAC address using ifconfig in the Terminal?"

            You used to be able to do something like:

            ifconfig en0 ether 01:23:45:AB:CD:EF

            With 10.5 I lost this abilty, Now when I work on my switches & routers I have to use a PC whenever I need to do MAC work.
            • Re: "Region Code" in DVD player?

              Fri, August 29, 2008 - 6:22 PM
              It seems the syntax changed a bit, as discussed in this article:

              www.cneophytou.com/2008/01/...-address/

              So this should work on Leopard for you:

              ifconfig en0 lladdr 01:23:45:AB:CD:EF
              • Re: "Region Code" in DVD player?

                Fri, August 29, 2008 - 9:10 PM
                The address 01:23:45:AB:CD:EF is not a valid station address. There are two general rules to remember regarding ethernet addresses:

                - If bit 0 in the first octet is set, the address is a multicast address. If it's clear, it's a unicast address.
                - if bit 1 in the first octet is set, the address is locally defined instead of globally assigned.

                So 01:23:45:AB:CD:EF is a multicast address, because bit 0 is set in the first octet (01). A unicast address represents a single destination: on a given ethernet network, only one station should have its receive filter programmed to receive ethernet frames with this destination address in its header. A multicast address represents a group: a frame with a multicast destination address may be received by any number of stations on a given ethernet network, if those stations have joined the group. (IPv6 is one of the things that depends on multicasting to work correctly.)

                The address ff:ff:ff:ff:ff:ff is the broadcast address: a frame sent to this address is picked up by all stations on the same ethernet network. (The network stack may discard it later, but the ethernet controller will always accept broadcast frames and pass them up the line to the stack.) It's technically a special case of a multicast (or more accutately, the degenerate case): with regular mutlcasts, a station can choose to join a given group or not, but all stations implicitly are members of the "broadcast group."

                A locally defined address is one that you pick out of a hat for temporary use (or testing). One place they're used a lot these days is for adhoc wireless networks. When you join a bunch of systems together in an adhoc net (i.e. without an access point), the first station that comes up on the network makes up a BSSID address which represents the adhoc cell that all the other stations should join. This address is only used while the adhoc cell exists and isn't assigned by the manufacturer, so it has bit 1 set. A globally defined address on the other hand is assigned by the manufacturer and is supposed to be globally unique -- no other device in the world should have the same address. (The IEEE is responsible for delegating blocks of addresses to hardware vendors to ensure there aren't any duplicates.)

                Anyway, 00:01:02:03:04:05 would be a valid station address. 02:03:04:05:06:07 would also be valid, and would be an example of a locally defined address that won't be confused with any other vendor's address range. You can't use multicast addresses as station addresses because some pieces of networking hardware and network stacks handle them specially. (Ethernet switches usually "flood forward" multicast frames to all ports, whereas unicast frames are sent only to the port where the switch knows the destination station is connected.)

                (This particular problem seems to crop up at work every couple of months. We have customers who build their own networking gear and I sometimes get support calls routed to me with complaints about simple connectivity tests failing in their lab. When I prod for details, I find out that the engineer doing the tests thought it would be ok temporarily set the MAC address on the prototype board to 01:02:03:04:05:06. Once they I convince them to change it, their connectivity problems miraculously vanish.)

                I would try the following (with root privileges):

                # ifconfig en0 down
                # ifconfig en0 lladdr 00:01:02:03:04:05
                # ifconfig en0 up

                Afterwards, do "ifconfig en0" and check the output. If it shows the new address instead of the old one, then it should begin using the new address. If not, I would consider that a bug.

                Note that two things that should happen:

                - the OS should begin using the new address when sending frames on that interface
                - the driver should program the receive filter in the underlying ethernet chip so that it will accept frames with
                the new address (and ignore frames with the old address)

                The first step depends entirely on the OS and is independent of the underlying driver. When the OS boots and the network driver is loaded, one of the first things it does is report the interface's station address to the network stack. (The address is usually stored in an EEPROM or other non-volatile memory connected to the ethernet controller chip, and the driver retrieves it during initialization -- it may also save a private copy of its own.) The network stack saves a copy of this address in one or two places. When assembling a frame for transmission, the stack grabs that address and inserts it into the source address field of the ethernet frame header. The lladdr ioctl should update all of the saved copies of the address inside the kernel, so once changed, all new frames will be sent out with the new address.

                The second step depends on the driver. The ioctl should eventually filter down to the driver level, and once it receives the request to update the address, it should update its private copy (if it has one) and then reset the receive filter on the ethernet chip. The chip itself checks the headers on all incoming frames and will silently ignore all unicast frames that don't match its station address. In order to accept frames for the new address, the driver has to update the filter. This is usually pretty simple and can typically be done on the fly without even resetting any of the other receiver logic.

                The comments in that article you linked to seem to indicate that the lladdr ioctl works for en1 (the wireless port) but not en0 (the ethernet port) on some machines, notably the Macbook Pro. Given that it does work at least for en1, that implies that the OS-specific parts of the address update are working correctly, and that the driver for the en1 interface is handling the update properly as well. This tends to point to a bug in the ethernet driver for the en0 interface.

                I think the Macbook Pro (and in fact most recent Intel Macs with integrated ethernet) use the Marvell Yukon II chip. It's unclear whether the old address update command worked with the same chip previously and simply stopped working when Apple change the command from "ether" to "lladdr" or if it was broken all along. If it did used to work, then it's possible that any kernel changes that were made in conjunction with changing the command weren't propagated to the Marvell driver. If it never worked, then this particular driver is just busted.

                If my suggestion of stopping and restarting the inderface as shown above doesn't work, here's an experiment someone can try to help narrow down the problem:

                1) Use the ifconfig command to change the station address on en0 as shown above
                2) Connect the Mac's ethernet port directly to a PC or other system running Wireshark/Ethereal,
                tcpdump, or some other packet sniffer (these are all free programs)
                3) On the Mac, do something to generate some network traffic (using ping from the terminal window
                is one sure fire way, though MacOS is pretty chatty and will probably start sending some packets
                on its own if you wait long enough)
                4) Capture some of the packets originating from the Mac

                There are a couple of possible results:

                1) You fail to capture any packets at all
                2) Packets are captured, but they still have the old MAC address
                3) Packets are captured, and they have the new address

                If you can't get the Mac to send any packets at all once you change the address, then this might mean that whoever wrote the ethernet driver decided to write the driver so that it will refuse to send any frames with a different address than the factory assigned one. It's highly unlikely this will be the case, but you never know.

                If the you see frames, but they have the old address, then the chip may have a feature where it can automatically insert its station address into the ethernet frame header, and the driver has left the chip programmed to continue to use the old address. This is also unlikely: I've only seen a couple of chips that support this feature, and I don't think the Yukon II is one of them. There's also the slight chance that the driver code is "helpfully" forcing the source address to the one read from the EEPROM, but again this is also unlikely.

                If you see frames and they have the new address, then the lladdr ioctl was at least partially successful: it did update the OS's copies of the MAC address. This means the TX path is working correctly. At this point, you should try to set up the Mac and the computer on the other end of the cable to try talking to each other. If that fails (as I expect to be the case), then it means the problem is in the RX path: the driver has not updated the RX filter on the Yukon II like it should have (or maybe it updated it incorrectly), so it isn't accepting frames for its new address.

                If I'm right, then there's one possible workaround you can try:

                # ifconfig en0 down
                # ifconfig en0 lladdr 00:01:02:03:04:05
                # ifconfig en0 up
                # ifconfig en0 promisc

                The last command should but the interface in promiscuous RX mode. In this mode, the RX filtering is disabled and the receiver will accept all frames regardless of their destination address. So if even if the RX unicast filter hasn't been updated, this should force the interface to receive frames with the new address anyway. This assumes of course that the driver has implemented promiscuous mode correctly too. :P Once you use the "promisc" command, "ifconfig en0" should show that the IFF_PROMISC flag is now set for the interface.

                One last point to consider: I'm pretty sure that the code in the Marvell Yukon II driver that Apple ships was mostly written by Marvell rather than Apple. It's hard to say how many people at Apple have the necessary expertise to fix the problem themselves, especially if the bug is anywhere inside the hardware dependent code rather than the IOKit code which has undoubtedly been layered on top of it. This may explain why Apple hasn't fixed this bug yet: they have to get Marvell to do it.

                Hm. I seem to have rambled on a bit. Apologies if I'm being boring. :)

                -Bill
    • Unsu...
       

      Re: "Region Code" in DVD player?

      Thu, September 11, 2008 - 6:59 AM
      this firmware program has some heavy duty warnings, to a comp dummy like me, attached to it concerning possibly serious damage to the hard drive. In the words of laurence olivier - is it safe?

      also, if i dowload this firmware do i also need another program called "region X" in order to use it?
      • Re: "Region Code" in DVD player?

        Thu, September 11, 2008 - 9:22 AM
        There are heavy duty warnings because it is possible to damage the hardware irreparably. I have never managed to do so in 8 years of hacking DVD drives. But it can happen.

        Primarily, the warning is a sharp reminder that you're messing with things that are very very delicate. And if your drive, for example, is called a DVR-114D and the firmware only works on the DVR-114XL, forcing it may cause you a world of hurt. (Or, at least cost you the drive's life.)

        So just be mindful and think carefully about what is happening as you're using the firmware updater.

        As for "Region X", it will still be necessary due to what is actually being done.

        Early on in the world of computer DVD drives, there were RPC-1 drives. RPC-1 drives could have their region code switched 5 times before they were "locked". I say "locked" because, as usual, the concept of "security through obscurity" was employed, hoping no one would realize that it was possible to reset the number of changes. Of course, some smart folks figured out that the count could be reset and applications like Region X were born.

        As a result of Region X (and other apps like it), DVD drive manufacturers were required to change their drives to employ a new method, RPC-2. RPC-2 still allows only 5 region code changes, but also has a "manufacturer reset" count. That count is 4 times. So if you change your region code 5 times and the drive becomes locked, the manufacturer can reset it for you, just like with RPC-1, however after the manufacturer has done this 4 times, the drive is completely locked. So that means the drive can only be changed a grand total of 20 times before it is 100% stuck.

        Firmware hacks typically just cause a drive to go from being RPC-2 to being RPC-1, as the base design has never changed, only the lock requirement.

        Therefore, Region X (and apps like it) are still necessary in order to perform the manufacturer reset; you simply have removed the limitation of 4 manufacturer resets.

        Make sense?
        • Unsu...
           

          Re: "Region Code" in DVD player?

          Fri, September 12, 2008 - 7:55 AM
          sorry, one last question. the updater has two updates, one "to standard" and one "to region free" do I load one or both? and/or one after the other?
          • Re: "Region Code" in DVD player?

            Sun, September 14, 2008 - 3:01 PM
            Um, not sure. Does your firmware version match the firmware version you are trying to hack? If so, then it's just the "region free" patcher you want to run.

            A few firmware updaters require two parts, but I'm guessing you just the region free patch and the region locked patch, in case you want to set the device back to its factory RPC-2 status.
            • Unsu...
               

              Re: "Region Code" in DVD player?

              Sun, September 14, 2008 - 10:25 PM
              Ummm I don't know what firmware version I have. I do have the "FM3J". The "read me" text says this. . . .

              "This zip file contains two updaters called:

              Update FM3J to region free
              Update FM3J to standard

              These updaters must be run from Mac OS X (v10.3.9 Panther, v10.4.6 or
              later Tiger) and will begin their action as soon as they are launched
              or double clicked. They will check that the current firmware is "FM3J"
              and if so will flash either the RPC-1 (region free) patched version or
              the original FM3J.

              Since both the original and the patched are called FM3J launching the
              updater corresponding to your currently installed version (patched or
              original) will simply cause the existing firmware to be overwritten
              again with an identical version. It is not advisable to do this
              intentionally as the operation is quite critical and the drive can
              not be flashed an unlimited number of times."

Recent topics in "Mac OS X"

Topic Author Replies Last Post
The cult of Mac... 72 Yesterday, 10:28 PM
what is the latest word on Wifi N draft cards? abject 2 Yesterday, 7:39 PM
Error occured while saving 6 November 4, 2009
MobileMe opinions 7 November 4, 2009