Dominik Riebeling
084d57cef4
Check if creating the dictionary worked before accessing it, not afterwards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28860 a1c6a512-1295-4272-9138-f99709370657
2010-12-19 21:21:28 +00:00
Dominik Riebeling
c8d13b6a7d
Implement ipod_scsi_inquiry() on OS X.
...
This implements the basic functionality for sending inquiries on OS X.
The current implementation has some limitations:
- it will not respect the selected device but pick the first Ipod found.
- it is inefficient due to the way ipodpatcher expects this which doesn't
really match how it works on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24382 a1c6a512-1295-4272-9138-f99709370657
2010-01-30 17:02:37 +00:00
Dave Chapman
428064016b
Revert most of r24361 - it was committed in error.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 a1c6a512-1295-4272-9138-f99709370657
2010-01-28 09:37:05 +00:00
Dave Chapman
4cb879d08d
Update the comments describing how to build ipodpatcher - no functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24361 a1c6a512-1295-4272-9138-f99709370657
2010-01-28 09:20:32 +00:00
Dominik Riebeling
93eefbabe3
Suppress unused warnings for functions that haven't been implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23785 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 19:20:38 +00:00
Dominik Riebeling
3e489c14c1
Rename print_error() in ipodpatcher and sansapatcher.
...
Both patchers use the same function name with one being removed when
building for rbutil. This gets in the way trying to move the patchers to
libraries, and it also results a linking dependency of sansapatcher on
ipodpatcher. Renaming the function makes both more self-contained and
avoids potential issues if the functions happen to not do the same.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23568 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 13:38:10 +00:00
Dave Chapman
1eca02d863
Add support (on Linux and win32 only - I couldn't figure this out on OS X) for reading the XML device information from ipods. This information includes the RAM size, which is potentially useful for rbutil to distinguish between the two ipod video builds. This is implemented as both a new --dump-xml option (to dump the entire XML to a file) and a new 'ramsize' field in struct ipod_t.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22165 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:32:30 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Dominik Riebeling
194b2ca887
Check for permission denied error when trying to access the player and inform the user that raw disc access permissions are required.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17351 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 11:59:04 +00:00
Dave Chapman
f225f04d00
Mac OS X only - automatically unmount the FAT32 partition before attempting to open the disk device for writing. This step can be removed from the manual when the next ipodpatcher version is released.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14569 a1c6a512-1295-4272-9138-f99709370657
2007-09-01 22:55:37 +00:00
Dave Chapman
2cc80f502e
Add -W to CFLAGS in Makefile and fix the generated warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14066 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:19:14 +00:00
Dave Chapman
56780e3e41
Initial integration of a --format option, based on fat32format.exe. The main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13643 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:32:57 +00:00
Dave Chapman
955afed1b7
Move ipodpatcher into rbutil directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 19:49:43 +00:00