
Ubuntu日本語フォーラム

ログインしていません。
以前使えた, USB接続のメモリーカード リーダ ライター が
うまく使えなくなっています.
該当する物
アドテック
ADTEC Multi Card Reader Writer
Model number : AD-MCR/W
中身はYE Data社のOEM製品の様です.
YE Data
Model number : YD-8V14
使用メモリーカードは
SONY Memory Stick 16MB , 同64MB
SanDisk CompactFlash MEMORY CARD 16MB SDCFB
ADTEC CompactFlash AD-CFG 3.3/5V DUAL 32MB
Grub起動メニューから, Kernelを一つ前のものを選んで起動すると,
自動でマウント動作してしまいます.
不具合が出ている(?)バージョン
kernel 2.6.17-11-generic
ちゃんと動作しているバージョン
kernel 2.6.17-10-generic
ちゃんと動作すると, /media の下に usbdisk ホルダが出来て,
メモリーカード内容が見える様になります.desktopにもホルダと
同じ名前のアイコンが出てきます.
/media/usbdisk/
fstab はこんな感じです.
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=8551d1f1-f84c-4def-8967-6c3517978de8 / ext3 defaults,mand,errors=remount-ro 0 1
# /dev/hda5
UUID=2670d3c9-d7a5-4416-835e-138608fd4e1d none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
#
dmesgではこんな出力が出ています.
#dmesg
(中略)
[17181808.764000] usb 1-2: new full speed USB device using uhci_hcd and address 3
[17181808.960000] usb 1-2: configuration #1 chosen from 1 choice
[17181809.792000] usbcore: registered new driver libusual
[17181809.908000] Initializing USB Mass Storage driver...
[17181809.908000] scsi0 : SCSI emulation for USB Mass Storage devices
[17181809.908000] usb-storage: device found at 3
[17181809.908000] usb-storage: waiting for device to settle before scanning
[17181809.908000] usbcore: registered new driver usb-storage
[17181809.908000] USB Mass Storage support registered.
[17181814.908000] usb-storage: device scan complete
[17181814.912000] Vendor: Y-E DATA Model: CF Card Reader Rev: 1.02
[17181814.912000] Type: Direct-Access ANSI SCSI revision: 02
[17181814.916000] Vendor: Y-E DATA Model: SM Card Reader Rev: 1.02
[17181814.916000] Type: Direct-Access ANSI SCSI revision: 02
[17181814.920000] Vendor: Y-E DATA Model: MS Card Reader Rev: 1.02
[17181814.920000] Type: Direct-Access ANSI SCSI revision: 02
[17181814.924000] Vendor: Y-E DATA Model: SD Card Reader Rev: 1.02
[17181814.924000] Type: Direct-Access ANSI SCSI revision: 02
[17181815.424000] sd 0:0:0:0: Attached scsi removable disk sda
[17181815.440000] sd 0:0:0:1: Attached scsi removable disk sdb
[17181815.460000] sd 0:0:0:2: Attached scsi removable disk sdc
[17181815.476000] sd 0:0:0:3: Attached scsi removable disk sdd
[17181815.876000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[17181815.876000] sd 0:0:0:1: Attached scsi generic sg1 type 0
[17181815.876000] sd 0:0:0:2: Attached scsi generic sg2 type 0
[17181815.880000] sd 0:0:0:3: Attached scsi generic sg3 type 0
[17181824.104000] SCSI device sdc: 31680 512-byte hdwr sectors (16 MB) # Memory Stick 16MB
[17181824.108000] sdc: Write Protect is off
[17181824.108000] sdc: Mode Sense: 1c 00 00 00
[17181824.108000] sdc: assuming drive cache: write through
[17181824.120000] SCSI device sdc: 31680 512-byte hdwr sectors (16 MB) # Memory Stick 16MB
[17181824.124000] sdc: Write Protect is off
[17181824.124000] sdc: Mode Sense: 1c 00 00 00
[17181824.124000] sdc: assuming drive cache: write through
[17181824.124000] sdc: sdc1
[17182763.444000] SCSI device sda: 31360 512-byte hdwr sectors (16 MB) # CompactFlash 16MB
[17182763.448000] sda: Write Protect is off
[17182763.448000] sda: Mode Sense: 1c 00 00 00
[17182763.448000] sda: assuming drive cache: write through
[17182763.460000] SCSI device sda: 31360 512-byte hdwr sectors (16 MB) # CompactFlash 16MB
[17182763.468000] sda: Write Protect is off
[17182763.468000] sda: Mode Sense: 1c 00 00 00
[17182763.468000] sda: assuming drive cache: write through
[17182763.468000] sda: sda1
[17183042.628000] SCSI device sda: 64000 512-byte hdwr sectors (33 MB) # CompactFlash 32MB
[17183042.632000] sda: Write Protect is off
[17183042.632000] sda: Mode Sense: 1c 00 00 00
[17183042.632000] sda: assuming drive cache: write through
[17183042.636000] SCSI device sda: 64000 512-byte hdwr sectors (33 MB) # CompactFlash 32MB
[17183042.644000] sda: Write Protect is off
[17183042.644000] sda: Mode Sense: 1c 00 00 00
[17183042.644000] sda: assuming drive cache: write through
[17183042.644000] sda: sda1
#
デバイスは認識されているけれど, オートマウントが止まっているっぽい?
オフライン
>デバイスは認識されているけれど, オートマウントが止まっているっぽい?
halとかdbusまわりは新しいカーネルでちゃんと動いてますでしょうか。
オフライン
お返事ありがとうございます.
具体的にどう調べて良いのか判らないのですが,
cat /dev/bus/usb/devices とすると, 以下の様に出てきます.
# cat /dev/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.17-11-generic uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0461 ProdID=4d03 Rev= 0.00
S: Manufacturer=Primax Elec.
S: Product=USB Wheel Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=057b ProdID=0020 Rev= 1.02
S: Manufacturer=Y-E DATA
S: Product=Silicon Media R/W
S: SerialNumber=00000000D67B
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
#
> S: Manufacturer=Y-E DATA
> S: Product=Silicon Media R/W
> S: SerialNumber=00000000D67B
と, いう行が含まれている 3つ目のメッセージのかたまり10行程が出ているのが該当デバイスです.
ケーブルを抜くとこの部分がなくなるのでリーダライタの認識は出来ているみたいです.
ここまでだと hal は動作していると考えていいんですか?
次はどこを調べたらいいのかが判りません.
すみません. 教えて頂けないでしょうかm(__;)m
…
[システム]-[システム管理]-[デバイスマネージャ]には, ”HEXA Media Drive 6-in-1 Card Reader Writer”
と出てきているみたいです.
あとはメモリーカードの認識処理に違いがあるということでしょうか…
最後の編集者: youre (2007-03-20 09:51:19)
オフライン
…とか,書いてたら, (↑)
今朝の自動アップデートをいれた直後に認識される様になってしまいました(^_^;
なにを入れたのか覚えてません. orz
対応されたか方に"ありがとうございます"とお伝え下さい.
オフライン
解決したようなので蛇足にしかなりませんが...
>具体的にどう調べて良いのか判らない
まずは、
$ ps ax | grep hald
あたりで、結果はこんな感じで出てきます。
7543 ? Ss 0:01 /usr/sbin/hald
7544 ? S 0:00 hald-runner
7575 ? S 0:00 /usr/lib/hal/hald-addon-acpi
7615 ? S 0:00 /usr/lib/hal/hald-addon-keyboard
7806 ? S 0:00 /usr/lib/hal/hald-addon-storage
7811 ? S 0:00 /usr/lib/hal/hald-addon-storage
12999 ? S 0:00 /usr/lib/hal/hald-addon-storage
13000 ? R 0:00 /usr/lib/hal/hald-addon-storage
13002 ? S 0:00 /usr/lib/hal/hald-addon-storage
13003 ? S 0:00 /usr/lib/hal/hald-addon-storage
13005 ? S 0:00 /usr/lib/hal/hald-addon-storage
13006 ? S 0:00 /usr/lib/hal/hald-addon-storage
13008 ? R 0:00 /usr/lib/hal/hald-addon-storage
13009 ? S 0:00 /usr/lib/hal/hald-addon-storage
この "hald-addon-storage" がリムーバブルメディアの自動認識を司っています。
これがシステムにつながっているデバイスで身に覚えのある個数以上出てればまずはそこは動いていると。
どのデバイスが自動認識されるようになっているかは、
$ lshal
で表示されるデバイス情報のなかで、
storage.media_check_enabled = true (bool)
とあるデバイスが自動認識状態にあります。lshalの表示一例...
udi = '/org/freedesktop/Hal/devices/storage_serial_Generic_STORAGE_DEVICE_000000009317_1'
info.addons = {'hald-addon-storage', 'hald-addon-storage'} (string list)
storage.policy.should_mount = true (bool)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Generic_STORAGE_DEVICE_0000
00009317_1' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_serial_Generic_STORAGE_DEVICE_000000009317_1'
(string)
storage.requires_eject = true (bool)
storage.hotpluggable = true (bool)
info.capabilities = {'storage', 'block'} (string list)
info.category = 'storage' (string)
info.product = 'STORAGE DEVICE' (string)
info.vendor = 'Generic' (string)
storage.removable = true (bool)
storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_5e3_70e_000000009317_if0' (
string)
storage.lun = 0 (0x0) (int)
storage.firmware_version = '9317' (string)
storage.serial = 'Generic_STORAGE_DEVICE_000000009317' (string)
storage.vendor = 'Generic' (string)
storage.model = 'STORAGE DEVICE' (string)
storage.drive_type = 'disk' (string)
storage.automount_enabled_hint = true (bool)
storage.media_check_enabled = true (bool)
storage.no_partitions_hint = false (bool)
storage.bus = 'usb' (string)
block.is_volume = false (bool)
block.minor = 16 (0x10) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sdb' (string)
上記の例だと、自動的にマウントされる予定のデバイスとして、/dev/sdbのUSBカードリーダ(の一部)が認識されています。
こうなっていない、となればまずはhalがおかしいということで。
最後の編集者: gmax (2007-03-20 10:40:21)
オフライン