Re: Any way to make USB work?
Joao Fraga <[email protected]> Fri, 12 Sep 2003 19:22:33 +0100
| Newsgroups | gmane.linux.suse.axp |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan Reinauer wrote:
> did you load the v4l modules? What does dmesg say?
The required v4l module for the Philips webcam is 'pwc'. After modprobing=
it, the /var/log/messages shows no errors:
kernel: Linux video capture interface: v1.00
kernel: pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam=
module version 8.6 loaded.
kernel: pwc Also supports the Askey VC010, Logitech Quickcam 3000 Pro,
Samsung MPC-C10 and MPC-C30,
kernel: pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC30=
0
and VCS-UM100.
kernel: usb.c: registered new driver Philips webcam
The same webcam, when connected to SuSE-IA32 shows exactly the same
messages plus the following crucial line:
kernel: pwc Registered as /dev/video1.
And, by the way, when connecting the webcam to the ES40, the following
messages appear in the log:
kernel: hub.c: USB new device connect on bus1/1, assigned device number 2=
kernel: usb.c: USB device not accepting new address=3D2 (error=3D-60)
kernel: hub.c: USB new device connect on bus1/1, assigned device number 3=
kernel: usb.c: USB device not accepting new address=3D3 (error=3D-60)
The 'pwc' module has never been tested by it's author on Alpha (only on
x86, PowerPC and ARM). I was just curious to know if it worked. We have a=
XP1000 here, I will try to test it there too.
> what errors?
Meanwhile I've achieved some success: I am able to mount the partitions
and run 'ls'. Cool!
Sometimes 'ls -l' takes a long time to return. Maybe there is something
wrong with the partition's FAT filesystem, judging by the kernel log:
kernel: SCSI disk error : host 1 channel 0 id 0 lun 0 return code =3D 700=
00
kernel: I/O error: dev 08:32, sector 265
kernel: bread in fat_access failed
kernel: Filesystem panic (dev 08:32).
kernel: FAT error
kernel: File system has been set read-only
After I format the drive's partitions, I will make further experiments.
> Since SuSE 8.1 Alpha Edition is an unsupported product, nobody really
> tested this I guess. I had my terratec usb camera working though
My colleague Carlos Rodrigues, made a patch for your xp1000usb module wit=
h
your fix for ES40:
diff -Nur xp1000usb-old/xp1000usb.c xp1000usb/xp1000usb.c
- --- xp1000usb-old/xp1000usb.c 2002-08-01 13:21:43.000000000 +0100
+++ xp1000usb/xp1000usb.c 2003-09-12 17:44:11.000000000 +0100
@@ -44,6 +44,11 @@
xp1000usb=3Dpci_find_slot(0,PCI_DEVFN(7,3));
if (!xp1000usb || xp1000usb->class!=3D0xc0310) {
+ printk(KERN_INFO "XP1000USB: XP1000 USB controller not found, maybe
this is an ES40, checking...\n");
+ xp1000usb=3Dpci_find_slot(0,PCI_DEVFN(0x13,0));
+ }
+
+ if (!xp1000usb || xp1000usb->class!=3D0xc0310) {
printk(KERN_WARNING "XP1000USB: no appropriate USB controller found.\n=
");
return -ENODEV;
}
And we may add the following line to /etc/modules
pre-install usb-ohci /sbin/insmod "-f" "/lib/modules/`uname
- -r`/kernel/drivers/usb/xpusb.o"
in order to load your module automatically on boot.
Thanks,
Jo=E3o Fraga
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/Yg7pArZ4X+sRIvsRAuz7AKCDaeUd1j+IPZW079YOGCw/zXcBigCfcdPl
nxGLEq3pJQ7yLU10Roq4fbk=3D
=3Du6Ik
-----END PGP SIGNATURE-----