| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Change-Id: I89fed904b282a202bc845b08f4c8d1200a49636d
|
| |
|
|
|
|
|
|
|
|
|
| |
The devinfo request returned the raw data, now the tool prints the various
fields. Also add support for the dhp (destination/headphones/color ...): this
one is untested because it's only supported starting from A10 or A20. There is
still a problem with the dpcc prop: although it should work for DEVINFO, it does
not, despite the fact that the get_dev_info command works and is internally (on
the Sony) translated into a dpcc request. I keep the code just in case.
Change-Id: I5aa8ef4afb0b11d3c0ddfa3d38f3e737ee1aff66
|
| |
|
|
|
|
|
| |
The detailled error message is only printed if -d switch is on command line,
otherwise there is no error message which is wrong so fix that.
Change-Id: I397541c467940e9b290ee8d4ae704368b1ce132b
|
| |
|
|
|
|
| |
Users can't read the wiki instructions, hopefully they can read this...
Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
|
| |
|
|
|
|
|
|
| |
The cool now takes the database as a hint and will not complain if the device
returns less data. The tool also supports user provided size and raw node numbers
that are not in the database (advanced usage).
Change-Id: I8cec536718d7eff01c7803bea648d6122b82377a
|
| |
|
|
| |
Change-Id: I1b5688ba7ad99c7a22ba4532c8237b4563e4a9e4
|
| |
|
|
| |
Change-Id: I0a139eb236f825368ae627fdbb2f75286f747f10
|
| |
|
|
|
|
|
|
|
|
|
| |
We cannot auto-detect a device if we don't know its model ID, but we can't know
the model ID if we haven't decrypted the upgrade which requires the key. The only
way to solve this chicken-and-egg problem is to get the NVP table from kernel,
create an empty series in the database (no model ID), then get the key using
scsitool and forcing the model (using this commit), then decrypt the upgrade
and get the model ID list.
Change-Id: I8eced486a5f6a1a99028b25fdc4f87a3b11e31a8
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Now that we have a nice database of player index, the scsitool becomes more
useful and supports a lot more players. I did some general cleanup of the code,
though eventually it would be nice to really split it into a library and a CLI.
The SCSI vendor command allow to read but also write most NVP nodes. Since there
seems to a demand to change destination and sound pressure settings on device,
I implement this feature in the tool. I do not plan to allow arbitrary NVP
writes because this could easily brick the device. Changing the destination
should be safe, but as usual, use at your own risks.
Change-Id: Iff4e8cc3ac97b965c1df849051c5fd373756cda5
|
| |
|
|
|
|
|
|
|
| |
There is a windows port of the sg_utils library for scsi pass-
through. This little changes make it compile under mingw. A better
fix would be to implement direct ioctl on both windows and linux
but that's already better than nothing
Change-Id: I0d77cd1bad69806a66f0590362f165f24fa240e9
|
| |
|
|
| |
Change-Id: I882956c0022db846882c68f8aac7f9d8fe49dfa8
|
| |
|
|
| |
Change-Id: Iaebb442611c64fe4d47a07ce3b3d12c3230cafe5
|
| |
|
|
| |
Change-Id: Iaa89df27b7a0c4eb9fc6603c431de3d1fe791fa1
|
| |
|
|
|
|
|
|
|
|
| |
There is a vendor specific command to read the NVP of the device,
including the KAS. The trick is that the data is randomly
scrambled using a so-called para_noise array of random values.
There seems to be a problem when retrieving large entries (>1000
bytes typically) which causes sg_pt do behave strangely.
Change-Id: Iefa6140df78ab9c7dcf7ac34cb1170979123ecd7
|
|
|
This tool can send vendor specific scsi commands to sony nwz
players such as getting serial number, model id, device info,
and others. It can potentially be used to get some private keys
stored on the device but probably not the KAS used to encrypt
firmware upgrades images(UPG).
Change-Id: Ia49c1edf8d421b20c4e9afeb1192e00e06eb6047
|