View previous topic :: View next topic |
Author |
Message |
macaiba n00b
Joined: 18 Nov 2002 Posts: 4
|
Posted: Thu Dec 26, 2002 4:44 pm Post subject: usb printer :: detected :: testing failure :: no log |
|
|
Hi,
I have already read the 'Gentoo printer guide'. Tried to load the usb and printer modules but the printer has not been detected.
After a long time trying the see what was going wrong I decided to build them in the kernel instead. Doing this the system detected the printer !
That was the first step.
Then I tried to do a simple test, as in the guide : cat test.txt > /dev/usb/lp0
Nothing was printed and no error appeared in the log (I use metalog) !
Does anyone have any idea about what could be wrong or what other test could I do ?
Some information on the system:
- printer : Canon-S100
- # cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
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=cf820000
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
- # cat /proc/bus/usb/drivers
usbdevfs
hub
0- 15: usblp
- # ls -l /dev/usb/lp0
crw-rw---- 1 root root 180, 0 Dec 31 1969 /dev/usb/lp0
--
regards,
Macaíba. |
|
Back to top |
|
|
dj_choco Tux's lil' helper
Joined: 13 Oct 2002 Posts: 144 Location: North America
|
Posted: Sun Jan 12, 2003 12:38 am Post subject: |
|
|
I have a similar issue:
I use metalog, and do not even have /var/log/messages
- $ cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=1080
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= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=2b11 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=PSC 2170 Series
S: SerialNumber=MY29HD41000G
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=cc Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=86(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=07(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0458 ProdID=0007 Rev= 0.00
S: Manufacturer=HP
S: Product=HP USB WHEEL MOUSE
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
- $ cat /proc/bus/usb/drivers
usbdevfs
hub
hid
usb-storage
0- 15: usblp
48- 63: usbscanner
- $ ls -l /dev/usb/lp0
crw-rw---- 1 root root 180, 0 Dec 31 1969 /dev/usb/lp0
When I cat filename > /dev/usb/lp0, the printer pulls paper, then stops.
I can not figure out how else to test this |
|
Back to top |
|
|
|
|
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
|
|