Forum Linux.debian/ubuntu Problème avec HAL et mon appareil photo numérique

Posté par  .
Étiquettes : aucune
0
20
fév.
2008
Bonjour,

j'ai un problème avec HAL (je pense, je ne suis pas sûr). Quand je désactive HAL (/etc/init.d/hal stop) et que je branche mon appareil photo numérique, tout se passe bien, le périphérique /dev/sdb1 apparaît (j'ai un disque SATA pour hda). Un mass storage que je peux parcourir après l'avoir monté.

Le problème est qu'avec HAL de lancé, rien du tout, plus de périphérique dans le /dev/. Pour info, hal marche parfaitement avec les CD et diverses clé USB.

Maintenant les infos plus techniques :

Debian
Kernel 2.6.23.8
HAL package version: 0.5.10

Log noyau SANS HAL :

Feb 20 21:24:36 SLEA kernel: usb 2-9.4: new high speed USB device using ehci_hcd and address 9
Feb 20 21:24:36 SLEA kernel: usb 2-9.4: Product: SP320
Feb 20 21:24:36 SLEA kernel: usb 2-9.4: Manufacturer: OLYMPUS
Feb 20 21:24:36 SLEA kernel: usb 2-9.4: SerialNumber: 000J76249162
Feb 20 21:24:36 SLEA kernel: usb 2-9.4: configuration #1 chosen from 1 choice
Feb 20 21:24:36 SLEA kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Feb 20 21:24:41 SLEA kernel: scsi 6:0:0:0: Direct-Access OLYMPUS SP320 1.00 PQ: 0 ANSI: 2
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: [sdb] 2047815 512-byte hardware sectors (1048 MB)
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: [sdb] Write Protect is off
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: [sdb] 2047815 512-byte hardware sectors (1048 MB)
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: [sdb] Write Protect is off
Feb 20 21:24:41 SLEA kernel: sdb:usb-storage: queuecommand called
Feb 20 21:24:41 SLEA kernel: sdb1
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk
Feb 20 21:24:41 SLEA kernel: sd 6:0:0:0: Attached scsi generic sg1 type 0

Log noyau AVEC HAL :

Feb 20 21:25:27 SLEA kernel: usb 2-9.4: new high speed USB device using ehci_hcd and address 10
Feb 20 21:25:27 SLEA kernel: usb 2-9.4: Product: SP320
Feb 20 21:25:27 SLEA kernel: usb 2-9.4: Manufacturer: OLYMPUS
Feb 20 21:25:27 SLEA kernel: usb 2-9.4: SerialNumber: 000J76249162
Feb 20 21:25:27 SLEA kernel: usb 2-9.4: configuration #1 chosen from 1 choice
Feb 20 21:25:27 SLEA kernel: scsi7 : SCSI emulation for USB Mass Storage devices

Et rien d'autre !! Apparemment HAL bloque (je ne sais pas encore comment) le "SCSI emulation for USB Mass Storage devices".

Et voici les (ne me demandez pas pourquoi, mais apparemment mon APN possède 2 "périphériques") entrées dans lshal après branchement de l'appareil :

> udi = '/org/freedesktop/Hal/devices/usb_device_7b4_109_000J76249162'
> info.bus = 'usb_device' (string)
> info.linux.driver = 'usb' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_606_noserial' (string)
> info.product = 'C-370Z/D-535Z/X-450' (string)
> info.subsystem = 'usb_device' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_7b4_109_000J76249162' (string)
> info.vendor = 'Olympus Optical Co., Ltd' (string)
> linux.device_file = '/dev/bus/usb/002/008' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-9/2-9.4' (string)
> usb_device.bus_number = 2 (0x2) (int)
> usb_device.can_wake_up = false (bool)
> usb_device.configuration_value = 1 (0x1) (int)
> usb_device.device_class = 0 (0x0) (int)
> usb_device.device_protocol = 0 (0x0) (int)
> usb_device.device_revision_bcd = 256 (0x100) (int)
> usb_device.device_subclass = 0 (0x0) (int)
> usb_device.is_self_powered = true (bool)
> usb_device.linux.device_number = 8 (0x8) (int)
> usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-9/2-9.4' (string)
> usb_device.max_power = 0 (0x0) (int)
> usb_device.num_configurations = 1 (0x1) (int)
> usb_device.num_interfaces = 1 (0x1) (int)
> usb_device.num_ports = 0 (0x0) (int)
> usb_device.product = 'C-370Z/D-535Z/X-450' (string)
> usb_device.product_id = 265 (0x109) (int)
> usb_device.serial = '000J76249162' (string)
> usb_device.speed = 480.0 (480) (double)
> usb_device.speed_bcd = 294912 (0x48000) (int)
> usb_device.vendor = 'Olympus Optical Co., Ltd' (string)
> usb_device.vendor_id = 1972 (0x7b4) (int)
> usb_device.version = 2.0 (2) (double)
> usb_device.version_bcd = 512 (0x200) (int)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_7b4_109_000J76249162_if0'
> camera.access_method = 'proprietary' (string)
> camera.libgphoto2.name = 'Olympus X-450' (string)
> camera.libgphoto2.support = true (bool)
> info.bus = 'usb' (string)
> info.capabilities = {'camera', 'camera', 'camera', 'camera', 'camera'} (string list)
> info.category = 'camera' (string)
> info.linux.driver = 'usb-storage' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_7b4_109_000J76249162' (string)
> info.product = 'USB Mass Storage Interface' (string)
> info.subsystem = 'usb' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_7b4_109_000J76249162_if0' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-9/2-9.4/2-9.4:1.0' (string)
> usb.bus_number = 2 (0x2) (int)
> usb.can_wake_up = false (bool)
> usb.configuration_value = 1 (0x1) (int)
> usb.device_class = 0 (0x0) (int)
> usb.device_protocol = 0 (0x0) (int)
> usb.device_revision_bcd = 256 (0x100) (int)
> usb.device_subclass = 0 (0x0) (int)
> usb.interface.class = 8 (0x8) (int)
> usb.interface.number = 0 (0x0) (int)
> usb.interface.protocol = 80 (0x50) (int)
> usb.interface.subclass = 6 (0x6) (int)
> usb.is_self_powered = true (bool)
> usb.linux.device_number = 8 (0x8) (int)
> usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.1/usb2/2-9/2-9.4/2-9.4:1.0' (string)
> usb.max_power = 0 (0x0) (int)
> usb.num_configurations = 1 (0x1) (int)
> usb.num_interfaces = 1 (0x1) (int)
> usb.num_ports = 0 (0x0) (int)
> usb.product = 'USB Mass Storage Interface' (string)
> usb.product_id = 265 (0x109) (int)
> usb.serial = '000J76249162' (string)
> usb.speed = 480.0 (480) (double)
> usb.speed_bcd = 294912 (0x48000) (int)
> usb.vendor = 'Olympus Optical Co., Ltd' (string)
> usb.vendor_id = 1972 (0x7b4) (int)
> usb.version = 2.0 (2) (double)
> usb.version_bcd = 512 (0x200) (int)

Voilà, ça fait quelques temps que je cherche alors si qqun a une idée. Merci !!!!!

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.