[KLUG Members] Brother DCP7020/Sane error
Peter Bart
peter at petertheplumber.net
Tue Aug 22 23:40:58 EDT 2006
Nikolas Reist wrote:
> What version USB is your printer? 1.1 or 2.1? Your printer is not
> showing as attached and that would be the first place to start. 2.1 USB
> is compatible with 1.1. but not the other way around. If your printer
> is 2.1 and you only have 1.1 then you will not be able to get it to work
> properly. If that isn't the issue, then I would say your driver module
> is not loaded for the printer. If you had issues with cups in general
> make backups and do the three re's (reboot, reimage, rejoice). See if
> you can bring your equipment to the next general meeting.
Nik,
My printer/scanner is USB 2.0 and my port replicator/laptop is USB
1.1 however my machine manual says it is backwards compatible. I might
have to do the three re's as you say. Please have a look at the
questions posed to me from another list.
> Paul wrote:
>> Peter Bart <peter at petertheplumber.net>, on Tue Aug 22, 2006 [04:08:58 PM] said:
>>> Hello All,
>> [...]
>>> Now after I issue the following command; even though it supposedly didn't take; the scanner works.
>>>
>>> linux:~ # mount /proc/bus/usb
>>> mount: usbdevfs already mounted or /proc/bus/usb busy
>>> mount: according to mtab, usbfs is already mounted on /proc/bus/usb
>>> linux:~ #
>>>
>>> Must I move the usbdevfs line further down? Please understand my reluctance to play with the etc files.
>>>
>>> Peter
>>
>>
>> Hi;
>>
>> I would do this:
>>
>> After initially booting, type 'mount' to see what is all mounted. Is /proc/bus/usb mounted?
>
> Paul, this is the output from the mount command after boot and unable
> to use the scanner. The machine is an all in one printer/scanner. The
> last line says usbfs is mounted on /proc/bus/usb but I don't see where
> /proc/bus/usb is mounted.
>
>> linux:~ # mount
>> /dev/hda1 on / type reiserfs (rw,acl,user_xattr)
>> proc on /proc type proc (rw)
>> sysfs on /sys type sysfs (rw)
>> tmpfs on /dev/shm type tmpfs (rw)
>> devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
>> /dev/hda2 on /boot type ext2 (rw,acl,user_xattr)
>> /dev/hda9 on /home type reiserfs (rw,acl,user_xattr)
>> /dev/hda8 on /opt type reiserfs (rw,acl,user_xattr)
>> /dev/hda7 on /tmp type reiserfs (rw,acl,user_xattr)
>> /dev/hda3 on /usr type reiserfs (rw,acl,user_xattr)
>> /dev/hda6 on /var type reiserfs (rw,acl,user_xattr)
>> usbfs on /proc/bus/usb type usbfs (rw)
>
>
>
>> If so, cat /proc/bus/usb/devices. Does it show
>> your scanner? If it does, and you still cant use the scanner, it is
>> probably a permissions problem.
>
> Here is the output of the above command, after boot and unable to use
> scanner.
>
>> linux:~ # cat /proc/bus/usb/devices
>>
>> T: Bus=03 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= 2.06
>> S: Manufacturer=Linux 2.6.13-15.11-default uhci_hcd
>> S: Product=UHCI Host Controller
>> S: SerialNumber=0000:00:1d.2
>> C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=02 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= 2.06
>> S: Manufacturer=Linux 2.6.13-15.11-default uhci_hcd
>> S: Product=UHCI Host Controller
>> S: SerialNumber=0000:00:1d.1
>> C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
>> B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
>> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
>> P: Vendor=0000 ProdID=0000 Rev= 2.06
>> S: Manufacturer=Linux 2.6.13-15.11-default uhci_hcd
>> S: Product=UHCI Host Controller
>> S: SerialNumber=0000:00:1d.0
>> C:* #Ifs= 1 Cfg#= 1 Atr=c0 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#= 2 Spd=12 MxCh= 4
>> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
>> P: Vendor=050d ProdID=0234 Rev= 0.00
>> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
>> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
>> E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
>>
>> T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
>> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
>> P: Vendor=04f9 ProdID=0183 Rev= 1.00
>> S: SerialNumber=000H5J453857
>> C:* #Ifs= 2 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= 16 Ivl=0ms
>> I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
>> E: Ad=03(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms
>> E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
>> E: Ad=85(I) Atr=03(Int.) MxPS= 8 Ivl=100ms
> This last entry appears to be the scanner. It has the same vendor and product id that I get when I issue 'sane-find-scanner' from root after boot and unable to use scanner.
>
>
>
>>
>> If /proc/bus/usb isnt mounted, then obviously it needs to be mounted,
>> but it sounds like it is, and trying to remount it changes something--
>> perhaps permissions, or incites modules to get loaded? (This is the
>> point that doesnt seem to make any sense, with the information we
>> have so far.)
>>
>> Type 'lsmod' to see the modules loaded when the scanner doesnt work,
>> and again after it does work to see if there is any difference.
>
>
> 'lsmod' scanner not working follows:
>
> linux:~ # lsmod
> Module Size Used by
> ipt_pkttype 1664 1
> ipt_LOG 6912 7
> ipt_limit 2304 7
> cpufreq_ondemand 6044 0
> cpufreq_userspace 4444 0
> cpufreq_powersave 1792 0
> speedstep_ich 5004 0
> speedstep_lib 4228 1 speedstep_ich
> vmnet 35236 15
> freq_table 4612 1 speedstep_ich
> vmmon 110060 0
> af_packet 21384 0
> snd_pcm_oss 59168 0
> snd_mixer_oss 18944 1 snd_pcm_oss
> snd_seq 51984 0
> irtty_sir 6016 2
> sir_dev 16556 1 irtty_sir
> ircomm_tty 23432 0
> ircomm 13060 1 ircomm_tty
> irda 115000 3 sir_dev,ircomm_tty,ircomm
> snd_seq_device 8588 1 snd_seq
> crc_ccitt 2176 1 irda
> edd 9824 0
> ip6t_REJECT 5504 3
> ipt_REJECT 5632 3
> ipt_state 1920 12
> pcmcia 37176 0
> firmware_class 9856 1 pcmcia
> usblp 12544 0
> iptable_mangle 2688 0
> iptable_nat 22228 0
> iptable_filter 2816 1
> ip6table_mangle 2304 0
> ip_conntrack 42168 2 ipt_state,iptable_nat
> ip_tables 19456 8 ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_sta
> te,iptable_mangle,iptable_nat,iptable_filter
> yenta_socket 23820 2
> rsrc_nonstatic 12800 1 yenta_socket
> pcmcia_core 39952 3 pcmcia,yenta_socket,rsrc_nonstatic
> e100 35456 0
> orinoco_pci 7040 0
> orinoco 38676 1 orinoco_pci
> hermes 7296 2 orinoco_pci,orinoco
> i2c_i801 8844 0
> i2c_core 20368 1 i2c_i801
> mii 5504 1 e100
> ip6table_filter 2688 1
> ip6_tables 18176 3 ip6t_REJECT,ip6table_mangle,ip6table_filter
> ipv6 242752 11 ip6t_REJECT
> generic 4484 0 [permanent]
> snd_intel8x0 33504 1
> snd_ac97_codec 91004 1 snd_intel8x0
> snd_ac97_bus 2432 1 snd_ac97_codec
> uhci_hcd 32016 0
> snd_pcm 93064 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
> snd_timer 24452 2 snd_seq,snd_pcm
> snd 60420 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_devic e,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> soundcore 9184 1 snd
> snd_page_alloc 10632 2 snd_intel8x0,snd_pcm
> intel_agp 22044 1
> agpgart 33096 1 intel_agp
> usbcore 112512 3 usblp,uhci_hcd
> hw_random 5268 0
> pci_hotplug 26164 0
> parport_pc 38980 1
> lp 11460 0
> parport 33864 2 parport_pc,lp
> dm_mod 54972 0
> reiserfs 250480 6
> ide_cd 39684 0
> cdrom 36896 1 ide_cd
> processor 24512 0
> piix 9988 0 [permanent]
> ide_disk 17152 9
> ide_core 122380 4 generic,ide_cd,piix,ide_disk
> linux:~
>
> 'lsmod' scanner working as follows.
> linux:~ # lsmod
> Module Size Used by
> ipt_pkttype 1664 1
> ipt_LOG 6912 7
> ipt_limit 2304 7
> cpufreq_ondemand 6044 0
> cpufreq_userspace 4444 0
> cpufreq_powersave 1792 0
> speedstep_ich 5004 0
> speedstep_lib 4228 1 speedstep_ich
> vmnet 35236 15
> freq_table 4612 1 speedstep_ich
> vmmon 110060 0
> af_packet 21384 0
> snd_pcm_oss 59168 0
> snd_mixer_oss 18944 1 snd_pcm_oss
> snd_seq 51984 0
> irtty_sir 6016 2
> sir_dev 16556 1 irtty_sir
> ircomm_tty 23432 0
> ircomm 13060 1 ircomm_tty
> irda 115000 3 sir_dev,ircomm_tty,ircomm
> snd_seq_device 8588 1 snd_seq
> crc_ccitt 2176 1 irda
> edd 9824 0
> ip6t_REJECT 5504 3
> ipt_REJECT 5632 3
> ipt_state 1920 12
> pcmcia 37176 0
> firmware_class 9856 1 pcmcia
> usblp 12544 0
> iptable_mangle 2688 0
> iptable_nat 22228 0
> iptable_filter 2816 1
> ip6table_mangle 2304 0
> ip_conntrack 42168 2 ipt_state,iptable_nat
> ip_tables 19456 8 ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_sta
> te,iptable_mangle,iptable_nat,iptable_filter
> yenta_socket 23820 2
> rsrc_nonstatic 12800 1 yenta_socket
> pcmcia_core 39952 3 pcmcia,yenta_socket,rsrc_nonstatic
> e100 35456 0
> orinoco_pci 7040 0
> orinoco 38676 1 orinoco_pci
> hermes 7296 2 orinoco_pci,orinoco
> i2c_i801 8844 0
> i2c_core 20368 1 i2c_i801
> mii 5504 1 e100
> ip6table_filter 2688 1
> ip6_tables 18176 3 ip6t_REJECT,ip6table_mangle,ip6table_filter
> ipv6 242752 11 ip6t_REJECT
> generic 4484 0 [permanent]
> snd_intel8x0 33504 1
> snd_ac97_codec 91004 1 snd_intel8x0
> snd_ac97_bus 2432 1 snd_ac97_codec
> uhci_hcd 32016 0
> snd_pcm 93064 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
> snd_timer 24452 2 snd_seq,snd_pcm
> snd 60420 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_devic e,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> soundcore 9184 1 snd
> snd_page_alloc 10632 2 snd_intel8x0,snd_pcm
> intel_agp 22044 1
> agpgart 33096 1 intel_agp
> usbcore 112512 3 usblp,uhci_hcd
> hw_random 5268 0
> pci_hotplug 26164 0
> parport_pc 38980 1
> lp 11460 0
> parport 33864 2 parport_pc,lp
> dm_mod 54972 0
> reiserfs 250480 6
> ide_cd 39684 0
> cdrom 36896 1 ide_cd
> processor 24512 0
> piix 9988 0 [permanent]
> ide_disk 17152 9
> ide_core 122380 4 generic,ide_cd,piix,ide_disk
> linux:~ #
>
> The out put from 'lsmod' before and after appears the same to me which is why I included it here. I put it side by side in a spreadsheet and couldn't find any differences. I checked twice to make sure I didn't paste the same lines twice.
>
>
>
>> Use 'ls -l /proc/bus/usb' and 'ls -l /proc/bus/usb/001' (or 002 or whatever)
>> to see what the permissions are like.
>
>
> This is the output of 'ls -l /proc/bus/usb', 001, 002 etc produces a file not found and then lists /proc/bus/usb. This looks the same before and after 'mount /proc/bus/usb' and then being able to scan.
>> linux:~ # ls -l /proc/bus//usb001
>> /bin/ls: /proc/bus//usb001: No such file or directory
>> linux:~ # ls -l /proc/bus/usb 001
>> /bin/ls: 001: No such file or directory
>> /proc/bus/usb:
>> total 0
>> drwxr-xr-x 5 root root 0 Aug 22 22:06 .
>> dr-xr-xr-x 5 root root 0 Aug 22 22:06 ..
>> dr-xr-xr-x 2 root root 0 Aug 22 22:06 001
>> dr-xr-xr-x 2 root root 0 Aug 22 22:06 002
>> dr-xr-xr-x 2 root root 0 Aug 22 22:06 003
>> -r--r--r-- 1 root root 0 Aug 22 22:06 devices
>
>
>>
>> Another sanity check; type 'sane-find-scanner' as root, and if it shows up
>> but you cant make it work, its probably a permissions problem.
>>
>> Paul
>> set at pobox.com
>
>
> I did 'sane-find-scanner' as root after boot and prior to being able to use it. I did find it as you allready know, noted above. The printer/scanner (Brother DCP7020) itself has a USB 2.0 interface, my users manual says it can also be connected to a USB 1.1 interface which is what I have on the IBM Port replicator from my IBM T30. The web specs make no such mention of compatibility. Okay, I have my sanity but my SO just looks at me while clutching her Windows machine. Casually bringing up the subject of her impending switch to Linux causes tighter clutching. I'm going for my sons; my old; laptop. I am Dad after all and I know best, right???????
>
> Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peter.vcf
Type: text/x-vcard
Size: 360 bytes
Desc: not available
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20060822/19843fa5/peter-0001.vcf
More information about the Members
mailing list