sysfs stuff (Re: hopluggable detection broken since apparently 2.6.20)

David Zeuthen david at fubar.dk
Mon Mar 5 14:55:49 PST 2007


On Mon, 2007-03-05 at 17:43 -0500, David Zeuthen wrote:
> On Mon, 2007-03-05 at 23:25 +0300, Andrey Borzenkov wrote:
> >   pci_10b9_5237
> >     usb_device_0_0_0000_00_02_0
> >       usb_device_90c_1000_AA04012700008619
> >         usb_device_90c_1000_AA04012700008619_if0
> >         usb_device_90c_1000_AA04012700008619_scsi_host
> >           usb_device_90c_1000_AA04012700008619_scsi_host_scsi_device_lun0
> >             storage_serial_090c_Cn_Memory_AA04012700008619
> >               volume_uuid_C2F8_E4F2
> 

Actually I was looking at my own experiments when writing that comment.
It looks like this

      usb_device_781_5406_0000187A3A60BF03
        usb_device_781_5406_0000187A3A60BF03_usbraw
        usb_device_781_5406_0000187A3A60BF03_if0
          usb_device_781_5406_0000187A3A60BF03_if0_scsi_device_lun0
            storage_serial_SanDisk_U3_Cruzer_Micro_0000187A3A60BF03
              volume_uuid_b11637fc_0bbb_4f05_8bd6_f019b253714c
              volume_uuid_45E6_6D1F
            usb_device_781_5406_0000187A3A60BF03_if0_scsi_device_lun0_scsi_generic
          usb_device_781_5406_0000187A3A60BF03_if0_scsi_device_lun1
            temp/163
            usb_device_781_5406_0000187A3A60BF03_if0_scsi_device_lun1_scsi_generic
          usb_device_781_5406_0000187A3A60BF03_if0_scsi_host

> This is wrong; the scsi_device should be a child of scsi_host.

So this comment only made sense in that context. Hope this clarifies.

    David

p.s. if you're curious about temp/163 that's because of this commit. 

http://gitweb.freedesktop.org/?p=hal-info.git;a=commit;h=302840ec67441f55ba07cae9991538e6c91f7fdc

(Yes, we probably should name it 'ignored_device_at_<sysfs_path>')
Btw, on Mac OS X the fake optical drive shows in the UI for the Sandisk
U3 Cruzer Micro. I'm sure they're thrilled about SanDisk's Windows-only
value-add crap too!




More information about the hal mailing list