How to use ulpt driver?
Vince
jhary at unsane.co.uk
Thu Dec 7 03:29:35 PST 2006
a at zeos.net wrote:
> On Thu, Dec 07, 2006 at 09:53:08AM +0000, Vince wrote:
>> a at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list