Dear sir, I am a developer working on Red Hat Linux with kernels 2.6 and 2.4. I am connecting a bus-powered USB 4-port hub with USB floppy (connected on this USB external hub) onto USB Root hub.
I found that /var/log/messages file contains a message as below: May 17 15:54:30 localhost kernel: usb 1-2: new full speed USB device using address 5 May 17 15:54:30 localhost kernel: hub 1-2:1.0: USB hub found May 17 15:54:30 localhost kernel: hub 1-2:1.0: 4 ports detected May 17 15:59:01 localhost kernel: usb 1-2.3: new full speed USB device using address 6 May 17 15:59:01 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices May 17 15:59:03 localhost kernel: Vendor: SMSC Model: USB FDC Rev: 1.00 May 17 15:59:03 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02 May 17 15:59:03 localhost kernel: Attached scsi removable disk sdc at scsi5, channel 0, id 0, lun 0 May 17 15:59:03 localhost kernel: Attached scsi generic sg3 at scsi5, channel 0, id 0, lun 0, type 0 May 17 15:59:03 localhost kernel: usb 1-2.3: 400mA over 100mA budget! May 17 15:59:03 localhost kernel: hub 1-2:1.0: 64mA over power budget! May 17 15:59:03 localhost scsi.agent[8226]: disk at /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2.3/1-2.3:1.0/host5/target5:0:0/5:0:0:0 May 17 15:59:04 localhost fstab-sync[8303]: added mount point /media/floppy2 for /dev/sdc May I please know, how can I get this information using IOCTLs, system calls or using lsusb command? Thanks, Ganesh ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel