Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SD card not detected unless inserted at boot time

Need help with peripherals or devices?
Message
Author
Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

SD card not detected unless inserted at boot time

#1 Post by Jerome »

Hi.

My desktop is a Dell XPS 630i. It has a SD card reader on the front panel.

It used to work until about a few months ago (I guess, I don't use it that often). Now, the SD card is undetected when inserted.

If inserted before boot, then the existing partitions are available in thunar. I can remove and insert back the card in the reader without it being detected. I can mount and unmount the partitions. But if I "eject" the partition, then the card is not detected anymore even if pulled out and pushed in again.

Not much in dmesg (the drive is /dev/sde, and there are two partitions in the card, it is a raspian OS) :

Code: Select all

[  542.144424] sd 6:0:0:3: [sde] No Caching mode page present
[  542.144430] sd 6:0:0:3: [sde] Assuming drive cache: write through
[  542.159299] sd 6:0:0:3: [sde] No Caching mode page present
[  542.159303] sd 6:0:0:3: [sde] Assuming drive cache: write through
[  542.161556]  sde: sde1 sde2
[  542.354459] EXT4-fs (sde2): mounted filesystem with ordered data mode. Opts: (null)
[  691.869926] EXT4-fs (sde2): mounted filesystem with ordered data mode. Opts: (null)
[  713.052821] sd 6:0:0:3: [sde] No Caching mode page present
[  713.052827] sd 6:0:0:3: [sde] Assuming drive cache: write through
[  713.067837] sd 6:0:0:3: [sde] No Caching mode page present
[  713.067844] sd 6:0:0:3: [sde] Assuming drive cache: write through
[  713.069846]  sde: sde1 sde2
[  713.098473] EXT4-fs (sde2): mounted filesystem with ordered data mode. Opts: (null)
[  727.401337] sde: detected capacity change from 2013265920 to 0
When I click "eject" or manually remove the card, it says "capacity change from 2013265920 to 0".

I'm using Jessie, with the latest 3.11 kernel from experimental, but the issue was there with 3.10 and most probably older kernels. I tried to go back in time using older kernels (down to 2.6, I think the reader worked at that time) without succes, which may indicate it does not depend only on the kernel.

I don't have any "power saving" setting in the BIOS I could disable. And I didn't modify the BIOS, even the BIOS settings, in the last months.

I'm pretty sure it is a software issue as it worked with a knoppix 7-something.

The

Code: Select all

echo 1 > /sys/bus/pci/rescan
command I've read about does not seem to help. It is supposed to force the detection but nothing in dmesg and no volume available in thunar.

I found a workaround yesterday. If I launch gparted (needs admin privileges), the SD card is detected. Like if it forced the detection. Sometimes, I have to specify the path explicitely to get it to appear :

Code: Select all

gparted /dev/sde
This workaround is not satisfying but I'm sharing it anyway in case it could help anyone.

Besides, I'd like to have this bug fixed, but I don't know against which package I could file a bug.

Any idea ? Could it be some misconfiguration on my side ?

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#2 Post by Jerome »

I forgot to mention that the ouput of lspci, lsusb and lsmod are identical whether the card is detected (inserted before startup) or not. (More precisely, lsmod differs, but only on the order of the lines.)

lspci :

Code: Select all

00:00.0 Host bridge: NVIDIA Corporation C55 Host Bridge (rev a2)
00:00.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:00.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:00.3 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:00.4 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:00.5 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a2)
00:00.6 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:00.7 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.0 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.3 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.4 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.5 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:01.6 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:02.0 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:02.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:02.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1)
00:03.0 PCI bridge: NVIDIA Corporation C55 PCI Express bridge (rev a1)
00:09.0 RAM memory: NVIDIA Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: NVIDIA Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: NVIDIA Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: NVIDIA Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB controller: NVIDIA Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB controller: NVIDIA Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: NVIDIA Corporation MCP51 IDE (rev a1)
00:0e.0 RAID bus controller: NVIDIA Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 RAID bus controller: NVIDIA Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: NVIDIA Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: NVIDIA Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: NVIDIA Corporation MCP51 Ethernet Controller (rev a3)
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
02:05.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
lsusb :

Code: Select all

Bus 001 Device 005: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W]
Bus 001 Device 007: ID 0644:0201 TEAC Corp. 
Bus 001 Device 010: ID 046d:c719 Logitech, Inc. 
Bus 001 Device 009: ID 046d:c718 Logitech, Inc. 
Bus 001 Device 008: ID 413c:8130 Dell Computer Corp. 
Bus 001 Device 006: ID 046d:0b05 Logitech, Inc. 
Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 002 Device 004: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 002 Device 003: ID 413c:1003 Dell Computer Corp. Keyboard Hub
Bus 002 Device 002: ID 0955:000a NVidia Corp. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod :

Code: Select all

Module                  Size  Used by
parport_pc             22409  0 
ppdev                  12724  0 
lp                     13025  0 
parport                31901  3 lp,ppdev,parport_pc
cpufreq_stats          12866  0 
cpufreq_powersave      12454  0 
cpufreq_conservative    14184  0 
cpufreq_userspace      12525  0 
decnet                 61454  0 
nfsd                  212843  2 
auth_rpcgss            43218  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   122411  0 
lockd                  72116  2 nfs,nfsd
fscache                38267  1 nfs
sunrpc                189728  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
loop                   22869  0 
firewire_sbp2          17956  0 
fuse                   67503  1 
arc4                   12543  2 
snd_hda_codec_realtek    37011  1 
joydev                 17278  0 
hid_generic            12393  0 
acpi_cpufreq           13362  0 
rt73usb                22384  0 
rt2x00usb              17687  1 rt73usb
rt2x00lib              38614  2 rt73usb,rt2x00usb
mac80211              358154  2 rt2x00lib,rt2x00usb
cfg80211              315696  2 mac80211,rt2x00lib
snd_hda_intel          35889  4 
usbhid                 40964  0 
mperf                  12453  1 acpi_cpufreq
snd_hda_codec         122897  2 snd_hda_codec_realtek,snd_hda_intel
usb_storage            48158  0 
btusb                  17678  0 
bluetooth             169854  2 btusb
processor              28347  1 acpi_cpufreq
hid                    81894  2 hid_generic,usbhid
snd_hwdep              13189  1 snd_hda_codec
snd_pcm_oss            37079  0 
snd_mixer_oss          18034  3 snd_pcm_oss
snd_pcm                68525  3 snd_pcm_oss,snd_hda_codec,snd_hda_intel
nouveau               708634  2 
snd_page_alloc         13018  2 snd_pcm,snd_hda_intel
mxm_wmi                12515  1 nouveau
coretemp               12898  0 
snd_seq_midi           12848  0 
snd_seq_midi_event     13316  1 snd_seq_midi
wmi                    13243  2 mxm_wmi,nouveau
snd_rawmidi            23040  1 snd_seq_midi
video                  17844  1 nouveau
ttm                    58412  1 nouveau
drm_kms_helper         31837  1 nouveau
drm                   208689  4 ttm,drm_kms_helper,nouveau
snd_seq                45147  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22773  2 snd_pcm,snd_seq
i2c_algo_bit           12841  1 nouveau
snd                    53060  15 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss
evdev                  17656  21 
soundcore              13026  3 snd
pcspkr                 12632  0 
rfkill                 19242  2 cfg80211,bluetooth
thermal_sys            23293  2 video,processor
button                 12944  1 nouveau
ohci_pci               12808  0 
ohci_hcd               22239  1 ohci_pci
psmouse                74832  0 
serio_raw              12940  0 
nv_tco                 12878  0 
i2c_nforce2            12628  0 
i2c_core               24353  5 drm,drm_kms_helper,i2c_algo_bit,nouveau,i2c_nforce2
microcode              30537  0 
dcdbas                 13307  0 
ext4                  390772  2 
crc16                  12343  2 ext4,bluetooth
jbd2                   76564  1 ext4
mbcache                13082  1 ext4
sg                     26095  0 
sr_mod                 21988  0 
sd_mod                 40582  4 
cdrom                  35173  1 sr_mod
crc_t10dif             12348  1 sd_mod
ata_generic            12490  0 
firewire_ohci          31931  0 
firewire_core          49323  2 firewire_ohci,firewire_sbp2
crc_itu_t              12347  2 rt73usb,firewire_core
floppy                 53102  0 
forcedeth              54051  0 
pata_amd               17474  0 
ehci_pci               12472  0 
ehci_hcd               40640  1 ehci_pci
sata_nv                26909  3 
libata                142015  3 sata_nv,pata_amd,ata_generic
scsi_mod              162436  6 sg,usb_storage,libata,sd_mod,sr_mod,firewire_sbp2
usbcore               135179  9 btusb,rt73usb,rt2x00usb,usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common             12440  1 usbcore
I also recorder Xorg.0.log and dmesg, but there are many differences, which I guess has nothing to do with this issue, and I don't know what to search for specifically.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#3 Post by bw123 »

I have used a similar workaround for a long time, not sure where the fix is, but i think the problem is down deep somewhere, device is in floppy group and only real old guys know how to use that stuff.

Code: Select all

# ls -l /dev/sde*
brw-rw---T 1 root floppy 8, 64 Sep 15 14:32 /dev/sde
# blkid /dev/sde
# dmesg | tail
[254603.731437] sd 3:0:0:0: [sde] 1987584 512-byte logical blocks: (1.01 GB/970 MiB)
[254603.751426] sd 3:0:0:0: [sde] No Caching mode page present
[254603.751437] sd 3:0:0:0: [sde] Assuming drive cache: write through
[254603.781436] sd 3:0:0:0: [sde] No Caching mode page present
[254603.781447] sd 3:0:0:0: [sde] Assuming drive cache: write through
[254603.791489]  sde: sde1
# ls -l /dev/sde*
brw-rw---T 1 root floppy 8, 64 Sep 18 13:13 /dev/sde
brw------- 1 root root   8, 65 Sep 18 13:13 /dev/sde1
resigned by AI ChatGPT

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#4 Post by Jerome »

Do you remember when it stopped working correctly ?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#5 Post by bw123 »

Jerome wrote:Do you remember when it stopped working correctly ?
it has never popped up /dev/sde1 when card is inserted, i started on squeeze 2.6.32 or maybe .29 and played awhile with it. I thought it was a udev issue and played with some udev rules but never got it working. Not sure if that's in the right direction.

device is a 5 in one multicard reader, works fine when card inserted at boot, won't sense media. works fine once it's hit with blkid, fdisk or some other tool that gets the different card slots with media to initialize. It's really like a glorified floppy, you know the old days you had to "insert disk with command.com in drive a:" and all that crap.
resigned by AI ChatGPT

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#6 Post by Jerome »

I believe I got my computer in august 2011 and installed a Debian testing (Wheezy) on it. I'm almost certain it worked correctly (card detected anytime) from then to not so long ago.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#7 Post by bw123 »

just out of curiosity i booted a knoppix 6.7 live cd to cli and it does work correctly sensing media until i run

Code: Select all

apt-get purge hal
maybe that will help you better understand the issue, the kernel was 2.6.39 not sure of hal version you could probably look it up.
resigned by AI ChatGPT

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: SD card not detected unless inserted at boot time

#8 Post by sgosnell »

You might try going to Teh Google and putting in "automount removable drives debian".
Take my advice, I'm not using it.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#9 Post by bw123 »

sgosnell wrote:You might try going to Teh Google and putting in "automount removable drives debian".
In my case, you can't automount what isn't there, udev doesn't see the media when it is inserted. I've tried autofs, usbmount, several other packages. i've done web searches for about two years on and off, but yeah, do your own research by all means. a good web search never hurts.

hal would probably do it? but i don't see the point in going that way for an sdcard i can use fine with a little script, what's the big deal with automatic stuff anyway?

Code: Select all

#!/bin/sh
# sdcard script workaround

DEV=sde
PART=1
MNTP=/media/sdcard

if test -e /dev/$DEV$PART
   then mount $MNTP
   else 
   {  /sbin/blkid /dev/$DEV
      if test -e /dev/$DEV$PART
         then mount $MNTP
      fi
   }
fi
resigned by AI ChatGPT

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: SD card not detected unless inserted at boot time

#10 Post by sgosnell »

If blkid shows the drive, then the system knows about it. Getting it mounted is another issue, and can be difficult. I haven't seen your particular issue, so I'm a a loss as to what else to suggest. I should also say, though, that the card won't always be found at /dev/sde.
Take my advice, I'm not using it.

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: SD card not detected unless inserted at boot time

#11 Post by tomazzi »

Jerome:
Desktop card readers are almost 100% USB devices - so it would be helpfull, if You'll provide "lsusb -v" output with the card inserted.
..and btw: I've had few MBs with MCP51/C51/C55 chipset - it is buggy like hell - the worst in NV history, I think. NV wasn't able to provide stable drivers even for windows, so f.e. they took linux ethernet driver (FORCEDETH) and ported it to win - it was more stable solution ;)

regards.
Odi profanum vulgus

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#12 Post by Jerome »

bw123 wrote:just out of curiosity i booted a knoppix 6.7 live cd to cli and it does work correctly sensing media until i run

Code: Select all

apt-get purge hal
maybe that will help you better understand the issue, the kernel was 2.6.39 not sure of hal version you could probably look it up.
This would indicate that hal is required. Heard about it but I don't have any specific knowledge. I can check I got that installed / running.

If blkid works, I suppose I could have it croned to run every second and I'd have a seemingly instantaneous detection. But that sucks...
sgosnell wrote:If blkid shows the drive, then the system knows about it.
Yes, that's the good point. It means there has to be a software solution. The ugly one being the blkid polling script. We could identify what specifically in blkid triggers the detection.
tomazzi wrote:Desktop card readers are almost 100% USB devices - so it would be helpfull, if You'll provide "lsusb -v" output with the card inserted.
OK, I'll try to do that soon both with and without the card detected.

Thank you guys for the support. I'm not sure many of us are concerned, but I'd be happy to get this solved in the distro (vs. ugly local workaround).

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#13 Post by bw123 »

you might get somewhere like this.

Code: Select all

# udevadm info --query=all --name=/dev/sde
resigned by AI ChatGPT

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#14 Post by Jerome »

bw123 wrote:you might get somewhere like this.

Code: Select all

# udevadm info --query=all --name=/dev/sde
OK

Code: Select all

udevadm info --query=all --name=/dev/sde
P: /devices/pci0000:00/0000:00:0b.1/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:3/block/sde
N: sde
S: disk/by-id/usb-DELL_USB_HS-SD_Card_00000101FB0C-0:3
S: disk/by-path/pci-0000:00:0b.1-usb-0:1.2:1.0-scsi-0:0:0:3
E: DEVLINKS=/dev/disk/by-id/usb-DELL_USB_HS-SD_Card_00000101FB0C-0:3 /dev/disk/by-path/pci-0000:00:0b.1-usb-0:1.2:1.0-scsi-0:0:0:3
E: DEVNAME=/dev/sde
E: DEVPATH=/devices/pci0000:00/0000:00:0b.1/usb1/1-1/1-1.2/1-1.2:1.0/host6/target6:0:0/6:0:0:3/block/sde
E: DEVTYPE=disk
E: ID_BUS=usb
E: ID_INSTANCE=0:3
E: ID_MODEL=USB_HS-SD_Card
E: ID_MODEL_ENC=USB\x20\x20\x20HS-SD\x20Card
E: ID_MODEL_ID=0201
E: ID_PART_TABLE_TYPE=dos
E: ID_PATH=pci-0000:00:0b.1-usb-0:1.2:1.0-scsi-0:0:0:3
E: ID_PATH_TAG=pci-0000_00_0b_1-usb-0_1_2_1_0-scsi-0_0_0_3
E: ID_REVISION=7.08
E: ID_SERIAL=DELL_USB_HS-SD_Card_00000101FB0C-0:3
E: ID_SERIAL_SHORT=00000101FB0C
E: ID_TYPE=disk
E: ID_USB_DRIVER=usb-storage
E: ID_USB_INTERFACES=:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=DELL
E: ID_VENDOR_ENC=DELL\x20\x20\x20\x20
E: ID_VENDOR_ID=0644
E: MAJOR=8
E: MINOR=64
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: UDISKS_PARTITION_TABLE=1
E: UDISKS_PARTITION_TABLE_COUNT=2
E: UDISKS_PARTITION_TABLE_SCHEME=mbr
E: UDISKS_PRESENTATION_NOPOLICY=0
E: USEC_INITIALIZED=6047230
tomazzi wrote:it would be helpfull, if You'll provide "lsusb -v" output with the card inserted.
Here it is :

Code: Select all

lsusb -v
Bus 001 Device 005: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x07d1 D-Link System
  idProduct          0x3c03 AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W]
  bcdDevice            0.01
  iManufacturer           1 Ralink
  iProduct                2 802.11 bg WLAN
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 007: ID 0644:0201 TEAC Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0644 TEAC Corp.
  idProduct          0x0201 
  bcdDevice            7.08
  iManufacturer           1 DELL
  iProduct                2 CAB-200
  iSerial                 3 00000101FB0C
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        DEVICE CLASS:  07 21 07 e8 03 fe ff
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 010: ID 046d:c719 Logitech, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc719 
  bcdDevice           58.00
  iManufacturer           1 Logitech
  iProduct                2 BT Mini-Receiver
  iSerial                 3 001C26DD191A
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 RR58.00_B0075
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     226
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               5
Device Status:     0x0001
  Self Powered

Bus 001 Device 009: ID 046d:c718 Logitech, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc718 
  bcdDevice           58.00
  iManufacturer           1 Logitech
  iProduct                2 BT Mini-Receiver
  iSerial                 3 001C26DD191A
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 RR58.00_B0075
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      59
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0001
  Self Powered

Bus 001 Device 008: ID 413c:8130 Dell Computer Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x8130 
  bcdDevice           58.00
  iManufacturer           1 Logitech
  iProduct                2 BT Mini-Receiver
  iSerial                 3 001C26DD191A
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          216
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      0 
      iInterface              0 
      Device Firmware Upgrade Interface Descriptor:
        bLength                             7
        bDescriptorType                    33
        bmAttributes                        7
          Will Not Detach
          Manifestation Tolerant
          Upload Supported
          Download Supported
        wDetachTimeout                   5000 milliseconds
        wTransferSize                      64 bytes
Device Status:     0x0001
  Self Powered

Bus 001 Device 006: ID 046d:0b05 Logitech, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0x0b05 
  bcdDevice           58.00
  iManufacturer           1 Logitech
  iProduct                2 BT Mini-Receiver
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x0004
    Ganged power switching
    Compound device
    Ganged overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x0e
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0103 power enable connect
   Port 3: 0000.0103 power enable connect
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x04b4 Cypress Semiconductor Corp.
  idProduct          0x6560 CY7C65640 USB-2.0 "TetraHub"
  bcdDevice           90.15
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              174mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x0089
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.11
  iManufacturer           3 Linux 3.11-trunk-amd64 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:0b.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0503 highspeed power enable connect
   Port 8: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 002 Device 005: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x3012 Optical Wheel Mouse
  bcdDevice           43.01
  iManufacturer           1 Dell
  iProduct                2 Dell USB Optical Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0005  1x 5 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 002 Device 004: ID 413c:2010 Dell Computer Corp. Keyboard
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x2010 Keyboard
  bcdDevice            2.00
  iManufacturer           1 Dell
  iProduct                3 Dell USB Keyboard
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          3 Dell USB Keyboard
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              3 Dell USB Keyboard
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              3 Dell USB Keyboard
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     142
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval             255
Device Status:     0x0000
  (Bus Powered)

Bus 002 Device 003: ID 413c:1003 Dell Computer Corp. Keyboard Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0         8
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x1003 Keyboard Hub
  bcdDevice            2.00
  iManufacturer           1 Dell
  iProduct                2 Dell USB Keyboard Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          2 Dell USB Keyboard Hub
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              2 Dell USB Keyboard Hub
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              24
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
  bPwrOn2PwrGood       22 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0303 lowspeed power enable connect
Device Status:     0x0000
  (Bus Powered)

Bus 002 Device 002: ID 0955:000a NVidia Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0955 NVidia Corp.
  idProduct          0x000a 
  bcdDevice            0.90
  iManufacturer           1 (error)
  iProduct                2 (error)
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength    1225
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval             255
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.11
  iManufacturer           3 Linux 3.11-trunk-amd64 ohci_hcd
  iProduct                2 OHCI PCI host controller
  iSerial                 1 0000:00:0b.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x0002
    No power switching (usb 1.0)
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0103 power enable connect
   Port 3: 0000.0103 power enable connect
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
Device Status:     0x0001
  Self Powered
Does this tell us anything ?

It was late yesterday night. When I get back to the machine I can lsusb -v, this time without the card, and compare both.

tomazzi
Posts: 730
Joined: 2013-08-02 21:33

Re: SD card not detected unless inserted at boot time

#15 Post by tomazzi »

Well, maybe I'm blind, but I can't see the card on the list - the only storage device is TEAC (Mass Storage) ...
So, was this listing made without card inserted? or do we have a problem here?

regards.
Odi profanum vulgus

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#16 Post by bw123 »

might be relevant, not sure whether it's udev or kernel?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648810
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696509

Just for the heck of it, here's the device I'm using. I thought the problem might be related to the mtp_probe errors from udev on bootup, but when I filed my bug report I was told it wasn't a udev bug so I just gave up trying to help.

Code: Select all

# udevadm info --query=all --name=/dev/sde
P: /devices/pci0000:00/0000:00:13.1/usb3/3-4/3-4:1.0/host3/target3:0:0/3:0:0:0/block/sde
N: sde
S: disk/by-id/usb-Generic_USB_SD_Reader_2004888-0:0
S: disk/by-path/pci-0000:00:13.1-usb-0:4:1.0-scsi-0:0:0:0
E: DEVLINKS=/dev/disk/by-id/usb-Generic_USB_SD_Reader_2004888-0:0 /dev/disk/by-path/pci-0000:00:13.1-usb-0:4:1.0-scsi-0:0:0:0
E: DEVNAME=/dev/sde
E: DEVPATH=/devices/pci0000:00/0000:00:13.1/usb3/3-4/3-4:1.0/host3/target3:0:0/3:0:0:0/block/sde
E: DEVTYPE=disk
E: ID_BUS=usb
E: ID_INSTANCE=0:0
E: ID_MODEL=USB_SD_Reader
E: ID_MODEL_ENC=USB\x20SD\x20Reader\x20\x20\x20
E: ID_MODEL_ID=9360
E: ID_PATH=pci-0000:00:13.1-usb-0:4:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=pci-0000_00_13_1-usb-0_4_1_0-scsi-0_0_0_0
E: ID_REVISION=1.00
E: ID_SERIAL=Generic_USB_SD_Reader_2004888-0:0
E: ID_SERIAL_SHORT=2004888
E: ID_TYPE=disk
E: ID_USB_DRIVER=usb-storage
E: ID_USB_INTERFACES=:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Generic
E: ID_VENDOR_ENC=Generic\x20
E: ID_VENDOR_ID=058f
E: MAJOR=8
E: MINOR=64
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: USEC_INITIALIZED=8706554
I can't believe you said my workaround script was ugly? I spent 17 min adding new features

Code: Select all

#!/bin/sh
# sdcard1 script workaround

DEV=sde
PART=1
MNTP=/media/sdcard1

case "$1" in
   mount)
      if (mount | grep $MNTP >> /dev/null)
         then echo "already mounted on $MNTP"
         else if test -e /dev/$DEV$PART
                 then mount $MNTP
                 else
                    {  /sbin/blkid /dev/$DEV
                    if test -e /dev/$DEV$PART
                       then mount $MNTP
                       else echo "Couldn't mount $MNTP"
                    fi
                    }
               fi
      fi
   ;;
   umount)
 if (mount | grep $MNTP >> /dev/null)
         then umount $MNTP
         else echo "$MNTP not mounted"
      fi
   ;;
   *)
      echo "Specify mount or umount for $MNTP"
      if (mount | grep $MNTP >> /dev/null)
         then echo "mounted on $MNTP"
         else echo "$MNTP not mounted"
      fi
   ;;
esac

Code: Select all

$ cat /etc/fstab | grep sdcard1
UUID=GET-YOUR-OWN-BLKID  /media/sdcard1  vfat  rw,users,noatime,noauto  0  0
resigned by AI ChatGPT

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#17 Post by Jerome »

I can't remember if I had the partition on the card mounted, but it was in and detected.

I'll do it again with and without, and I'll do a diff.

Edit: @bw, I had not seen your post. Your script is great.

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#18 Post by Jerome »

I did a lsusb -v in all those cases, and got the same output each time:

- Card detected at boot
- Card detected at boot then mounted
- Card detected at boot then mounted then directory opened
- Card detected at boot then mounted then directory opened then card ejected
- Card not inserted at boot
- Card inserted after boot and not detected
- Card inserted after boot and not detected then detected after blkid

Not sure about the bug reports. My USB sticks are detected.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: SD card not detected unless inserted at boot time

#19 Post by bw123 »

so, if you put the card in and do this in a term your automount stuff takes over and finds it right?

Code: Select all

$ /sbin/blkid /dev/sde
resigned by AI ChatGPT

Jerome
Posts: 54
Joined: 2011-07-18 20:57
Location: France

Re: SD card not detected unless inserted at boot time

#20 Post by Jerome »

Yes, exactly.

And this is what happens in dmesg when I do that:

Code: Select all

[ 1770.076544] sd 6:0:0:3: [sde] 3932160 512-byte logical blocks: (2.01 GB/1.87 GiB)
[ 1770.087268] sd 6:0:0:3: [sde] No Caching mode page present
[ 1770.087272] sd 6:0:0:3: [sde] Assuming drive cache: write through
[ 1770.102276] sd 6:0:0:3: [sde] No Caching mode page present
[ 1770.102280] sd 6:0:0:3: [sde] Assuming drive cache: write through
[ 1770.104295]  sde: sde1 sde2

Post Reply