Bug#392978: hal: fails to mount usb hdd automatically

2006-10-18 Thread Pascal LACROIX
same for me,

~$ lsusb
Bus 004 Device 001: ID :
Bus 003 Device 002: ID 04b8:010c Seiko Epson Corp. Perfection 640
Bus 003 Device 001: ID :
Bus 002 Device 002: ID 03f0:0904 Hewlett-Packard DeskJet 845c
Bus 002 Device 001: ID :
Bus 001 Device 005: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp.
Bus 001 Device 001: ID :

lshal :

udi = '/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial'
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial'  (string)
linux.subsystem = 'usb'  (string) linux.hotplug_type = 1  (0x1)  (int)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.is_self_powered = true  (bool)
  usb_device.version_bcd = 512  (0x200)  (int)
  usb_device.speed_bcd = 294912  (0x48000)  (int)
  usb_device.linux.device_number = 5  (0x5)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.max_power = 96  (0x60)  (int)
  usb_device.device_revision_bcd = 51  (0x33)  (int)
  info.product = 'USB TO IDE'  (string)
  usb_device.product = 'USB TO IDE'  (string)
  info.vendor = 'Unknown (0x05e3)'  (string)
  usb_device.vendor = 'Unknown (0x05e3)'  (string)
  usb_device.product_id = 1794  (0x702)  (int)
  usb_device.vendor_id = 1507  (0x5e3)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.linux.sysfs_path =
'/sys/devices/pci:00/:00:10.3/usb1/1-1'  (string)
info.linux.driver = 'usb'  (string) info.bus = 'usb_device'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_0_0__00_10_3'  (string)
linux.sysfs_path_device =
'/sys/devices/pci:00/:00:10.3/usb1/1-1'  (string)
linux.sysfs_path =
'/sys/devices/pci:00/:00:10.3/usb1/1-1'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_usbraw'
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_usbraw'  (string)
linux.device_file = '/dev/bus/usb/001/005'  (string) linux.subsystem =
'usb_device'  (string) linux.hotplug_type = 2  (0x2)  (int)
  usbraw.device = '/dev/bus/usb/001/005'  (string)
  info.product = 'USB Raw Device Access'  (string)
  info.capabilities = {'usbraw'} (string list)
  info.category = 'usbraw'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial'  (string)
linux.sysfs_path = '/sys/class/usb_device/usbdev1.5'  (string)

udi = '/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_if0'
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_if0'  (string)
linux.subsystem = 'usb'  (string) linux.hotplug_type = 1  (0x1)  (int)
  info.product = 'USB Mass Storage Interface'  (string)
  usb.interface.protocol = 80  (0x50)  (int)
  usb.interface.subclass = 6  (0x6)  (int)
  usb.interface.class = 8  (0x8)  (int)
  usb.interface.number = 0  (0x0)  (int)
  info.linux.driver = 'usb-storage'  (string)
  usb.linux.sysfs_path =
'/sys/devices/pci:00/:00:10.3/usb1/1-1/1-1:1.0'  (string)
usb.configuration_value = 1  (0x1)  (int) usb.num_configurations = 1
(0x1)  (int) usb.num_interfaces = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.vendor_id = 1507  (0x5e3)  (int)
  usb.product_id = 1794  (0x702)  (int)
  usb.vendor = 'Unknown (0x05e3)'  (string)
  usb.product = 'USB Mass Storage Interface'  (string)
  usb.device_revision_bcd = 51  (0x33)  (int)
  usb.max_power = 96  (0x60)  (int)
  usb.num_ports = 0  (0x0)  (int)
  usb.linux.device_number = 5  (0x5)  (int)
  usb.speed_bcd = 294912  (0x48000)  (int)
  usb.version_bcd = 512  (0x200)  (int)
  usb.is_self_powered = true  (bool)
  usb.can_wake_up = false  (bool)
  usb.bus_number = 1  (0x1)  (int)
  info.bus = 'usb'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial'  (string)
linux.sysfs_path_device =
'/sys/devices/pci:00/:00:10.3/usb1/1-1/1-1:1.0'  (string)
linux.sysfs_path =
'/sys/devices/pci:00/:00:10.3/usb1/1-1/1-1:1.0'  (string)

udi =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_if0_scsi_host'
info.udi =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_if0_scsi_host'  
(string)
linux.subsystem = 'scsi_host'  (string) linux.hotplug_type = 2  (0x2)
(int) scsi_host.host = 1  (0x1)  (int) info.product = 'SCSI Host
Adapter'  (string) info.capabilities = {'scsi_host'} (string list)
  info.category = 'scsi_host'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_5e3_702_noserial_if0'  (string)
linux.sysfs_path_device =
'/sys/devices/pci:00/:00:10.3/usb1/1-1/1-1:1.0/host1'  (string)
linux.sysfs_path = '/sys/class/scsi_host/host1'  (string)

udi =

Bug#392978: hal: fails to mount usb hdd automatically

2006-10-14 Thread Haifeng Chen

Package: hal
Version: 0.5.8.1-1
Severity: important

I meet a hal, dbus and gnome-volume-manager related problem after
upgrading hal to version 0.5.8.1-1. Gnome-volume-manager fails to mount
my usb hard disk, but it can successfully mount my usb flash memery driver.
Downgrade hal to version 0.5.7-2 fix this problem.

Output of lsusb:

Bus 001 Device 005: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter

Output of lshal:

udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F_if0'
 info.udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F_if0'
 (string)
 linux.subsystem = 'usb'  (string)
 linux.hotplug_type = 1  (0x1)  (int)
 info.product = 'USB Mass Storage Interface'  (string)
 usb.interface.protocol = 80  (0x50)  (int)
 usb.interface.subclass = 6  (0x6)  (int)
 usb.interface.class = 8  (0x8)  (int)
 usb.interface.number = 0  (0x0)  (int)
 info.linux.driver = 'usb-storage'  (string)
 usb.linux.sysfs_path = '/sys/devices/pci:00/:00:1d.7/usb1/1-4/1-4:1.0'
 (string)
 usb.configuration_value = 1  (0x1)  (int)
 usb.num_configurations = 1  (0x1)  (int)
 usb.num_interfaces = 1  (0x1)  (int)
 usb.device_class = 0  (0x0)  (int)
 usb.device_subclass = 0  (0x0)  (int)
 usb.device_protocol = 0  (0x0)  (int)
 usb.vendor_id = 1204  (0x4b4)  (int)
 usb.product_id = 26672  (0x6830)  (int)
 usb.vendor = 'Unknown (0x04b4)'  (string)
 usb.product = 'USB Mass Storage Interface'  (string)
 usb.device_revision_bcd = 576  (0x240)  (int)
 usb.max_power = 2  (0x2)  (int)
 usb.num_ports = 0  (0x0)  (int)
 usb.linux.device_number = 5  (0x5)  (int)
 usb.serial = 'DEF10A7AA33F'  (string)
 usb.speed_bcd = 294912  (0x48000)  (int)
 usb.version_bcd = 512  (0x200)  (int)
 usb.is_self_powered = true  (bool)
 usb.can_wake_up = false  (bool)
 usb.bus_number = 1  (0x1)  (int)
 info.bus = 'usb'  (string)
 info.parent = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F'
(string)
 linux.sysfs_path_device = '/sys/devices/pci:00/:00:1d.7/usb1/1-4/1-4:1
.0'  (string)
 linux.sysfs_path = '/sys/devices/pci:00/:00:1d.7/usb1/1-4/1-4:1.0'  (s
tring)

udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F_if0_scsi_ho
st'
 info.udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F_if0_
scsi_host'  (string)
 linux.subsystem = 'scsi_host'  (string)
 linux.hotplug_type = 2  (0x2)  (int)
 scsi_host.host = 2  (0x2)  (int)
 info.product = 'SCSI Host Adapter'  (string)
 info.capabilities = {'scsi_host'} (string list)
 info.category = 'scsi_host'  (string)
 info.parent = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10A7AA33F_i
f0'  (string)
 linux.sysfs_path_device = '/sys/devices/pci:00/:00:1d.7/usb1/1-4/1-4:1
.0/host2'  (string)
 linux.sysfs_path = '/sys/class/scsi_host/host2'  (string)

As I am not familiar to the automatic mount solution, I don't know
what information is needed for debugging the problem . Tell me and I
will post them on the BTS.




-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)

Versions of packages hal depends on:
ii  adduser   3.99   Add and remove users and groups
ii  dbus  0.93-1 simple interprocess messaging syst
ii  libc6 2.3.6.ds1-6GNU C Library: Shared libraries
ii  libdbus-1-3   0.93-1 simple interprocess messaging syst
ii  libdbus-glib-1-2  0.71-2 simple interprocess messaging syst
ii  libexpat1 1.95.8-3.3 XML parsing C library - runtime li
ii  libglib2.0-0  2.12.4-1   The GLib library of C routines
ii  libhal-storage1   0.5.8.1-1  Hardware Abstraction Layer - share
ii  libhal1   0.5.8.1-1  Hardware Abstraction Layer - share
ii  libusb-0.1-4  2:0.1.12-2 userspace USB programming library
ii  libvolume-id0 0.100-2libvolume_id shared library
ii  lsb-base  3.1-17 Linux Standard Base 3.1 init scrip
ii  pciutils  1:2.2.4~pre4-1 Linux PCI Utilities
ii  udev  0.100-2/dev/ and hotplug management daemo
ii  usbutils  0.72-7 USB console utilities

hal recommends no packages.

-- no debconf information

--
Best Regards
 Haifeng Chen


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]