[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] USB woes
Hello Richard,
As the Jenoptik 800i is not supported by gphoto2 then IMHO unless you
can code your own solution you have 3 ways forward:
1) Wait until Gphoto2 does support it. (Forget this - it's boring!)
2) Try describing the camera as another camera to gphoto2, and seeing if
another command set works (you may get lucky!)
3) Get a Smartmedia reader that is supported by Linux. I've used various USB
card readers, and (if memory serves...) the SanDisk ImageMate is well
supported by Mandrake 8.1 (check the SanDisk website). I've used the
ImageMate successfully to read Compact Flash cards, but not
SmartMedia. However, I'm pretty sure that a SmartMedia one will work
- and they only cost about twenty five quid.
To quote www.sandisk.com
* ImageMate is available for CompactFlash, SmartMedia and in older
models, MultiMediaCard or SD Card
* SDDR-31 & SDDR-33 models compatible with Linux
* It will work by simply plugging into a Linux box with kernel 2.4 or higher.
Using Mandrake 8.1 I found that the following got the ImageMate working:
mkdir /mnt/cf
insmod scsi_mod
insmod usb-storage
mount /dev/sda
mount /dev/sda1 /mnt/cf
I made it even more convenient with this line in /etc/fstab
/dev/sda1 /mnt/cf auto,user,iocharset=iso8859-1,umask=0,sync,exec,noauto 0 0
Though I'm not sure whether auto and noauto options cancel each other
out, it still works! (Hell, I might read the manual some time...)
One thing I found is that you may have to rmmod usb-storage and rmmod
scsi_mod after you umount /dev/sda1 - then insmod them again to
reinitialise and read another disk. Then again, that may just be
because I still haven't quite got the automount thingey working
right. More testing would be needed if I had more than one CF disk...
;-)
Anyway, the only other thing to say is that not all card readers are
the same - I've tried a couple more which Linux will NOT support
(straightforwardly) whereas the SanDisk one DOES work.
I hope this helps.
Cheers,
James
=====
>Hello all :) Happy new year!
>
>> If the camera is a mass storage device, it won't show up there. My
>> camera shows up as a SCSI (!) device - sda - that I can mount using a
>> dos filing system. There is then a specific layout to the directory
>> structure (I think cameras have baggsied specific names in there..), but
>> all my photos are just files I can the copy across.
>>
>
>in /proc/bus/usb you should have a file called devices. Doing 'cat
>/proc/bus/usb/devices' should at the very least contain details of your
>root hub (your mobo)
>
>> chkconfig just adds the 'hotplug' script to the various run-levels -
>> it's quite good actually (well, I like it). You can always start and
>> stop the service manually using '/etc/rc.d/init.d/hotplug start'.
>>
>
>I have not had extensive experience with hotplug (it didn't work on my
>machine. Repeated lockups when plugging things in. Changed to usbmgr and
>all is well :( )
>
>IIRC the stuff in /proc/bus/usb is all to do with the usbdevfs setup. In
>your kernel config, enable CONFIG_USB_DEVICEFS.
>
>Also, you need at least a UHCI or OHCI driver. I would try
>CONFIG_USB_UHCI first, followed by CONFIG_USB_UHCI_ALT, and finally
>CONFIG_USB_OHCI (just build them all as modules)
>
>This is the USB bit of my kernel config:
>
>CONFIG_USB=m
>CONFIG_USB_DEVICEFS=y
>CONFIG_USB_UHCI=m
>CONFIG_USB_UHCI_ALT=m
>CONFIG_USB_OHCI=m
>CONFIG_USB_BLUETOOTH=m
>CONFIG_USB_STORAGE=m
>CONFIG_USB_ACM=m
>CONFIG_USB_PRINTER=m
>CONFIG_USB_HID=m
>CONFIG_USB_KBD=m
>CONFIG_USB_MOUSE=m
>
>This is using kernel 2.2.19, with the USB patches, but it is 95% similar
>to the 2.4.12 one (and so I presume the 2.4.17 one :)
>
>This works perfectly with usbmgr, if not hotplug :)
>
>--
>
>Craig Andrews
>
>"Though my opinion may have changed, the fact that I am right has not"
>
>___________________________________________________________________
>
>Sheffield Linux User's Group - http://www.sheflug.co.uk .
>To unsubscribe from this list send mail to
>shef-lug-request [at] list.sheflug.org.uk with the word
>"unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
--
who: James Wallbank
org: Redundant Technology Initiative
tel: +44 114 2495522
fax: +44 114 2495533
eml: rti [at] lowtech.org
web: www.lowtech.org
loc: Access Space
1 Sidney Street
Sheffield
S1 4RG
UK
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.