On 28 Jul 2004, Dominique Deleris wrote: > Hello, > > I've just bought a digital camera, and I am trying to get it work > under Linux. The camera is a Minolta DiMAGE G400. > > To get access to the camera, I have built a new kernel with the > following configuration: > > CONFIG_SCSI=m > CONFIG_BLK_DEV_SD=m > CONFIG_SCSI_QLA2XXX=m > CONFIG_USB_STORAGE=m > > In /etc/fstab, I have defined the following entry: > > /dev/sda1 /dimage auto defaults,user,noauto 0 0 > > When I plug in the camera, I can see that it is correctly > recognized as /dev/sda1. Hereafter /var/log/messages output: > > kernel: usb 2-1: new full speed USB device using address 2 > kernel: SCSI subsystem initialized > kernel: Initializing USB Mass Storage driver... > kernel: scsi0 : SCSI emulation for USB Mass Storage devices > kernel: Vendor: MINOLTA Model: DiMAGE G400 Rev: 1.00 > kernel: Type: Direct-Access ANSI SCSI revision: 02 > usb.agent[1874]: usb-storage: loaded successfully > kernel: usbcore: registered new driver usb-storage > kernel: USB Mass Storage support registered. > scsi.agent[1916]: disk at > /devices/pci0000:00/0000:00:04.3/usb2/2-1/2-1:1.0/host0/0:0:0:0 > kernel: SCSI device sda: 494080 512-byte hdwr sectors (253 MB) > kernel: sda: assuming Write Enabled > kernel: sda: sda1 > kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > > I can then mount it...
Looks like you did everything right. > I have observed the following problem: > > If operating from the console (no Gnome session started), I can > properly copy/move files from/to the camera (cp and mv > commands). Fine! > > BUT... as soon as I open a Gnome session, and then even if > operating from the console (not a gnome terminal, I really mean > the console, CTRL-ALT-F1...) I will get some error messages about > timeouts: > > kernel: usb 2-1: control timeout on ep0out > or > kernel: usb 2-1: control timeout on ep0in > > So, it seems the problem is related to the Gnome session. > > Does anybody have similar issues? If so, how can it be solved (if > possible)? These errors are undoubtedly being caused by some Gnome program probing the camera. I don't know which one, however. Maybe an automounter. Anyway it's not a good idea for some random program to try to interact with the camera while you're using it as a mass-storage device -- some devices can't handle trying to do two things at the same time. If you can figure out which is the offending program and either stop it or else configure it to ignore USB devices, then you should be okay. Or maybe you're okay anyhow, if you just ignore those error messages. > I have to make the system easily useable by my wife, and Nautilus > is needed for that purpose, I can't ask her to kill her Gnome > session and do it from a console... > > It is a pity that with XP you just plug the camera and it works > out of the box, and that under Linux it will take me days to get > the same result :-( It's a pity there aren't as many people developing and using Linux as there are with Windows. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
