Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I've read the FAQ on digital cameras, still can't figure it
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sat Apr 05, 2003 1:49 pm    Post subject: I've read the FAQ on digital cameras, still can't figure it Reply with quote

out. I have a Sony DSC-P71 with a memory stick. I am trying to connect using an USB port. In Redhat all I had to do was type camera:/
in Konqueror and it would mount my camera and show the images. I have all of the USB and SCSI (not sure if mine is acting as a SCSI mass storage device) enabled in the kernel, but not as modules. I have tried to emerge hotplug and then run the script, but on startup it says hotplug fails at start. I probably don't have it configured corrrectly. Thanks
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sat Apr 05, 2003 2:17 pm    Post subject: Reply with quote

I have a DSC-S70 and have had some luck with getting it mountable. Have a look here for all the info I think is relevant to getting it to that state. It might not be perfect, but I'm still "fine tuning" my system.

Do you get any additional messages at the end of "dmesg" when you connect the camera? If not, what does dmesg display when you have booted with the camera connected? Post either one.
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 1:28 am    Post subject: Reply with quote

This is the output from dmesg:

hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x54c/0x4e) is not claimed by any active driver.

I'm confused??
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 1:51 am    Post subject: Reply with quote

Here's what appears at the end of my dmesg output when I attach my camera to the USB.

Quote:
hub.c: new USB device 00:1f.2-2, assigned address 3
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Model: Sony DSC Rev: 2.10
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 253696 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
/dev/scsi/host1/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3


Which kernel are you using? I'm on 2.4.20-gentoo-sources-r2 at the moment. The development kernels I've tried do not behave the same. (they see my scanner, but not the camera...) I haven't tried other kernels yet.

Post your USB, SCSI, file-system, and partition types sections of your /usr/src/linux/.config Do they look similar to what I posted in that other thread?

Also, here is every usb related entry that I get from dmesg's output when booting:
Quote:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xb400, IRQ 19
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1f.4 to 64
uhci.c: USB UHCI at I/O 0xb000, IRQ 23
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usbscanner
scanner.c: 0.4.6:USB Scanner Driver
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x220d) is not claimed by any active driver. <- scanner
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:41 am    Post subject: Reply with quote

ok, here is the SCSI section

# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_DEBUG_QUEUES=y
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:43 am    Post subject: Reply with quote

Here is the partition type:

# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_SMB_NLS is not set
# CONFIG_NLS is not set
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:44 am    Post subject: Reply with quote

Here is the first part of the USB

# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
CONFIG_USB_OHCI=y
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_HID=y
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:45 am    Post subject: Reply with quote

The second part

# CONFIG_USB_HIDINPUT is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
CONFIG_USB_DC2XX=y
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:48 am    Post subject: Reply with quote

First part of Filesystem

# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_FAT_FS is not set
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:49 am    Post subject: Reply with quote

second part

# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 3:49 am    Post subject: Reply with quote

Here's what I have currently, may have changed since I posted them. Still works for me.
Code:

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_SUPERMOUNT=y
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT3_FS_XATTR_SHARING is not set
# CONFIG_EXT3_FS_XATTR_USER is not set
# CONFIG_EXT3_FS_XATTR_TRUSTED is not set
# CONFIG_EXT3_FS_POSIX_ACL is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
# CONFIG_JFS_FS is not set
# CONFIG_JFS_POSIX_ACL is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_PROC_CONFIG=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XATTR_SHARING is not set
# CONFIG_EXT2_FS_XATTR_USER is not set
# CONFIG_EXT2_FS_XATTR_TRUSTED is not set
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SMB_NLS is not set
CONFIG_NLS=y

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
CONFIG_USB_HID=y
# CONFIG_USB_HIDINPUT is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=y
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USBDNET is not set
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set


The USB and SCSI sections above should let you see the devices, which for me appear in /dev/scsi/host1/bus0/target0/lun0/ You should get a "disc" a "part1" and a "generic" device listing in that directory. The following symlinks appear automatically in /dev that point to those devices:
Code:
lr-xr-xr-x    1 root     root           33 Apr  6 11:34 /dev/sda -> scsi/host1/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           34 Apr  6 11:34 /dev/sda1 -> scsi/host1/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           36 Apr  6 11:34 /dev/sg0 -> scsi/host1/bus0/target0/lun0/generic


To be able to mount the device you see, the filesystem section definitely needs at least vfat, I have the others MS types in for good measure.

Take care if you manually edit ".config". Make a backup of your existing one first. These sections of my .config are from 2.4.20-gentoo-sources-r2. If you are using a different kernel, I would try to make these chnages using make menuconfig. Help for each option gives the name of the option.

Ensure that the filesystems for your hard drive are included. :)
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 2:18 pm    Post subject: Reply with quote

My SCSI and USB sections are similar to yours, I do not have vfat file system support, but I don't have anything listed under /dev/scsi ??

The USB and SCSI sections above should let you see the devices, which for me appear in /dev/scsi/host1/bus0/target0/lun0/ You should get a "disc" a "part1" and a "generic" device listing in that directory. The following symlinks appear automatically in /dev that point to those devices:

Do I need to re-compile the kernel and allow for vfat support, by the way, I have all kernel settings as Yes not modules. Or do I need to try a different kernel? Thanks for all your help.
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 4:04 pm    Post subject: Reply with quote

".config" determines what is included in the kernel or built as modules, so for any changes made to it to take effect, you will need to recompile your kernel. Sorry, I had assumed you knew that.

Try building one with the settings that work for me - follow the building a kernel part of the build intructions - and see if your boot messages change.

Copy the new kernel to a new filename, not overwriting the old one, eg
Code:

linux # cp arch/i386/boot/bzImage /boot/bzImage-02

Don't forget to mount /boot first!

edit /boot/grub/grub.conf to add the new, and keep the old. the top of mine looks like this:
Code:
default 0
timeout 4
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo 2.4.20-gs-r2-04
root (hd0,0)
kernel (hd0,0)/boot/bzImage-2.4.20-gs-r2-04 root=/dev/hda5 hdd=ide-scsi

title=Gentoo 2.4.20-gs-r2-03
root (hd0,0)
kernel (hd0,0)/boot/bzImage-2.4.20-gs-r2-03 root=/dev/hda5 hdd=ide-scsi


You want to be able to choose your current kernel that at least boots if the new one doesn't, for whatever reason.

The /dev/scsi stuff will dynamically appear when the camera is connected, or if it is connected while booting.

Are you running the same kernel?

You will need vfat, as the camera formats the stick to that filesystem (afaik). This assumes, of course, that our cameras work similarly! But I think that's a safe enough assumption. Don't forget the partitions section either. But that is for mounting the "drive" (mem stick). We need to get to the point where you see the devices first.
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 4:19 pm    Post subject: Reply with quote

Ok, I will re-compile the kernel and use make menuconfig.

Hopefully once I add in Vfat support, at least I will be able to see the camera. Am somewhat confused as to why even if I have SCSI and USB similar to yours I still can't see it in /dev/scsi. But I will re-compile, I did know that much at least, and I use Lilo, so don't know how to add a second kernel in LILO.........
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 5:58 pm    Post subject: Reply with quote

It's the USB and SCSI sections that should determine whether you see the device as a scsi drive.

The partition and filesystem sections are then needed for mounting the partition.

Configuring a kernel can be quite frustrating... Even if you make it exactly the same, there's no guarantee it will work for you.

Good luck.
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 7:22 pm    Post subject: Reply with quote

Now that I have re-compiled the kernel, I get this output from dmesg

hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x54c/0x4e) is not claimed by any active driver.
Adding Swap: 522104k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,4), internal journal
nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue Aug 27 15:56:48 PDT 2002
NVRM: AGPGART: unknown chipset
NVRM: AGPGART: aperture: 64M @ 0xf8000000
NVRM: AGPGART: aperture mapped from 0xf8000000 to 0xd19e9000
NVRM: AGPGART: mode 4x
NVRM: AGPGART: allocated 16 pages

Is this NVRM AGPGART have to do with the camera, or is this something having to do with the nvidia-kernel
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 8:40 pm    Post subject: Reply with quote

It doesn't look like we are any closer yet.

May be a dumb question, but you are booting with the new kernel?

Do your USB and SCSI sections of .config now match mine exactly?

I'm pretty sure you will need the
Code:

USB Support --->
   Support for USB (CONFIG_USB=y)
   Preliminary USB device filesystem (CONFIG_USB_DEVICEFS=y)

The help for that option basically states that "/proc filesystem support" -
Code:
File Systems --->
   /proc file system support

work together and should also be enabled.

Code:
USB Support --->
   UHCI Alternate Driver (JE) support
   USB Mass Storage support


Code:
SCSI Support --->
   SCSI support  (CONFIG_SCSI=y)
   SCSI Support ---> SCSI Generic Support  (CONFIG_CHR_DEV_SG=y)
   SCSI Support ---> SCSI Disk Support  (CONFIG_BLK_DEV_SD=y)


What might also be relevant, is the Input core support section.
Code:
Input Core Support --->
   Input Core Support
      Event Interface Support

The help for event interface support states "Say Y here if you want your USB or ADB HID device events be accessible under char device 13:64+ - /dev/input/eventX in a generic way. This is the future ...". This might tie in with the option:
Code:
USB Support --->
   USB Human Interface Device (full HID) support

that I have enabled.

Beyond that, I can't think of anything else.

The AGPGART stuff is to do with nvidia.
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 9:21 pm    Post subject: Reply with quote

"May be a dumb question, but you are booting with the new kernel?"

Yes I am.

"Do your USB and SCSI sections of .config now match mine exactly? "

Yes

None of the following I had enabled, re-compiling now ;)

P.S. Thanks for the help, you wouldn't also know how to install gentoo-artwork themes, I have emerged them, but don't know how to activate them.





Input Core Support --->
Input Core Support
Event Interface Support


The help for event interface support states "Say Y here if you want your USB or ADB HID device events be accessible under char device 13:64+ - /dev/input/eventX in a generic way. This is the future ...". This might tie in with the option:


Code:


USB Support --->
USB Human Interface Device (full HID) support
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Sun Apr 06, 2003 9:57 pm    Post subject: Reply with quote

Ok, kernel is re-compiled, this is the latest dmesg:

hub.c: new USB device 00:1f.2-1, assigned address 4
usb.c: USB device 4 (vend/prod 0x54c/0x4e) is not claimed by any active driver.

Maybe I need a new kernel, I am using Vanilla-sources
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Apr 06, 2003 10:14 pm    Post subject: Reply with quote

drayco2000 wrote:
P.S. Thanks for the help, you wouldn't also know how to install gentoo-artwork themes, I have emerged them, but don't know how to activate them.

In KDE, the control center has a themes section, haven't played with it much as I like the 3.1 default look a lot. If you are using other than KDE, I have no idea...

Haven't tried vanilla-sources... It would be missing a lot of the newer/experimental stuff, but would be more stable. Try Gentoo-Sources, that's what I have it working with in 2.4.20-r2. Gaming-Sources are also said to be very good, but I haven't tried it and can't say if the camera would work with it.
Back to top
View user's profile Send private message
NorthGoingZax
Apprentice
Apprentice


Joined: 03 Dec 2002
Posts: 189

PostPosted: Mon Apr 07, 2003 1:42 am    Post subject: Reply with quote

I'm having USB problems too.

First off, I have no /proc/bus/sub directory. When I try to create one it
"mkdir /proc/bus/usb" it says 'no such file or dierectory' yet /proc/bus/pci exists !

So I created just a /usb direcotry and tried 'mount -t usbdevfs none /usb' but it says ' fstype usbdevfs not supported by kernel' .

In my .config it says

CONFIG_USB_DEVICEFS=y

What's wrong ?
Back to top
View user's profile Send private message
NorthGoingZax
Apprentice
Apprentice


Joined: 03 Dec 2002
Posts: 189

PostPosted: Mon Apr 07, 2003 3:43 am    Post subject: Reply with quote

Hey, it works !

I recompiled the kernel with the usb and scsi stuff as modules, and mounted the filesystem as usbfs, not usbdevfs.
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Mon Apr 07, 2003 6:04 am    Post subject: Reply with quote

NorthGoingZax wrote:
Hey, it works !


That was my reaction when it first worked too! I have everything compiled into the kernel except the AGPGART so I can switch between nvidia's and xfree's module, as well as the ALSA sound modules, and the lm_sensors modules.

Have never figured out the advantage of not building stuff into the kernel.

Are you using Gentoo-Sources-2.4.20-r2 as well? If other, please let us know.

Gentoo-Sources-2.4.20-r2 has a bug where it doesn't read the kernel command line for setting cdroms to be emulated via the "/dev/hdx=ide-scsi" parameter. A real pain.
Back to top
View user's profile Send private message
drayco2000
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 126

PostPosted: Mon Apr 07, 2003 9:52 am    Post subject: Reply with quote

If I re-compile the USB and SCSI sections as modules, how do I load those modules?
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Mon Apr 07, 2003 2:26 pm    Post subject: Reply with quote

I'm not sure enough about loading the modules to give you an answer on that one, but bearing in mind that this might not be the best answer...

modprobe adds modules to a running kernel.

lsmod lists modules that are running.

/etc/modules.autoload is a file that lists all modules to be automatically loaded at boot time.

I have since played with gaming-sources, and vanilla-sources, and got the camera working with both of them the same as it does for gentoo-sources.

I can post the whole ".config"s for any or all if you like.
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
Goto page 1, 2  Next
Page 1 of 2

 
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