Device Detection
Device Detection
We can detect the type of player that a user has using the USB VID and PID that they identify to the system. To do this, we need to know the VID:PID of all the models Rockbox supports.
Since there are conflicts with the usb ids, rbutil also uses other detection methods to detect a device.
Here's a table of detection methods for the different devices. Items in Red are at the moment not possible to detect.
| Modelname |
Filename / Detectionmethod |
Already used in rbutilqt |
| All Models |
.rockbox/rockbox-info.txt (if it exists) |
can't distinguish between X5 / X5V |
| All Models |
rbutil log file (if it exists) |
|
| Apple |
| All Ipods |
ipodpatcher / usb ids |
video64mb will be detected as video |
| Archos |
| Ondio 128 FM |
ondiost.bin |
|
| Ondio 128 SP |
ondiosp.bin |
|
| Jukebox Player |
archos.mod |
|
| Recorder V1 |
ajbrec.ajz |
|
| Recorder FM |
ajbrec.ajz |
|
| Recorder V2 |
ajbrec.ajz |
|
| Cowon |
| iAudio X5, X5L |
usb ids |
|
| iAudio X5V |
usb ids |
USB ID unknown, might be the same as X5 (and thus detected as X5) |
| iAudio M5, M5L |
usb ids |
|
| iAudio M3, M3L |
usb ids |
|
| Iriver |
| H100 |
usb ids |
|
| H120, H140 |
usb ids |
|
| H320, H340 |
usb ids |
|
| H10 20GB |
usb ids |
|
| H10 5,6GB MTP |
usb ids |
|
| H10 5,6GB UMS |
usb ids |
|
| Sandisk |
| Sansa e200 |
sansapatcher / usbids |
|
| Sansa e200r |
- |
|
| Sansa c200 |
sansapatcher |
|
| Toshiba |
| Gigabeat F Series, X Series |
GBSYSTEM/ |
|
| Olympus |
| m.robe 100 |
usb ids |
|
Please help me to fill in the blanks. If you have a idea to detect a device (all red device cant be detected at moment), write it here.
Here's a table of USB IDs. Items in Red are duplicates.
| VID |
PID |
Model name |
| Apple |
| 05ac |
1201 |
3G |
| 05ac |
1203 |
Color (4G)??? / Mono (4G) |
| 05ac |
1204 |
Color (4G) |
| 05ac |
1205 |
Mini (First Generation) |
| 05ac |
1205 |
Mini (Second Generation) |
| 05ac |
1209 |
Video (5G and 5.5G (32MB / 64MB)) |
| 05ac |
120a |
Nano (First Generation) |
| 05ac |
1260 |
Nano (Second Generation) |
| 05ac |
1261 |
Classic (6th Generation) |
| Archos |
| 058f |
9330 |
Ondio 128 FM (actually Alcor Micro) |
| 058f |
9330 |
Ondio 128 SP |
| 05ab |
0031 |
Jukebox Player (actually In-System Design) |
| 05ab |
0031 |
Recorder V1 (USB1.1 models) |
| 05ab |
0060 |
Recorder V1 (USB2.0 models) (actually In-System Design) |
| 05ab |
0060 |
Recorder FM |
| 05ab |
0060 |
Recorder V2 |
| Creative |
| 041e |
4151 |
Creative Zen Vision:M (MTP) |
| 041e |
4133 |
Creative Zen Vision:M (Removable Disk Mode) |
| 041e |
4150 |
Creative Zen V (MTP) |
| 041e |
4133 |
Creative Zen V (Removable Disk Mode) |
| 041e |
4157 |
Creative ZEN (MTP) |
| 041e |
4128 |
Creative NOMAD Jukebox Zen Xtra (MTP) |
| 041e |
4111 |
Dell Digital Jukebox (First Generation, MTP) |
| 041e |
412f |
Dell Digital Jukebox (Second Generation, MTP) |
| Cowon |
| 0e21 |
0500 |
iAudio M3 |
| 0e21 |
0510 |
iAudio X5, Subpack USB port |
| 0e21 |
0513 |
iAudio X5, Side USB port |
| 0e21 |
0520 |
iAudio M5(L), Side USB port |
| 0e21 |
0751 |
iAudio 7 (MTP mode) |
| 0e21 |
0801 |
Cowon D2 (MTP mode) |
| Iriver |
| 1006 |
3001 |
H100 |
| 1006 |
3002 |
H120, H140 |
| 1006 |
3003 |
H320, H340 |
| 1006 |
3004 |
"H300 Series MTP" (never heard of that) |
| 4102 |
1007 |
iFP 700 series |
| 4102 |
2002 |
H10 6GB UMS |
| 4102 |
2101 |
H10 20GB MTP |
| 0b70 |
00ba |
H10 20GB MTP (UMS mode) |
| 4102 |
2102 |
H10 5GB MTP |
| 4102 |
2105 |
H10 5,6GB MTP |
| Olympus |
| 07b4 |
0280 |
m:robe 100 |
| Philips |
| 0471 |
014F |
GoGear SA9200 |
| Rio |
| 045a |
5210 |
Rio Karma (vendor identified as SONICblue, Inc.) |
| Sandisk |
| 0781 |
7450 |
Sansa c250 UMS |
| 0781 |
7451 |
Sansa c240 UMS |
| 0781 |
0720 |
Sansa c2x0 Recovery mode |
| 0781 |
7420 |
Sansa e200 MTP |
| 0781 |
7421 |
Sansa e200 UMS/MSC |
| 0781 |
0729 |
Sansa e200 in Recovery Mode |
| 0781 |
7422 |
Sansa e200v2 MTP |
| 0781 |
7423 |
Sansa e200v2 UMS/MSC |
| 0781 |
7432 |
Sansa Clip MTP |
| 0781 |
7480 |
Sansa Connect (Normal Connection) |
| 0781 |
7481 |
Sansa Connect in Recovery Mode |
| 0781 |
7430 |
Sansa m240 |
| Toshiba |
| 0930 |
0009 |
Gigabeat F Series, X Series in UMS Mode |
| 0930 |
000C |
Gigabeat F Series in MTP Mode (X Series unverified) |
| 0930 |
0010 |
Gigabeat S Series MTP (No UMS mode) |
| 0930 |
0014 |
Gigabeat V Series, MTP |
Please help me to fill in the blanks. Attach your device to your WIndows computer and run usbids from a Windows command line to get a list of devices and their IDs attached to your system. Use the Device Manager to figure out which device is your USB disk, and edit the table above.
Linux users can use 'lsusb' or in the /sys/devices tree as follows:
After you plug in the device, you should see a line in syslog similar to this:
scsi.agent[31802]: disk at /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:2.0/host3/target3:0:0/3:0:0:0
Looking in /sys/devices/pci0000:00/0000:00:10.3/usb1/1-4/ you'll see a group of pseudofiles. Among them are 'idProduct' and 'idVendor', those are the ID numbers listed here.
|