[Galaxy S II General] Td8f4:
Hi I've been working on adding support for usb host support in backtrack 5 running on a chroot session.

The ultimate goal is to be able to use a usb wifi adapter for pentesting, as the interal wifi doesnt support layer-2 or packet injection.

i created the usb host cable,by jumping pin 4 to 5, and was able to power my device by splicing in DC power to the cable.

i'm having issues with busybox in the chroot session. i have ver 1.9 running on the android OS but it seems like there are missing modules in backtrack. NO LSUSB!! grr

i just cant get it to give me any output what so ever

#lsusb

#

. But i know the chroot session reads the host device (OTG). running dmesg (full output attached):

[ 3881.112070] max8997_muic_usb_cb: usb mode=3

[ 3881.112087] otg_power_cb: otg power = 1

--

[ 3881.114323] usb usb cable = 3

[ 3881.114348] usb Enable usb LDO.

[ 3881.114396] max8997-charger max8997-charger: max8997_disable_charging: disable charging

[ 3881.114536] usb check ldo vcc_d(192)

[ 3881.114704] usb check ldo vcc_a(192)

[ 3881.114889] otg_dbg: in s5pc110_otg_drv_probe()::00075

[ 3881.114900] => s3c_otg_drv_probe

[ 3881.115115] otg_host_phy_int : USBPHYCTL=0x1,PHYPWR=0xa40,PHYCLK=0x7,PHYTUNE=0x819b3,USBCFG=0x0

[ 3881.266334] s3c_otghcd s3c_otghcd: S3C OTGHCD

[ 3881.266406] s3c_otghcd s3c_otghcd: new USB bus registered, assigned bus number 2

[ 3881.266463] s3c_otghcd s3c_otghcd: irq 135, io mem 0x12480000

[ 3881.268360] max8922-charger max8922-charger: max8922_enable_charging: disable charging,TA

[ 3881.496575] hub 2-0:1.0: USB hub found

[ 3881.496598] hub 2-0:1.0: 1 port detected

[ 3881.496618] otg_dbg: in root_hub_feature()::00477

[ 3881.496625] => case SetPortFeature -USB_PORT_FEAT_POWER

[ 3881.497347] otg_dbg: in s5pc110_otg_drv_probe()::00175

[ 3881.497358] => OTG HCD Initialized HCD, bus=C110 OTG Controller, usbbus=2

[ 3881.498518] usb otg host : registered

[ 3881.498530] host_notify: ndev name=usb_otg: from state=0 -> to state=1

[ 3881.499742] usb change mode ret=0

--

[ 3883.372113] otg_dbg: in root_hub_feature()::00483

[ 3883.372126] => case SetPortFeature -USB_PORT_FEAT_RESET

[ 3883.432171] otg_dbg: in otg_handle_interrupt()::00087

[ 3883.432182] => Port Interrupt

[ 3883.432192] otg_dbg: in process_port_intr()::00271

[ 3883.432203] => port enable/disable changed

[ 3883.502695] usb 2-1: new high speed USB device using s3c_otghcd and address 2

[ 3883.522370] svn usbdev_open, skip usb_autoresume_device

[ 3883.522488] svn usbdev_open, skip usb_autosuspend_device

[ 3883.524055] hub 2-1:1.0: USB hub found

[ 3883.524407] hub 2-1:1.0: 4 ports detected

[ 3883.534375] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x1

[ 3883.762482] usb 2-1.1: new high speed USB device using s3c_otghcd and address 3

[ 3883.784996] usb 2-1.1: device v0bda p8187 is not supported

[ 3883.785068] host_notify: ndev name=s3c_otghcd: from state=0 -> to state=5

[ 3883.805674] hub 2-1:1.0: unable to enumerate USB device on port 1

--

[ 3932.353319] usb_port_resume = 1283, 4

--

[ 5492.343091] usbsvn_request_resume:run time resume

[ 5492.343107] Host USB : Resume

[ 5492.422261] usb_port_resume = 1283, 4

[ 5492.422906] usb 1-2: svn L0 p.s=1

i have the driver for the device (alfa network ,AWUS036h) and it is supported in linux.

i was able to build the driver in the chroot session, but since it is an ARM distro, will the driver even work.

any help would be awesome.