On Fri, 16 Jul 2004, Matthew Wheeler wrote: > Alan, > Came across some old messages on mailing lists with people having > the exact same problems with their panasonic cameras (different models > than mine) under 2.6 linux. > > DMC-F1 > http://linux.derkeiler.com/Newsgroups/comp.os.linux.hardware/2004-05/0255.html > > DMC-LC33 > http://lists.debian.org/debian-user/2004/01/msg05191.html > > Thought it might be handy for you to know so you could think about > adding them into scsi_devinfo.c along with the DMC-LC5 and DMC-LC40
I'm not sure that adding more entries is the correct answer. Another possibility is to make an entry with the product field blank, so that it will match all Matsushita products. That also strikes me as not so good, since they make things other than digital cameras. Miklos and Holger: If you're using kernel version 2.6.8, you ought to be able to fix the problem you're having with your Panasonic cameras in either of two ways. The first way involves changing the drivers/scsi/scsi_devinfo.c file in the kernel source. You will see in that file a long table of device entries. Find one of the lines that says: {"MATSHITA", "DMC-LC5", NULL, BLIST_NOT_LOCKABLE | BLIST_INQUIRY_36}, or {"MATSHITA", "DMC-LC40", NULL, BLIST_NOT_LOCKABLE | BLIST_INQUIRY_36}, Either edit that line or add a copy of it, in which you change the product name to DMC-F1 or DMC-LC33. When you rebuild the kernel, you should be able to mount the camera. The second approach doesn't involve changing the kernel. Instead, sometime after you have loaded the scsi_mod module and before plugging in the camera, run one of these command as root: echo 'MATSHITA:DMC-F1:0x80400' >/proc/scsi/scsi_deviceinfo or echo 'MATSHITA:DMC-LC33:0x80400' >/proc/scsi/scsi_deviceinfo (I might have mis-remembered the name of the output file, but it will be obvious if you look in /proc/scsi.) This will have the same effect as making the change to the kernel source. Basically the problem is that although the camera tells Linux that it has removable media, it reacts badly when Linux tells it to allow the medium to be removed. The changes above cause Linux not to send that command. Alan Stern -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]