Re: Composite USB devices

"Stephen J. Gowdy" <[email protected]>
Newsgroups gmane.linux.usb.user
Message-ID <[email protected]>
Not sure why you sent this only to me... cc-ing pack to the list.

On Sun, 30 Sep 2007, The Almighty Pegasus Epsilon wrote:

> On 9/30/07, Alan Stern <[email protected]> wrote:
>> "more information"?!  You have provided hardly any, beyond the fact
>> that it doesn't work!
>
> I'll have to disagree, I provided a rather verbose description of the
> problem in plain english rather than technical babble, along with a
> theory or two as to why it doesn't work, and how it might be fixed.
>
>> The output from "dmesg" would help, and so would the contents of
>> /proc/bus/usb/devices.  It also wouldn't hurt if you mentioned which
>> version of the Linux kernel you are using.
>>
>> Alan Stern
>
> Linux version 2.6.22.6 (root@victim) (gcc version 4.1.2) #5 Sat Sep 29 20:33:44
> EDT 2007
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
> BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000eac00 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
> BIOS-e820: 000000000fff0000 - 000000000ffffc00 (ACPI data)
> BIOS-e820: 000000000ffffc00 - 0000000010000000 (ACPI NVS)
> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
> 255MB LOWMEM available.
> Entering add_active_range(0, 0, 65520) 0 entries of 256 used
> Zone PFN ranges:
>  DMA             0 ->     4096
>  Normal       4096 ->    65520
> early_node_map[1] active PFN ranges
>    0:        0 ->    65520
> On node 0 totalpages: 65520
>  DMA zone: 32 pages used for memmap
>  DMA zone: 0 pages reserved
>  DMA zone: 4064 pages, LIFO batch:0
>  Normal zone: 479 pages used for memmap
>  Normal zone: 60945 pages, LIFO batch:15
> DMI 2.2 present.
> ACPI: RSDP 000F6A90, 0014 (r0 PTLTD )
> ACPI: RSDT 0FFFCED4, 002C (r1 PTLTD    RSDT    6040000  LTP        0)
> ACPI: FACP 0FFFFB65, 0074 (r1 COMPAL N32NC     6040000 PTL         1)
> ACPI: DSDT 0FFFCF00, 2C65 (r1 Compal     32NC  6040000 MSFT  100000B)
> ACPI: FACS 0FFFFFC0, 0040
> ACPI: BOOT 0FFFFBD9, 0027 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
> ACPI: BIOS age (1992) fails cutoff (2001), acpi=force is required to enable ACPI
> ACPI: Disabling ACPI support
> Allocating PCI resources starting at 20000000 (gap: 10000000:eff80000)
> Built 1 zonelists.  Total pages: 65009
> Kernel command line: reboot=bios
> Local APIC disabled by BIOS -- you can enable it with "lapic"
> mapped APIC to ffffd000 (01201000)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 1024 (order: 10, 4096 bytes)
> Detected 696.978 MHz processor.
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> Memory: 256068k/262080k available (1930k kernel code, 5516k reserved, 835k data,
> 184k init, 0k highmem)
> virtual kernel memory layout:
>    fixmap  : 0xfffb7000 - 0xfffff000   ( 288 kB)
>    vmalloc : 0xd0800000 - 0xfffb5000   ( 759 MB)
>    lowmem  : 0xc0000000 - 0xcfff0000   ( 255 MB)
>      .init : 0xc03b6000 - 0xc03e4000   ( 184 kB)
>      .data : 0xc02e2b23 - 0xc03b3a04   ( 835 kB)
>      .text : 0xc0100000 - 0xc02e2b23   (1930 kB)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Calibrating delay using timer specific routine.. 1394.40 BogoMIPS (lpj=697202)
> Mount-cache hash table entries: 512
> CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000
> 00000000 00000000
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 256K
> CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 0000000
> 0 00000000
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> Compat vDSO mapped to ffffe000.
> CPU: Intel Pentium III (Coppermine) stepping 06
> Checking 'hlt' instruction... OK.
> NET: Registered protocol family 16
> PCI: PCI BIOS revision 2.10 entry at 0xfd9be, last bus=1
> PCI: Using configuration type 1
> Setting up standard PCI resources
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI: disabled
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI quirk: region 1000-103f claimed by PIIX4 ACPI
> PCI quirk: region 1040-104f claimed by PIIX4 SMB
> PIIX4 devres E PIO at 0378-037f
> PIIX4 devres G PIO at 002e-002f
> PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
> PCI: setting IRQ 11 as level-triggered
> PCI: Found IRQ 11 for device 0000:00:04.0
> PCI: Sharing IRQ 11 with 0000:00:04.1
> PCI: Sharing IRQ 11 with 0000:01:01.0
> PCI: Bridge: 0000:00:01.0
>  IO window: disabled.
> Time: tsc clocksource has been installed.
>  MEM window: f0000000-f7ffffff
>  PREFETCH window: 30000000-300fffff
> PCI: Bus 2, cardbus bridge: 0000:00:04.0
>  IO window: 00002000-000020ff
>  IO window: 00002400-000024ff
>  PREFETCH window: 20000000-23ffffff
>  MEM window: 24000000-27ffffff
> PCI: Bus 6, cardbus bridge: 0000:00:04.1
>  IO window: 00002800-000028ff
>  IO window: 00002c00-00002cff
>  PREFETCH window: 28000000-2bffffff
>  MEM window: 2c000000-2fffffff
> PCI: Found IRQ 11 for device 0000:00:04.0
> PCI: Sharing IRQ 11 with 0000:00:04.1
> PCI: Sharing IRQ 11 with 0000:01:01.0
> PCI: Setting latency timer of device 0000:00:04.0 to 64
> PCI: Found IRQ 11 for device 0000:00:04.1
> PCI: Sharing IRQ 11 with 0000:00:04.0
> PCI: Sharing IRQ 11 with 0000:01:01.0
> PCI: Setting latency timer of device 0000:00:04.1 to 64
> NET: Registered protocol family 2
> IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
> TCP established hash table entries: 8192 (order: 4, 65536 bytes)
> TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
> TCP: Hash tables configured (established 8192 bind 8192)
> TCP reno registered
> Simple Boot Flag at 0x38 set to 0x1
> Machine check exception polling timer started.
> IA-32 Microcode Update Driver: v1.14a <[email protected]>
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
> io scheduler noop registered
> io scheduler anticipatory registered (default)
> io scheduler deadline registered
> io scheduler cfq registered
> Limiting direct PCI/PCI transfers.
> Boot video device is 0000:01:01.0
> PCI: Found IRQ 11 for device 0000:01:01.0
> PCI: Sharing IRQ 11 with 0000:00:04.0
> PCI: Sharing IRQ 11 with 0000:00:04.1
> savagefb: mapped io at d0800000
> savagefb: probed videoram:  4096k
> savagefb: Detected current MCLK value of 83045 kHz
> savagefb: 1024x768 TFT LCD panel detected but not active
> savagefb: mapped framebuffer at d0900000, pbase == f0000000
> savagefb v0.4.0_2.6: 3968kB VRAM, using 800x600, 37.878kHz, 60Hz
> Console: switching to colour frame buffer device 100x37
> fb: S3 Savage/IX-MV frame buffer device
> Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 sec
> onds).
> Hangcheck: Using get_cycles().
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> Linux Tulip driver version 1.1.15 (Feb 27, 2007)
> PCI: Found IRQ 11 for device 0000:00:10.0
> tulip0:  MII transceiver #1 config 3000 status 786d advertising 01e1.
> eth0: ADMtek Comet rev 17 at Port 0x1c00, 00:D0:59:24:50:11, IRQ 11.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller at PCI slot 0000:00:07.1
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>    ide0: BM-DMA at 0x1050-0x1057, BIOS settings: hda:DMA, hdb:pio
>    ide1: BM-DMA at 0x1058-0x105f, BIOS settings: hdc:DMA, hdd:pio
> Probing IDE interface ide0...
> hda: IBM-DJSA-210, ATA DISK drive
> hda: selected mode 0x42
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hdc: TOSHIBA DVD-ROM SD-C2402, ATAPI CD/DVD-ROM drive
> hdc: selected mode 0x42
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 128KiB
> hda: 19640880 sectors (10056 MB) w/384KiB Cache, CHS=19485/16/63, UDMA(33)
> hda: cache flushes not supported
> hda: hda1 hda2
> PNP: No PS/2 controller found. Probing ports directly.
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> mice: PS/2 mouse device common for all mice
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Using IPI Shortcut mode
> input: AT Translated Set 2 keyboard as /class/input/input0
> ReiserFS: hda1: found reiserfs format "3.6" with standard journal
> ReiserFS: hda1: using ordered data mode
> ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18,
> max trans len 1024, max batch 900, max commit age 30, max trans age 30
> ReiserFS: hda1: checking transaction log (hda1)
> ReiserFS: hda1: replayed 394 transactions in 97 seconds
> ReiserFS: hda1: Using r5 hash to sort names
> VFS: Mounted root (reiserfs filesystem) readonly.
> Freeing unused kernel memory: 184k freed
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> USB Universal Host Controller Interface driver v3.0
> PCI: setting IRQ 5 as level-triggered
> PCI: Found IRQ 5 for device 0000:00:07.2
> uhci_hcd 0000:00:07.2: UHCI Host Controller
> uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
> uhci_hcd 0000:00:07.2: irq 5, io base 0x00001060
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> Linux agpgart interface v0.102 (c) Dave Jones
> agpgart: Detected an Intel 440BX Chipset.
> agpgart: AGP aperture is 64M @ 0xec000000
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> Yenta: CardBus bridge found at 0000:00:04.0 [103c:0014]
> Yenta: Enabling burst memory read transactions
> Yenta: Using CSCINT to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:04.0, mfunc 0x01ac1b22, devctl 0x66
> usb 1-1: configuration #1 chosen from 1 choice
> Yenta: ISA IRQ mask 0x0698, PCI irq 11
> Socket status: 30000006
> Yenta: CardBus bridge found at 0000:00:04.1 [103c:0014]
> Yenta: Using CSCINT to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:04.1, mfunc 0x01ac1b22, devctl 0x66
> usb 1-2: new full speed USB device using uhci_hcd and address 3
> SCSI subsystem initialized
> Yenta: ISA IRQ mask 0x0698, PCI irq 11
> Socket status: 30000006
> PCI: Found IRQ 5 for device 0000:00:08.0
> PCI: Sharing IRQ 5 with 0000:00:08.1
> usb 1-2: configuration #1 chosen from 1 choice
> input: Western Digital My Book as /class/input/input1
> input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:07.2-1
> usbcore: registered new interface driver usbhid
> drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
> Initializing USB Mass Storage driver...
> scsi0 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> scsi1 : SCSI emulation for USB Mass Storage devices
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device found at 3
> usb-storage: waiting for device to settle before scanning
> hdc: ATAPI 24X DVD-ROM drive, 128kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> Adding 779144k swap on /dev/hda2.  Priority:-1 extents:1 across:779144k
> scsi 0:0:0:0: Enclosure         WD       My Book Device   104a PQ: 0 ANSI: 4
> scsi 1:0:0:0: Direct-Access     WDC WD80 0BB-40BSA0       0000 PQ: 0 ANSI: 0
> usb-storage: device scan complete
> usb-storage: device scan complete
> sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
> scsi 0:0:0:0: Attached scsi generic sg0 type 13
> sd 1:0:0:0: Attached scsi generic sg1 type 0
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 27 00 00 00
> sd 1:0:0:0: [sda] Assuming drive cache: write through
> sd 1:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Mode Sense: 27 00 00 00
> sd 1:0:0:0: [sda] Assuming drive cache: write through
> sda: unknown partition table
> sd 1:0:0:0: [sda] Attached SCSI disk
> Clocksource tsc unstable (delta = 85912478 ns)
> Time: pit clocksource has been installed.
> ReiserFS: sda: found reiserfs format "3.6" with standard journal
> ReiserFS: sda: using ordered data mode
> ReiserFS: sda: journal params: device sda, size 8192, journal first block 18, ma
> x trans len 1024, max batch 900, max commit age 30, max trans age 30
> ReiserFS: sda: checking transaction log (sda)
> ReiserFS: sda: replayed 146 transactions in 16 seconds
> ReiserFS: sda: Using r5 hash to sort names
> 0000:00:10.0: tulip_stop_rxtx() failed (CSR5 0xfc664010 CSR6 0xff972117)
> eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
>
> Note how it talks about sda twice, and no other sd*.
>
> /proc/bus/usb/devices was already posted. (not by request)
>
> On 9/30/07, Stephen J. Gowdy <[email protected]> wrote:
>> So from you can see sd_mod when you type lsmod?
>
> Module                  Size  Used by
> snd_pcm_oss            38240  0
> snd_mixer_oss          13728  1 snd_pcm_oss
> psmouse                21096  0
> sg                     25436  0
> sd_mod                 20464  1
> pcmcia                 31412  0
> usb_storage            32772  2
> ide_cd                 34464  0
> scsi_mod               82824  3 sg,sd_mod,usb_storage
> cdrom                  33536  1 ide_cd
> snd_maestro3           19460  0
> usbhid                 15700  0
> snd_ac97_codec         95108  1 snd_maestro3
> ac97_bus                1728  1 snd_ac97_codec
> snd_pcm                65608  3 snd_pcm_oss,snd_maestro3,snd_ac97_codec
> snd_timer              17316  1 snd_pcm
> snd_page_alloc          7240  1 snd_pcm
> yenta_socket           20620  2
> rsrc_nonstatic          9536  1 yenta_socket
> snd                    41892  6 snd_pcm_oss,snd_mixer_oss,snd_maestro3,snd_ac97_
> codec,snd_pcm,snd_timer
> pcmcia_core            31920  3 pcmcia,yenta_socket,rsrc_nonstatic
> soundcore               5312  1 snd
> intel_agp              20948  1
> evdev                   7424  0
> agpgart                26448  1 intel_agp
> uhci_hcd               21004  0
> usbcore               108724  4 usb_storage,usbhid,uhci_hcd
>
> I have another USB drive that works fine connected to the machine.
> that's sda. The other drive does not work fine, linux (or udev) only
> sees the HID part of it, and not the mass storage part of it.
>

--
   /------------------------------------+-------------------------\
|Stephen J. Gowdy, SLAC               | CERN     Office: 32-2-A22|
|http://www.slac.stanford.edu/~gowdy/ | CH-1211 Geneva 23        |
|                                     | Switzerland              |
|EMail: [email protected]       | Tel: +41 22 767 5840     |
   \------------------------------------+-------------------------/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.