Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sony USB Camera
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
stingray72
n00b
n00b


Joined: 08 May 2002
Posts: 40
Location: Atlanta, GA

PostPosted: Wed Sep 25, 2002 2:53 pm    Post subject: Sony USB Camera Reply with quote

Howdy folks, I have gotten Gentoo installed on main system now and am trying to get everything set up the way I like. I'm having trouble with USB devices, specifically my Sony DSC-P5 Camera. I had it working in Red Hat 7.3 but have not been able to figure it out in gentoo yet. I tried mimicing(sp?) my Red Hat kernel but I'm still having problems.

I know the camera uses the USB-Mass Storage driver as well as UCHI or OHCI (can't remember which one but I think UHCI). I've also got SCSI support enabled. I've been through http://www.linux-usb.org and can't seem to find where my problem might be. Does anyone have any tips that might make my switch to gentoo easier? Should these modules be "written into the kernel" or insmoded after boot up? Or anything else like that? I'm at a loss here

Thanks folks

stingray72
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Wed Sep 25, 2002 5:25 pm    Post subject: Reply with quote

I tried in the kernel for my multi card reader which is supposed to be fully USB 2 compatible, and had no luck.
I'm interested in answers about this issue too....
Back to top
View user's profile Send private message
stingray72
n00b
n00b


Joined: 08 May 2002
Posts: 40
Location: Atlanta, GA

PostPosted: Thu Sep 26, 2002 2:38 am    Post subject: Reply with quote

Ok, I figured out how to make a Sony DSC-P5 Camera work. So this is going to be a little mini-how to assuming that one knows all the commands I'm going to type.

Ok, on the kernel recompile I made sure that everything I chose relating to the camera was a module (i.e. not compiled into the kernel) Those included

(M)-USB Support
(M)-USB Mass Storage support
(M)-USB UHCI support
(*)USB Preliminary Filestystem <-- This was compiled into the kernel

(M)-SCSI Support
(M)-SCSI Disk Support
(M)-SCSI generic support

Then under filesystems I made sure /proc was selected and the microsoft filesystems which my camera uses (FAT)

After all that I did my normal make dep bzImage modules modules_install and booted into my new kernel.

After reboot I did

Code:

modprobe ide-scsi
modprobe usbcore
modprobe usb-uhci
modprobe usb-storage


Then I did a

Code:
cdrecord -scanbus
to see if my camera was on scsibus:1 (which it was).

Then I did

Code:
ls-l /dev/sd*
to see which device was symbolically linked to the camera. Looked like this

Code:

lr-xr-xr-x    1 root     root           33 Sep 25 12:37 /dev/sda -> scsi/host0/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           33 Sep 25 13:00 /dev/sdb -> scsi/host1/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           34 Sep 25 13:00 /dev/sdb1 -> scsi/host1/bus0/target0/lun0/part1


Since I knew my camera was on scsibus:1 from before I did a

Code:

mount /dev/sdb1 /mnt/camera


to see if it worked and when it did I added it to my /etc/fstab.

No sweat huh? Only took me all afternoon
:lol:

Remeber, I am by no means an expert but this worked for me, I hope it helps someone else out.[/code]
Back to top
View user's profile Send private message
Jonteponte
n00b
n00b


Joined: 19 Oct 2002
Posts: 33

PostPosted: Sun Nov 10, 2002 12:10 pm    Post subject: Reply with quote

Umm, I feel kind of stupid here, but where does SCSI come into the picture? Is the camera memory card seen as a SCSI disc or what?
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Nov 10, 2002 6:48 pm    Post subject: Reply with quote

Quote:
Is the camera memory card seen as a SCSI disc or what?

Yes, seen as a scsi disk and mounted using vfat.
Back to top
View user's profile Send private message
taveren
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2002
Posts: 145
Location: London, Ontario

PostPosted: Sat Nov 16, 2002 3:22 pm    Post subject: devfsd.conf? Reply with quote

stingray72:
Do you have anything in your devfsd.conf for the sda* devices? I'm trying to get my Sony TRV25 to work. Everything sees the camear (usbview, /proc/scsi...), but theres no devices created for it when I turn it on (or bootup).

UPDATE:

Nevermind. I didn't have SCSI Disk support, which is why there was no device. Duh.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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