usb and drivers using usb to drive devices

lynx.abraxas at freenet.de lynx.abraxas at freenet.de
Sun Oct 24 10:45:33 PDT 2004


Hallo

I have build an lfs for my laptop now and got to the point where I want to 
configure USB. After compiling and installing the usb-drivers for my 
mass-storagde device (usb-storage) and for my usb video device (USB Win TV FM 
with usbvision driver) successfully I modprobe usbvision and get the message 
that the driver has been registered as Video Grabber. Just after I connect my 
USB Win TV to the USB port I get the message including the VendID and ProdID 
and that the device is not claimed by any active driver. If I reverse the 
process it ends up the same way and usbvision and it's dependent modules are 
loaded. I checked my lfs-kernel with my old SuSE and it works on that with no 
problems to access the device /dev/video or /dev/radio. Here are are the 
messages:

In my SuSE distribution I get the following log-messages: 
 
hub.c: new USB device 00:03.1-2, assigned address 5 
usb.c: USB device 5 (vend/prod 0x573/0x4d31) is not claimed by any active 
driver. 
usb.c: registered new driver USBVision Video Grabber 
usbvision.c: usbvision_probe: Hauppauge WinTv-USB III (PAL) FM Model 568 found 
usbvision.c: usbvision[0]: registered video device /dev/video0 
usbvision.c: usbvision[0]: registered radio device /dev/radio0 
usbvision.c: usbvision USB Video Driver : 0.9.6 for Linux 2.4.19-2.4.21 + 
2.6.x, compiled at Sep 26 2004, 19:26:40 
saa7113_read 0xC8 
saa7113: status=c8 
saa7113_read 0x11 
saa7113: version=11 
saa7113: attaching SAA7113 at 0x4a 
i2c-core.o: client [saa7113] registered to adapter [usbvision #0](pos. 0). 
saa7113: attached to adapter usbvision #0 
tuner: chip found @ 0xc2 
tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles)) 
i2c-core.o: client [Philips PAL_BG (FI1216 and comp] registered to adapter 
[usbvision #0](pos. 1). 
i2c-core.o: adapter usbvision #0 registered as adapter 0. 
 
 
In my linux from scratch it stops after those: 

hub.c: new USB device 00:03.1-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x573/0x4d31) is not claimed by any active 
driver.
i2c-core.o: i2c core module version 2.6.1 (20010830)
Linux video capture interface: v1.00
usb.c: registered new driver USBVision Video Grabber
usbvision.c: usbvision USB Video Driver : 0.9.6 for Linux 2.4.19-2.4.21 + 
2.6.x, compiled at Oct 20 2004, 13:08:49
 
USBvision is already loaded or if loaded afterwards it doesn't change any 
messages. The device major and minor number under my lfs are the same as in 
SuSE and as given in the Kernel device file. 
It seems as if my lfs usb doesn't cooperate probably with the loaded drivers 
like usbvision or also not with my mass-storage device but my USB-mouse 
works. I have the /proc/bus/usb/ mounted and in /proc/bus/usb/drivers the 
registered drivers are mentioned.
/proc/bus/usb/drivers:
        usbdevfs
         hub
 96-111: hiddev
         hid
         USBVision Video Grabber
(usbcore is compiled into the kernel; but had it as a module once as well)

ps -ef:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 19:17 ?        00:00:04 init [3]  
root         2     1  0 19:17 ?        00:00:00 [keventd]
root         3     1  0 19:17 ?        00:00:00 [ksoftirqd_CPU0]
root         4     1  0 19:17 ?        00:00:00 [kswapd]
root         5     1  0 19:17 ?        00:00:00 [bdflush]
root         6     1  0 19:17 ?        00:00:00 [kupdated]
root         8     1  0 19:17 ?        00:00:00 [khubd]
root         9     1  0 19:17 ?        00:00:00 [kreiserfsd]
root        74     1  0 19:17 ?        00:00:00 syslogd -m 0
root        77     1  0 19:17 ?        00:00:00 klogd -c 1 -2
root       149     1  0 19:17 ?        00:00:00 gpm -m /dev/psaux -t imps2 -M 
-m /dev/input/mice -t imps2
root       184     1  0 19:17 tty1     00:00:00 -bash
root       185     1  0 19:17 tty2     00:00:00 -bash
root       188     1  0 19:17 tty5     00:00:00 /sbin/agetty tty5 9600
root       189     1  0 19:17 tty6     00:00:00 /sbin/agetty tty6 9600

lsmod|sort:

Module                  Size  Used by    Not tainted
ac97_codec             12012   0  (autoclean) [i810_audio]
fat                    29784   0  (autoclean) [vfat]
hid                    22148   0  (unused)
i2c-algo-usb            2528   0  [usbvision]
i2c-core               12804   0  [i2c-algo-usb]
i810_audio             23288   2  (autoclean)
ide-scsi                8720   0 
input                   3264   0  [keybdev mousedev hid]
keybdev                 1792   0  (unused)
mousedev                3768   1 
nls_cp437               4348   2  (autoclean)
nls_iso8859-1           2844   3  (autoclean)
ntfs                   71212   1  (autoclean)
soundcore               3428   2  (autoclean) [i810_audio]
usb-ohci               17672   0  (unused)
usbvision              63772   0  (unused)
vfat                    9324   2  (autoclean)
videodev                5664   0  [usbvision]

I also already tried the hotplug script but it didn't help either. I could 
emagine that there are some options to usb missing in my lfs or a 
configuration in a file. 
I also wonder why in my lfs I haven't ever got a message like: 
can't find module char-majorX-minorY 
Shouldn't those turn up when I try to acces my /dev/video with numbers 81 0 
because the kernel should try to load the module with klogd? They even don't 
turn up if I delet my /etc/modules.conf? 

Has anybody any hints or help for me what I'm missing to do or what's wrong? 
Do I need some additional modules, parameters or configtools? 
Many thanks in advance 



More information about the blfs-support mailing list