I took this subject from your FAQ. It was related to the Epson printers
that need some extra header. I have a similar looking problem with my
Canon S200 on my AMD Schuttle Board with OHCI driver. A cat or echo on
the driver does not lead to a print or even any sort of error or staus
message on terminal. The cat or echo is just sent to oblivion and the
terminal prompt appears ready after milliseconds. 

usbfs and printer driver are compiled into the kernel and initialized
correctly in /proc/bus/usb and /dev/usb. When I plug off and in the usb
cable linux recognizes that and prints related messages on screen that
seem to be correct: 

plugging off:

usb.c: USB disconnect on device 8
printer.c: usblp0: removed

plugging in (device number increments by default?):

hub.c: USB new device connect on bus1/1, assigned device number 9
Manufacturer: Canon
Product: S200
SerialNumber: 301PMK
printer.c: usblp0: USB Bidirectional printer dev 9 if 0 alt 0


sh scripts/ver_linux offers this: 

Linux orgc 2.4.16 #3 Mit M�r 27 16:34:35 CET 2002 i686 unknown 

Gnu C                  2.95.3 
Gnu make               3.79.1 
binutils               2.11.2 
util-linux             2.11i 
mount                  2.11i 
modutils               2.4.12 
e2fsprogs              1.25 
PPP                    2.4.1 
Linux C Library        2.2.4 
Dynamic linker (ldd)   2.2.4 
Procps                 found 
Net-tools              1.60 
Kbd                    1.06 
Sh-utils               2.0 
Modules Loaded         


lspci gives this information: 

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB
(rev 06) (prog-if 10 [OHCI]) 
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- 
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- 
Latency: 16 (20000ns max), cache line size 08 
Interrupt: pin D routed to IRQ 11 
Region 0: Memory at dc001000 (32-bit, non-prefetchable) [size=4K] 


The content of /proc/bus/usb/devices is: 

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 4 
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0 
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1 
P:  Vendor=0000 ProdID=0000 Rev= 0.00 
S:  Product=USB OHCI Root Hub 
S:  SerialNumber=db864000 
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=255ms 
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0 
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1 
P:  Vendor=04a9 ProdID=106a Rev= 1.02 
S:  Manufacturer=Canon 
S:  Product=S200 
S:  SerialNumber=301PMK 
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=  64 Ivl=  0ms 
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms 


The boot logfile shows: 

usb.c: registered new driver usbdevfs 
usb.c: registered new driver hub 
usb-ohci.c: USB OHCI at membase 0xdb864000, IRQ 11 
usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] AMD-756 [Viper]
USB 
usb-ohci.c: AMD756 erratum 4 workaround 
usb.c: new USB bus registered, assigned bus number 1 
usb.c: kmalloc IF d7ecc8a4, numif 1 
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 
usb.c: USB device number 1 default language ID 0x0 
Product: USB OHCI Root Hub 
SerialNumber: db864000 
hub.c: USB hub found 
hub.c: 4 ports detected 
hub.c: standalone hub 
hub.c: ganged power switching 
hub.c: global over-current protection 
hub.c: Port indicators are not supported 
hub.c: power on to power good time: 2ms 
hub.c: hub controller current requirement: 0mA 
hub.c: port removable status: RRRR 
hub.c: local power source is good 
hub.c: no over-current condition exists 
hub.c: enabling power on all ports 
usb.c: hub driver claimed interface d7ecc8a4 
usb.c: call_policy add, num 1 -- no FS yet 
usb.c: registered new driver usblp 
printer.c: v0.8:USB Printer Device Class driver 

hub.c: port 1 connection change 
hub.c: port 1, portstatus 101, change 1, 12 Mb/s 
hub.c: port 1, portstatus 103, change 10, 12 Mb/s 
hub.c: USB new device connect on bus1/1, assigned device number 2 
usb.c: kmalloc IF d7ecccb4, numif 1 
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3 
usb.c: USB device number 2 default language ID 0x409 
Manufacturer: Canon 
Product: S200 
SerialNumber: 301PMK 
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 
usb.c: usblp driver claimed interface d7ecccb4 
usb.c: call_policy add, num 2 -- no FS yet


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to