Commit graph

28 commits

Author SHA1 Message Date
Dominik Riebeling
f958717d43 Separate basic functionality from GUI parts by moving it into a separate folder. Some files still need to get cleaned up prior moving them too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18788 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 19:21:58 +00:00
Dominik Riebeling
197c24c5d3 Completely rework the bootloader installation class:
- create a base class and make derived classes for each installation type.
- sort installations by type, not by player model.
- remove duplicated code for iriver (de)scrambling functionality and use the functions inside of the tools folder directly -- we already do the same for rbspeex.
- make bootloader file backup optional and allow choosing a target location.
- clean up some wording and add some more guiding messages.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18657 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:02:36 +00:00
Dominik Riebeling
788d01ef7f Add w32 mountpoint resolving based on disc number correctly this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17873 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 09:50:20 +00:00
Dominik Riebeling
1ed2e514da Add W32 mountpoint resolving based on the disc number figured by ipodpatcher / sansapatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17868 a1c6a512-1295-4272-9138-f99709370657
2008-06-29 07:45:33 +00:00
Dominik Wenger
7fb11a82a1 rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 21:53:22 +00:00
Dominik Riebeling
1876a0bcf2 Add System Info screen showing some values that could be helpful in case of problems using rbutil. Most noteable is showing the permission level of the user on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17736 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 10:28:10 +00:00
Dominik Riebeling
229c64ba67 Upon autodetection tell the user if an incompatible player model (newer Sansa / Nano) was found. Detection is usb based only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16979 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 21:48:54 +00:00
Dominik Riebeling
00a3e13b1f fix a stupid bug which made mountpoint detection based on folders non-functional on Ipod and Gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16978 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 18:59:54 +00:00
Dominik Wenger
1363881148 rbutil:let autodetection::detectUsb also use the rbsettings object.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16952 a1c6a512-1295-4272-9138-f99709370657
2008-04-03 20:05:13 +00:00
Dominik Riebeling
7b2982ac62 On windows check for iPod_Control folder to allow resolving the drive letter for Ipods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16724 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 20:29:17 +00:00
Barry Wardell
b5e7261dba FS#7913: mountpoint resolving on OS X.
Also, make rbutil build again for OS X and add /usr/local to the lib and include paths since that is most likely where libusb will be.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15096 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 16:26:38 +00:00
Dominik Riebeling
84b865afa6 mntent.h should only be used on linux, not os x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14902 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 12:15:31 +00:00
Dominik Riebeling
5321711dd9 The archos website fooled me by providing a wrong download, no need for that extended check. Thanks to amiconn for the clarification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14870 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 18:01:12 +00:00
Dominik Riebeling
ddbb751425 Add parsing of ajbrec.ajz file header for autodetection. All archos targets should now be detectable. Fix a stupid bug in file-based detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14865 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 08:50:47 +00:00
Dominik Riebeling
a1a4575740 w32: add USB autodetection based on PID / VID values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14826 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 10:34:28 +00:00
Dominik Riebeling
d3ea919999 Update rbutil to match up with latest sansapatcher changes. Installing c200 bootloader isn't added yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14759 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 22:02:34 +00:00
Antoine Cellerier
1464c9b5d0 Cosmetics: remove trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 22:57:07 +00:00
Dominik Riebeling
fc25266440 Device detection based on USB PIDs. This is currently linux only and requires libusb. There is also no way to figure the mount point from the USB PID so the old methods are tried for this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14698 a1c6a512-1295-4272-9138-f99709370657
2007-09-14 20:52:38 +00:00
Dominik Riebeling
b2e651dbc8 - check for specific files / folders case-insensitive
- linux: when detecting the mountpoint only accept vfat drives


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14578 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 12:20:44 +00:00
Dominik Riebeling
72b74478bf Add first time detection for some archos devices and gigabeat based on player-specific files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14576 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 10:50:13 +00:00
Dominik Riebeling
c00652b0a2 use the getmntend api here too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14574 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 09:36:28 +00:00
Dominik Riebeling
84f8f3dd1b Fix autodetection based on rockbox-info.txt which I broke when fixing X5 detection. Replace mountpoint detection to use getmntent api on linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14573 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 08:49:08 +00:00
Dominik Riebeling
fae8e3fe4f When installing a build also save the platform information to the log file. This solves the detection issue on X5 / X5V (as they share the same build but not bootloader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14539 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:08:25 +00:00
Dominik Riebeling
1dc307a586 set missing keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14446 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 22:11:50 +00:00
Dominik Riebeling
739949979c Add (untested) device detection using sansapatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14445 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 22:07:21 +00:00
Dominik Riebeling
1152a12d91 Add Ipod detection using ipodpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14441 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 15:24:28 +00:00
Dominik Riebeling
1b199fabe4 fix error with the preprocessor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14204 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 22:13:40 +00:00
Dominik Wenger
421411b73a rbutilqt: initial port of the autodetection. (use only rockbox-info.txt at the moment)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14199 a1c6a512-1295-4272-9138-f99709370657
2007-08-05 19:48:04 +00:00