Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
One step forward, two steps back: PCH Firmware and USB Drives
10-15-2010, 11:32 PM (This post was last modified: 10-16-2010 12:29 AM by Auggie.)
Post: #1
One step forward, two steps back: PCH Firmware and USB Drives
I noticed that Syabas has been tweaking how USB drives are handled with each incarnation of firmware, at least for the C-200.

The May firmware version introduced recognition of USB drive volume labels, but only for FAT32 and NTFS, and always prefacing the USB drive volume label with "USB_DRIVE." (e.g. USB_DRIVE.MyUSBDrive). For YAMJ playerpath purposes, this finally removed the headaches with multiple USB drives and the seemingly random letter assignment the NMT would use.

With the latest August C-200 firmware, HFS+ USB volume labels are now recognized. And the "USB_DRIVE." prefix was dropped.

Unfortunately, at least with my C-200, the PCH no longer recognizes USB volume labels in the playerpath, and hence, videos on USB drives will no longer launch from the jukebox if referencing by volume labels. Not with FAT32, NTFS (they DID work with the previous FW version) and HFS+.

I've tried:

file:///opt/sybhttpd/localhost.drives/USB_DRIVE.MyUSBDrive/
file:///opt/sybhttpd/localhost.drives/MyUSBDrive/
file:///opt/sybhttpd/localhost.drives/USB_DRIVE_B-1.MyUSBDrive/

The only playerpath that works now is:

file:///opt/sybhttpd/localhost.drives/USB_DRIVE_B-1/

But now we are back to the NMT's seemingly random assignment of drive letters again (when multiple USB drives are attached) and therefore cannot accurately predict what the playerpath should be for YAMJ jukeboxes; the drives can get completely different drive letter assignments after a power cycle for example.

I reviewed the YAMJ Wiki to see if there is any updated information in regards to handling USB drives in playerpaths, but no updates have been made.

BTW, the entries for C-series USB drives which show:
Code:
file:///opt/sybhttpd/localhost.drives/USB_DRIVE_A-1.mounted drive label/
file:///opt/sybhttpd/localhost.drives/USB_DRIVE_B-1.mounted drive label/
never worked for me with the previous firmware as well; I was using:
Code:
file:///opt/sybhttpd/localhost.drives/USB_DRIVE.mounted drive label/

It's nice to be able to visually work with USB volume labels, however, if the ability to reference them in code has been removed, what's the point? Huh

TOMY: The Only Mac YAMJ GUI, now for Windows too! Both available here.
Find all posts by this user
10-15-2010, 11:38 PM (This post was last modified: 10-15-2010 11:40 PM by accident.)
Post: #2
RE: One step forward, two steps back: PCH Firmware and USB Drives
It always changes.. in fact usb drives may change everytime you reboot or connect them and theres a few tools to help deal with that but they all require nmt to be installed, luckily with the 200 series that can be on a small thumbdrive
you can use the popapps interface to look up the names for path on a 200, that part still works right:

http://(PCH HOST OR IP HERE):8008/system?arg0=list_devices

It's documented more in this guide: http://www.networkedmediatank.com/showth...?tid=43187
Find all posts by this user
10-15-2010, 11:41 PM (This post was last modified: 10-16-2010 12:48 AM by Auggie.)
Post: #3
RE: One step forward, two steps back: PCH Firmware and USB Drives
(10-15-2010 11:38 PM)accident Wrote:  It always changes.. in fact usb drives may change everytime you reboot or connect them and theres a few tools to help deal with that but they all require nmt to be installed, luckily with the 200 series that can be on a small thumbdrive

In the May FW on my C-200, I could use just "USB_DRIVE.MyUSBDrive" as the label in the playerpath (FAT32/NTFS only) and regardless of what internal mounting point the PCH used (e.g. USB_DRIVE_A-1, USB_DRIVE_B-1, etc), the playerpath was still valid and videos would launch.

It's just with the August FW this changed. Undecided

And yes, I've already incorporated the PopApps API's into the next version of TOMY, but that still doesn't truly resolve the issue within the library.xml. With the May FW, you really didn't need to worry about updating the playerpaths across power cycles and random attachments of USB drives.

With the August FW, I must programmatically read and compare the library XML playerpath to the latest drive letter assignment within the NMT, and this must be done immediately before running YAMJ to ensure the most up-to-date information. This will not be a very efficient method.

However, that is only useful for when you are updating your jukebox. If no updates are necessary (e.g. no new videos were added), how do you go about ensuring all the existing HTML code for USB drive based video's are updated when NMT assigns a new label WITHOUT having to run YAMJ again?

As I said, one step forward, two steps backward... Sad

BTW, this is really not for me as I discontinued using USB drives when I brought in a NAS. This is for those users who do continue to use USB drives as I need to ensure support for those users is kept up to date in TOMY...

TOMY: The Only Mac YAMJ GUI, now for Windows too! Both available here.
Find all posts by this user
10-16-2010, 12:35 AM
Post: #4
RE: One step forward, two steps back: PCH Firmware and USB Drives
I think just about every 200 firmware usb drives attached directly have been a challenge and something has changed.. The best solution for usb stability is using nmt+one of the remount usb drives based on name solutions.. Yamj can fix paths now so you can check the drives, change the library and run yamj to update.. of course you may run into a pch caching problem..

I suspect the firmware AFTER nmj is released is when we will finally see some good drive name stability because it becomes a syabas problem.
Find all posts by this user
10-16-2010, 01:01 AM
Post: #5
RE: One step forward, two steps back: PCH Firmware and USB Drives
(10-16-2010 12:35 AM)accident Wrote:  I think just about every 200 firmware usb drives attached directly have been a challenge and something has changed.. The best solution for usb stability is using nmt+one of the remount usb drives based on name solutions.. Yamj can fix paths now so you can check the drives, change the library and run yamj to update.. of course you may run into a pch caching problem..

I suspect the firmware AFTER nmj is released is when we will finally see some good drive name stability because it becomes a syabas problem.

We can only hope that will be the case. Smile

But it seemed the firmware was heading in the right direction initially in this regard, then regressed back to square one.

I just noticed a new Oct 8 C-200 firmware is now available, tho no mention of USB drives in the change log. When I get the chance, I will test USB functionality against it.

TOMY: The Only Mac YAMJ GUI, now for Windows too! Both available here.
Find all posts by this user
10-16-2010, 07:35 AM
Post: #6
RE: One step forward, two steps back: PCH Firmware and USB Drives
Keep us informed of your progress, I can then update the wiki to reflect the state of play.

Like you, I don't use USB drives at all, so it's hard to work out all the permutations

Visit this user's website Find all posts by this user
10-16-2010, 09:12 PM (This post was last modified: 10-16-2010 09:14 PM by Auggie.)
Post: #7
RE: One step forward, two steps back: PCH Firmware and USB Drives
(10-16-2010 07:35 AM)Omertron Wrote:  Keep us informed of your progress, I can then update the wiki to reflect the state of play.

Like you, I don't use USB drives at all, so it's hard to work out all the permutations

Unfortunately, the Oct 8 C-200 Firmware is no different than the Aug Firmware, so we are still stuck with the original handling of USB drives when -100 series were originally introduced.

That is, the playerpath's can only be USB_DRIVE_A-1, USB_DRIVE_B-1, etc, and playpath's can no longer use the short-lived USB_DRIVE.drive_label, nor the YAMJ Wiki suggestion of USB_DRIVE_A-1.drive_label

C-200 users of the May Firmware are the only ones that can use USB_DRIVE.drive_label in their playerpath's.

TOMY: The Only Mac YAMJ GUI, now for Windows too! Both available here.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [YAMJ] A400 and latest firmware results Bazrah 1 517 09-13-2013 08:51 AM
Last Post: zombiehunter
  YAMJ and external USB drives (C-200) baboon 2 919 08-01-2013 08:22 AM
Last Post: baboon
  YAMJ no longer works at all - USB external drives Bumder 16 2,795 04-26-2013 08:46 PM
Last Post: Aquasport
  file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE doesn't work?? greenyoda666 10 1,761 04-01-2013 06:04 AM
Last Post: halfelite
  Firmware upgrade if running YAMJ? rd48sec 1 513 02-23-2013 10:03 PM
Last Post: Omertron
  [YAMJ] HD Drives w/names do not play videos wryker 7 711 12-16-2012 09:41 PM
Last Post: wryker
  [YAMJ] How can I automate these steps in a more efficient manner litfoo 40 4,561 12-02-2012 04:46 AM
Last Post: accident
  Switch from usb drives to multiple network shares [split] Eversion tommyboy70 5 1,259 09-08-2012 10:08 PM
Last Post: tommyboy70
  Scanning Many USB Drives donysious 13 1,814 06-23-2012 03:32 AM
Last Post: donysious
  Need help adding 2 drives to popcorn hour a200 using YAMJ. jasjw 3 1,194 06-03-2012 08:21 PM
Last Post: meecrob28

Forum Jump: