PDA

View Full Version : Can't Get USB Camera Working in 2.6.9



sakiZ
12-21-2005, 02:42 PM
I've been trying to bring my 2.6.9 kernel up to full functionality in my Knoppix 3.7 HD installation.
I used to not even be able to boot to this kernel. But now that I've got it working, I want to switch from the 2.4 kernel to the 2.6.9.

I got my scanner working. Next stop the USB camera drive!

I turn the camera on while plugged into the USB port. I get this dmesg:

usb 4-2: new full speed USB device using address 6
scsi5 : SCSI emulation for USB Mass Storage devices
Vendor: Fujifilm Model: FinePix 1400Zoom Rev: 1000
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 00 32 02 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi5, channel 0, id 0, lun 0

So far so good.

So, then I add a line in my fstab like so:

/dev/sda1 /mnt/Camera users,noauto,rw 0 0

But I get this error message when I go to mount it:

mount: fs type rw not supported by kernel

In the 2.4.27 kernel the drive is seen as /dev/sdb1 and shows up just fine.

Any Linux experts out there know what I should do?

Am I playing with fire trying to get two kernels fully up to speed in Knoppix 3.7?

sakiZ

sakiZ
01-03-2006, 02:50 AM
Ok, I found out why I can't use my usb camera in the 2.6.9 kernel: it's the ub module bug.

Underscore and others have written about this in this forum. This bug is one reason why Knoppix is not a good candidate for a HDD installation.

Anyway, can this module be removed? Or deactivated?

I'm reading that if you can do either one, usb-storage starts working again in the 2.6.9 kernel.

sakiZ

sakiZ
01-03-2006, 03:21 AM
OK,

I disabled the buggy ub driver in

/lib/modules/2.6.9/kernel/drivers/block/ub.ko

I renamed the ub.ko driver so that it now will not load.

I get nasty error messages now on boot up about this but now the camera drive shows up just fine as

/dev/sdb1 /mnt/Camera just like in kernel 2.4.27

Is there a cleaner way to disable this driver?

Underscore, are you out there?

sakiZ