Re: USB and Kodak DC4800 Camera

2003-01-03 Thread Michael Class
Marc Butler wrote:


On Thu, Jan 02, 2003 at 02:11:16PM +0100, Michael Class wrote:

Hello,

I am facing a problem that my Kodak DC4800 Camera is not recognized by a
current FreeBSD-current system (I do not have release systems around, so
I can not test aginst them, but I suspect that it would not work their
either) (and yes, it works on the same system with L***x and W*e :-(

I have compiled a kernel with USB_DEBUG and switched on debugging. The
result from a connection of the camera to the system and a deconnect is
in the enclosed errorlog. Anyone here able to interpret this?



Michael,

I'm not absolutely certain, but I believe the Kodak DC4800 Camera uses
the Picture Transfer Protocol.  I'm not sure it will be recognized as
a storage device, however I have no experience with current and this
particular issue.

You may also want to make sure that the camera is plugged in or in
it's cradle.  The attempts to reset port 2 in your error output may
indicate the device is not responding; it seems to be with a lot of
these devices that they need external power when connected to the
computer.  (I'm not very confident in this as you state it works 
withWindows and Linux, and I assume it is the same setup.)


Thank you for the answer!

Yes, I can download pictures without additional power on Windows and 
Linux, so this does not seem to be the problem.

Yes the device uses the PTP protocol. I do not expect it to appear as 
umass. But: I want to see it as ugen, so that higher level programs can 
access it. On Lx I am using jPhoto (a java program using libusb) to 
access the camera via PTP. And now I have read that recent versions of 
gphoto2 have PTP support too. But unfortunately our USB support drops 
the device totally, so I am stuck here. (Any yes I have, for obvious 
reasons, not yet tested if these programs work on FreeBSD)


Michael

--
-
michael class, viktor-renner str. 39, 72074 tuebingen, frg
E-Mail: [EMAIL PROTECTED]
 Phone: +49 7031 14-3707 (work) +49 7071 81950 (private)
-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


USB and Kodak DC4800 Camera

2003-01-02 Thread Michael Class
Hello,

I am facing a problem that my Kodak DC4800 Camera is not recognized by a 
current FreeBSD-current system (I do not have release systems around, so 
I can not test aginst them, but I suspect that it would not work their 
either) (and yes, it works on the same system with L***x and W*e :-(

I have compiled a kernel with USB_DEBUG and switched on debugging. The 
result from a connection of the camera to the system and a deconnect is 
in the enclosed errorlog. Anyone here able to interpret this?

The system uses uhci (VIA chipset):
uhci0: VIA 83C572 USB controller port 0xcc00-0xcc1f irq 12 at device 
7.2 on pc
i0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 12 at device 
7.3 on pc
i0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

Any help would be nice.
Btw. is there a special mailinglist for USB?

Michael


--
-
michael class, viktor-renner str. 39, 72074 tuebingen, frg
E-Mail: [EMAIL PROTECTED]
 Phone: +49 7031 14-3707 (work) +49 7071 81950 (private)
-
Jan  2 13:34:35 pc-micha kernel: usb_needs_explore
Jan  2 13:34:35 pc-micha kernel: usb_event_thread: woke up
Jan  2 13:34:35 pc-micha kernel: usb_discover
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 
feature=17
Jan  2 13:34:35 pc-micha kernel: uhub0: port error, restarting port 2
Jan  2 13:34:35 pc-micha kernel: uhub0: port error, giving up port 2
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 
feature=16
Jan  2 13:34:35 pc-micha kernel: usb_needs_explore
Jan  2 13:34:35 pc-micha kernel: usb_event_thread: woke up
Jan  2 13:34:35 pc-micha kernel: usb_discover
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 
feature=16
Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=03
Jan  2 13:34:36 pc-micha kernel: usb_needs_explore
Jan  2 13:34:36 pc-micha kernel: uhci port 2 reset, status = 0x0495
Jan  2 13:34:36 pc-micha kernel: usbd_reset_port: port 2 reset done, 
error=NORMAL_COMPLETION
Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 
feature=20
Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
Jan  2 13:34:36 pc-micha kernel: usbd_new_device bus=0xc615e000 port=2 depth=1 speed=2
Jan  2 13:34:36 pc-micha kernel: usbd_setup_pipe: dev=0xc65eb900 iface=0 ep=0xc65eb924 
pipe=0xc65eb904
Jan  2 13:34:36 pc-micha kernel: uhci_open: pipe=0xc664a980, addr=0, endpt=0 (1)
Jan  2 13:34:36 pc-micha kernel: usbd_get_desc: type=1, index=0, len=8
Jan  2 13:34:36 pc-micha kernel: uhci_device_control type=0x80, request=0x06, 
wValue=0x0100, wIndex=0x len=8, addr=0, endpt=0
Jan  2 13:34:36 pc-micha kernel: uhci_alloc_std_chain: addr=0 endpt=0 len=8 speed=2 
flags=0x2
Jan  2 13:34:36 pc-micha kernel: uhci_alloc_std_chain: maxp=8 ntd=1
Jan  2 13:34:36 pc-micha kernel: uhci_alloc_std_chain: nexttog=0
Jan  2 13:34:36 pc-micha kernel: uhci_device_request: before transfer
Jan  2 13:34:36 pc-micha kernel: TD(0xc61a4f00) at 007f8f00 = link=0x007f8ec4 
status=0x1880 token=0x00e0002d buffer=0x022eb390
Jan  2 13:34:36 pc-micha kernel: 7f8ec4VF 1880ACTIVE,errcnt=3,actlen=1 
pid=2d,addr=0,endpt=0,D=0,maxlen=8
Jan  2 13:34:36 pc-micha kernel: TD(0xc61a4ec0) at 007f8ec0 = link=0x007f8ee4 
status=0x188003ff token=0x00e80069 buffer=0x022eb160
Jan  2 13:34:36 pc-micha kernel: 7f8ee4VF 188003ffACTIVE,errcnt=3,actlen=0 
pid=69,addr=0,endpt=0,D=1,maxlen=8
Jan  2 13:34:36 pc-micha kernel: TD(0xc61a4ee0) at 007f8ee0 = link=0x0001 
status=0x1980 token=0xffe800e1 buffer=0x
Jan  2 13:34:36 pc-micha kernel: 1T 1980ACTIVE,IOC,errcnt=3,actlen=1 
pid=e1,addr=0,endpt=0,D=1,maxlen=0
Jan  2 13:34:36 pc-micha kernel: uhci_add_ctrl: sqh=0xc6159f00
Jan  2 13:34:36 pc-micha kernel: uhci_enter_ctl_q: follow from [0]
Jan  2 

Re: USB and Kodak DC4800 Camera

2003-01-02 Thread Gerrit Kühn
On Thu, Jan 02, 2003 at 02:11:16PM +0100, Michael Class wrote:

 I am facing a problem that my Kodak DC4800 Camera is not recognized by a 
 current FreeBSD-current system (I do not have release systems around, so 
 I can not test aginst them, but I suspect that it would not work their 
 either) (and yes, it works on the same system with L***x and W*e :-(

I have similar problems with USB-ports under -current (still dp2 here)
with *any* kind of USB device (tried printer, scanner...). Can you
tell if other USB devices do work for you?


cu
  Gerrit
-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: USB and Kodak DC4800 Camera

2003-01-02 Thread Marc Butler
On Thu, Jan 02, 2003 at 02:11:16PM +0100, Michael Class wrote:
 Hello,
 
 I am facing a problem that my Kodak DC4800 Camera is not recognized by a 
 current FreeBSD-current system (I do not have release systems around, so 
 I can not test aginst them, but I suspect that it would not work their 
 either) (and yes, it works on the same system with L***x and W*e :-(
 
 I have compiled a kernel with USB_DEBUG and switched on debugging. The 
 result from a connection of the camera to the system and a deconnect is 
 in the enclosed errorlog. Anyone here able to interpret this?
 

Michael, 

I'm not absolutely certain, but I believe the Kodak DC4800 Camera uses
the Picture Transfer Protocol.  I'm not sure it will be recognized as
a storage device, however I have no experience with current and this
particular issue.

You may also want to make sure that the camera is plugged in or in
it's cradle.  The attempts to reset port 2 in your error output may
indicate the device is not responding; it seems to be with a lot of
these devices that they need external power when connected to the
computer.  (I'm not very confident in this as you state it works with
Windows and Linux, and I assume it is the same setup.)

You may have some luck with: http://www.fromme.com/o/ophoto/

I've been playing with a Sony Mavica off and on (without much success),
let me know how it goes.

Marc.

 The system uses uhci (VIA chipset):
 uhci0: VIA 83C572 USB controller port 0xcc00-0xcc1f irq 12 at device 
 7.2 on pc
 i0
 usb0: VIA 83C572 USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 12 at device 
 7.3 on pc
 i0
 usb1: VIA 83C572 USB controller on uhci1
 usb1: USB revision 1.0
 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 
 Any help would be nice.
 Btw. is there a special mailinglist for USB?
 
 Michael
 
 
 -- 
 -
  michael class, viktor-renner str. 39, 72074 tuebingen, frg
  E-Mail: [EMAIL PROTECTED]
   Phone: +49 7031 14-3707 (work) +49 7071 81950 (private)
 -

 Jan  2 13:34:35 pc-micha kernel: usb_needs_explore
 Jan  2 13:34:35 pc-micha kernel: usb_event_thread: woke up
 Jan  2 13:34:35 pc-micha kernel: usb_discover
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=2 feature=17
 Jan  2 13:34:35 pc-micha kernel: uhub0: port error, restarting port 2
 Jan  2 13:34:35 pc-micha kernel: uhub0: port error, giving up port 2
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=2 feature=16
 Jan  2 13:34:35 pc-micha kernel: usb_needs_explore
 Jan  2 13:34:35 pc-micha kernel: usb_event_thread: woke up
 Jan  2 13:34:35 pc-micha kernel: usb_discover
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
 Jan  2 13:34:35 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=2 feature=16
 Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=03
 Jan  2 13:34:36 pc-micha kernel: usb_needs_explore
 Jan  2 13:34:36 pc-micha kernel: uhci port 2 reset, status = 0x0495
 Jan  2 13:34:36 pc-micha kernel: usbd_reset_port: port 2 reset done, 
error=NORMAL_COMPLETION
 Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0x23 request=01
 Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=2 feature=20
 Jan  2 13:34:36 pc-micha kernel: uhci_root_ctrl_control type=0xa3 request=00
 Jan  2 13:34:36 pc-micha kernel: usbd_new_device bus=0xc615e000 port=2 depth=1 
speed=2
 Jan  2 13:34:36 pc-micha kernel: usbd_setup_pipe: dev=0xc65eb900 iface=0 
ep=0xc65eb924 pipe=0xc65eb904
 Jan  2 13:34:36 pc-micha kernel: uhci_open: pipe=0xc664a980, addr=0, endpt=0 (1)
 Jan  2 13:34:36 pc-micha kernel: usbd_get_desc: type=1, index=0, len=8
 Jan  2 13:34:36 pc-micha kernel: uhci_device_control type=0x80, request=0x06, 
wValue=0x0100, wIndex=0x len=8, addr=0, endpt=0
 Jan  2 13:34:36 pc-micha kernel: uhci_alloc_std_chain: addr=0 endpt=0 len=8 speed=2 
flags=0x2
 Jan  2 13:34:36 pc-micha kernel: uhci_alloc_std_chain: maxp=8 ntd=1
 Jan  2 13:34:36 pc-micha kernel: