* iPod を usb ポートに挿してもマウントできない [#h2d920f4]

- ページ: [[不具合報告/Plamo64-1.0]]
- 投稿者: TenForward
- 優先順位: 低
- 状態: 完了
- カテゴリー: 不具合報告
- 投稿日: 2011-06-14 (火) 15:53:51
- バージョン: 

** メッセージ [#hd82ebe0]
iPod を USB ポートに挿すと /lib64/udev/rules.d/85-usbmuxd.rules の記述により usbmuxd が起動するが,
 usbmuxd[4189]: [2] Could not open device 1-5: -3
というようなエラーでデバイスを開けないため,マウント不能.一旦 usbmuxd を kill して,foreground で起動すると,
 # usbmuxd -f -v -U usbmux
 [15:53:15.118][3] usbmuxd v1.0.7 starting up
 [15:53:15.118][4] Creating socket
 [15:53:15.119][3] Successfully dropped privileges to 'usbmux'
 [15:53:15.119][4] Initializing USB
 [15:53:15.120][4] Found new device with v/p 05ac:1299 at 1-5
 libusb couldn't open USB device /dev/bus/usb/001/005: Permission denied.
 libusb requires write access to USB device nodes.
 [15:53:15.120][2] Could not open device 1-5: -3
 [15:53:15.120][4] 0 devices detected
 [15:53:15.120][3] Initialization complete
 [15:53:15.120][4] New client on fd 8

*** 原因 [#k0fa86c9]
前述の例だと /dev/bus/usb/001/005 が iPod だが,この owner が root:root となっているのが問題で,正しくは usbmux:root となるべきな模様.

opensuse で似たような問題が.(以下はパッケージがusbmuxユーザを作らないとか言う問題も書かれているが,それとは別.)
-http://lists.suse.com/opensuse-bugs/2011-04/msg03929.html
-https://bugzilla.novell.com/show_bug.cgi?id=679159

/lib64/udev/rules.d/85-usbmuxd.rules の
 ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="/usr/sbin/usbmuxd -u -U usbmux"
の行を
 ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", OWNER="usbmux", RUN+="/usr/sbin/usbmuxd -u -U usbmux"
とすれば良い模様.

--------
- 近日中に Update package 作製します. -- [[TenForward]] &new{2011-06-14 (火) 16:09:34};

#comment

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS