[Techtalk] Victory! :) USB is working!!
techchiq at hotpop.com
Tue Oct 14 02:11:15 EST 2003
I am jumping for joy here! Not only did I get my Fuji digital camera working
in Linux (where linuxusb.org said it was "unsupported" - I have to go there
and let them know how to get it working), I also got my Acer scanner
working! And, I learned a bit about Automounting! I never got this far with
Linux so I'm happy! A long-distance friend is sending me a modem that will
work in Linux (ISA modem, I have a couple free ISA slots so it should work).
He said it's not a WinModem so I should be ok there.
Now, for those who might want the info...
Setting up Fuji FinePix 1400 Zoom in Linux (you must be root to set this up)
1. /sbin/modprobe usb-storage (note that I'm not sure if this was necessary
but I did it anyway)
2. mkdir /mnt/camera
3. chmod 755 /mnt/camera (or whatever you want permissions to be so other
users can use that)
4. edit /etc/auto.misc:
a. comment out with a hash # the line with the CD specs and add this:
camera -fstype=vfat,ro,nosuid,nodev :/dev/sda1
5. edit /etc/auto.master:
a. uncomment the line that starts with /misc and change /misc to /mnt. It
/mnt /etc/auto.misc --TIMEOUT=60
6. /etc/init.d/autofs restart
Now plug in the camera and turn it on. I don't know why but the disk drive
always gets access whenever ANY USB device is found or disconnected. But
anyway, once the camera is on, you can access the files at:
If you're using Gnome for a windows manager in X-Windows, you can make a
nifty shortcut to your camera:
1. right click on the desktop and choose 'new launcher'
2. From the drop down box, choose "link" instead of "application"
3. In the URL box above it, type in: file:///mnt/camera/dcim/100_fuji
4. Change the icon to a file folder
5. Right click on the new link and pick a camera emblem.
Now just hook up the camera, create a dir or go to your home dir and put
your pictures in a dir there.
Setting up an Acer ScanPrisa 640U flatbed USB color scanner:
1. On the scanner's installation CD, in the drivers (I think Win98 drivers
dir), find 'u96v121.bin' and copy it to /dev/usb/u96v121.bin (or where you
want your driver binaries - I know I'm a bit weird ;)
2. edit /etc/scan.d/snapscan.conf, changing the firmware line to read:
Be sure it points to the exact path where you put the binary!
And that's it! :) Now you can use Kooka or Xsane to do your scanning, or
scan from GIMP even!
Setting up Windows partitions to be viewable in linux:
For this, I prefer the automount feature. Make sure the changes from the
digital camera section above, steps 1-3 and 5, only make the directory
/mnt/windrv. Add this line to /etc/auto.misc:
windrv -fstype=vfat,w,nosuid,nodev :/dev/hda1
Note that you can just go into gnome's system menu (I forgot the name, it's
the bottom one, not system settings) and find the hardware browser. Then
click on Hard Drives and you can see what vfat or fat32 partitions are
there. Use the appropriate /hdx# in the windrv line above. Then you can make
a shortcut the same way you did for the camera, but pointing to the windows
partition. Use a cute emplem (like maybe "oh no!"?) if you wish. :)
So that is what I learned today and hope it might help others that may be
reading this list. If you have different hardware, it might still work. Just
that your pictures on your USB camera (with SmartMedia card) might be stored
in a different location. As for the scanner, you'll need to find the
appropriate .bin file (firmware) to copy it. If one doesn't work from the
scanner CD-ROM, then try another .bin from the drivers on the same CD.
Hopefully something might help. :)
Pink Tie 9 (RH9 clone)
Kernel 2.4.20-6 gcc3
More information about the Techtalk