From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 29 17:26:29 2012 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C2961065670 for ; Thu, 29 Mar 2012 17:26:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9878FC19 for ; Thu, 29 Mar 2012 17:26:28 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA13503 for ; Thu, 29 Mar 2012 20:26:20 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SDJ76-0002R5-7V for gnome@FreeBSD.ORG; Thu, 29 Mar 2012 20:26:20 +0300 Message-ID: <4F749B3B.5080803@FreeBSD.org> Date: Thu, 29 Mar 2012 20:26:19 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: gnome References: <4F749AD1.7020703@FreeBSD.org> In-Reply-To: <4F749AD1.7020703@FreeBSD.org> X-Enigmail-Version: 1.4 X-Forwarded-Message-Id: <4F749AD1.7020703@FreeBSD.org> Content-Type: text/plain; charset=x-viet-vps Content-Transfer-Encoding: 7bit Cc: Subject: Fwd: Re: calibre: kindle usb connection problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2012 17:26:29 -0000 -------- Original Message -------- Message-ID: <4F749AD1.7020703@FreeBSD.org> Date: Thu, 29 Mar 2012 20:24:33 +0300 From: Andriy Gapon Subject: Re: calibre: kindle usb connection problem References: <4F749941.8070704@FreeBSD.org> on 29/03/2012 20:17 Andriy Gapon said the following: > > Looks like calibre is no longer able to detect my Kindle via USB (calibre is at > version 0.8.40). > The problem seems to be that the umass<->da relationship is not reflected in the > HAL device hierarchy in the way that calibre expects. > > This is the ancestry line for the Kindle da device: Now even weirder stuff. I disconnected/reconnected the Kindle and now it is directly under the computer device: udi = '/org/freedesktop/Hal/devices/computer_storage' block.device = '/dev/da0' (string) block.is_volume = false (bool) block.major = 0 (0x0) (int) block.minor = 232 (0xe8) (int) block.storage_device = '/org/freedesktop/Hal/devices/computer_storage' (string) freebsd.device_file = '/dev/da0' (string) freebsd.driver = 'da' (string) freebsd.unit = 0 (0x0) (int) info.capabilities = {'block', 'storage'} (string list) info.category = 'storage' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'Storage Device' (string) info.subsystem = 'block' (string) info.udi = '/org/freedesktop/Hal/devices/computer_storage' (string) storage.automount_enabled_hint = true (bool) storage.bus = 'platform' (string) storage.drive_type = 'disk' (string) storage.hotpluggable = false (bool) storage.media_check_enabled = false (bool) storage.model = '' (string) storage.no_partitions_hint = false (bool) storage.originating_device = '' (string) storage.removable = false (bool) storage.removable.support_async_notification = false (bool) storage.requires_eject = false (bool) storage.vendor = '' (string) camcontrol sees it properly: amcontrol devlist -v scbus0 on ahcich0 bus 0: at scbus0 target 0 lun 0 (pass0,ada0) <> at scbus0 target -1 lun -1 () scbus1 on ahcich1 bus 0: at scbus1 target 0 lun 0 (pass1,ada1) <> at scbus1 target -1 lun -1 () scbus2 on ahcich2 bus 0: at scbus2 target 0 lun 0 (pass2,ada2) <> at scbus2 target -1 lun -1 () scbus3 on ahcich3 bus 0: <> at scbus3 target -1 lun -1 () scbus4 on ahcich4 bus 0: <> at scbus4 target -1 lun -1 () scbus5 on ahcich5 bus 0: at scbus5 target 0 lun 0 (pass3,cd0) <> at scbus5 target -1 lun -1 () scbus6 on ata0 bus 0: <> at scbus6 target -1 lun -1 () scbus7 on sbp0 bus 0: <> at scbus7 target -1 lun -1 () scbus8 on umass-sim0 bus 0: at scbus8 target 0 lun 0 (da0,pass4) scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun -1 (xpt0) > udi = '/org/freedesktop/Hal/devices/computer_scsi_host_6' > info.parent = '/org/freedesktop/Hal/devices/computer' (string) > info.product = 'SCSI Host Adapter' (string) > info.subsystem = 'scsi_host' (string) > info.udi = '/org/freedesktop/Hal/devices/computer_scsi_host_6' (string) > scsi_host.host = 8 (0x8) (int) > > udi = '/org/freedesktop/Hal/devices/computer_scsi_host_6_scsi_device_lun0' > info.parent = '/org/freedesktop/Hal/devices/computer_scsi_host_6' (string) > info.product = 'SCSI Device' (string) > info.subsystem = 'scsi' (string) > info.udi = > '/org/freedesktop/Hal/devices/computer_scsi_host_6_scsi_device_lun0' (string) > info.vendor = 'Kindle' (string) > scsi.bus = 8 (0x8) (int) > scsi.host = 8 (0x8) (int) > scsi.lun = 0 (0x0) (int) > scsi.model = 'Internal Storage' (string) > scsi.target = 0 (0x0) (int) > scsi.type = 'disk' (string) > scsi.vendor = 'Kindle' (string) > > udi = '/org/freedesktop/Hal/devices/storage_model_Internal_Storage' > block.device = '/dev/da0' (string) > block.freebsd.cam_path = '8,0,0' (string) > block.is_volume = false (bool) > block.major = 0 (0x0) (int) > block.minor = 232 (0xe8) (int) > block.storage_device = > '/org/freedesktop/Hal/devices/storage_model_Internal_Storage' (string) > freebsd.device_file = '/dev/da0' (string) > freebsd.driver = 'da' (string) > freebsd.unit = 0 (0x0) (int) > info.addons = {'hald-addon-storage'} (string list) > info.capabilities = {'block', 'storage'} (string list) > info.category = 'storage' (string) > info.interfaces = {'org.freedesktop.Hal.Device.Storage.Removable'} (string list) > info.parent = > '/org/freedesktop/Hal/devices/computer_scsi_host_6_scsi_device_lun0' (string) > info.product = 'Internal Storage' (string) > info.subsystem = 'block' (string) > info.udi = '/org/freedesktop/Hal/devices/storage_model_Internal_Storage' (string) > info.vendor = 'Kindle' (string) > storage.automount_enabled_hint = true (bool) > storage.bus = 'scsi' (string) > storage.drive_type = 'disk' (string) > storage.firmware_revision = '0100' (string) > storage.hotpluggable = false (bool) > storage.lun = 0 (0x0) (int) > storage.media_check_enabled = true (bool) > storage.model = 'Internal Storage' (string) > storage.no_partitions_hint = false (bool) > storage.originating_device = > '/org/freedesktop/Hal/devices/computer_scsi_host_6_scsi_device_lun0' (string) > storage.removable = true (bool) > storage.removable.support_async_notification = false (bool) > storage.requires_eject = false (bool) > storage.vendor = 'Kindle' (string) > > Here is the umass device: > > udi = '/org/freedesktop/Hal/devices/usb_device_1949_4_B008A0A00527517D_if0' > freebsd.driver = 'umass' (string) > freebsd.unit = 0 (0x0) (int) > info.bus = 'usb' (string) > info.parent = > '/org/freedesktop/Hal/devices/usb_device_1949_4_B008A0A00527517D' (string) > info.product = 'Amazon Kindle' (string) > info.subsystem = 'usb' (string) > info.udi = > '/org/freedesktop/Hal/devices/usb_device_1949_4_B008A0A00527517D_if0' (string) > info.vendor = 'Amazon' (string) > usb.bus_number = 2 (0x2) (int) > usb.can_wake_up = false (bool) > usb.configuration = 'Self-powered' (string) > 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.freebsd.devname = 'umass0' (string) > usb.interface.class = 8 (0x8) (int) > usb.interface.description = 'Mass Storage' (string) > 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.level_number = 1 (0x1) (int) > 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.port_number = 2 (0x2) (int) > usb.product = 'Amazon Kindle' (string) > usb.product_id = 4 (0x4) (int) > usb.serial = 'B008A0A00527517D' (string) > usb.speed = 480.0 (480) (double) > usb.speed_bcd = 294912 (0x48000) (int) > usb.vendor = 'Amazon' (string) > usb.vendor_id = 6473 (0x1949) (int) > usb.version = 2.0 (2) (double) > > What do you think? > Is this a FreeBSD HAL problem? >