View previous topic :: View next topic |
Author |
Message |
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Sat Jan 14, 2006 6:21 am Post subject: Camera no longer being seen by 2.6 kernel [Solved] |
|
|
Hi all,
I have a newly installed version of Gentoo on my existing hardware. Under my old 2.4 kernel and install, my Sony F707 was correctly seen as a sdc* or sdd* in the /dev directlory. Under this install I cannot get it to come up.
I have udev working correctly because I am using it to setup my ipod. But the camera, even when plugged into the same USB socket doesn't appear. I've checked the system logs and dmesg and nothing appears there either which would indicate to me that the issues is deeper than udev. The camera appears to be seeing the PC fine as it drops into file transfer mode the moment I plug it in. Yet nothing on the computer indicates it is there.
Can anyone offer any suggestions ? I suspect perhaps a kernel driver but cannot figure out which one. The iPod works fine and is seen as a scsi device, but when I plug the camera in - nothing
ciao
Derek. _________________ Regards,
Derek
<nb>Reality is not what you think</nb>
Last edited by drekka on Sun Jan 15, 2006 12:25 pm; edited 1 time in total |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Jan 14, 2006 6:46 am Post subject: Re: Camera no longer being seen by 2.6 kernel |
|
|
drekka wrote: | Hi all,
I have a newly installed version of Gentoo on my existing hardware. Under my old 2.4 kernel and install, my Sony F707 was correctly seen as a sdc* or sdd* in the /dev directlory. Under this install I cannot get it to come up.
I have udev working correctly because I am using it to setup my ipod. But the camera, even when plugged into the same USB socket doesn't appear. I've checked the system logs and dmesg and nothing appears there either which would indicate to me that the issues is deeper than udev. The camera appears to be seeing the PC fine as it drops into file transfer mode the moment I plug it in. Yet nothing on the computer indicates it is there.
Can anyone offer any suggestions ? I suspect perhaps a kernel driver but cannot figure out which one. The iPod works fine and is seen as a scsi device, but when I plug the camera in - nothing
ciao
Derek. |
Well, you need, mainly, scsi support and usb storage support. Since your ipod is being detected as /dev/sd<something> then scsi is ok into your kernel. Now you need the usb storage support and all should go fine.
Code: |
Device Drivers --->
USB support --->
<*> USB Mass Storage support
|
I am assuming that your usb is working ok (surely your ipod is a usb device). That should be the last piece of the puzzle. |
|
Back to top |
|
|
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Sat Jan 14, 2006 7:39 am Post subject: |
|
|
Thanks for the reply. USB mass Storage is active in the kernel as you specified. So is scsi and everything else it needs.
The iPod is a USB model and to be safe I used the same physical USB port when plugging both devices in. Either a fluke of nature has done something wierd to the camera in between system rebuilds, or I've missed something. I just cannot figure out why nothing is appearing in dmesg for the camera when it is for the iPod.
To test I just plugged the camera into a Windoz box which instantly recognised it as a Sony and configured it as a USB drive. So the camera and cable are fine.
This has got me gobsmacked ! _________________ Regards,
Derek
<nb>Reality is not what you think</nb> |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Jan 14, 2006 4:42 pm Post subject: |
|
|
Umh! If dmesg cant see it then I suppose that we have a problem. These drivers are all loaded, aren't they? Dmesg should detect, at least, the device when you plug in (regardless if the usbstorage driver is loaded or not. Are you sure that no message regarding a new usb device is shown? This seems so weird. By the way, do you know if the pod uses the usbstorage driver? If it works for the ipod then it should for the camera as well... |
|
Back to top |
|
|
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Sun Jan 15, 2006 12:12 pm Post subject: |
|
|
When I plug the iPod in I get the following appearing in the /var/log/everything/current log:
Code: |
Jan 15 11:10:33 [kernel] usb 1-1: new high speed USB device using ehci_hcd and address 9
Jan 15 11:10:33 [kernel] scsi2 : SCSI emulation for USB Mass Storage devices
Jan 15 11:10:38 [kernel] Vendor: Apple Model: iPod Rev: 1.62
Jan 15 11:10:38 [kernel] SCSI device sdc: 39063023 512-byte hdwr sectors (20000 MB)
Jan 15 11:10:38 [kernel] sdc: Write Protect is off
Jan 15 11:10:38 [kernel] SCSI device sdc: 39063023 512-byte hdwr sectors (20000 MB)
Jan 15 11:10:38 [kernel] sdc: Write Protect is off
Jan 15 11:10:38 [kernel] Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0
Jan 15 11:10:38 [scsi.agent] disk at /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0
|
So it would appear that the kernel is seeing the USB system and scsi emulation just fine.
I've just now unplugged the iPod and plugged in a 128M Twinmos USB memory stick. Aboslutely nothing appeared in the log. Not a single line.
So now I get this with both a USB memory stick and the camera. I would think it's a driver issue, but I would expect that the kernel would detect a new device and post a message before it when looking for a driver. Unless the camera and memory stick as some how seen different when they are plugged in.
Any thoughts ?
ciao
Derek _________________ Regards,
Derek
<nb>Reality is not what you think</nb> |
|
Back to top |
|
|
drekka Tux's lil' helper
Joined: 06 Jul 2003 Posts: 111
|
Posted: Sun Jan 15, 2006 12:25 pm Post subject: |
|
|
FIXED !
It just occured to me that the two devices where odler than the iPod and USB 1 devices. Therefore it could be that. So I checked the kernel and found that I had not enabled the USB OHCI support which is the older USB standard. Added it, compiled and rebooted ans viola !
Thanks for your time.
Derek
Now very _________________ Regards,
Derek
<nb>Reality is not what you think</nb> |
|
Back to top |
|
|
|