Support and General Use > Hardware

Presenting iPod as a standard USB mass storage device for in-car use?

<< < (6/11) > >>

NiHaoMike:

--- Quote from: torne on April 03, 2010, 06:45:19 AM ---I'm *reasonably* sure that your suspicion of anti-consumer behaviour is wrong. It's detecting that it's an iPod, and trying to use the advanced accessory protocol (the one that works over USB/SCSI) to retrieve information about the files on the device. A normal un-rockboxed ipod would be unusable if it *didn't* do this, because the files have been renamed to useless unbrowsable names by iTunes and you wouldn't be able to find anything. We don't implement this protocol because we don't have any docs for it, so the connection fails. I guess the head unit *could* fall back to just letting you browse the filesystem, but since this would never have come up during testing it's a reasonable mistake to have made without any malice being required.

The 'right' fix in the long term is for someone to painstakingly reverse engineer the protocol used and implement it in Rockbox.

--- End quote ---
Couldn't it read the database just like the iPod itself does?

Personally, I think Apple should not have "reinvented the wheel". A filesystem is a very good way to organize data. The files could be stored as "artist/album/track" on the disk and playlists implemented as a list of files.

torne:

--- Quote from: NiHaoMike on April 03, 2010, 11:23:56 AM ---.
Couldn't it read the database just like the iPod itself does?

--- End quote ---
No, because Apple change the database format whenever they feel like it. The protocol allows them to do this. The database format is not public or stable; the protocol is available to anyone who pays apple.


--- Quote ---Personally, I think Apple should not have "reinvented the wheel". A filesystem is a very good way to organize data. The files could be stored as "artist/album/track" on the disk and playlists implemented as a list of files.

--- End quote ---
Well they didn't do it that way, so this is useless wishing :)

NiHaoMike:
http://www.obdev.at/products/vusb/index.html

--- Quote ---Comes with freely usable USB identifiers (Vendor-ID and Product-ID pairs).
...
You can choose the License: Open Source or commercial.
--- End quote ---
Maybe those IDs or some other free IDs can be used?

--- Quote ---I'm *reasonably* sure that your suspicion of anti-consumer behaviour is wrong. It's detecting that it's an iPod, and trying to use the advanced accessory protocol (the one that works over USB/SCSI) to retrieve information about the files on the device. A normal un-rockboxed ipod would be unusable if it *didn't* do this, because the files have been renamed to useless unbrowsable names by iTunes and you wouldn't be able to find anything. We don't implement this protocol because we don't have any docs for it, so the connection fails. I guess the head unit *could* fall back to just letting you browse the filesystem, but since this would never have come up during testing it's a reasonable mistake to have made without any malice being required.
--- End quote ---
But don't the release versions use disk mode, which is hard coded in the stock firmware and not Rockbox code?

Llorean:
How would us using their ID pairs be any different than us stealing them from another unrelated project? Just because they're open source and we can use their code freely doesn't mean we still wouldn't be misusing the vID/pID pair they use if we included it in our code, nor does it address any of gevaerts' other concerns about using pairs that aren't right for the device.

As well, I don't understand your statement about the OF disk mode. What it does is entirely unrelated to this discussion, since this discussion is about what what Rockbox could or should implement to solve the problem. Rockbox release versions won't always depend on the OF USB mode as that's just a temporary situation, and he's already moved beyond using the OF USB mode in his own personal use.

gevaerts:

--- Quote from: Llorean on April 04, 2010, 02:53:56 PM ---How would us using their ID pairs be any different than us stealing them from another unrelated project? Just because they're open source and we can use their code freely doesn't mean we still wouldn't be misusing the vID/pID pair they use if we included it in our code, nor does it address any of gevaerts' other concerns about using pairs that aren't right for the device.

--- End quote ---

If I understand things correctly, they have a deal with some people who own a VID to get a range of PIDs, which they allocate to users of the project on-demand, so from a technical point of view this is fine.

I'm pretty sure that the actual owner of the VID is in breach of the contract they signed with the USB-IF however. The vusb people claim that they aren't doing anything wrong, not having signed anything with the USB-IF, and I think they're right.

My personal opinion is that while getting a deal like that might be fully legal, I still don't like it...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version