yes, hotplugging is complied into the kernel. When connecting the camera the following msg gets written to /var/log/msgs: (after reboot) --- Jun 25 15:42:50 ikarus kernel: hub.c: USB new device connect on bus1/2, assigned device number 2 Jun 25 15:42:50 ikarus kernel: usb.c: USB device 2 (vend/prod 0x7b4/0x102) is not claimed by any active driver. Jun 25 15:42:50 ikarus kernel: Initializing USB Mass Storage driver... Jun 25 15:42:50 ikarus kernel: usb.c: registered new driver usb-storage Jun 25 15:42:50 ikarus kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jun 25 15:42:50 ikarus kernel: Vendor: OLYMPUS Model: C2Z,D520Z,C220Z Rev: 1054 Jun 25 15:42:50 ikarus kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 25 15:42:50 ikarus kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Jun 25 15:42:51 ikarus kernel: sda : READ CAPACITY failed. Jun 25 15:42:51 ikarus kernel: sda : status = 1, message = 00, host = 0, driver = 08 Jun 25 15:42:51 ikarus kernel: Current sd00:00: sns = 70 2 Jun 25 15:42:51 ikarus kernel: ASC= 4 ASCQ= 1 Jun 25 15:42:51 ikarus kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x04 0x01 0x00 0x00 0x00 0x00 Jun 25 15:42:51 ikarus kernel: sda : block size assumed to be 512 bytes, disk size 1GB. Jun 25 15:42:51 ikarus kernel: sda: I/O error: dev 08:00, sector 0 Jun 25 15:42:51 ikarus kernel: unable to read partition table Jun 25 15:42:51 ikarus kernel: WARNING: USB Mass Storage data integrity not assured Jun 25 15:42:51 ikarus kernel: USB Mass Storage device found at 2 Jun 25 15:42:51 ikarus kernel: USB Mass Storage support registered. Jun 25 15:42:51 ikarus insmod: Using /lib/modules/2.4.10-4GB/kernel/drivers/usb/storage/usb-storage.o Jun 25 15:42:51 ikarus insmod: Symbol version prefix '' Jun 25 15:42:51 ikarus kernel: Device not ready. Make sure there is a disc in the drive. Jun 25 15:42:51 ikarus kernel: VFS: Disk change detected on device sd(8,1) Jun 25 15:42:51 ikarus kernel: sda : READ CAPACITY failed. Jun 25 15:42:51 ikarus kernel: sda : status = 1, message = 00, host = 0, driver = 08 Jun 25 15:42:51 ikarus kernel: Current sd00:00: sns = 70 6 Jun 25 15:42:51 ikarus kernel: ASC=28 ASCQ= 0 Jun 25 15:42:51 ikarus kernel: Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00 Jun 25 15:42:51 ikarus kernel: sda : block size assumed to be 512 bytes, disk size 1GB. Jun 25 15:42:51 ikarus kernel: sda: I/O error: dev 08:00, sector 0 Jun 25 15:42:51 ikarus kernel: unable to read partition table --- when unplugging and re-pugging --- Jun 25 15:43:16 ikarus kernel: usb.c: USB disconnect on device 2 Jun 25 15:43:23 ikarus kernel: hub.c: USB new device connect on bus1/2, assigned device number 3 Jun 25 15:43:23 ikarus kernel: WARNING: USB Mass Storage data integrity not assured Jun 25 15:43:23 ikarus kernel: USB Mass Storage device found at 3 --- (the "USB Mass Storage data integrity" msg can be ignored, Olympus cameras have a bug in the usb-stack, which I fixed with the following patch: http://home.earthlink.net/~ebrombaugh/d150.html )
After connecting I can mount the camera-fs manually. extract of /etc/fstab: --- # this entry was in by default usbdevfs /proc/bus/usb usbdevfs defaults,noauto 0 0 # this entry was added by me /dev/sda1 /media/camera vfat rw,auto,user,exec 0 0 --- But I hope to have hotplug doing the mount and umount for me. do U need to see any other of my hotplug-files ? ThanX a lot for your effort, Sven ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
