Linux não reconhece SD/GPS

1. Linux não reconhece SD/GPS

Rafael Arcanjo
ST. RaLF

(usa Arch Linux)

Enviado em 05/02/2011 - 01:08h

Prezados,

Me deparo com um problema bem chato.

Ao plugar o meu GPS (com o SD inserido) ou plugando o SD diretamente no slot, o Arch Linux não reconhece o dispositivo.

# dmesg
sd 8:0:0:1: Attached scsi generic sg4 type 0
sd 8:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16).
usb 2-2: reset full speed USB device using ohci_hcd and address 7
sd 8:0:0:1: [sdd] 1982213 512-byte logical blocks: (1.01 GB/967 MiB)
usb 2-2: reset full speed USB device using ohci_hcd and address 7
usb 2-2: reset full speed USB device using ohci_hcd and address 7

# udevadm info --name=sdd --attribute-walk
looking at device '/devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.0/host8/target8:0:0/8:0:0:1/block/sdd':
KERNEL=="sdd"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="16"
ATTR{ext_range}=="256"
ATTR{removable}=="1"
ATTR{ro}=="0"
ATTR{size}=="1982213"
ATTR{alignment_offset}=="0"
ATTR{discard_alignment}=="0"
ATTR{capability}=="51"
ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0"
ATTR{inflight}==" 0 0"

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.0/host8/target8:0:0/8:0:0:1':
KERNELS=="8:0:0:1"
SUBSYSTEMS=="scsi"
DRIVERS=="sd"
ATTRS{device_blocked}=="0"
ATTRS{type}=="0"
ATTRS{scsi_level}=="0"
ATTRS{vendor}=="Central "
ATTRS{model}=="Flash Disk Drive"
ATTRS{rev}=="2.05"
ATTRS{state}=="running"
ATTRS{timeout}=="30"
ATTRS{iocounterbits}=="32"
ATTRS{iorequest_cnt}=="0x13"
ATTRS{iodone_cnt}=="0xa"
ATTRS{ioerr_cnt}=="0x1"
ATTRS{modalias}=="scsi:t-0x00"
ATTRS{evt_media_change}=="0"
ATTRS{queue_depth}=="1"
ATTRS{queue_type}=="none"
ATTRS{max_sectors}=="64"

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.0/host8/target8:0:0':
KERNELS=="target8:0:0"
SUBSYSTEMS=="scsi"
DRIVERS==""

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.0/host8':
KERNELS=="host8"
SUBSYSTEMS=="scsi"
DRIVERS==""

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.0':
KERNELS=="2-2:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usb-storage"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="02"
ATTRS{bInterfaceClass}=="08"
ATTRS{bInterfaceSubClass}=="06"
ATTRS{bInterfaceProtocol}=="50"
ATTRS{modalias}=="usb:v045EpFFFFd0000dc00dsc00dp00ic08isc06ip50"
ATTRS{supports_autosuspend}=="1"

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2/2-2':
KERNELS=="2-2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="40"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="289"
ATTRS{idVendor}=="045e"
ATTRS{idProduct}=="ffff"
ATTRS{bcdDevice}=="0000"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="8"
ATTRS{speed}=="12"
ATTRS{busnum}=="2"
ATTRS{devnum}=="7"
ATTRS{devpath}=="2"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{product}=="Generic Manufacturer"
ATTRS{serial}=="BOT Mass Storage"

looking at parent device '/devices/pci0000:00/0000:00:03.0/usb2':
KERNELS=="usb2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="809"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0206"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="2"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="3"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 2.6.37-ARCH ohci_hcd"
ATTRS{product}=="OHCI Host Controller"
ATTRS{serial}=="0000:00:03.0"
ATTRS{authorized_default}=="1"

looking at parent device '/devices/pci0000:00/0000:00:03.0':
KERNELS=="0000:00:03.0"
SUBSYSTEMS=="pci"
DRIVERS=="ohci_hcd"
ATTRS{vendor}=="0x1039"
ATTRS{device}=="0x7001"
ATTRS{subsystem_vendor}=="0x1019"
ATTRS{subsystem_device}=="0x0131"
ATTRS{class}=="0x0c0310"
ATTRS{irq}=="20"
ATTRS{local_cpus}=="ff"
ATTRS{local_cpulist}=="0-7"
ATTRS{modalias}=="pci:v00001039d00007001sv00001019sd00000131bc0Csc03i10"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""


Desde já, fico grato.


  


2. Re: Linux não reconhece SD/GPS

Rafael Arcanjo
ST. RaLF

(usa Arch Linux)

Enviado em 12/03/2011 - 09:35h

Putz! Ninguém.


3. Re: Linux não reconhece SD/GPS

Roger
rootgerr

(usa Slackware)

Enviado em 12/03/2011 - 09:46h

Talvez você não tenha as ferramentas corretas para lidar com o sistema de arquivos do cartão instaladas, tentou montagem manual?



4. Re: Linux não reconhece SD/GPS

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/03/2011 - 09:49h

tente:

su

fdisk -l

mount /dev/sdd1 /media

acho que deve funcionar. não entendo nada de arch, uso Ubuntu há uns 3 anos, antes usava Slackware e nunca nem instalei o Arch.


5. Re: Linux não reconhece SD/GPS

Rafael Arcanjo
ST. RaLF

(usa Arch Linux)

Enviado em 12/03/2011 - 10:32h

Tenho o Arch e o Ubuntu instalado, ambos não reconhecem.

Resposta do fdisk:
Disk /dev/sda: 100.3 GB, 100256292864 bytes
255 heads, 63 sectors/track, 12188 cylinders, total 195813072 sectors
Units = setores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3480347f

Dispositivo Boot Start End Blocks Id System
/dev/sda1 63 4192964 2096451 82 Linux swap / Solaris
/dev/sda2 4194304 113883135 54844416 83 Linux
/dev/sda4 113884785 195800219 40957717+ 83 Linux

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = setores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00087a18

Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 63 390716864 195358401 83 Linux


Infelizmente só aparece os dois hds que tenho instalado.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts