LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 11-25-2012, 09:22 AM   #1
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Rep: Reputation: Disabled
problem with sim card reader/multicard reader


i bought a eminent em1060 revision 4, a multicard writer and phone sim reader
Code:
Bus 001 Device 021: ID 1307:0368 Transcend Information, Inc. new high-speed USB device number 21 using ehci_hcd
[ 6086.564714] usb 1-2.2: config 1 interface 1 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 16
[ 6086.564730] usb 1-2.2: config 1 interface 1 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 16
[ 6086.757726] scsi10 : usb-storage 1-2.2:1.0
[ 6087.757413] scsi 10:0:0:0: Direct-Access     Generic  SD/MMC           0.00 PQ: 0 ANSI: 2
[ 6087.759202] scsi 10:0:0:1: Direct-Access     Generic  microSD          0.00 PQ: 0 ANSI: 2
[ 6087.760128] scsi 10:0:0:2: Direct-Access     Generic  MS/MS-PRO        0.00 PQ: 0 ANSI: 2
[ 6087.771273] sd 10:0:0:0: Attached scsi generic sg2 type 0
[ 6087.773896] sd 10:0:0:0: [sdc] Attached SCSI removable disk
[ 6087.780814] sd 10:0:0:1: Attached scsi generic sg3 type 0
[ 6087.781519] sd 10:0:0:1: [sdd] Attached SCSI removable disk
[ 6087.784312] sd 10:0:0:2: Attached scsi generic sg4 type 0
[ 6087.784979] sd 10:0:0:2: [sde] Attached SCSI removable disk
and when i inserted a 1gb card
Code:
[ 6252.738825] sd 10:0:0:0: [sdc] 1950720 512-byte logical blocks: (998 MB/952 MiB)
[ 6252.739676] sd 10:0:0:0: [sdc] Write Protect is on
[ 6252.739703] sd 10:0:0:0: [sdc] Mode Sense: 03 00 80 00
[ 6252.741638] sd 10:0:0:0: [sdc] No Caching mode page present
[ 6252.741663] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[ 6252.745305] sd 10:0:0:0: [sdc] No Caching mode page present
[ 6252.745319] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[ 6252.747054]  sdc: sdc1
[ 6423.313823] sdc: detected capacity change from 998768640 to 0
[ 6442.739514] sd 10:0:0:0: [sdc] 1950720 512-byte logical blocks: (998 MB/952 MiB)
[ 6442.742459] sd 10:0:0:0: [sdc] No Caching mode page present
[ 6442.742473] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[ 6442.745216] sd 10:0:0:0: [sdc] No Caching mode page present
[ 6442.745230] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[ 6442.746948]  sdc: sdc1
but it cannot write onto it.
second problem when i inserted a sim card in another slot nothing happens. do you have any idea? there is no sim card reader in
Code:
udevadm  info -a -p $(udevadm info -q path -n /dev/sg2)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:0/scsi_generic/sg2':
    KERNEL=="sg2"
    SUBSYSTEM=="scsi_generic"
    DRIVER==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:0':
    KERNELS=="11:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="3"
    ATTRS{vendor}=="Generic "
    ATTRS{model}=="SD/MMC          "
    ATTRS{rev}=="0.00"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x220"
    ATTRS{iodone_cnt}=="0x220"
    ATTRS{ioerr_cnt}=="0x3c"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{dh_state}=="detached"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="240"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0':
    KERNELS=="target11:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11':
    KERNELS=="host11"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0':
    KERNELS=="1-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:v1307p0368d0100dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2':
    KERNELS=="1-2.2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 2"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="80"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="4840"
    ATTRS{idVendor}=="1307"
    ATTRS{idProduct}=="0368"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="22"
    ATTRS{devpath}=="2.2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Generic   "
    ATTRS{product}=="MultiCard Device"
    ATTRS{serial}=="00000000000006"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2':
    KERNELS=="1-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="219"
    ATTRS{idVendor}=="05e3"
    ATTRS{idProduct}=="0608"
    ATTRS{bcdDevice}=="0901"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="3"
    ATTRS{devpath}=="2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="4"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{product}=="USB2.0 Hub"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="60"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0302"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="8"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 3.2.6 ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.7"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7':
    KERNELS=="0000:00:1d.7"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x27cc"
    ATTRS{subsystem_vendor}=="0x1025"
    ATTRS{subsystem_device}=="0x015b"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="16"
    ATTRS{local_cpus}=="ff"
    ATTRS{local_cpulist}=="0-7"
    ATTRS{modalias}=="pci:v00008086d000027CCsv00001025sd0000015Bbc0Csc03i20"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""
    ATTRS{uframe_periodic_max}=="100"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
Code:
udevadm  info -a -p $(udevadm info -q path -n /dev/sg3)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:1/scsi_generic/sg3':
    KERNEL=="sg3"
    SUBSYSTEM=="scsi_generic"
    DRIVER==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:1':
    KERNELS=="11:0:0:1"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="3"
    ATTRS{vendor}=="Generic "
    ATTRS{model}=="microSD         "
    ATTRS{rev}=="0.00"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x1b1"
    ATTRS{iodone_cnt}=="0x1b1"
    ATTRS{ioerr_cnt}=="0x1b0"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{dh_state}=="detached"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="240"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0':
    KERNELS=="target11:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11':
    KERNELS=="host11"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0':
    KERNELS=="1-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:v1307p0368d0100dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2':
    KERNELS=="1-2.2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 2"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="80"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="5996"
    ATTRS{idVendor}=="1307"
    ATTRS{idProduct}=="0368"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="22"
    ATTRS{devpath}=="2.2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Generic   "
    ATTRS{product}=="MultiCard Device"
    ATTRS{serial}=="00000000000006"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2':
    KERNELS=="1-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="219"
    ATTRS{idVendor}=="05e3"
    ATTRS{idProduct}=="0608"
    ATTRS{bcdDevice}=="0901"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="3"
    ATTRS{devpath}=="2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="4"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{product}=="USB2.0 Hub"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="60"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0302"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="8"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 3.2.6 ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.7"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7':
    KERNELS=="0000:00:1d.7"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x27cc"
    ATTRS{subsystem_vendor}=="0x1025"
    ATTRS{subsystem_device}=="0x015b"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="16"
    ATTRS{local_cpus}=="ff"
    ATTRS{local_cpulist}=="0-7"
    ATTRS{modalias}=="pci:v00008086d000027CCsv00001025sd0000015Bbc0Csc03i20"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""
    ATTRS{uframe_periodic_max}=="100"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
Code:
udevadm  info -a -p $(udevadm info -q path -n /dev/sg4)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:2/scsi_generic/sg4':
    KERNEL=="sg4"
    SUBSYSTEM=="scsi_generic"
    DRIVER==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0/11:0:0:2':
    KERNELS=="11:0:0:2"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="3"
    ATTRS{vendor}=="Generic "
    ATTRS{model}=="MS/MS-PRO       "
    ATTRS{rev}=="0.00"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x1f9"
    ATTRS{iodone_cnt}=="0x1f9"
    ATTRS{ioerr_cnt}=="0x1f8"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{dh_state}=="detached"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="240"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11/target11:0:0':
    KERNELS=="target11:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0/host11':
    KERNELS=="host11"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0':
    KERNELS=="1-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:v1307p0368d0100dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2':
    KERNELS=="1-2.2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 2"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="80"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="6814"
    ATTRS{idVendor}=="1307"
    ATTRS{idProduct}=="0368"
    ATTRS{bcdDevice}=="0100"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="22"
    ATTRS{devpath}=="2.2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Generic   "
    ATTRS{product}=="MultiCard Device"
    ATTRS{serial}=="00000000000006"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-2':
    KERNELS=="1-2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="100mA"
    ATTRS{urbnum}=="219"
    ATTRS{idVendor}=="05e3"
    ATTRS{idProduct}=="0608"
    ATTRS{bcdDevice}=="0901"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="3"
    ATTRS{devpath}=="2"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="4"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{product}=="USB2.0 Hub"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="60"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0302"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="8"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 3.2.6 ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:1d.7"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:1d.7':
    KERNELS=="0000:00:1d.7"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x8086"
    ATTRS{device}=="0x27cc"
    ATTRS{subsystem_vendor}=="0x1025"
    ATTRS{subsystem_device}=="0x015b"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="16"
    ATTRS{local_cpus}=="ff"
    ATTRS{local_cpulist}=="0-7"
    ATTRS{modalias}=="pci:v00008086d000027CCsv00001025sd0000015Bbc0Csc03i20"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""
    ATTRS{uframe_periodic_max}=="100"

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
Code:
crw-rw---- 1 root disk  21, 6 2012-11-25 16:27 /dev/sg6
crw-rw---- 1 root disk  21, 7 2012-11-25 16:27 /dev/sg7
crw-rw---- 1 root disk  21, 8 2012-11-25 16:27 /dev/sg8

Last edited by ut0ugh1; 11-25-2012 at 10:46 AM.
 
Old 11-25-2012, 10:05 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Have you tried mounting it as root?
 
Old 11-25-2012, 10:48 AM   #3
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Original Poster
Rep: Reputation: Disabled
how? i use a system that has only root.
 
Old 11-25-2012, 02:40 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
No lusers? then the answer is Yes, which rules out user permissions as an issue.

In my experience, readers give issues on usb/drivers rather than the scsi end. They can suck too much power and the port switches off - that kind of thing. Is that a distro kernel or your own?
 
Old 11-26-2012, 01:17 AM   #5
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Original Poster
Rep: Reputation: Disabled
the distro is Backtrack5R3
 
Old 11-26-2012, 07:42 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Ok, then we've eliminated all newbie errors.
Quote:
[ 6252.739676] sd 10:0:0:0: [sdc] Write Protect is on
That's it, as you correctly pointed out. Historically, write protect was in floppies as a tag which was sensed optically. It survived in some other forms (e.g. a switch on some usb drives) and your challenge is not to find where the write protect is coming in. Try mount options, selinux(?), udev rules, stupid little switches on the card reader, etc.
If the usb disk is formatted ntfs, it can also be in the kernel, but you can use ntfs-3g to get around that.
 
Old 11-26-2012, 07:54 AM   #7
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Original Poster
Rep: Reputation: Disabled
the lock switch on the card is on. for all other stuff i guess i will wait for your suggestions. the sd card has a fat32 partition. let me know what i can tell you to solve. thx

Last edited by ut0ugh1; 11-26-2012 at 07:56 AM.
 
Old 11-26-2012, 11:23 AM   #8
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Don't wait for me. There's nothing silly wrong, so this is meant to be that way. Everything that can read fat32 can write fat32. check the list in my last post. Has the Backtrack website got anything?
 
Old 11-26-2012, 12:38 PM   #9
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Original Poster
Rep: Reputation: Disabled
Code:
cat /etc/udev/rules.d/* | grep 1307
no results
selinux command not found

do you think the only way to make work i reversing win drivers?
this is the inf win file
Code:
; MHIKEY10.inf UT360 FOR WinXP
; version 1.00A
; Copyright (c) 2007 CHTL

[Version]
Signature="$WINDOWs NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
provider=%MFGNAME%
CatalogFile=MHIKEY10.cat
DriverVer=03/03/2008,2.0.0.0

[ControlFlags]
Excludefromselect=USB\Class_FF&SubClass_03&Prot_60

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DriverCopyFiles = 10,System32\Drivers
DefaultDestDir = 10,System32\Drivers

[SourceDisksFiles]
MHIKEY10.sys=1
;MHIKEY10.cat=1
MHIKEY10.inf=1

[SourceDisksNames]
1=%INSTDISK%,,,

[DeviceList]
%USB\VID_1307&PID_0367.DeviceDesc%=DriverInstall, USB\VID_1307&PID_0367&MI_00
%USB\VID_1307&PID_0367.DeviceDesc%=DriverInstall, USB\VID_1307&PID_0360&MI_00
%USB\VID_1307&PID_0367.DeviceDesc%=DriverInstall, USB\VID_1307&PID_0368&MI_01
%USB\VID_1307&PID_0367.DeviceDesc%=DriverInstall, USB\VID_1307&PID_0361&MI_01

;------------------------------------------------------------------------------
;  WINDOWS XP Installation
;------------------------------------------------------------------------------

[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
MHIKEY10.sys,,,2

[DriverInstall.NT.Services]
Addservice = MHIKEY10, 2, DriverService

[DriverService]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\MHIKEY10.sys
AddReg=EventLogAddReg

[EventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\system32\drivers\MHIKEY10.sys"
HKR,,TypesSupported,0x00010001,7
HKR,"Parameters","TransferTimeOut",0x10001,0000

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="(Generic USB smartcard reader)"
USB\VID_1307&PID_0367.DeviceDesc="MultiCard reader 1.0"
INSTDISK="Installation Disc for Generic USB smartcard reader"

Last edited by ut0ugh1; 11-26-2012 at 01:28 PM.
 
Old 11-26-2012, 01:48 PM   #10
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Don't know where you got 1307 in the grep or why it matters.


Quote:
; MHIKEY10.inf UT360 FOR WinXP
; version 1.00A
; Copyright (c) 2007 CHTL
Win XP drivers? In linux? Are you using this under wine? Otherwise, I would uninstall win drivers. They can only do harm and are unlikely to do good.
 
Old 11-26-2012, 11:48 PM   #11
ut0ugh1
Member
 
Registered: Oct 2011
Posts: 33

Original Poster
Rep: Reputation: Disabled
you told me to search also in udev rules so a quich search for vendor id 1307
Code:
cat /etc/udev/rules.d/* | grep 1307
no i am not using in wine under linux i pasted inf file to let you know if there is some flip-flop function that switch the usb sim reader to microsd writer changing its pid.
 
Old 11-27-2012, 10:04 AM   #12
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
I did suggest looking around in that the correct devices were created.

The pci id doesn't get listed in udev rules. Otherwise, that would limit a rule to one device from one manufacturer, and udev rules would be gigabytes!

I'm glad you explained about the .inf file. It calls it a 'smartcard reader.' I wouldn't get too hung up on what windoze calls it. If there is a switch, find it. I would try the reader in another box for starters.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup SIM card reader on Ubuntu joboy Linux - Hardware 2 06-25-2011 12:10 PM
USB SIM Card Reader...Any Linux editing Programs? Balarabay1 Linux - Hardware 4 02-01-2011 09:23 PM
Multicard Reader Problem SteveSch Debian 9 12-13-2006 05:19 PM
multicard reader problem in Slack 10.2 surfer63 Slackware 4 10-31-2005 01:31 PM
USB Multicard reader problem mazzo Linux - Hardware 1 02-26-2005 07:27 AM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration