diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:52:01 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:52:01 +0000 |
commit | 6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5 (patch) | |
tree | d11bbebc69df06d60970d05b4816e13d93602f2d /www/usb-howto.t | |
parent | 8cece5a745f30234bfced4becfd9dfe4ca1047d4 (diff) | |
download | rockbox-6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5.tar.gz rockbox-6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5.zip |
Splitting out www
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www/usb-howto.t')
-rw-r--r-- | www/usb-howto.t | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/www/usb-howto.t b/www/usb-howto.t deleted file mode 100644 index aa8d73209f..0000000000 --- a/www/usb-howto.t +++ /dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | How To Connect your Archos to Your Linux | ||
2 | ======================================== | ||
3 | |||
4 | Author: Daniel Stenberg <daniel@haxx.se> | ||
5 | Version: $Revision$ | ||
6 | Date: $Date$ | ||
7 | |||
8 | Archos Recorder | ||
9 | |||
10 | The Recorder does not need Björn's ISD200 driver, that was written for and | ||
11 | is required for Linux to communicate with the Archos Player (and others). | ||
12 | |||
13 | The Recorder supports both USB1.1 and USB2.0, and thus you can use either | ||
14 | version, depending on what your host supports. | ||
15 | |||
16 | CONFIGURE YOUR KERNEL | ||
17 | |||
18 | (I've tried this using both 2.4.17 and 2.4.18) | ||
19 | |||
20 | o Make sure your kernel is configured with SCSI, USB and USB mass storage | ||
21 | support. | ||
22 | |||
23 | USB1.1 ONLY | ||
24 | |||
25 | o On USB config page, select 'UHCI' as a (m)odule, as only then will the | ||
26 | "Alternate Driver" appear in the config. Set that one to (m)odule as | ||
27 | well. Failing to do this might cause you problems. It sure gave me | ||
28 | some. | ||
29 | |||
30 | USB2.0 ONLY | ||
31 | |||
32 | o Make sure you've patched your kernel with the correct USB2 patches: | ||
33 | [the following is a single URL, split here to look nicer] | ||
34 | http://sourceforge.net/tracker/index.php?func=detail&aid=503534& \ | ||
35 | group_id=3581&atid=303581 | ||
36 | |||
37 | o On USB config page, select 'EHCI' as a (m)odule | ||
38 | |||
39 | o Rebuild kernel, install, bla bla, reboot the new one | ||
40 | |||
41 | |||
42 | |||
43 | MAKE YOUR KERNEL SEE YOUR ARCHOS | ||
44 | |||
45 | After having booted your shiny new USB+SCSI kernel, do this: | ||
46 | |||
47 | o Very important *first* start your Archos Recorder, and get it connected to | ||
48 | the USB. Not starting your Archos first might lead to spurious errors. | ||
49 | |||
50 | USB 1.1 ONLY | ||
51 | |||
52 | o insmod usb-uhci | ||
53 | |||
54 | USB 2.0 ONLY | ||
55 | |||
56 | o insmod ehci-hcd | ||
57 | |||
58 | o insmod usb-storage | ||
59 | |||
60 | Now, your Archos Recorder might appear something like this: | ||
61 | |||
62 | $ cat /proc/scsi/scsi | ||
63 | Attached devices: | ||
64 | Host: scsi0 Channel: 00 Id: 00 Lun: 00 | ||
65 | Vendor: FUJITSU Model: MHN2200AT Rev: 7256 | ||
66 | Type: Direct-Access ANSI SCSI revision: 02 | ||
67 | |||
68 | And you can also see it as an identified device by checking out the file | ||
69 | /proc/bus/usb/devices. | ||
70 | |||
71 | |||
72 | |||
73 | MOUNT THE ARCHOS' FILESYSTEM | ||
74 | |||
75 | In my system, my kernel tells me a 'sda1' SCSI device appears. Using this | ||
76 | info, I proceed to mount the filesystem of my Archos on my Linux: | ||
77 | |||
78 | $ mount -f vfat -oumask=0 /dev/sda1 /mnt/archos | ||
79 | |||
80 | (/dev/sda1 may of course not be exactly this name on your machine) | ||
81 | |||
82 | You can also make the mount command easier by appending a line to /etc/fstab | ||
83 | that looks like: | ||
84 | |||
85 | /dev/sda1 /mnt/archos vfat noauto,umask=0 0 0 | ||
86 | |||
87 | So then the mount command can be made as simple as this instead: | ||
88 | |||
89 | $ mount /mnt/archos | ||
90 | |||
91 | The umask stuff makes it possible for all users to write and delete files on | ||
92 | the archos file system, not only root. The 'noauto' prevents the startup | ||
93 | sequence to attempt to mount this file system. | ||