Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] USB-Stick nur "halb" erkannt?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1358
Location: Eppingen, Germany

PostPosted: Fri Apr 27, 2012 12:01 pm    Post subject: [gelöst] USB-Stick nur "halb" erkannt? Reply with quote

Hallo Gemeinde,

ich habe hier wieder etwas neues:

Meine Tochter hätte heute in der Schule eine Präsentation von einem USB-Stick halten sollen. Aber der Stick konnte auf dem Windows-Rechner nicht eingebunden werden.

Ich dachte, das liegt evtl. am Dateisystem, also habe ich es an meiner Gentoo-Kiste probiert - aber der Voyager GT wird nicht zum mounten angeboten. Gestern lief dfas noch. Auch auf einer Ubuntu-kiste taucht das Teil nicht mehr auf...

So sieht das aus:

Code:
dmesg
[...]
[ 1132.084687] usb 1-1.6: new high-speed USB device number 13 using ehci_hcd
[ 1132.160033] usb 1-1.6: default language 0x0409
[ 1132.162174] usb 1-1.6: udev 13, busnum 1, minor = 12
[ 1132.162176] usb 1-1.6: New USB device found, idVendor=1b1c, idProduct=1a90
[ 1132.162178] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1132.162180] usb 1-1.6: Product: Voyager GT
[ 1132.162182] usb 1-1.6: Manufacturer: Corsair
[ 1132.162183] usb 1-1.6: SerialNumber: 07B20C0855FA1710
[ 1132.162245] usb 1-1.6: usb_probe_device
[ 1132.162247] usb 1-1.6: configuration #1 chosen from 1 choice
[ 1132.162284] usb 1-1.6: adding 1-1.6:1.0 (config #1, interface 0)[...]


Sieht für mich normal aus, oder fehlt da was?

Code:
tux uhai # lsusb -vd 1b1c:

Bus 001 Device 013: ID 1b1c:1a90 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1b1c
  idProduct          0x1a90
  bcdDevice            1.00
  iManufacturer           1 Corsair
  iProduct                2
  iSerial                 3 07B20C0855FA1710
  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         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      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     0x02  EP 2 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)


lsusb zeigt den Stick nur mit den vendor:gerät-IDs an, nicht mit dem Volltextnamen. Kann ich mit den IDs mounten oder mit der USB-Busadresse?

So sieht /dev hier momentan aus:
Code:
tux uhai # ls /dev
adsp             dm-2     loop1               nvidia0    ram3    sda3        sg5       tty15  tty3   tty44  tty59    usblp0   vcs4    vcsa7
audio            dm-3     loop2               nvidiactl  ram4    sda4        shm       tty16  tty30  tty45  tty6     usbmon0  vcs5    vcsa8
autofs           dm-4     loop3               nvram      ram5    sda5        snapshot  tty17  tty31  tty46  tty60    usbmon1  vcs6    vcsa9
block            dm-5     loop4               oldmem     ram6    sdb         snd       tty18  tty32  tty47  tty61    usbmon2  vcs7    vga_arbiter
bsg              dsp      loop5               port       ram7    sdc         sr0       tty19  tty33  tty48  tty62    usbmon3  vcs8    zero
bus              dvd      loop6               ptmx       ram8    sdc1        stderr    tty2   tty34  tty49  tty63    usbmon4  vcs9
cdrom            dvdrw    loop7               pts        ram9    sdd         stdin     tty20  tty35  tty5   tty7     usbmon5  vcsa
cdrw             fd       loop-control        ram0       random  sdd1        stdout    tty21  tty36  tty50  tty8     usbmon6  vcsa1
char             full     mapper              ram1       rfkill  sde         tty       tty22  tty37  tty51  tty9     usbmon7  vcsa10
console          hidraw0  mcelog              ram10      root    sequencer   tty0      tty23  tty38  tty52  ttyS0    vcs      vcsa11
core             initctl  md0                 ram11      rtc     sequencer2  tty1      tty24  tty39  tty53  ttyS1    vcs1     vcsa12
cpu              input    mem                 ram12      rtc0    sg0         tty10     tty25  tty4   tty54  ttyS2    vcs10    vcsa2
cpu_dma_latency  kmem     mixer               ram13      scd0    sg1         tty11     tty26  tty40  tty55  ttyS3    vcs11    vcsa3
disk             kmsg     network_latency     ram14      sda     sg2         tty12     tty27  tty41  tty56  tux      vcs12    vcsa4
dm-0             log      network_throughput  ram15      sda1    sg3         tty13     tty28  tty42  tty57  urandom  vcs2     vcsa5
dm-1             loop0    null                ram2       sda2    sg4         tty14     tty29  tty43  tty58  usb      vcs3     vcsa6

Code:

tux uhai # ls /dev/usb
hiddev0  lp0


Da scheint der Stick gar nicht angelegt zu werden, oder habe ich den übersehen?

Wie bekomme ich das Ding eingebunden?

uhai


Last edited by uhai on Sun May 06, 2012 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
manuels
Advocate
Advocate


Joined: 22 Nov 2003
Posts: 2146
Location: Europe

PostPosted: Fri Apr 27, 2012 2:11 pm    Post subject: Reply with quote

Komische Sache. Mir fällt leider nicht mehr ein als z.B. mit wireshark die USB-Verbindung zu überwachen und zu schauen ob sich irgendetwas von einem "normalen" USB-Stick unterscheidet.
_________________
Build your own live cd with catalyst 2.0!
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1358
Location: Eppingen, Germany

PostPosted: Fri Apr 27, 2012 6:37 pm    Post subject: Reply with quote

Danke manuels,

wireshark habe ich jetzt installiert. Allerdings kann ich das Ding nicht bedienen..

Wie setze ich einen Filter für usb-Verbindungen? ich fínde usb nur bei den statistics-menü... Unter capture tauchen die Netzkarten auf, aber kein usb....

uhai
Back to top
View user's profile Send private message
yuhu
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2006
Posts: 86

PostPosted: Fri Apr 27, 2012 7:18 pm    Post subject: Reply with quote

Hallo,

schau dir das mal mit "udevadm monitor" an zB.

Code:
media ~ # udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1335554215.399423] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2 (usb)
KERNEL[1335554215.399529] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb)
KERNEL[1335554215.399748] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10 (scsi)
KERNEL[1335554215.399844] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/scsi_host/host10 (scsi_host)
UDEV  [1335554215.401974] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2 (usb)
UDEV  [1335554215.402487] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0 (usb)
UDEV  [1335554215.402743] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10 (scsi)
UDEV  [1335554215.403166] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/scsi_host/host10 (scsi_host)
KERNEL[1335554216.403756] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0 (scsi)
KERNEL[1335554216.403797] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0 (scsi)
KERNEL[1335554216.403854] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
KERNEL[1335554216.403900] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
KERNEL[1335554216.403959] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV  [1335554216.404056] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0 (scsi)
UDEV  [1335554216.404505] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0 (scsi)
UDEV  [1335554216.405875] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
UDEV  [1335554216.405912] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
UDEV  [1335554216.405944] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
KERNEL[1335554216.406053] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [1335554216.406389] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[1335554216.411172] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
KERNEL[1335554216.411201] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/block/sdb/sdb1 (block)
UDEV  [1335554216.492173] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
UDEV  [1335554216.562995] add      /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/host10/target10:0:0/10:0:0:0/block/sdb/sdb1 (block)


Code:
media ~ # dmesg
[...]
[13080.017256] usb 4-1.2: new high-speed USB device number 8 using ehci_hcd
[13080.104223] scsi10 : usb-storage 4-1.2:1.0
[13081.105448] scsi 10:0:0:0: Direct-Access     SanDisk  Cruzer Contour   4.08 PQ: 0 ANSI: 2
[13081.106804] sd 10:0:0:0: Attached scsi generic sg2 type 0
[13081.107712] sd 10:0:0:0: [sdb] 32112269 512-byte logical blocks: (16.4 GB/15.3 GiB)
[13081.108265] sd 10:0:0:0: [sdb] Write Protect is off
[13081.108271] sd 10:0:0:0: [sdb] Mode Sense: 03 00 00 00
[13081.108831] sd 10:0:0:0: [sdb] No Caching mode page present
[13081.108836] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[13081.111965] sd 10:0:0:0: [sdb] No Caching mode page present
[13081.111970] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[13081.113890]  sdb: sdb1
[13081.115964] sd 10:0:0:0: [sdb] No Caching mode page present
[13081.115969] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[13081.115974] sd 10:0:0:0: [sdb] Attached SCSI removable disk
[13081.293383] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Sat Apr 28, 2012 9:53 am    Post subject: Reply with quote

yuhu wrote:
Hallo,

schau dir das mal mit "udevadm monitor" an zB.

Code:
media ~ # udevadm monitor
...
[13081.293383] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Du Dir aber auch - evtl. solltest Du das FAT-fs case-insensitive mounten ;-)
Back to top
View user's profile Send private message
yuhu
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2006
Posts: 86

PostPosted: Sat Apr 28, 2012 1:08 pm    Post subject: Reply with quote

toralf wrote:
yuhu wrote:
Hallo,

schau dir das mal mit "udevadm monitor" an zB.

Code:
media ~ # udevadm monitor
...
[13081.293383] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Du Dir aber auch - evtl. solltest Du das FAT-fs case-insensitive mounten ;-)


Das kann ich sicher einfach ändern. Leider hilft das dem Themenstarter nichts, wenn sein Stick nur halb angelegt wird.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4569
Location: Germany

PostPosted: Sat Apr 28, 2012 1:32 pm    Post subject: Reply with quote

Hm, aber wenn gestern noch alles lief, und nun der Stick plötzlich auf drei verschiedenen Rechnern/Systemen nicht mehr funktioniert, ist es eventuell auch ein Hardwaredefekt des Sticks nicht auszuschließen.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Thu May 03, 2012 2:16 pm    Post subject: Reply with quote

Habe ich gerade mit einer Festplatte und einem USB Stick durch. Waren beide mit ntfs3g unter Gentoo gemountet. Die Platte musste ich ausbauen und direkt an SATA hängen und dann unter Widows XP fsck laufen lassen. Den Stick musste ich unter Windows XP neu formatieren.
Jetzt kann ich beide wieder nutzen. Mache ich aber erst mal nur unter Windows XP. Irgendwo ist da der Wurm drin.
Back to top
View user's profile Send private message
uhai
Veteran
Veteran


Joined: 23 Aug 2007
Posts: 1358
Location: Eppingen, Germany

PostPosted: Sun May 06, 2012 8:19 pm    Post subject: Reply with quote

Der Stick ist auch ziemlich gelenkig... Vermutlich ist der Steckkontakt abgebrochen und überträgt daher nicht mehr vollständig.

Danke an alle, ich mache den thread dicht und kaufe einen neuen Stick.

uhai
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum