> Do I need to write a device driver for such a device or can I mount it and
> simply use the "open" "read" "write" command to send commands back and
> forth? If yes how do I find where the it is mounted (/dev/??)?
You detail is a little thin but Possibly/probably, have you looked
at the dr
I don't see the debugging messages on your /var/log/messages file. They get
generated using statements like this "dbg(__FUNCTION__ " - minor %d,
count = %d", dev->minor, count);"... but only if syslog is configured
correctly.
I think your distro (by default), has configured syslog to thro
You might want to see what debugging messages you've got being generated.
Try reconfiguring syslogd to redirect 'kernel.debug' to a seperate logfile.
Then, re-insert your hardware and the kernel will probe etc.
Also, I assume that the open and close calls are fine (no seg faults) but
the writ
>Hi Steve. Hi list,
Hi :-)
>I guess this is a timing issue and the driver is expecting to find the
>camera faster than it does and just gives up after a while.
Probably.
>Otherwise I'm not sure what else I can do. Ideas welcome!
These are the same kinds of problems I was having using wind
Sorry, I'm playing catchup with email after the xmas break.
>This is regarding an earlier mailing to this list
>regarding a problem with my driver's probe not being
>able to detect the device even though the device's
>characteristics show up during kernel boot. This is
>the smallest code tha
>If anyone here has experience with writing usb device drivers and would
>like to help a newbie write one, I'd be really grateful. If you don't
>have time to help but have any useful tips/pointers that would be cool
>too.
It's not a formal HOWTO but this WILL help.
http://www.toth.demon.co.uk/u
Hi Mathew,
It looks like your distro doesn't support this device.
>Dec 22 16:03:57 fastbox /etc/hotplug/usb.agent: ... no drivers for USB
>product.
>What should I try next?
If you're planning on writing a device driver then you've come to the right
place (but read www.linux-usb.org first
> I am having a problem in probing a device in my
>driver. The device parameters(configurations,
>interfaces, endpoints, etc) show up during kernel
>bootup and are fine but when I print out the
>dev->descriptor fields in my module's probe function
>the values seem all messed up i.e for exampl
>Can Anyone tell (or point to where it tells) the cause of USB_ST_STALL
>errors (and what to do)?
The formal 2.0 USB specifications at http://www.usb.org should tell you why
and how a stall happens, and (probably) what error recovery mechanisms are
available.
Also, it's often worth checking t
>If the USB driver registered and the physical device shows up, should the
>driver show up under /dev/usb?
Simple answer, No. When you register a USB device with the kernel you will
be allocated a minor device number. In your example below you've been
allocated 16 numbers between 96 and 111. T
>I think that in the EU the answer is that you're safe,
>and even in the US you're likely safe even though
>an increasing number of companies want to change
>that. (Example, DMCA if the protocol protects content).
Thanks Dave / Mark, I've now got a better understanding of what to avoid and
wha
Hi,
(Background) I've been writing a driver for the PrimaScan/Primax iCam320.
I'm using the sniffusb windows USB debugger to capture the data between the
host and the device. I'm tranlating that into linux kernel speak and can
control basic funcationality and get the frames back into user spa
> >> I'm not familiar with SniffUSB...
>
> > Thanks anyway,
>
>Am I right in assuming that SniffUSB is a Win9x program that provides
>data on USB transactions? If so, where can I get a copy?
>
>Best wishes from Riley.
Hi,
Checkout the binaries and src at http://www.jps.net/koma/. At a later po
Georg, thanks for the feedback
>Fill the memory with another pattern (eg. 0xaa or such). If it
>is changed, it definitely came from the device. Another hint
>would be the length of each frame.
Sorry, my fault, I should I said, I already tried that but I'm still getting
zero's (indicating t
Hi,
I'm stuck on a project and I wondered if any of you kind chaps might be able
to help? (platform = kernel 2.4.16 using usb-uhci)
I'm writing a device driver (GPL) for the PrimaScan icam320 webcam (based on
the existing driver for dabusb). I'm using sniffusb 0.13 to intercept the
windows<->
15 matches
Mail list logo