Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: čtěčka SD karet nepřipojí kartu automaticky - pouze ručně  (Přečteno 3464 krát)

karlitos

  • Stálý člen
  • **
  • Příspěvků: 1057
  • Bioinformatics - solutions in-silico
    • homepage
Zdravím
Mám UMTS čudl Huawei E220 se zabudovanou čtečkou micro-sd karet. Po vložení karty a zastrčení do USB to tu kartu nepřipojí automaticky.
Kód: [Vybrat]
sudo mount /dev/sdb1 /mnt ale funguje. Hledám - zatím - marně jak toto zautomatizovat.
lsusb :
Kód: [Vybrat]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 010: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
mount :
Kód: [Vybrat]
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
dmesg tail :
Kód: [Vybrat]
[ 5178.072062] usb 1-5: new high speed USB device using ehci_hcd and address 3
[ 5178.215460] usb 1-5: configuration #1 chosen from 1 choice
[ 5178.466801] usb 1-5: USB disconnect, address 3
[ 5178.531686] usbcore: registered new interface driver usbserial
[ 5178.531728] USB Serial support registered for generic
[ 5178.596123] usbcore: registered new interface driver usbserial_generic
[ 5178.596133] usbserial: USB Serial Driver core
[ 5178.609540] USB Serial support registered for GSM modem (1-port)
[ 5178.609635] usbcore: registered new interface driver option
[ 5178.609641] option: v0.7.2:USB Driver for GSM modems
[ 5178.714996] Initializing USB Mass Storage driver...
[ 5178.715074] usbcore: registered new interface driver usb-storage
[ 5178.715079] USB Mass Storage support registered.
[ 5185.624057] usb 1-5: new high speed USB device using ehci_hcd and address 4
[ 5185.767503] usb 1-5: configuration #1 chosen from 1 choice
[ 5185.775062] option 1-5:1.0: GSM modem (1-port) converter detected
[ 5185.775302] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[ 5185.775494] option 1-5:1.1: GSM modem (1-port) converter detected
[ 5185.775632] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[ 5185.775829] option 1-5:1.2: GSM modem (1-port) converter detected
[ 5185.775987] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB2
[ 5185.776122] option 1-5:1.3: GSM modem (1-port) converter detected
[ 5185.776177] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB3
[11358.736392] eth1: Media Link Off
[11998.000040] ------------[ cut here ]------------
[11998.000068] WARNING: at /build/buildd/linux-2.6.31/net/sched/sch_generic.c:246 dev_watchdog+0x1f6/0x210()
[11998.000078] Hardware name: TravelMate 2430
[11998.000085] NETDEV WATCHDOG: eth1 (sis900): transmit queue 0 timed out
[11998.000092] Modules linked in: usb_storage option usbserial binfmt_misc ppdev bridge stp bnep dm_crypt joydev snd_intel8x0 snd_ac97_codec ac97_bus arc4 snd_pcm_oss snd_mixer_oss snd_pcm pcmcia ecb snd_seq_dummy iptable_filter snd_seq_oss ip_tables x_tables psmouse serio_raw b43 mac80211 cfg80211 led_class shpchp i2c_sis96x yenta_socket rsrc_nonstatic pcmcia_core snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc lp parport dm_raid45 xor usbhid sis900 mii ssb sis_agp agpgart ramzswap xvmalloc lzo_decompress lzo_compress
[11998.000241] Pid: 0, comm: swapper Not tainted 2.6.31-20-generic #58-Ubuntu
[11998.000249] Call Trace:
[11998.000269]  [<c01450ad>] warn_slowpath_common+0x6d/0xa0
[11998.000281]  [<c04b3b36>] ? dev_watchdog+0x1f6/0x210
[11998.000291]  [<c04b3b36>] ? dev_watchdog+0x1f6/0x210
[11998.000303]  [<c0145126>] warn_slowpath_fmt+0x26/0x30
[11998.000314]  [<c04b3b36>] dev_watchdog+0x1f6/0x210
[11998.000329]  [<c0127b68>] ? default_spin_lock_flags+0x8/0x10
[11998.000343]  [<c0573bda>] ? _spin_lock_irqsave+0x2a/0x40
[11998.000359]  [<c030b4cb>] ? blk_rq_timed_out_timer+0x10b/0x120
[11998.000372]  [<c01500b7>] run_timer_softirq+0x117/0x200
[11998.000387]  [<c0169904>] ? tick_handle_oneshot_broadcast+0x124/0x130
[11998.000399]  [<c04b3940>] ? dev_watchdog+0x0/0x210
[11998.000413]  [<c014b2b0>] __do_softirq+0x90/0x1a0
[11998.000428]  [<c018f93c>] ? handle_IRQ_event+0x4c/0x140
[11998.000438]  [<c015049b>] ? do_timer+0x1b/0x20
[11998.000449]  [<c01925e4>] ? move_native_irq+0x14/0x50
[11998.000462]  [<c014b3fd>] do_softirq+0x3d/0x40
[11998.000472]  [<c014b53d>] irq_exit+0x5d/0x70
[11998.000485]  [<c0104f50>] do_IRQ+0x50/0xc0
[11998.000496]  [<c01039f0>] common_interrupt+0x30/0x40
[11998.000510]  [<c036de3a>] ? acpi_idle_enter_simple+0xfd/0x130
[11998.000522]  [<c036db79>] acpi_idle_enter_bm+0xc2/0x286
[11998.000533]  [<c046c397>] ? menu_select+0x37/0xe0
[11998.000544]  [<c046b5d6>] cpuidle_idle_call+0x76/0xd0
[11998.000555]  [<c010202c>] cpu_idle+0x8c/0xd0
[11998.000569]  [<c0561ce5>] rest_init+0x55/0x60
[11998.000581]  [<c07928c0>] start_kernel+0x2e6/0x2ec
[11998.000591]  [<c0792406>] ? unknown_bootoption+0x0/0x19e
[11998.000607]  [<c079207c>] i386_start_kernel+0x7c/0x83
[11998.000614] ---[ end trace cf0ea90eb78661a3 ]---
[11998.000625] eth1: Transmit timeout, status 00000004 00000000
[11998.737102] eth1: Media Link On 100mbps full-duplex
[12227.817116] usb 1-5: USB disconnect, address 4
[12227.817223] option: option_instat_callback: error -108
[12227.817620] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[12227.817675] option 1-5:1.0: device disconnected
[12227.817946] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[12227.817994] option 1-5:1.1: device disconnected
[12227.818257] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[12227.818306] option 1-5:1.2: device disconnected
[12227.818563] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[12227.818608] option 1-5:1.3: device disconnected
[12290.996060] usb 1-5: new high speed USB device using ehci_hcd and address 5
[12291.139520] usb 1-5: configuration #1 chosen from 1 choice
[12291.147077] option 1-5:1.0: GSM modem (1-port) converter detected
[12291.147261] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[12291.157749] usbcore: deregistering interface driver option
[12291.157871] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[12291.157891] option 1-5:1.0: device disconnected
[12291.157916] USB Serial deregistering driver GSM modem (1-port)
[12291.160996] usbcore: deregistering interface driver usbserial_generic
[12291.161029] USB Serial deregistering driver generic
[12291.161048] usbcore: deregistering interface driver usbserial
[12291.283150] usb 1-5: USB disconnect, address 5
[12291.284145] usbcore: registered new interface driver usbserial
[12291.284186] USB Serial support registered for generic
[12291.408116] usbcore: registered new interface driver usbserial_generic
[12291.408126] usbserial: USB Serial Driver core
[12291.417723] USB Serial support registered for GSM modem (1-port)
[12291.417816] usbcore: registered new interface driver option
[12291.417823] option: v0.7.2:USB Driver for GSM modems
[12298.544061] usb 1-5: new high speed USB device using ehci_hcd and address 6
[12298.687567] usb 1-5: configuration #1 chosen from 1 choice
[12298.695391] option 1-5:1.0: GSM modem (1-port) converter detected
[12298.695635] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[12298.695895] option 1-5:1.1: GSM modem (1-port) converter detected
[12298.696061] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[12298.703131] scsi4 : SCSI emulation for USB Mass Storage devices
[12298.716193] scsi5 : SCSI emulation for USB Mass Storage devices
[12298.716359] usb-storage: device found at 6
[12298.716362] usb-storage: waiting for device to settle before scanning
[12298.726550] usb-storage: device found at 6
[12298.726555] usb-storage: waiting for device to settle before scanning
[12303.717517] usb-storage: device scan complete
[12303.719691] scsi 5:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[12303.720995] sd 5:0:0:0: Attached scsi generic sg2 type 0
[12303.734769] usb-storage: device scan complete
[12303.737557] scsi 4:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[12303.737863] sd 5:0:0:0: [sdb] 1888256 512-byte logical blocks: (966 MB/922 MiB)
[12303.742118] sd 5:0:0:0: [sdb] Write Protect is off
[12303.742124] sd 5:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[12303.742128] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[12303.755897] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[12303.755908]  sdb: sdb1
[12303.769837] sr1: scsi-1 drive
[12303.770005] sr 4:0:0:0: Attached scsi CD-ROM sr1
[12303.770127] sr 4:0:0:0: Attached scsi generic sg3 type 5
[12303.778340] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[12303.778350] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[12508.905329] usb 1-5: USB disconnect, address 6
[12508.905432] option: option_instat_callback: error -108
[12508.905823] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[12508.905888] option 1-5:1.0: device disconnected
[12508.906160] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[12508.906206] option 1-5:1.1: device disconnected
[12515.668060] usb 1-5: new high speed USB device using ehci_hcd and address 7
[12515.811529] usb 1-5: configuration #1 chosen from 1 choice
[12515.824110] scsi6 : SCSI emulation for USB Mass Storage devices
[12515.824367] usb 1-5: USB disconnect, address 7
[12515.824373] usb-storage: device found at 7
[12515.824375] usb-storage: waiting for device to settle before scanning
[12515.827126] usbcore: deregistering interface driver option
[12515.827163] USB Serial deregistering driver GSM modem (1-port)
[12515.831073] usbcore: deregistering interface driver usbserial_generic
[12515.831107] USB Serial deregistering driver generic
[12515.831126] usbcore: deregistering interface driver usbserial
[12515.980222] usbcore: registered new interface driver usbserial
[12515.980242] USB Serial support registered for generic
[12515.980263] usbcore: registered new interface driver usbserial_generic
[12515.980266] usbserial: USB Serial Driver core
[12515.982875] USB Serial support registered for GSM modem (1-port)
[12515.982911] usbcore: registered new interface driver option
[12515.982914] option: v0.7.2:USB Driver for GSM modems
[12523.184047] usb 1-5: new high speed USB device using ehci_hcd and address 8
[12523.327574] usb 1-5: configuration #1 chosen from 1 choice
[12523.332550] option 1-5:1.0: GSM modem (1-port) converter detected
[12523.332786] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[12523.333076] option 1-5:1.1: GSM modem (1-port) converter detected
[12523.333217] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[12523.336540] scsi9 : SCSI emulation for USB Mass Storage devices
[12523.342726] scsi10 : SCSI emulation for USB Mass Storage devices
[12523.342892] usb-storage: device found at 8
[12523.342895] usb-storage: waiting for device to settle before scanning
[12523.344082] usb-storage: device found at 8
[12523.344085] usb-storage: waiting for device to settle before scanning
[12528.341532] usb-storage: device scan complete
[12528.343579] scsi 10:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[12528.344868] sd 10:0:0:0: Attached scsi generic sg2 type 0
[12528.360619] usb-storage: device scan complete
[12528.362970] scsi 9:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[12528.364495] sd 10:0:0:0: [sdb] 1888256 512-byte logical blocks: (966 MB/922 MiB)
[12528.368235] sd 10:0:0:0: [sdb] Write Protect is off
[12528.368243] sd 10:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[12528.368246] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[12528.385160] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[12528.385170]  sdb: sdb1
[12528.394810] sr1: scsi-1 drive
[12528.394964] sr 9:0:0:0: Attached scsi CD-ROM sr1
[12528.395071] sr 9:0:0:0: Attached scsi generic sg3 type 5
[12528.409453] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[12528.409463] sd 10:0:0:0: [sdb] Attached SCSI removable disk
[14512.755991] usb 1-5: USB disconnect, address 8
[14512.756117] option: option_instat_callback: error -108
[14512.756513] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[14512.756567] option 1-5:1.0: device disconnected
[14512.756843] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[14512.756890] option 1-5:1.1: device disconnected
[14519.516063] usb 1-5: new high speed USB device using ehci_hcd and address 9
[14519.660571] usb 1-5: configuration #1 chosen from 1 choice
[14519.677798] scsi11 : SCSI emulation for USB Mass Storage devices
[14519.677952] usb 1-5: USB disconnect, address 9
[14519.677961] usb-storage: device found at 9
[14519.677963] usb-storage: waiting for device to settle before scanning
[14519.677974] usbcore: deregistering interface driver option
[14519.678008] USB Serial deregistering driver GSM modem (1-port)
[14519.681365] usbcore: deregistering interface driver usbserial_generic
[14519.681395] USB Serial deregistering driver generic
[14519.681417] usbcore: deregistering interface driver usbserial
[14519.837070] usbcore: registered new interface driver usbserial
[14519.837090] USB Serial support registered for generic
[14519.837111] usbcore: registered new interface driver usbserial_generic
[14519.837114] usbserial: USB Serial Driver core
[14519.839764] USB Serial support registered for GSM modem (1-port)
[14519.846939] usbcore: registered new interface driver option
[14519.846944] option: v0.7.2:USB Driver for GSM modems
[14527.016051] usb 1-5: new high speed USB device using ehci_hcd and address 10
[14527.159477] usb 1-5: configuration #1 chosen from 1 choice
[14527.167491] option 1-5:1.0: GSM modem (1-port) converter detected
[14527.167732] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[14527.172983] option 1-5:1.1: GSM modem (1-port) converter detected
[14527.173149] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[14527.175977] scsi14 : SCSI emulation for USB Mass Storage devices
[14527.177188] scsi15 : SCSI emulation for USB Mass Storage devices
[14527.177461] usb-storage: device found at 10
[14527.177468] usb-storage: waiting for device to settle before scanning
[14527.199661] usb-storage: device found at 10
[14527.199666] usb-storage: waiting for device to settle before scanning
[14532.177560] usb-storage: device scan complete
[14532.179996] scsi 15:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[14532.181309] sd 15:0:0:0: Attached scsi generic sg2 type 0
[14532.197684] usb-storage: device scan complete
[14532.199872] scsi 14:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[14532.200438] sd 15:0:0:0: [sdb] 1888256 512-byte logical blocks: (966 MB/922 MiB)
[14532.203795] sd 15:0:0:0: [sdb] Write Protect is off
[14532.203800] sd 15:0:0:0: [sdb] Mode Sense: 0f 0e 00 00
[14532.203804] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[14532.218778] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[14532.218790]  sdb: sdb1
[14532.235670] sr1: scsi-1 drive
[14532.235835] sr 14:0:0:0: Attached scsi CD-ROM sr1
[14532.235946] sr 14:0:0:0: Attached scsi generic sg3 type 5
[14532.246863] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[14532.246873] sd 15:0:0:0: [sdb] Attached SCSI removable disk

Googlil jsem a nšel jenom odkazy že "to nefunguje, resp. jak kartu připojit manuálně. Budu moc vděčný kdyby někdo znal řešení. Díky - K
Lenovo ThinkCentre A61 912073G
Athlon X2 5000+ 4GB RAM Nvidia Geforce 9500GT
Linux Mint 9 Isadora , Win7 64Bit

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #1 kdy: 26 Března 2010, 20:44:14 »
Pokud se ti automaticky nepřipojí do /media, pak bude odpovědí na tvou otázku udev.

Návod je třeba na anglické wiki
https://help.ubuntu.com/community/UsbDriveDoSomethingHowto
(sice píšou, že návod je nefunkční, ale teď jsem to zkoušel na své flešce, a funguje to, samozřejmě trochu upravené)
http://www.openstreetmap.org - mapy celého světa "wiki style"

karlitos

  • Stálý člen
  • **
  • Příspěvků: 1057
  • Bioinformatics - solutions in-silico
    • homepage
Re: čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #2 kdy: 26 Března 2010, 21:39:02 »
Moc děkuju. Studoval jsem ten návod, ale problém začal už u
Kód: [Vybrat]
udevadm info --attribute-walk --name /dev/sdb1 jelikož nemůžu identifikovat odpovídající sekci.
Kód: [Vybrat]
  looking at device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3/host5/target5:0:0/5:0:0:0/block/sdb/sdb1':
    KERNEL=="sdb1"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{partition}=="1"
    ATTR{start}=="62"
    ATTR{size}=="1887838"
    ATTR{alignment_offset}=="0"
    ATTR{stat}=="      16      226      550      212        0        0        0        0        0      180      212"

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3/host5/target5:0:0/5:0:0:0/block/sdb':
    KERNELS=="sdb"
    SUBSYSTEMS=="block"
    DRIVERS==""
    ATTRS{range}=="16"
    ATTRS{ext_range}=="256"
    ATTRS{removable}=="1"
    ATTRS{ro}=="0"
    ATTRS{size}=="1888256"
    ATTRS{alignment_offset}=="0"
    ATTRS{capability}=="53"
    ATTRS{stat}=="      32      287     1166      436        0        0        0        0        0      356      436"

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3/host5/target5:0:0/5:0:0:0':
    KERNELS=="5:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="3"
    ATTRS{vendor}=="HUAWEI  "
    ATTRS{model}=="MMC Storage     "
    ATTRS{rev}=="2.31"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x5e"
    ATTRS{iodone_cnt}=="0x5e"
    ATTRS{ioerr_cnt}=="0x0"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="240"

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3/host5/target5:0:0':
    KERNELS=="target5:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3/host5':
    KERNELS=="host5"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5/1-5:1.3':
    KERNELS=="1-5:1.3"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb-storage"
    ATTRS{bInterfaceNumber}=="03"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="02"
    ATTRS{bInterfaceClass}=="08"
    ATTRS{bInterfaceSubClass}=="06"
    ATTRS{bInterfaceProtocol}=="50"
    ATTRS{modalias}=="usb:v12D1p1003d0000dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="0"

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1/1-5':
    KERNELS=="1-5"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}=="Qualcomm Configuration"
    ATTRS{bNumInterfaces}==" 4"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="500mA"
    ATTRS{urbnum}=="530"
    ATTRS{idVendor}=="12d1"
    ATTRS{idProduct}=="1003"
    ATTRS{bcdDevice}=="0000"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="6"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="HUAWEI Technology"
    ATTRS{product}=="HUAWEI Mobile"

  looking at parent device '/devices/pci0000:00/0000:00:03.3/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="131"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0206"
    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{version}==" 2.00"
    ATTRS{maxchild}=="6"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.31-20-generic ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:00:03.3"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:03.3':
    KERNELS=="0000:00:03.3"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x1039"
    ATTRS{device}=="0x7002"
    ATTRS{subsystem_vendor}=="0x1025"
    ATTRS{subsystem_device}=="0x0082"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="23"
    ATTRS{local_cpus}=="ff"
    ATTRS{local_cpulist}=="0-7"
    ATTRS{modalias}=="pci:v00001039d00007002sv00001025sd00000082bc0Csc03i20"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    ATTRS{companion}==""

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

No a když jsem to tak studoval a viděl o jakou hroznou alchymii se jedná tak asi zkusím nejdřív měsíc počkat na Lucid. Podle toho co jsem četl o tomhle bugu tak se jedná o problém se současným kernelem. Budu doufat že se to v Lucidu vyřeší, jinak to holt ještě zkusím znovu.
Díky za snahu - K
Lenovo ThinkCentre A61 912073G
Athlon X2 5000+ 4GB RAM Nvidia Geforce 9500GT
Linux Mint 9 Isadora , Win7 64Bit

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #3 kdy: 26 Března 2010, 22:04:10 »
Nemělo by to být tak těžké, v tvém případě bych do daného .rules souboru dal něco jako
Kód: [Vybrat]
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/usr/local/bin/muj.sh"
A do skriptu /usr/local/bin/muj.sh dal ten příkaz mount z prvního příspěvku. Nezapomeň (jako já) mu dát spustitelný příznak.
http://www.openstreetmap.org - mapy celého světa "wiki style"

karlitos

  • Stálý člen
  • **
  • Příspěvků: 1057
  • Bioinformatics - solutions in-silico
    • homepage
Re: čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #4 kdy: 27 Března 2010, 12:19:23 »
Díky moc
Tu kartu to opravdu automaticky připojilo - celkem jsem koukal. Problémy jsou jen dva :
1. karta je v adresáří /media/usb-čudl připojená jen pro čtení
Kód: [Vybrat]
drwxr-xr-x 2 root root 4096 1970-01-01 01:00 usb-čudl2. karta se mi sice připojí, ale nevytvoří se odkaz na ploše ani v Thunaru ...
Obávám se že bod 2. by asi zabral dalši laborování a myslím že to opravdu není zcela nezbytné. Jestli někdo zná rychlou odpověď tak to rád zkusím, ale jinak to asi necháme být a počkám na Lucid.

Každopádně mockrát díky za vše  :)
Lenovo ThinkCentre A61 912073G
Athlon X2 5000+ 4GB RAM Nvidia Geforce 9500GT
Linux Mint 9 Isadora , Win7 64Bit

bob.saint-clare

  • Aktivní člen
  • *
  • Příspěvků: 127
Re:čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #5 kdy: 25 Dubna 2019, 23:41:48 »
Zdravím! Přestalo mi načítavat sd karty, ani 2.5 čtečka, ani usb čtečka nic. Ani ručně to nejde. Vypíše pouze viz příloha. Poradíte? Ubuntu Mate 18.
Děkuji

bob.saint-clare

  • Aktivní člen
  • *
  • Příspěvků: 127
Re:čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #6 kdy: 01 Května 2019, 22:30:58 »
Nikdo neví proč to nejde?

Gmisiycs

  • Aktivní člen
  • *
  • Příspěvků: 323
    • Helltracker
Re:čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #7 kdy: 02 Května 2019, 01:25:13 »
Chyba při připojování zařízení. Zařízení neobsahuje validní blok.

Čtečka bude asi víc v pohodě, ale karta se počítači nelíbí. Má neznámý souborový systém, anebo je poškozena.

Nejhorší možností je chřipka současné doby, která nemá lék. Uzavřeně-otevřený systém Androidu umožňuje výrobcům, aby se nezajímali o normy, respektive je úmyslně obcházeli. Kupodivu s tím přišel (ve známé historii) jako první Jablko, nikoliv MalýMěký. Migrace karty mezi zařízeními může být znemožněna pouhou vychcaností výrobce přístroje, kdy se data na kartu zapisují tak, aby byly čitelné jen z určitého zařízení. Pro jejich přenos je pak nutno zakoupit drobné doplňky přímo od výrobce. Za pouhých pár desítek dolarů můžete mít krabičku se třemi tranzistory v ceně 0.025 haléře.

Může to být i daleko prozaičtější. Karta je poškozena, nebo má pro Linnux neznámý souborový systém. Pak je řešení jednoduché. Zformátovat kartu.

Ovšem jestli zformátovat v PC anebo v  mobilu/foťáku/atd. to zjistíte jen gůglením. Jen vy totiž víte, jaký máte OS, jakou značku a typ karty, mezi jakými zařízeními se ji snažíte přenášet. S námi jste se o to nějak zapomněl podělit.

Nezměnil jste náhodou nedávno některé ze zařízení, mezi kterými karta putuje?
« Poslední změna: 02 Května 2019, 01:29:42 od Gmisiycs »
R.I.P. Trusty Tahr - nezapomenu...

juwa2

  • Závislák
  • ***
  • Příspěvků: 4935
Re:čtěčka SD karet nepřipojí kartu automaticky - pouze ručně
« Odpověď #8 kdy: 02 Května 2019, 03:53:27 »
Zásadní je informace zda se takto chovají všechny karty či pouze jediná. A zda se takto chová i zcela nová, prázdná karta naformátovaná na tomto PC/OS.

 

Provoz zaštiťuje spolek OpenAlt.