<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/nwztools/scsitools/scsitool.c, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>nwztools/scsitool: add a command to query multiple nvp nodes at once</title>
<updated>2017-06-18T21:16:18+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-06-18T21:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=37a945d203873a7c4e49ce5506385e82c0001d0b'/>
<id>37a945d203873a7c4e49ce5506385e82c0001d0b</id>
<content type='text'>
Change-Id: I89fed904b282a202bc845b08f4c8d1200a49636d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I89fed904b282a202bc845b08f4c8d1200a49636d
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scsitool: fix devinfo, add dhp</title>
<updated>2017-06-18T11:37:26+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-06-18T11:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=91ede1ea08ae217ccd22cdc936e474cdc0a4466c'/>
<id>91ede1ea08ae217ccd22cdc936e474cdc0a4466c</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scsitool: print error on check sense</title>
<updated>2017-06-18T11:35:42+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-06-18T11:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8d5dcd395d0150abf4ec7b5a721ff003e2f9772d'/>
<id>8d5dcd395d0150abf4ec7b5a721ff003e2f9772d</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools: add a "reset all settings" message in dest_tool</title>
<updated>2017-01-09T21:15:53+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-09T21:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1d7f6048f49df863d0b491faa3a39e206290848c'/>
<id>1d7f6048f49df863d0b491faa3a39e206290848c</id>
<content type='text'>
Users can't read the wiki instructions, hopefully they can read this...

Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users can't read the wiki instructions, hopefully they can read this...

Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scitool: rework node size, remove relaxed mode</title>
<updated>2017-01-08T15:07:18+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-08T15:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1895af8e15474f87b6b34ca7a4e04425cf36c7ec'/>
<id>1895af8e15474f87b6b34ca7a4e04425cf36c7ec</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scsitools: use new SCSI library</title>
<updated>2017-01-07T15:31:28+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-07T15:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=76c73c707abf950752f1fa0f17a049bdbbb3d5f8'/>
<id>76c73c707abf950752f1fa0f17a049bdbbb3d5f8</id>
<content type='text'>
Change-Id: I1b5688ba7ad99c7a22ba4532c8237b4563e4a9e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1b5688ba7ad99c7a22ba4532c8237b4563e4a9e4
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scsitool: add relaxed mode for nvp</title>
<updated>2017-01-07T14:53:03+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-05T11:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=86e745a25eed5365f0a38f8227ef58e236ccf445'/>
<id>86e745a25eed5365f0a38f8227ef58e236ccf445</id>
<content type='text'>
Change-Id: I0a139eb236f825368ae627fdbb2f75286f747f10
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0a139eb236f825368ae627fdbb2f75286f747f10
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztools/scsitool: add option to force/specify series</title>
<updated>2017-01-04T16:14:31+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-04T16:10:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ad2297d353412dd20fc439b8053b25b18872069c'/>
<id>ad2297d353412dd20fc439b8053b25b18872069c</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>nwztool/scsitools: cleanup and add destination changer tool</title>
<updated>2016-11-11T15:07:14+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-11-11T15:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=33856d9ceb6df817c4f40f42bfcf9ee9fa188848'/>
<id>33856d9ceb6df817c4f40f42bfcf9ee9fa188848</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/nwztools: fix compilation for windows</title>
<updated>2013-01-10T00:51:35+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-01-09T22:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b9923df170104320e55bff05ecc2a0105067f9cb'/>
<id>b9923df170104320e55bff05ecc2a0105067f9cb</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
