View previous topic :: View next topic |
Author |
Message |
jsosic Guru
Joined: 02 Aug 2004 Posts: 510 Location: Split (Croatia)
|
Posted: Sun Jun 05, 2005 9:38 am Post subject: hald, dbus problems with usb devices |
|
|
This kind of automounting works ok with CD devices, but I have slight problems with usb camera. Every time I connect Sony DSC camera again, it seems that I loose one letter. First connection it was /dev/sda, second /dev/sdb, third /dev/sdc, etc etc. Here are parts of /var/log/messages:
Code: | Jun 5 00:31:38 alphacentauri usb 3-4: new high speed USB device using ehci_hcd and address 11
Jun 5 00:31:38 alphacentauri scsi7 : SCSI emulation for USB Mass Storage devices
Jun 5 00:31:38 alphacentauri usb-storage: device found at 11
Jun 5 00:31:38 alphacentauri usb-storage: waiting for device to settle before scanning
Jun 5 00:31:43 alphacentauri Vendor: Sony Model: Sony DSC Rev: 4.50
Jun 5 00:31:43 alphacentauri Type: Direct-Access ANSI SCSI revision: 00
Jun 5 00:31:43 alphacentauri SCSI device sdg: 63424 512-byte hdwr sectors (32 MB)
Jun 5 00:31:43 alphacentauri sdg: assuming Write Enabled
Jun 5 00:31:43 alphacentauri sdg: assuming drive cache: write through
Jun 5 00:31:43 alphacentauri SCSI device sdg: 63424 512-byte hdwr sectors (32 MB)
Jun 5 00:31:43 alphacentauri sdg: assuming Write Enabled
Jun 5 00:31:43 alphacentauri sdg: assuming drive cache: write through
Jun 5 00:31:43 alphacentauri sdg: sdg1
Jun 5 00:31:43 alphacentauri Attached scsi removable disk sdg at scsi7, channel 0, id 0, lun 0
Jun 5 00:31:43 alphacentauri usb-storage: device scan complete
Jun 5 00:31:43 alphacentauri scsi.agent[4738]: disk at /devices/pci0000:00/0000:00:02.2/usb3/3-4/3-4:1.0/host7/target7:0:0/7:0:0:0
Jun 5 00:31:44 alphacentauri fstab-sync[4752]: added mount point /media/usbdisk for /dev/sdg1
Jun 5 00:33:13 alphacentauri usb 3-4: USB disconnect, address 11
Jun 5 00:33:13 alphacentauri fstab-sync[4812]: removed mount point /media/usbdisk for /dev/sdg1 |
As you see, device is recognized as adress 11, as /dev/sdg. Look at part of log for the next connection:
Code: | Jun 5 00:33:18 alphacentauri usb 3-4: new high speed USB device using ehci_hcd and address 12
Jun 5 00:33:18 alphacentauri scsi8 : SCSI emulation for USB Mass Storage devices
Jun 5 00:33:18 alphacentauri usb-storage: device found at 12
..... |
Device is now at adress 12, and is recognizes as /dev/sdh. If I turn dbus, hald and ivman off, every connection camera is recognized as /dev/sda. Why is this happening? |
|
Back to top |
|
|
jsosic Guru
Joined: 02 Aug 2004 Posts: 510 Location: Split (Croatia)
|
Posted: Sun Jun 05, 2005 10:33 pm Post subject: |
|
|
OK, I've added ivman, dbus and hald in testing (~x86). Now everything works perfectly. Problem was due to bug in ivman. Strange, sometimes testing branch is more stable than - stable |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|