Use LCD_WHITE macro - this is defined for both greyscale and colour LCDs
[Rockbox.git] / www / usb-howto.t
blobaa8d73209f9556cb22a372163ad3a85076c8db4f
1                How To Connect your Archos to Your Linux
2                ========================================
4 Author:  Daniel Stenberg <daniel@haxx.se>
5 Version: $Revision$
6 Date:    $Date$
8  Archos Recorder
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).
13   The Recorder supports both USB1.1 and USB2.0, and thus you can use either
14   version, depending on what your host supports.
16   CONFIGURE YOUR KERNEL
18   (I've tried this using both 2.4.17 and 2.4.18)
20   o Make sure your kernel is configured with SCSI, USB and USB mass storage
21     support.
23   USB1.1 ONLY
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.
30   USB2.0 ONLY
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
37     o On USB config page, select 'EHCI' as a (m)odule
39   o Rebuild kernel, install, bla bla, reboot the new one
43   MAKE YOUR KERNEL SEE YOUR ARCHOS
45   After having booted your shiny new USB+SCSI kernel, do this:
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.
50   USB 1.1 ONLY
52     o insmod usb-uhci
53   
54   USB 2.0 ONLY
56     o insmod ehci-hcd
58   o insmod usb-storage
60   Now, your Archos Recorder might appear something like this:
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
68   And you can also see it as an identified device by checking out the file
69   /proc/bus/usb/devices.
73   MOUNT THE ARCHOS' FILESYSTEM
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:
78   $ mount -f vfat -oumask=0 /dev/sda1 /mnt/archos
80   (/dev/sda1 may of course not be exactly this name on your machine)
82   You can also make the mount command easier by appending a line to /etc/fstab
83   that looks like:
85   /dev/sda1   /mnt/archos   vfat  noauto,umask=0  0 0
87   So then the mount command can be made as simple as this instead:
89   $ mount /mnt/archos
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.