Martin, There have been many updates to the USB-2 driver since 2.4.20, so updating to a newer kernel is recommened, 2.4.23-rc2 was released today,so you might want to give it a try.
Steve On Tue, 2003-11-18 at 19:56, Martin DjernÃs wrote: > Hi, > > First I have to say that this is my first ever venue into Linux USB, so > I might ask rather stupid sounding questions. > > Also let me start from the top explaning my problem / question. > > I have an USB 2.0 printer (Canon i960), which is very fast printing via > USB 2.0 directly from Windows. I have now installed that one on my Linux > machine and exported as a raw printer via cups and Samba to the Windows > clients. > > First I installed it as a USB 1.1 device, since my Linux machine didn't > have an USB 2.0 controller. That worked fine, but I wanted to get the > speed back. > > So I bought an USB 2.0 controller, which also can be used to print but I > still don't have the speed of direct Windows printing. > > So now I'm wondering if I can do something. > > The system is vanilla RH9 (kernel 2.4.20-8). > > The controller is a VIA controller: > [EMAIL PROTECTED] usb]# lspci -v | grep HCI > 00:01.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) > (prog-if 00 [UHCI]) > 00:0c.0 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00 > [UHCI]) > 00:0c.1 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00 > [UHCI]) > 00:0c.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if > 20 [EHCI]) > > I did load the ehci-hcd module: > [EMAIL PROTECTED] usb]# lsmod | grep hci > ehci-hcd 18472 0 (unused) > usbcore 73088 1 [printer hid ehci-hcd] > > Usbtree (found on the website) shows USB2: > [EMAIL PROTECTED] ~]# ./usbtree > /: Bus 01.Port 1: Dev 1, Class=root_hub, > Driver=ehci-hcd/4p, 480M > |__ Port 2: Dev 2, If 0, > Class=print, Driver=usblp, 480M > > The usb devices also see the right things: > [EMAIL PROTECTED] usb]# more devices > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.04 > S: Manufacturer=Linux 2.4.20-8 ehci-hcd > S: Product=VIA Technologies, Inc. USB 2.0 > S: SerialNumber=00:0c.2 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=04a9 ProdID=1088 Rev= 1.05 > S: Manufacturer=Canon > S: Product=i960 > S: SerialNumber=4128ee > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > But my print speed is the same with USB 1.1 and 2.0! > > Any idea what I do wrong / could do to improove the speed. > > Martin > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users