One way to do it is to use NET2280 card. This has a B
type connector. Check the usb-gadget driver
--Shino
--- geng wentao <[EMAIL PROTECTED]> wrote:
>
> i have an idea:
> usb is supported by linux kernel 2.4.20, can two
> computers communicate with each other if i write
> some
> driver(software
#define USB_SKEL_VENDOR_ID 0x045e
#define USB_SKEL_PRODUCT_ID 0x0039
--- DeLeTe <[EMAIL PROTECTED]> wrote:
> Hi, I'm new in kernel programming and i would like
> to do a simple code
> witch can detect and plug/deplug usb device. So I
> read usb-skeleton.c
> and there is some line I don't underst
Start with usb-skelton.c file.
--- [EMAIL PROTECTED] wrote:
>
>
> Hi
>
> I am currently a senior electrical engineering
> student at the university of
> Texas at Austin. I am working on a project that
> involves interfacing a USB port
> to a Motorola 6812 running an student written OS. I
>
Did you change the permission for your device?
I think if you try as root you should be ok. Or else
you need to change permission to read and write.
--Shino
--- Gary Chen <[EMAIL PROTECTED]> wrote:
> Hi, I need to write a simple usb driver for a linux
> settop box to read and write to and from a
Hi
I'm using 2.4.18-3 (Redhat 7.3) . I have a USB 2.0
device which does DMA read and write. My problem is my
dma usb read is very very slow. Is it because my
kernel doesn't support bulk queuing for read?
My DMA USB write takes 20ms whereas read takes 350ms.
Any help will be appreciated
--Shin
Hi
I tried compiling usb-skelton.c in 2.5 kernel and
its giving compilation errors. I tried on 2.5.35 and
2.5.40.
Is there anything I need to setup before I will get
this compiled?
Some of the errors on 2.5.35 are
gcc -DMODULE -D__KERNEL__
-I/usr/src/linux-2.5.35/include -O2 -Wall -c -o
usbd
my device
> driver or maybe READ ?
> Regards
> Norbert
> - Original Message -
> From: "shino korah" <[EMAIL PROTECTED]>
> To: "Rpik" <[EMAIL PROTECTED]>
> Sent: Sunday, February 09, 2003 5:50 PM
> Subject: Re: [linux-usb-devel] descr
--- Rupesh S <[EMAIL PROTECTED]> wrote:
> ** Proprietary **
>
> Hi,
>
> I'm in the process of understanding the CDCEther
> USB-ethernet driver, I could find that the
> usb_read_bulk_callback() is been registered to the
> USB Subsystem by the driver.
> 1) Does kernel invoke this callback functio
I'm developing a driver for a USB device and have the
user level driver working with libusb.
My problem is I want to make the kernel level driver
also and got stuck at a urb data transfer.
I'm doing DMA chunks of data using an array of urbs.
urb * write_urb[20];
I do the DMA write in a loop and I
I have a USB device doing DMA.I'm using bulk read and
write.If I need to write e.g. 200k bytes of data.
Can I create the urb->transfer_buffer to 200k and put
the data in there? Or Am I restricted to only 4k and
break 200 k to 4k blocks and send it.
what is the best way to do bulk read and write if
Hi,
Please help me to find some usb debuggers like usb
sniffer/usb snoopy etc. I searched on the web and I
could find those for windows not for Linux. Is there
anything available for Linux.Any pointers will be
helpful.
Thanks in advance
Shino
___
Use usb-skelton.c, It's there in your kernel source
code.
--- Rajendra Kumar <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I am new to USB Device Drivers. I am theoratically
> aware of USB architecture and Linux USB Subsystem.
> Now I want to write USB Device Driver (i.e. Client
> Driver) for my USB D
Hi
I'm writing a driver based on usb-skelton.c.This is
my problem
I need to read/write chunks of data, but in the
skel_write() function(usb-skelton.c) the maximum data
I can read/write is 512.What is teh best way to add
this feature?
1. split data as 512 chunks inside this function and
loop
I'm trying to write using BULK OUT and read using BULK
IN. If I try this in a loop I get device or resource
busy error.
If I use an array of write and read urb structures and
use the urb which is !EINPROGRESS , Will that resolve
my issue?
What is the best way to get around this?
Thanks
Shino
___
Hi,
I'm developing a usb driver using usb-skelton.c.I
have bulk_in and bulk_out end points . Now If i have
one more bulk_out with address 0x0d Do I have to use a
different urb structure? Or can I use the same urb
structure with only the address changed?
Thanks
Shino
_
I'm using the usb-skelton.c to write a usbdriver for a
USB device.
I want to use usb_control_msg function to read/write
registers.
If I want to read usb control register at 0x80 , how
do I fill in the paarmeter list "request"?
request_type
=USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_DEVICE
index = addr
--- David Brownell <[EMAIL PROTECTED]> wrote:
> > But the mouse
> > doesn't work.
>
> And you know this -- how?
I did a cat on /dev/input/mice and moved mice it
didn't put any garbage.
"mouse doesn't work" I meant in Xwindows it doesn't
move at all.
>
> # od -c /dev/input/mice
>
Hi
I have NEC USB 2.0 card and I'm trying to make my
usb mouse to work. I have all the drivers loaded
correctly
including
usbcore,ehci,uhci and system is detecting a usb mouse
and loads hid and mousedev.o files. But the mouse
doesn't work.
I have tried with 2.5.24 and 2.4.19 kernel in both
ke
wrote:
> On Tue, 9 Jul 2002 15:09, shino korah wrote:
> > This is the error messages I'm getting
> > if i do /sbin/modprobe usb-uhci
> > modprobe: Can't locate module usb-uhci
> > I have these modules in
> /lib/modules/2.5.24/kernel/usb
> That seems
maybe modprobe is looking at a
different place. how can I amke the mod probe to see
these modules.
Thanks in advance
Shino
--- "Kristofer T. Karas"
<[EMAIL PROTECTED]> wrote:
> On Sat, 2002-06-29 at 20:27, shino korah wrote:
> > I want to use EHCI-HCD driver for my NEC USB 2.0
use or..how I can
fix this.
Thanks in advance
Shino
--- "Kristofer T. Karas"
<[EMAIL PROTECTED]> wrote:
> On Fri, 2002-06-28 at 17:37, shino korah wrote:
> >I have a PCI card with USB 2.0 controller from
> NEC.
> > it has only windows driver. I'
21 matches
Mail list logo