Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Help getting a Canon Vixia / Legria HFS10 mounted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
koan
Apprentice
Apprentice


Joined: 01 May 2006
Posts: 169
Location: Melbourne

PostPosted: Mon Sep 20, 2010 2:27 am    Post subject: [Solved] Help getting a Canon Vixia / Legria HFS10 mounted Reply with quote

Hello,

I am trying to get a camcorder recognised by my gentoo install, and I suspect I have something missing from the kernel. Here is a dmesg of a working attachment, on an opensuse box with generic kernel:

Code:

[2514763.115773] usb 2-1: new high speed USB device using ehci_hcd and address 2
[2514763.254186] usb 2-1: New USB device found, idVendor=04a9, idProduct=31dc
[2514763.254191] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2514763.254195] usb 2-1: Product: Video Camera
[2514763.254197] usb 2-1: Manufacturer: CANON Inc.
[2514763.254200] usb 2-1: SerialNumber: A20000000000000000000001C453D000
[2514763.254334] usb 2-1: configuration #1 chosen from 1 choice
[2514763.255407] scsi7 : SCSI emulation for USB Mass Storage devices
[2514763.255599] usb-storage: device found at 2
[2514763.255602] usb-storage: waiting for device to settle before scanning
[2514764.256921] scsi 7:0:0:0: Direct-Access     CANON    LEGRIA HF S10    1.00 PQ: 0 ANSI: 2
[2514764.257148] sd 7:0:0:0: Attached scsi generic sg8 type 0
[2514764.263304] scsi 7:0:0:1: Direct-Access     CANON    LEGRIA HF S10    1.00 PQ: 0 ANSI: 2
[2514764.263499] sd 7:0:0:1: Attached scsi generic sg9 type 0
[2514764.265055] sd 7:0:0:0: [sdh] Attached SCSI removable disk
[2514764.266563] usb-storage: device scan complete
[2514764.272320] sd 7:0:0:1: [sdi] 63078400 512-byte logical blocks: (32.2 GB/30.0 GiB)
[2514764.273541] sd 7:0:0:1: [sdi] Write Protect is off
[2514764.273546] sd 7:0:0:1: [sdi] Mode Sense: 03 00 00 00
[2514764.273549] sd 7:0:0:1: [sdi] Assuming drive cache: write through
[2514764.278793] sd 7:0:0:1: [sdi] Assuming drive cache: write through
[2514764.278802]  sdi: sdi1
[2514764.309820] sd 7:0:0:1: [sdi] Assuming drive cache: write through
[2514764.309827] sd 7:0:0:1: [sdi] Attached SCSI disk


This is what I get on my gentoo box:

Code:

usb 2-2.2: new high speed USB device using ehci_hcd and address 12
usb 2-2.2: New USB device found, idVendor=04a9, idProduct=31dc
usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2.2: Product: Video Camera
usb 2-2.2: Manufacturer: CANON Inc.
usb 2-2.2: SerialNumber: A20000000000000000000001C453D000
scsi15 : usb-storage 2-2.2:1.0
scsi 15:0:0:0: Direct-Access     CANON    LEGRIA HF S10    1.00 PQ: 0 ANSI: 2
sd 15:0:0:0: Attached scsi generic sg3 type 0
sd 15:0:0:0: [sdc] Attached SCSI removable disk


It is like usb-storage doesn't kick in and scan the device (note that usb hard disks and flash disks work fine). Here are the usb storage settings I have:

Code:

$ grep USB_STORAGE .config
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
# also be needed; see USB_STORAGE Help for more info
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set


Any ideas what I am missing?


Last edited by koan on Tue Oct 26, 2010 12:39 am; edited 1 time in total
Back to top
View user's profile Send private message
bmac
n00b
n00b


Joined: 11 Oct 2010
Posts: 2

PostPosted: Tue Oct 12, 2010 1:22 am    Post subject: Re: Help getting a Canon Vixia / Legria HFS10 mounted Reply with quote

I had the same problem with the Canon Vixia HF21 which is also a dual flash memory camcorder. I was about to buy a card reader, so I read a few articles about kernel configuration for card readers. As I read, I found that there was one configuration that I needed for the camcorder flash drive to be recognized: The piece that I was missing was the "probe all LUNs" kernel setting: CONFIG_SCSI_MULTI_LUN.

Without this setting, the kernel sees only the external card slot on the camcorder. In my case, it was empty and the SCSI module was reporting media not found.

With CONFIG_SCSI_MULTI_LUN set to Y, the camcorder works! Apparently the setting allows the SCSI module to be able to see both the internal flash memory and the external flash memory on the camcorder.

For reference, here's the article that I found for configuring the kernel for card readers: http://www.cs.sfu.ca/~ggbaker/personal/cf-lin.

Here's the kernel settings related to usb-storage that I'm using.
# SCSI device support
CONFIG_SCSI_MOD=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
# CONFIG_SCSI_PROC_FS is not set
# SCSI support type (disk, tape, CD-ROM)
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=m
CONFIG_USB_HID=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_EHCI_HCD=m
ONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
Back to top
View user's profile Send private message
koan
Apprentice
Apprentice


Joined: 01 May 2006
Posts: 169
Location: Melbourne

PostPosted: Tue Oct 26, 2010 12:38 am    Post subject: Reply with quote

Hi bmac,

Thanks for posting this. I had added CONFIG_SCSI_MULTI_LUN as part of a less than scientific approach (enable anything that could potentially fix it) but had only just gotten around to testing.

I think you are right, and this is the one that is key to it working.

Cheers,

Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum