I study the dmesg more carefully and attach it at the end. "usb 2-4: new high speed USB device using ehci_hcd and address 4" I guess the answer may be host=2, port=4 and device address =4. I will program the pci mem directly and check whether the assumption is correct. Thanks for your help, vichy
Below is my dmesg: [EMAIL PROTECTED]:/sys/devices/pci0000:00/0000:00:1d.7# dmesg usb 2-4: new high speed USB device using ehci_hcd and address 4 usb 2-4: configuration #1 chosen from 1 choice scsi5 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning scsi 5:0:0:0: Direct-Access CREATIVE MuVo TX FM 1111 PQ: 0 ANSI: 4 SCSI device sdb: 1016064 512-byte hdwr sectors (520 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through SCSI device sdb: 1016064 512-byte hdwr sectors (520 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through sdb: sdb1 sd 5:0:0:0: Attached scsi removable disk sdb usb-storage: device scan complete [EMAIL PROTECTED]:/sys/devices/pci0000:00/0000:00:1d.7# -----Original Message----- From: Nelson Castillo [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2008 4:47 PM To: [EMAIL PROTECTED] Cc: kernelnewbies@nl.linux.org Subject: Re: how to know host/port number in linux On Sun, Mar 16, 2008 at 3:35 AM, vichy <[EMAIL PROTECTED]> wrote: > Dear all: > I plug my mass storage to my computer. > But how could I know the exact controller and port number that my device > plugs in? Hi. dmesg ? N.- -- http://arhuaco.org -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ