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. sudo mount /dev/sdb1 /mnt
ale funguje. Hledám - zatím - marně jak toto zautomatizovat.
lsusb :
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 :
/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 :
[ 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