Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2006 11:24:30 +0000
From:      Vince <jhary@unsane.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to use ulpt driver?
Message-ID:  <4577F9EE.5020203@unsane.co.uk>
In-Reply-To: <20061207105323.GA566@host.my.domain>
References:  <20061207063252.GA769@host.my.domain>	<4577E484.7000307@unsane.co.uk> <20061207105323.GA566@host.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
a@zeos.net wrote:
> On Thu, Dec 07, 2006 at 09:53:08AM +0000, Vince wrote:
>> a@zeos.net wrote:
>>> I get USB printer Canon PIXMA iP 2000 and attached it to my computer.
>>>
>>> The kernel was compiled with:
>>>
>>> # USB support
>>> device		uhci		# UHCI PCI->USB interface
>>> device		usb		# USB Bus (required)
>>> device		ugen		# Generic
>>> device		uhid		# "Human Interface Devices"
>>> device		umass		# Disks/Mass storage - Requires scbus and da
>>>
>>> and sees the printer:
>>>
<snip>
>>> What is wrong and how will I print?
>>>
>> when you plug in/turn on the printer with the system booted, what
>> appears in your dmesg/messages log?
>>
>> I see there are some ugen entries in /dev so it might not be recognised
>> by the driver correctly.
>>
>> Vince
>>
>>> Elisej Babenko
> 
> It is something misterious.
> 
> When I boot my computer with printer turned on and load ulpt driver
> the results is like above (ugens instead of ulpt).
> 
> When I turn off the printer, the kernel reads:
> 
> ugen0: at uhub0 port 2 (addr 2) disconnected
> All threads purged from ugen0.2
> All threads purged from ugen0.1
> All threads purged from ugen0
> ugen0: detached
> 
> and ugen0, ugen0.1, and ugen0.2 disappear in /dev.
> 
> When I turn on the printer again with ulpt loaded, the kernel reads:
> 
> ulpt0: Canon iP2000, rev 1.10/1.05, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
> 
> And I have ulpt0 and unlpt0 desired in /dev instead of ugens now!
> 
> May be the ugen driver built in kernel prevents ulpt driver from
> proper work and I should throw ugen driver out from kernel?
> 
No instead just have ulpt compiled statically in or load it by
/boot/loader.conf (or do what you did here.)


Vince

_______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4577F9EE.5020203>